• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

How to add items in OtClient GameShop ?

neutral90

New Member
Joined
Oct 31, 2025
Messages
28
Reaction score
2
Hello!
I'm a beginner :)
I'd like to add items to OTClient. How do I do this?
I understand that this should be done in the "modules" directory? Is there a step-by-step guide on how to add this?

p.s. which OtClient is better for Tibia 8.0? by mehah or by OtAcademy?
 
The file from this link GOES ON THE SERVER data/script or data/creaturescripts
NOT ON THE CLIENT
 
Last edited:
I did it:
LUA:
1 . file json.lua copiet to data/lib/core/
2. in in core.lua added line: "dofile('data/lib/core/json.lua')"
3. in creaturescripts.xml added "<event type="extendedopcode" name="Shop" script="shop.lua" />"
4. created file shop.lua in "data\creaturescripts\scripts\"
5. added "player:registerEvent("Shop")" in data\creaturescripts\scripts\others\login.lua
6. created sql table shop_history
I didn't do it (I dont understand this last steps)
Code:
-- set variables
-- set up function init(), add there items and categories, follow examples
-- set up callbacks at the bottom to add player item/outfit/whatever you want

I don't really know why my store isn't working and what should I do?
 
Last edited:
Sup, try follow this :D

 
Unfortunately, I haven't learned anything new from this topic... Should I change anything in my server's "source" files? I'm using TFS 1.2:
 
Unfortunately, I haven't learned anything new from this topic... Should I change anything in my server's "source" files? I'm using TFS 1.2:
You just need to follow the step-by-step instructions, and yes, you will have to modify the sources.

I don't remember exactly, but I tested it on TFS 1.2 once (nostalrius project) and it worked.

If you need help, feel free to contact me and I'll help you.
 
Back
Top