Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Character EXP values in datafile (High Levels)

RZA-PT | KilroyPT
Joined
Aug 27, 2007
Messages
936
Reaction score
85
Does anyone know how the exp is stored when it exceeds 4 Bytes in size?
I can see exp is stored at 0x14C, and TNL is stored at 0x150, for 4 bytes (hex)
But when the exp exceeds 4000m~ and becomes 5bytes+
Anyone know how the game handles it for the dat files? I can't find the direct hex value anyway, help would be greatly appreciated here.
 
RZA-PT | KilroyPT
Joined
Aug 27, 2007
Messages
936
Reaction score
85
<SOLVED>

Hi All

For reference for anyone wanting to work with it,
The TNL is not a complete, its the last 4 bytes in Little Endian at offset 0x150 in the character .dat file.
The Exp amount is stored in two placed.
Last 4 bytes (again, little endian) is stored at 0x14C.
The first 4 bytes (must I say little endian again?), is located at 0x194
So if you are editing exp of chars (maybe making a char creation tool for the website?)
remember that for the high level experience offsets.

I will be developing a tool soon to create chars with with the option of level, this will be part of it :)
(ofcourse I will be sharing with RZ)
 
Upvote 0
Back
Top