I suggest checking if the value returned by GetEXPForLevel is being cast to a signed int anywhere. 3000(98^3) would be wrapping if that is the case (where going from lvl 99 to 100).
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
|