Hey guys i'm making a 317 rsps.
but i wan't to make a pvp zone (multi combat without lvl diffrence thing so a lvl 138 can attack a lvl 3 to)

its somewhere in player.java if im right but i have no idea how to do that if someone can help me please :/



i think its this if im right?

public boolean isInWilderness(int coordX, int coordY, int Type) {
if (Type == 1) {
if (absX >= 2699 && absX <= 2753 && absY >= 9098 && absY <=9132 || (coordY >= 3523) && (coordY <= 3967) && (coordX <= 3392)
&& (coordX >= 2942) || absX >= 3220 && absX <= 3299 && absY >= 3520 && absY <=3548 || absX >= 2250 && absX <= 2296 && absY >= 4676 && absY <=4715) {
return true;
}
} else if (Type == 2) {
if ((coordY >= 3512) && (coordY <= 3967) && (coordX <= 3392)
&& (coordX >= 2942)) {
return true;
}
}
return false;
}
its the first server i make so im pretty noob