• 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

@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.
Hey thanks a lot for this. And also got a question. When you write: "and push 19 to push 1E" what does this means? sorry for not reading about this before asking but im curious. Also you have any great start to learn more of this stuff? Thanks.
 
Transparency for cips client? is that working?

"Problem with "alpha = true"
Video surface allocation failed. (Error Code 13).
Please choose another video graphics mode.


//tested on Dx9 & OpenGL."

Post from first site
 
"Problem with "alpha = true"
Video surface allocation failed. (Error Code 13).
Please choose another video graphics mode.


//tested on Dx9 & OpenGL."

Post from first site

Yeah thought so, too good to be true.
 
@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.
there are only one 02EE in the client but there are more than 0x19 and 0xE4 Can u explain me the codes or the line they are in or program better Than Xvi32?
 
problem in source. By giving ctrl + n of the debug

"Problem with "alpha = true"
Video surface allocation failed. (Error Code 13).
Please choose another video graphics mode.


//tested on Dx9 & OpenGL."

Anyone who knows how to tweak source to resolve this dll?
 
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

Hello, can u make simple tutorial? Can i make dll and inject it by PE? like this
.
Thanks for reply!
 
@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.

I did exactly those steps, also changed in sources too, but get debugged too :(
Someone managed to make it work ??
 
Back
Top