Page 1 of 3
MAX LEVEL
Posted: Sun Feb 16, 2014 6:55 am
by KiddIxion
hello im new ish I beat most the game am lv 48 im only missing Rolsx2 ill post up my stats in the future but I am extreamly curious what IS the MAX level attainable if any?????? pls I must know is there a limit saw someone post lv 205 O.O what is the cap??
Re: MAX LEVEL
Posted: Sun Feb 16, 2014 7:51 pm
by Duke
welcome to the forums! As far as I know there is not a level cap....so, see how high you can go!
Re: MAX LEVEL
Posted: Sun Feb 16, 2014 8:23 pm
by KiddIxion
Ima make a char and put all skill points into exp and farm bwm i willl see lol
Re: MAX LEVEL
Posted: Sun Feb 16, 2014 11:01 pm
by rijackson741
I believe XP is stored as a signed 32 bit integer, in which case it can't exceed 2,147,483,647. That limits your maximum level to 489 (which you will achieve when you have 2,137,148,420 XP). So far only two people have managed to get more than 1/4 of that XP:
http://andorstrail.com/viewtopic.php?f=2&t=327
Re: MAX LEVEL
Posted: Thu Feb 20, 2014 8:47 pm
by r0tt3nj4ck
The max level is 400. The exp from 400 to 401 breaks the halfway point of an int.
Source : personal experience
Re: MAX LEVEL
Posted: Thu Feb 20, 2014 10:18 pm
by rijackson741
Maybe I misunderstand how XP works. I thought the experience required to get to the next level is 55*CL^2, where CL is your current level. In which case, you get level 489 with 2,137,148,420 XP, which can be stored in a signed int (max 2,147,483,647). To get to level 490 would require an additional 13,097,920 XP, which would take the total to 2,150,300,075, which cannot be stored in a signed int.
Here are the numbers I calculate (sorry about the formatting, but I don't know how to fix it in these forums). I have also attached an Excel spreadsheet.
Re: MAX LEVEL
Posted: Thu Feb 20, 2014 11:15 pm
by Zukero
Actually, what is stored is the total exp, so you need to compute X where sigma (i=1..X) 55*i^2 <max int
Re: MAX LEVEL
Posted: Thu Feb 20, 2014 11:57 pm
by rijackson741
The cumulative experience needed to get to the next level is shown in the third column. First column is level, second column is XP needed to get to the next level, third column is cumulative XP needed to get to the next level, fourth column is whether that cumulative XP is less than max int. The total XP required to get to level 489 can be stored in a signed integer (unless the formula for XP per level is wrong. I just saw it in a forum post, I have not verified it).
Re: MAX LEVEL
Posted: Tue Feb 25, 2014 8:17 am
by r0tt3nj4ck
Tell me what level you get to please.....
http://stashbox.org/1425295/savegame4
Re: MAX LEVEL
Posted: Wed Feb 26, 2014 12:28 am
by rijackson741
The only thing that proves to me is that I don't understand how Quick learner works
You edited the file so that the character has 50,000,001 levels of Quick learner. I went and killed a forest snake, which normally gives 9 XP. So my calculation says that with that many levels of QL I should get 0.05*50,000,001*9+9 = 22,500,009 XP, which is way less than maxint. However, the XP does indeed appear to have overflowed, because it becomes -20,414,663. But that tells me nothing about the actual level at which the overflow would occur.
I can accept that either the maximum level is 400, or it is limited by your XP exceeding maxint (or half of maxint, although I can think of no reason why it would be limited to that), but not both. I checked the formula for XP against a couple of builds, and it's correct. So either there is a limit at 400, or the maximum level has nothing to do with maxint (with a nice round number like 400, I would guess it's just an artificial limit).
A more useful hacked file would be one with 1,168,936,000 XP, which by my calculations would put you 1000 XP short of level 400. I might take some time to figure out how to do that, but you seem to be adapt at this, so if you already know how to create such a file please create one