TFS 0.X TFS 0.4 Hp/Mp in Percent on HIGH EXP server with rebirth system.

OP
Aurolio

Aurolio

Premium User
Premium User
Joined
Aug 26, 2018
Messages
37
Reaction score
0
I found out something interesing. So the % are working correctly until my character reach 21.7kk HP/MP. After this value, it shows 65535 again. Anyone know how to fix that?
 

tetra20

DD
Joined
Jan 17, 2009
Messages
1,304
Reaction score
285
Location
Egypt
If I recall correctly, It shouldn't stop at 21.7kk but 2.14kkk(you are missing a k) and that's probably because servers are limited by int32_t, you should change that to int64_t to avoid overflow.
 
OP
Aurolio

Aurolio

Premium User
Premium User
Joined
Aug 26, 2018
Messages
37
Reaction score
0
Well, I am not missing a k, that's the point.
 
Top