|
Negative Experience --> long int ?
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Mike Scherling
USA (20 posts) bio
|
| Date |
Wed 14 Jul 2004 07:36 AM (UTC) [ quote
] |
| Message |
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? |
The source is all around us...
in the food you eat...
in the air you breath...
in your tooth... yes, your tooth...
any questions?
| top |
|
| Posted by |
Meerclar
USA (554 posts) bio
|
| Date |
Reply #1 on Wed 14 Jul 2004 08:35 AM (UTC) [ quote
] |
| Message |
| 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. |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | top |
|
| Posted by |
Mike Scherling
USA (20 posts) bio
|
| Date |
Reply #2 on Wed 14 Jul 2004 09:04 AM (UTC) [ quote
] Amended on Wed 14 Jul 2004 09:05 AM (UTC) by Mike Scherling
|
| Message |
as long as it takes =)
Hoping to find a workaround for it though... hehe |
The source is all around us...
in the food you eat...
in the air you breath...
in your tooth... yes, your tooth...
any questions?
| top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
1,215 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )