Heres the exp!
Experience required levels 185 to 195:
185) 430344345 exp
186) 447960218 exp
187) 465767565 exp
188) 483767423 exp
189) 501960825 exp
190) 520348808 exp (You have 520348808)
191) 538932405 exp
192) 557712653 exp
193) 576690585 exp
194) 595867238 exp
195) 615243645 exp
And heres the FIX!!!
Un-Modified
int exp_level (CCharacter *ch, short level)
{
int lvl;
lvl = UMAX (0, level - 1);
return (lvl * lvl * lvl * get_exp_base (ch));
}
Modified
int exp_level (CCharacter *ch, short level)
{
unsigned int lvl;
lvl = UMAX (0, level - 1);
return (lvl * lvl * lvl * get_exp_base (ch));
}
Hope this solves your problems =) This increases the exp to the -max- allowable by the code, somewher ein the range of 650 million or so... anything higher and youll have to find yourself a more custom fix.
Thnxs to Meerclar for the info on using 'unsigned'
Experience required levels 185 to 195:
185) 430344345 exp
186) 447960218 exp
187) 465767565 exp
188) 483767423 exp
189) 501960825 exp
190) 520348808 exp (You have 520348808)
191) 538932405 exp
192) 557712653 exp
193) 576690585 exp
194) 595867238 exp
195) 615243645 exp
And heres the FIX!!!
Un-Modified
int exp_level (CCharacter *ch, short level)
{
int lvl;
lvl = UMAX (0, level - 1);
return (lvl * lvl * lvl * get_exp_base (ch));
}
Modified
int exp_level (CCharacter *ch, short level)
{
unsigned int lvl;
lvl = UMAX (0, level - 1);
return (lvl * lvl * lvl * get_exp_base (ch));
}
Hope this solves your problems =) This increases the exp to the -max- allowable by the code, somewher ein the range of 650 million or so... anything higher and youll have to find yourself a more custom fix.
Thnxs to Meerclar for the info on using 'unsigned'