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

OpenTibia [various] Tibia Extended Client Library

Man, in outfit.h there it is.

C++:
#define OUTFITS_MAX_NUMBER 25

set 25 to how many you wanna
 
Someone can help me, how i can extend the limit of outfits on 8.6 client ?
 
Hello, I wanted to share with you the library that I wrote almost 9 years ago(some of the code is newer).
The code works only for 8.54 and 8.60(since I don't have any use of the other clients).
I might be expand the library even further but I needed it to be simple.
Hope it might be useful for someone.

Extended Features
  • Extended client files(exceeds the 65535 sprite limit)
  • Alpha channel .spr file(allows to use transparency(currently only work in DX9 and OGL)
  • Show health/mana percentage in client
  • Fix some weird problem with timeGetTime on windows 10+ryzen cpu
  • Manabar drawing below player
  • Exceeds the limit of 255 magic effects
  • Exceeds the limit of 65535 max health display
  • Exceeds the limit of 65535 max mana display
  • Exceeds the limit of 255 skills display

Source: SaiyansKing/Tibia-Extended-Client-Library
Download: SaiyansKing/Tibia-Extended-Client-Library

Bro, nice job!!!!!!
Can you develop it for 10.98?
 
@AngeLOT @Chriistian.L.B
About max outfits in 8.60 client.
5f2hl1.jpg


If you want have more outfits in 8.6 client first you will need to change size of allocated memory for variables.
Outfit window variables sizes in memory(not as packet!! this is different):
First allocation:
6(looktype, head, body, legs, feet, addons) * 4 bytes = 24 bytes = first outfit a.k.a default.
4 bytes = sizelist.
8 bytes (4 bytes for looktype + 4 bytes for addons) * 25(max outfits count) = outfits.
24 + 4 + 200 = 228 in hex 0xE4

Second allocation:
30 bytes(name of outfit) * 25(max outfits count) = 750
750 in hex 0x2EE

So if you want to have for example 30(hex 0x1E) outfits instead of 25(hex 0x19) you will need to change 0xE4 to 0x10C and 0x2EE to 0x384 and push 19 to push 1E.
Not tested tho xD But maybe it will work.
 
@AngeLOT @Chriistian.L.B
About max outfits in 8.60 client.
5f2hl1.jpg


If you want have more outfits in 8.6 client first you will need to change size of allocated memory for variables.
Outfit window variables sizes in memory(not as packet!! this is different):
First allocation:
6(looktype, head, body, legs, feet, addons) * 4 bytes = 24 bytes = first outfit a.k.a default.
4 bytes = sizelist.
8 bytes (4 bytes for looktype + 4 bytes for addons) * 25(max outfits count) = outfits.
24 + 4 + 200 = 228 in hex 0xE4

Second allocation:
30 bytes(name of outfit) * 25(max outfits count) = 750
750 in hex 0x2EE

So if you want to have for example 30(hex 0x1E) outfits instead of 25(hex 0x19) you will need to change 0xE4 to 0x10C and 0x2EE to 0x384 and push 19 to push 1E.
Not tested tho xD But maybe it will work.
Woow thanks @Qbazzz
 
Back
Top