ZnoteAAC icon indicating copy to clipboard operation
ZnoteAAC copied to clipboard

otservbr 12.6 - do not gvie point

Open michu940107 opened this issue 4 years ago • 2 comments

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

michu940107 avatar Mar 22 '21 19:03 michu940107

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

Curl enabled.

michu940107 avatar Mar 23 '21 11:03 michu940107

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

Znote avatar Mar 23 '21 19:03 Znote