Znote / ZnoteAAC

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

Shop outfits with id>1000 not getting delivered #518

Open BahamutxD opened 2 years ago

BahamutxD commented 2 years ago

https://github.com/Znote/ZnoteAAC/blob/cdaac6e974ae31516e508ae1852bc638b54b9635/Lua/TFS_10/talkaction%20shopsystem/znoteshop.lua#L59

Using latest TFS (12.87)

Outfits with id higher than 1000 wont be delivered. Both the talkaction and glovalevent scripts have this piece of code stopping it. Not sure about side effects of commenting this part out of the scripts.

uberlerd commented 1 year ago

I'm also seeing this issue.

if itemid > 1000 then local first = math.floor(itemid/1000) table.insert(outfits, first) itemid = itemid - (first * 1000) end