View Single Post
  #6  
Old 09-22-2018, 08:09 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

You don't seem to understand what I'm saying. There are multiple Lua/Perl methods that may use experience differently, clients may have different limitations to their experience, and it's just all around a lot more work than simply changing a couple lines in the source code. I get that you're trying to help, but a signed int64 (9,223,372,036,854,775,807) can still contain values well beyond the limitations of an unsigned int32 (4,294,967,295). You can assume that if this were an easy change, one of the community's many Developers would have already resolved this issue long ago. You can modify "Client::GetEXPForLevel(uint16 check_level)" and change this code to anything you want if you know the math to determine the experience necessary for each level.
Code:
if (check_level < 31)
	mod = 1.0;
else if (check_level < 36)
	mod = 1.1;
else if (check_level < 41)
	mod = 1.2;
else if (check_level < 46)
	mod = 1.3;
else if (check_level < 52)
	mod = 1.4;
else if (check_level < 53)
	mod = 1.5;
else if (check_level < 54)
	mod = 1.6;
else if (check_level < 55)
	mod = 1.7;
else if (check_level < 56)
	mod = 1.9;
else if (check_level < 57)
	mod = 2.1;
else if (check_level < 58)
	mod = 2.3;
else if (check_level < 59)
	mod = 2.5;
else if (check_level < 60)
	mod = 2.7;
else if (check_level < 61)
	mod = 3.0;
else
	mod = 3.1;
Reply With Quote