dont lock this please i couldnt find the board "the nerd's corner" but please read this below:
If Anyone Knows how to change max levels on servers like my own please let me know it would really help me, tell me what i need to do in Client.Java so i can change max combat levels in my server please.
i made my server a couple of weeks ago, its silab but i want to change max combat because max is 126, i want it to be 251, if anyone knows what i need to do in Client.Java please post it here, thanks for listening.
sincerely,
Latin King.
Open up client.java
search for something like
Quotepublic int getLevelForXP(int exp) {
int points = 0;
int output = 0;
for (int lvl = 1; lvl <= ServerCP.Highestlevel; lvl++) {
points += Math.floor((double)lvl + 300.0 * Math.pow(2.0, (double)lvl / 7.0));
output = (int)Math.floor(points / 4);
if (output >= exp) {
return lvl;
}
}
return ServerCP.Highestlevel;
}
but when searching change the things that are on red to your max level
you will have your highest lvl like on rs it is 99...i have the (ServerCP.Highestlevel)because i have a server manager that i made so.... hope this helps.
tyvm and oh...if you can help me once more lol. how do i change the xp rate everytime my character his.
example: if my character hits a 1 on any npc, it gives 20k xp?
how do i change the xp per hit, please post and ty. for ur help
Well uhmm i don't really have an answer for that :s.
sorry never tried to do that before.