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

How to increase sprite limit

Lopaskurwa

Active Member
Joined
Oct 6, 2017
Messages
873
Solutions
2
Reaction score
49
Hi so i made thread how to add more sprites one dude told me how but now my client is not working and i already selected that as best answer so i'll make another thread :D So that dude told me to compile dat spr with extended and transparency but when i do that i got this
Untitled.png

Then they told me to compile only with extended but guess what, i get same error. Any ideas how to increase sprite limit with other way or tell me how to fix this error
 
1. I cant stop because i have to add couple new items -_-
2. You mean these ones? Ots-List.org - Ots, Otservlist, Open Tibia Server
3. Is there tutorial for this think?
4. I would use this but as you can see i have no clue how to change looktype of that client, but if i could find any tutorials maybe i could.

P.s there is so much servers who have over 65k objects and i know they somehow made it and they're not using that custom client
1. I understand that, I was just telling you your options...
2. I don't know what you're asking.
3. Not that I'm aware of, no.
4. Yeah, that's the option you would want, but there aren't any tutorials for it (as far as I know).

Yes, I know there are servers that have over 65k objects that don't use OTC, and they get around that by doing what I stated in my post; modifying the client to read a four-byte sprite count instead of two bytes. But again, there's no tutorial for that. You're not going to find someone who's just gonna hand the solution to you, not here. You could try your luck at tibiapf.com or tpforums.org since they're both more related to programming around the Tibia client. However, they're both pretty dead forums (tpforums more so), but you may get lucky.
 
1. I understand that, I was just telling you your options...
2. I don't know what you're asking.
3. Not that I'm aware of, no.
4. Yeah, that's the option you would want, but there aren't any tutorials for it (as far as I know).

Yes, I know there are servers that have over 65k objects that don't use OTC, and they get around that by doing what I stated in my post; modifying the client to read a four-byte sprite count instead of two bytes. But again, there's no tutorial for that. You're not going to find someone who's just gonna hand the solution to you, not here. You could try your luck at tibiapf.com or tpforums.org since they're both more related to programming around the Tibia client. However, they're both pretty dead forums (tpforums more so), but you may get lucky.
Ok thanks i'll ask in tibiapf
 
I think an explanation to the limitation you're experiencing would be beneficial.

Older Tibia clients (like the 8.60 client) have a sprite limit of 65535 (0xFFFF) sprites. The reason for this is because the .spr file only uses two bytes to tell the client the number of sprites in the sprite file. I don't remember the exact version (the 9.60 client maybe?), but they exceeded this value and had to change it to a four-byte value, with a maximum of 4294967295 (0xFFFFFFFF) sprites. This is what the extended option in Object Builder does, it lets you add more than 65535 sprites by using four bytes to hold the sprite count instead of two. So, the reason your Tibia client gives you an error when loading the file is because there's four bytes indicating the number of sprites, but the client only reads two of these bytes, and then that causes the rest of the client's loading function to break.

You have a few options here:
- Stop at 65535 sprites, and don't use the extended option.
- Use the Open-Tibia Client.
- Modify the vanilla client to read four bytes for the sprite count, instead of two.

The last option is just as @Itutorial explained, and, he's right, getting someone to do this for you (if you don't know how to do it yourself) won't be easy, or cheap (I would assume).

Hello @Jo3Bingham how are you, thank you very much for this explanation, now I wanted to ask you, why the client of tibia 8.6 gives error when it starts with a tibia.spr of 63,000 sprites? According to what you say, it's around 65,000, but then I edit the Tibia.spr with Objet Builder and it gives the error that I'm enclosing, if you could help me I would be very grateful

35237509_1843127639315054_1173778741969551360_n.jpg
 
Hello @Jo3Bingham how are you, thank you very much for this explanation, now I wanted to ask you, why the client of tibia 8.6 gives error when it starts with a tibia.spr of 63,000 sprites? According to what you say, it's around 65,000, but then I edit the Tibia.spr with Objet Builder and it gives the error that I'm enclosing, if you could help me I would be very grateful

35237509_1843127639315054_1173778741969551360_n.jpg
That error message specifically specifies the .dat file, not the .spr file.
 
Yes, and if you are a good developer you can make it look like original tibia. If you want a tibia client to accept extended sprites you will have to know how to reverse engineer. The chances that someone put in the effort to reverse engineer it and will give it our for free are slim to none.

If they know how to reverse engineer the client they know how to lock it up so you cannot get their methods of doing it.

You can hate something all you want, if you cant fix anything about it then there is no use in crying about it.

I am not saying your crying, and im not disrespecting you I am just saying it as it is.

If you want extended sprite limit use OTC if you don't then use regular tibia client. Those are your options.


hello I place this thread to consult a question, I have an old 7.60 server and I have it with extended sprites I would like but I have a problem ...
to be able to modify the new items that I am adding these I cannot do it since the programs that exist to modify 7.6 items are already obsolete, is there any possibility of doing it?
 
he is alive, he just quit tibia/ot I think lmao

but he left us with amazing stuff like this:
i'm almost done with searching for a method to do what he did in 1 min maybe ;d ,
tried this tutorial
and it didn't work
Post automatically merged:

i'm trying to extend my client because it's able to login into any custom server without asking to download the custom client idk how,
if i tried to use the client he shared i won't be able to login to the server because it's a custom server, so i have 2 approaches,
either i extend my own client ( that can login without problem ) or edit the client madzix shared to be able to login to the custom server
and i searched for both ways but i end up with nothing ;((
 
Back
Top