questions

Forum > Questions > Ender!
Reply To Thread (login)
Alan [35]
2010-12-22 00:24:00
[13 years, 142 days ago]

Can you hook me up with an experience list?
Like (0,0,390,507,etc...)
I'm trying to get it from bots unauthorized, but I just can't seem to get it.

Once i get this, i'll release my level bar :D


 
Emanuel [50]
2010-12-22 03:51:39
[13 years, 142 days ago]

http://pastebin.com/rEmAuuZS

At lvl x you have lvlArray[x] experience.


 
Alan [35]
2010-12-22 08:05:02
[13 years, 142 days ago]

Thanks aqua.


 
Alan [40]
2010-12-25 01:51:39
[13 years, 139 days ago]

A couple of questions.
is lvlArray(5) = the exp needed to get to level 5 or, your exp already at 5?

next, ender or aqua, can you show me how to get your total exp? because i can't seem to get this percent right.

i get how much exp you need and such.
if you are level 5, you need 257 exp until 6.
so if you have 250 exp left, how do i divide it?
lvlArray(5) / (lvlArray(6) - 250) ?


 
Emanuel [67]
2010-12-25 09:26:03
[13 years, 139 days ago]

lvlArray = [0,200,300,390,507];

I believe lvlArray[3] (which is 390) is how much xp you have when you just hit lvl 3. You should be able to get your total xp with:

lvlArray[myLevel+1] - xpNeededToLevel;


 
Forum > Questions > Ender!
Reply To Thread (login)