• 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!

OTClient Items ID OTC, TFS 1.5

granitowyx

New Member
Joined
Jan 27, 2022
Messages
24
Reaction score
0
GitHub
rupafin123
Hi, I'm using TFS 1.5 dg by Nekiro, Sarah Wesker. In the game, the OTC client shows me different item IDs than the server. For example, the ultimate health potion ID in OTC is 7643, whereas according to the server, it is 8473. Is there a solution, such as importing items (an XML file?) or something else?
 
In your init.lua you could put in the following line:
Lua:
g_things.loadOtb('data/things/items.otb')

Then instead of using ex: item:getId() you would use item:getServerId()
 
Back
Top