What could I do for that then? Do you have any solution?you can't do this in vanilla tibia client
well thank you very muchi personally can't help with this because i don't use otclient but you could use otclient for your server and customize it
perhaps go to the otclient board and see if somebody there can help you out if you decide to use it
okay thank you very muchHello there Zcorpy,
a little more detailed information might be needed to help you in this particular case if you wish to continue using the vanilla client. If you change to OTClient you won't have this problem anymore.
As far as I know the magic level is saved in the client either as an unsigned char (which values go from 0 to 255) or an unsigned short (which goes from 0 to 65,535) so the max value cannot be 156. You might consider checking the sources of your server first....
Regards,
Okke
(uint64_t)(1600 * std::pow(formulaMultipliers[MULTIPLIER_MANA], (float)(magLevel - 1)));
i have sqlite tfs 0.3.6 where is line?Actually client have no problem to show magic level up to 255 your problem might the uint64_t limit of mana spent.
You can use the boost multiprecision uint128_t or change the formula(so that players advance in magic level faster) which I assume look like thisCode:(uint64_t)(1600 * std::pow(formulaMultipliers[MULTIPLIER_MANA], (float)(magLevel - 1)));