Negative Experience --> long int ?

Posted by Mike Scherling on Wed 14 Jul 2004 07:36 AM — 3 posts, 16,351 views.

USA #0
I read somewhere on a forum how to fix this problem...


210) 286319063 exp
211) 309032311 exp
212) -312282185 exp
213) -289133203 exp
214) -265764800 exp


of the exp going negative, rolling back to 0 then going positive again... and i heard there was a way to change it from int to a long int or something along those lines, is tehre any proof to this? Ive got the current level curve that i want for my level 200 (215 for imms) max system and it stops right around the 310mil area (it resets around level 125 the first time)

any truth to the long int? or should i concentrate on redoing my exp curve to incorporate having this negative value go away?
USA #1
You could use unsigned int just as easily as long but regardless what datatype you change to, there are a LOT of places in the code that have to be changed and missing even 1 can have unexpected results. It may be simpler to restructure the xp cost per lvl depending how much time you're prepared to devote to the project.
USA #2
as long as it takes =)
Hoping to find a workaround for it though... hehe