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

TFS 1.X+ theforgottenserver items.otb

Gesior.pl

Mega Noob&LOL 2012
Senator
Joined
Sep 18, 2007
Messages
2,956
Solutions
98
Reaction score
3,354
Location
Poland
GitHub
gesior
I got 2 questions about items.otb
1. Who and with what program prepared that file (10.98 version)?
2. What are OTB attributes ItemTypeAttrSpriteHash (32), ItemTypeAttr07 (34), ItemTypeAttr08 (35)? These attributes are set in TFS items.otb, but I got no idea what they are. Server does not use them (skip them while loading items.otb).
 
Solution
1) I'm assuming OTItemEditor:

2) According to the OTItemEditor source, ItemTypeAttrSpriteHash is the MD5 hash of the item's sprites:

which is used for comparing items:

ItemTypeAttr07 is the max readable/writeable characters, and ItemTypeAttr08 is the max readable characters.

Here's where they're written to the .otb file...
1) I'm assuming OTItemEditor:

2) According to the OTItemEditor source, ItemTypeAttrSpriteHash is the MD5 hash of the item's sprites:

which is used for comparing items:

ItemTypeAttr07 is the max readable/writeable characters, and ItemTypeAttr08 is the max readable characters.

Here's where they're written to the .otb file:
 
Solution
Back
Top