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

Mana resets to 1 again after ~65000 mana!

  • Thread starter Thread starter LordVissie
  • Start date Start date
L

LordVissie

Guest
-This isn't a really necessary problem.-

Hey guys, I'm testing my server and I found out that if I have around 65000 mana my mana changes to 1597. So it counts for the 2nd time or something don't really know how to explain it :confused:. My char was level 2.224 (ED). Is there a way to increase the maxium mana?

My server maximum level actually goes to level 6000 atm. so that would be 179850 mana for a ED.

If someone knows how to fix it, I'd like it a lot :)

Thanks,
LordVissie

P.S: Using cryingdamson 0.3.6 (8.60) V8.2.

;);)
 
Is the max value the server can hold

You tried to waste that mana? It remains at 0, or another full 65k mana bar appears?
 
An unsigned 16 bit integer has a range value of 0 to 65,535

You would need to change the data-type of the client to display a higher value.

If you wanted to store a value of 179,850, you would need to change the client mana display value to a 32 bit unsigned integer, which would give you a range value of 0 to 4,294,967,295.

Basically this can not be done inside a normal tibia client, I would imagine it is possible with the otclient using the onManaChange function :)

Since its lua you have a larger range value.
Numbers in Lua
 
Last edited:
I wasted the mana and it just goes to 0 :)

Thanks for your advice. :D

An unsigned 16 bit integer has a range value of 0 to 65,535

You would need to change the data-type of the client to display a higher value.

If you wanted to store a value of 179,850, you would need to change the client mana display value to a 32 bit unsigned integer, which would give you a range value of 0 to 4,294,967,295.

Basically this can not be done inside a normal tibia client, I would imagine it is possible with the otclient using the onManaChange function :)
Thanks for your advice :)
 
Last edited by a moderator:
Back
Top