13th January 2023, 11:25 PM
(13th January 2023, 9:30 PM)Camer the Dragon Wrote: I think it used to break at around 82 since I think it was 32-bit before
but it got changed now so fred's level exp isn't weird
Oh wait yeah I forgot to account for the starting exp. So, if doubles are used, then it should have problems starting at 150 (distance between representable numbers exceeds 1), and break down around 180 (where distance between representable numbers starts getting into the hundreds or thousands)
If all exp stuff is handled server-side (which it probably is, and if it isn't then it should be), then you can use 64 bit integers and you're good until around rank 181 where it breaks completely like it did with 32-bit at 82
i failed the mario twitter challenge