The thing is that the OTC vBot use CLIENT IDs for its items, and its a mess! Cause nobody can put the real IDs of the items in it!u can send this info with opcodes
client asks -> server response -> client receive
for what do you need this? pretty useless for client side
The thing is that the OTC vBot use CLIENT IDs for its items, and its a mess! Cause nobody can put the real IDs of the items in it!
Is there any way to fix that so the vBot use the right IDs the ones that the server use?
ItemType(item:getId()):getClientId()
ItemType(2160):getClientId()
I will never understand why TFS continues to use serverID...
--------------------
I don't know what your goal is, but if you want to send information so that it is read correctly on the client side, use this:
LUA:ItemType(item:getId()):getClientId() ItemType(2160):getClientId()

I will never understand why TFS continues to use serverID...
--------------------
I don't know what your goal is, but if you want to send information so that it is read correctly on the client side, use this:
LUA:ItemType(item:getId()):getClientId() ItemType(2160):getClientId()
SORRY guys, im not that smart..You can put your items.otb into otclient to find serverId
U just need to regist the items.otb somewhere can't remmember where
EDIT: ( modules/client/client.lua ) then add this in
g_things.loadOtb('items.otb')
in
function onGameStart