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

Item Editor for Avesta (7.6~7.72)

Nottinghster

Tibia World RPG Developer
Joined
Oct 24, 2007
Messages
1,569
Solutions
6
Reaction score
436
Location
Brazil - Rio de Janeiro
GitHub
Nottinghster
Hi, in my graphics.dat i have this signature, what signature do i have to add for 7.6?

Code:
459E7B73 45880FE8 792 6
467FD7E6 467F9E74 800 7
475D3747 475D0B01 810 8
47F60E37 47EBB9B2 811 9
486CCA2B 4868ECC9 820 10
493D607A 493D4E7C 840 12
49B7CC19 49B140EA 841 13
49C233C9 49B140EA 842 14
4A49C5EB 4A44FD4E 850 15
4A4CC0DC 4A44FD4E 850 15
4AE97492 4ACB5230 850 15
4B1E2CAA 4B1E2C87 854 16
4B0D46A9 4B0D3AFF 854 16
4B28B89E 4B1E2C87 854 16

Thanks!​
 
when I use that 0.2.2 and save as item.otb and start the server it tells me "Not supported items.otb verison", however if i would use 0.3.0 it would work for some reason

Also how do I add a new item? or do I need another program for that, I have already added few new items to the dat file
 
when I use that 0.2.2 and save as item.otb and start the server it tells me "Not supported items.otb verison", however if i would use 0.3.0 it would work for some reason

Also how do I add a new item? or do I need another program for that, I have already added few new items to the dat file
OTHire is a 8.6 downgraded server, it might work differently, like the map version that is different. I never added items, but you should be able to do that with it. You can try https://github.com/ottools/ItemEditor and see if it works while loading OTHire otb as a 8.6 otb.
 
OTHire is a 8.6 downgraded server, it might work differently, like the map version that is different. I never added items, but you should be able to do that with it. You can try https://github.com/ottools/ItemEditor and see if it works while loading OTHire otb as a 8.6 otb.
XFR4Whs.png
 
in graphics.dat 459E7B73 45880FE8 792 6

When i go under tools->add item i get:

No idea dude. I can't even load OTHire items.otb with 0.3.0. I added an item (added to .dat through object builder, then loaded with 0.2.2, "create missing client ids", and saved), but if you say the server don't recognize it anymore, after doing so, I have no idea.
 
ye so strange, well I managed to get it to work in some wierd way, I loaded the file with 0.2.2 and did "create missing client ids" so when i ran server i got wrong otb verison.. so then i loaded the file again but in 0.3.0 and there i could see the ids lol and after i saved.

And if i were to do "create missing client ids" in 0.3.0 it would just crash.

Anyway i added the new ids to items.xml, and it worked (added some spellwands)
pZNHwex.jpg
 
@Emky i got a question when i edited some items in objet builder when i have to use otitem editor? and how to use?
im having troubles of unkown flags and shits
 
when I use that 0.2.2 and save as item.otb and start the server it tells me "Not supported items.otb verison", however if i would use 0.3.0 it would work for some reason

Also how do I add a new item? or do I need another program for that, I have already added few new items to the dat file

Hi man, the items.otb file avesta uses actually isn't 7.6.
I remember when I was using custom DAT and SPR files, I opened the up the original items.otb in a Hex editor, noticed the bit that holds the version is different to a standard 7.6 items.otb:

Avesta Items.otb.
ybTW4DN.png


Compared to your standard Items.otb saved in 7.6 format:
M2EXFPd.png


I just over-wrote that part of the file using a hex editor, using the data from the original one that came with the distro:
IiGZQN2.png


But looking back, I probably didn't need to do that.
Available solutions:
  1. Find out what format the Avesta distro ACTUALLY uses, save your items.otb file to that format.
  2. Over-write the string using a hex editor like I did (frehed is what I used) - this does work, had 0 issues.
  3. I was never able to compile the avesta source, which is why I gave up on that project, but if you have:
    Find the code that detects the items.otb version, and change it to accept standard OTB 1.3.46-7.60 otb files;
    It seems to be able to read them just fine once the version information data is changed in a hex editor, which tells me you'd likely only need to change a few lines of source code.
 
Last edited:
Back
Top