I've seen a few people requesting how to change the max skill level and no tutorials.
SERVER SIDED
In skills.java Find
Code:
public int getLevelForXp(int skill) {
double exp = xp[skill];
int points = 0;
int output = 0;
for (int lvl = 1; lvl <= (skill == DUNGEONEERING ? 120 : 99); lvl++) {
points += Math.floor(lvl + 300.0 * Math.pow(2.0, lvl / 7.0));
output = (int) Math.floor(points / 4);
if ((output - 1) >= exp) {
return lvl;
}
}
return skill == DUNGEONEERING ? 120 : 99;
}
And replace it with this
Code:
public int getLevelForXp(int skill) {
double exp = xp[skill];
int points = 0;
int output = 0;
for (int lvl = 1; lvl <= (skill == DUNGEONEERING ? Dungeoneering max level here : other skills max level here); lvl++) {
points += Math.floor(lvl + 300.0 * Math.pow(2.0, lvl / 7.0));
output = (int) Math.floor(points / 4);
if ((output - 1) >= exp) {
return lvl;
}
}
return skill == DUNGEONEERING ? Dungeoneering max level here : other skills max level here;
}
CLIENT SIDED
In Class368.java find
Code:
public static int[] anIntArray4002 = { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 120 };
For the purpose of this tutorial, I am making all 120, so replace with this
Code:
public static int[] anIntArray4002 = { 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120 };