View Single Post
  #13  
Old 03-04-2013, 08:42 PM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default

I had a go at expressing the exp curve as a single (mathematical) function. With those strange coefficients I think you could only get a pretty rough approximation because of the relatively large numbers being used.

To Mort: Try setting a character to level 89. If that works try setting them to 90. If setting them to 90 fails then this issue is almost certainly the result of an integer being cast incorrectly.

To fix that, search your code for references to GetEXPForLevel. Look for code that is simliar to 'int x = GetEXPForLevel(blah)' and change it to 'uint32 x = GetEXPForLevel(blah)'. If it is not that simple, then you will have to start looking at the uses of 'x' in other parts of the code.
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?

Last edited by Drajor; 03-04-2013 at 08:43 PM.. Reason: Spelt incorrectly, incorrectly. Oh I funnies.
Reply With Quote