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

Getting tile names from dat file?

pejti

New Member
Joined
Oct 20, 2019
Messages
7
Reaction score
1
Hi guys.
I wonder is it possible to get names of tiles like muddy floor, wooden floor etc?
ObjectBuilder and ItemEditor does not show any names.
 
it has become very common to find "old" servers in newer versions, when people want the old experience they are not talking about shitty sprites.
but I got your point, we will most likely continue importing new sprites because they look better. At least until technology evolves more to the point I can create any sprite I want with artificial intelligence which is already a reality for items/grounds/walls but is still a little whacky when it comes to creatures and walk animations.

Let's see, in the past few years technology went crazy. The most that we can capture of those new technologies and bring it to tibia world, most advanced we will be project-wise.

The community is very bad though, whenever I see some topics like this where people is actually interested in making something better for everyone is honestly a glimpse of hope.
 
thanks to @kokokoko @jo3bingham and a big thank you to @Sarah Wesker

RME is so beautiful right now with ALL named items

and here is the PR so you guys can hopefully help reviewing it (and using it if you want)

we are also currently working (as you read this) on an up-to-date items.xml to work with my 12.70 downported sprites so we will have like 99% of tibia items ready on items.xml up to 12.70 version (not compatible with otservbr)
 
Last edited by a moderator:
thanks to @kokokoko @jo3bingham and a big thank you to @Sarah Wesker

RME is so beautiful right now with ALL named items

and here is the PR so you guys can hopefully help reviewing it (and using it if you want)

we are also currently working (as you read this) on an up-to-date items.xml to work with my 12.70 downported sprites so we will have like 99% of tibia items ready on items.xml up to 12.70 version (not compatible with otservbr)
This is amazing evil.
 
In addition to what @fabian766 mentioned about the appearance.dat file, you can also abuse the GetObjectInfo client packet. By using my API, sending the GetObjectInfo packet for every valid ID, then dumping what the server sends back in the ObjectInfo server packet you can get the name for every valid object in the game. I did this just now on the current version (12.52.10394), and this is the dump I got: https://gist.github.com/jo3bingham/e06949655e30e9c4e556834286b16982

Sorry to revive an old thread, but I don't fully understand how to do it. I'm not really a scripter. I would like to use your tool to extract the names for items upto 12.85
 
Post in thread 'Getting tile names from dat file?'
Getting tile names from dat file? (https://otland.net/threads/getting-tile-names-from-dat-file.273410/post-2667031)

This post may help. Check their repo link.

It indeed helped a lot, thanks. I'm at the last step, I think my list of item names is created, I'm just not sure where it's put, lol.


I was able to get an updated version for the current client (12.70.10971) using the same method as @jo3bingham (big thanks to him for helping me figure it out via DMs!). I've attached the dump for the current client.

If anyone wants to generate their own version, I have a fork of TibiaAPI with my changes here. I made some minor changes to the TibiaAPI library, but most additions are in a new project under Apps/GetItemNames. Also, make sure to read through the README file if you plan on running it.
What happens after the README's last step, typing send in getitemnames.exe?
 
It indeed helped a lot, thanks. I'm at the last step, I think my list of item names is created, I'm just not sure where it's put, lol.



What happens after the README's last step, typing send in getitemnames.exe?
It writes the file to ./item_names.txt, the path should be relative to the .exe file (so in the same folder as the .exe file)
 
It writes the file to ./item_names.txt, the path should be relative to the .exe file (so in the same folder as the .exe file)

Hm, it does not for me. But my GetItemNames.exe is in
Code:
./Apps/GetItemNames/bin/Debug/netcoreapp3.1
instead of
Code:
./Apps/GetItemNames/bin/Release/netcoreapp3.1
Does that make much of a difference?

When I typ 'send' in the prompt, it says 'Last Object ID: 37810". Is that correct?
 
Last edited:
Back
Top