[HP=1473/1473]:Exp: 1000833863 Level: 68 Exp needed for next level: 0 (1066307200) [93%]
[HP=1473/1473]:train
You do not have the required experience to train yet!
[Can't train!]
I know someone's seen this before....any idea what the hell is up with it?
Hmmmm [Archive] - ForumsHQ
Re: Hmmmm [Archive] - ForumsHQ
Originally posted by Syntax53
not to beat a dead horse here, but I would have to agree that mud isn't designed for any number being over 4.2 bill (AKA: an unsigned long integer, AKA: FFFF FFFF, AKA: 4,294,967,295). after working with the dats for such a long time I've noticed lots of little tricks they've done to make it work, but not work how it should.
the biggest example is a character exp. they actually store it in two slots, or 'fields'. one for billions, and one for millions (two unsigned long integer slots). so someone with 111,222,333,444 experience would be stored:
0000 006F (111) | 0D40 8A04 (222,333,444)
so really, max exp now is (could be anyway):
4,294,967,295,999,999,999
this is also why when you type exp that it gets messed up. they haven't tweaked the calculations on that to make it work with their new way of storing the exp in the characters dat.
-syn
__________________
That explains it, from Syntax. After you get up there in levels, the whole subtracting exp you need to level from exp you have gets messed up. It tries. You just gotta look at exp you have vs exp you need, and/or the [XX%] to see how far you are to level.
not to beat a dead horse here, but I would have to agree that mud isn't designed for any number being over 4.2 bill (AKA: an unsigned long integer, AKA: FFFF FFFF, AKA: 4,294,967,295). after working with the dats for such a long time I've noticed lots of little tricks they've done to make it work, but not work how it should.
the biggest example is a character exp. they actually store it in two slots, or 'fields'. one for billions, and one for millions (two unsigned long integer slots). so someone with 111,222,333,444 experience would be stored:
0000 006F (111) | 0D40 8A04 (222,333,444)
so really, max exp now is (could be anyway):
4,294,967,295,999,999,999
this is also why when you type exp that it gets messed up. they haven't tweaked the calculations on that to make it work with their new way of storing the exp in the characters dat.
-syn
__________________
That explains it, from Syntax. After you get up there in levels, the whole subtracting exp you need to level from exp you have gets messed up. It tries. You just gotta look at exp you have vs exp you need, and/or the [XX%] to see how far you are to level.
-
Reckless
Re: Hmmmm [Archive] - ForumsHQ
help exp shows the same amount needed for next level, but still can't train
Re: Hmmmm [Archive] - ForumsHQ
Exp: 1000833863 Level: 68 Exp needed for next level: 0 (1066307200) [93%]
You have 1,000,833,863 exp. You need 1,066,307,200 exp. 1,066,307,200-1,000,833,863_=_65,473,337. That is how much exp you need for next level. You have to go by the percent, or do the math. Read the post from Syntax, the variables cannot handle exp that large, it has to use double the variables and the math ends up getting fucked up in the end. That's why it says you need 0 to level. You are not going to be able to train until you get to 1,066,307,200 exp. The numbers are right, the math is wrong. Just do the subtraction, or go by %, there is no fix.
You have 1,000,833,863 exp. You need 1,066,307,200 exp. 1,066,307,200-1,000,833,863_=_65,473,337. That is how much exp you need for next level. You have to go by the percent, or do the math. Read the post from Syntax, the variables cannot handle exp that large, it has to use double the variables and the math ends up getting fucked up in the end. That's why it says you need 0 to level. You are not going to be able to train until you get to 1,066,307,200 exp. The numbers are right, the math is wrong. Just do the subtraction, or go by %, there is no fix.
Re: Hmmmm [Archive] - ForumsHQ
They rushed out the exp fix before they let me test it :)