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

Stuck in making a new OTItemEditor

Luiz Vitor

New Member
Joined
Jul 12, 2007
Messages
31
Reaction score
4
I am making a new OTItemEditor but I am stuck.
I have almost copied the code of reading otb.

items.otb node(item 103):
Code:
fe 01 00 00 00 02 10 02 00 67 00 11 02 00 67 00 20 10 00 9e 51 2e fd fd b6 93 15 ee 26 b3 82 ba 04 80 09 33 21 02 00 81 00 14 02 00 6e 00 ff

fe - begin node
01 - group type
00 00 00 02 - flags
10 / 02 00 / 67 00 - serverId/datasize/value
11 / 02 00 / 67 00 - clientId/datasize/value
20 / 10 00 / 9e 51 2e fd fd b6 93 15 ee 26 b3 82 ba 04 80 09 - spriteHash/datasize/values

when is there it reads:
33 / 21 02 / 00 81 00 14 02 00 6e 00 ff .....

should be (dont know where 33 comes from):
21 / 02 00 / 81 00
14 / 02 00 / 6e 00
ff - end of node

The most impressive is that all editors I've downloaded load it correctly, even reading the 33




edit: solved, the problem was the way it reads, fd is special character to read fd, fe and ff not as begin/end of node
I DONT UNDERSTAND WHY THEY MADE THIS SUX STRUCTURE TO OTB
 
Last edited:
Back
Top