MAX LEVEL

A place for general discussion about the content and gameplay of Andor's Trail.
User avatar
Zukero
Lead Developer
Posts: 1778
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: MAX LEVEL

Post by Zukero » Wed Feb 26, 2014 1:33 am

Just to make it clear, there is NO limit imposed in the code, other than technical limits like integer overflow.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

r0tt3nj4ck
Posts: 69
Joined: Sun Jan 19, 2014 5:42 am
android_version: 4.3

Re: MAX LEVEL

Post by r0tt3nj4ck » Wed Feb 26, 2014 8:42 am

not a problem. let me know what the exp for next level says when you have spent all these points.

http://stashbox.org/1427072/savegame4

PS. ITYS
PPS. I wanted to make custom starting characters like this for people. My signature is one. Any thoughts for others?
Click me for a look at my gift to the Andor's Trail Community...

ncer
Posts: 121
Joined: Sun Oct 16, 2011 8:40 am
android_version: 2.2

Re: MAX LEVEL

Post by ncer » Thu Feb 27, 2014 7:58 pm

rijackson741 wrote: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
More than 123? There are more than 2 of us.
Lvl: 195, XP: 135178554, Gold: 1004501
HP: 88 AC: 345%, AD: 109-120, AP: 5, ECC: 15%, CM: 0, BC: 222%, DR: 6
RoLS: 2, ElyR: 1, RoL: 1, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 2, WMC: 0, GoW: 0

Mayweed
VIP
Posts: 210
Joined: Tue Jul 31, 2012 12:12 am
android_version: 2.1 - Eclair

Re: MAX LEVEL

Post by Mayweed » Thu Feb 27, 2014 11:24 pm

ncer wrote:
rijackson741 wrote: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
More than 123? There are more than 2 of us.
Rihackson meant 1/4 of (maximal long integer) XP, not 1/4 of (possibly 489) levels.

r0tt3nj4ck
Posts: 69
Joined: Sun Jan 19, 2014 5:42 am
android_version: 4.3

Re: MAX LEVEL

Post by r0tt3nj4ck » Fri Feb 28, 2014 6:27 am

Is anyone gonna comment on the fact that once you hit level 400 the exp for 401 becomes an oob amount? I provided the data. Just run the experiment yourselves.
Click me for a look at my gift to the Andor's Trail Community...

User avatar
rijackson741
Posts: 2240
Joined: Tue Aug 20, 2013 2:04 am
android_version: 9.0 - Pie
Location: Somewhere in Dhayavar

Re: MAX LEVEL

Post by rijackson741 » Fri Feb 28, 2014 2:48 pm

r0tt3nj4ck wrote:Is anyone gonna comment on the fact that once you hit level 400 the exp for 401 becomes an oob amount? I provided the data.
OK. :)

It should be 880,000 XP required to get to level 401, but it says 2,147,483,647 XP are required. Weird. I wonder if that is actually the case. Could you modify the attached file so the XP is 1,177,736,950, which is 50 short of what should be the XP required to get to level 401. I want to see what happens if I cross the XP threshold (I want to creep up on it though, so I need a little more room than 1 point).
You do not have the required permissions to view the files attached to this post.
Last edited by rijackson741 on Fri Feb 28, 2014 7:08 pm, edited 1 time in total.
Level: 64, XP: 4734786, HP: 196, AC: 246%, AD: 49-59, AP: 3, ECC: 25%, CM: 3, BC: 127%, DR: 2
Gold: 232355 | RoLS: 1, RoL: 1, GoW: 1
HH: 1, CS: 2, IF: 4, Ev: 3, Re: 2, WP:DA: 1, WP:1S: 1, AP:L: 1, FS:DW: 2, S:DW: 1
SR

r0tt3nj4ck
Posts: 69
Joined: Sun Jan 19, 2014 5:42 am
android_version: 4.3

Re: MAX LEVEL

Post by r0tt3nj4ck » Fri Feb 28, 2014 5:09 pm

Actually let me just tell you. Once you add the EXACT amount (its 2 billion 160 million something) your exp just goes negative. You are not allowed to get to level up. It just goes straight to a negative amount and the more you kill from that point on, the more negative your total becomes. I'm interested to see if I make it 1 less then the max into (4 billion something) will it circle back to 1 exp and let me keep leveling that way............. The anticipation lol....


Edit : unfortunately it loops forever. Level 400 is max.
ITYS :p
Click me for a look at my gift to the Andor's Trail Community...

User avatar
rijackson741
Posts: 2240
Joined: Tue Aug 20, 2013 2:04 am
android_version: 9.0 - Pie
Location: Somewhere in Dhayavar

Re: MAX LEVEL

Post by rijackson741 » Fri Feb 28, 2014 7:13 pm

So you are saying that if I get up to 1,177,737,000 XP, which is what should be required to get to level 401, I really don't get to level up?

I just realized that the additional XP it's asking for to get to level 401, i.e 2,147,483,647, is maxint. So when you hit level 400 the XP requirement for the next level is set to maxint. If that's a bug then it's a strange bug.
Level: 64, XP: 4734786, HP: 196, AC: 246%, AD: 49-59, AP: 3, ECC: 25%, CM: 3, BC: 127%, DR: 2
Gold: 232355 | RoLS: 1, RoL: 1, GoW: 1
HH: 1, CS: 2, IF: 4, Ev: 3, Re: 2, WP:DA: 1, WP:1S: 1, AP:L: 1, FS:DW: 2, S:DW: 1
SR

r0tt3nj4ck
Posts: 69
Joined: Sun Jan 19, 2014 5:42 am
android_version: 4.3

Re: MAX LEVEL

Post by r0tt3nj4ck » Sat Mar 01, 2014 8:44 pm

rijackson741 wrote:So you are saying that if I get up to 1,177,737,000 XP, which is what should be required to get to level 401, I really don't get to level up?

I just realized that the additional XP it's asking for to get to level 401, i.e 2,147,483,647, is maxint. So when you hit level 400 the XP requirement for the next level is set to maxint. If that's a bug then it's a strange bug.

FINALLY!!!!

i am not just "making up" my posts.....
Click me for a look at my gift to the Andor's Trail Community...

User avatar
rijackson741
Posts: 2240
Joined: Tue Aug 20, 2013 2:04 am
android_version: 9.0 - Pie
Location: Somewhere in Dhayavar

Re: MAX LEVEL

Post by rijackson741 » Sat Mar 01, 2014 9:39 pm

Yes, finally! It was not a question of you making up your posts, just you, and others, giving inconsistent information. The conventional wisdom, in this thread and in other threads, was that there was no level cap, but between level 400 and 401 the XP would exceed maxint (or, in your case, "The exp from 400 to 401 breaks the halfway point of an int"), so level 401 was not achievable. When I calculated it however, that clearly should not be the case. It has taken this long to establish what really happens, and that the conventional wisdom is at best a very big distortion of the truth. At exactly the XP required to get level 400 the XP required to get to the next level is set to maxint (so the cumulative XP required to get there would obviously be greater than that). Now maybe that's a bug, but if it is then it's a remarkable one. At exactly the XP needed to get to a nice round number of levels, 400, the XP required to get to the next level jumps to exactly maxint? That looks to me to be a level cap designed in such a way that after level 400 you can keep playing for as long as you want (in fact, even if your XP exceeds maxint), but you can't ever get to level 401.
Level: 64, XP: 4734786, HP: 196, AC: 246%, AD: 49-59, AP: 3, ECC: 25%, CM: 3, BC: 127%, DR: 2
Gold: 232355 | RoLS: 1, RoL: 1, GoW: 1
HH: 1, CS: 2, IF: 4, Ev: 3, Re: 2, WP:DA: 1, WP:1S: 1, AP:L: 1, FS:DW: 2, S:DW: 1
SR

Post Reply