OpenTibia [various] Tibia Extended Client Library

StreamSide

Joseluis Gonzalez
Support Team
Joined
Aug 31, 2007
Messages
3,283
Reaction score
796
Location
Arica - Chile
@AngeLOT @Chriistian.L.B
About max outfits in 8.60 client.


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.
 

Qbazzz

Pół człowiek, pół litra
Joined
Jul 3, 2009
Messages
82
Reaction score
44
Location
inside the box
@StreamSide push is for adding variable to executed function, first you push arguments then call func, here you just giving number.
 

Way20

Active Member
Joined
Sep 29, 2014
Messages
166
Reaction score
59
"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.
 

Sir Sezago

Scripter/Developer
Joined
Aug 28, 2017
Messages
260
Reaction score
15
@AngeLOT @Chriistian.L.B
About max outfits in 8.60 client.


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?
 

Yan_Liima

New Member
Joined
Jul 20, 2015
Messages
11
Reaction score
4
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?
 
Top