Znote / ZnoteAAC

Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server.
MIT License
145 stars 127 forks source link

otservbr 12.6 - do not gvie point #466

Open michu940107 opened 3 years ago

michu940107 commented 3 years ago

Not reciving points, even coins, nothing goes to databse.

michu940107 commented 3 years ago

i onlny get znote_paypal file with correctinfo od account ID, point amount but it didnt goes to account/player.,..

Curl enabled.

Znote commented 3 years ago

Looks related to: #464

In line 4, add shop type 6. https://github.com/Znote/ZnoteAAC/blob/d74400da573b94cb6e0635a13023f4b84bc18d29/Lua/TFS_10/revscriptsys/shopsystem_globalevent.lua#L4-L8

And remove line 5,6,7,8.

I don't think otservbr supports Game.getClientVersion(), but the distro itself should support every shop order feature in these sample files.

Edit: Ohh, this is for webshop points, not the shop script that transfer shop items to player?

You might have duplicate records (or missing znote_ properties to existing accounts / characters. To fix this, run this query: https://github.com/Znote/ZnoteAAC/blob/d74400da573b94cb6e0635a13023f4b84bc18d29/engine/database/znote_schema.sql#L264-L310

If your missing any znote_ database tables, you can have a look at the schema here: https://github.com/Znote/ZnoteAAC/blob/master/engine/database/znote_schema.sql