Well, I'm trying to create a Pali-frameworked PvP server based off my other 508 server. Aside from changing coordinate booleans, I've also wanted to add the 'level range' to an overlay (where it says '116 -136' for example). So I downloaded a standard Z508 base, and found the code used to display it, modified it a tiny bit to suit Pali's framework. One problem, I'm missing a method and I can't seem to find it in Z508:
Code:
Compiling Lost Empire source files...
.\palidino76\rs2\player\Player.java:2954: ')' expected
String s = (append(j).append(" - ").append(i).toString();
^
.\palidino76\rs2\player\Player.java:2954: cannot find symbol
symbol : method append(int)
location: class palidino76.rs2.player.Player
String s = (append(j).append(" - ").append(i).toString();
^
2 errors
Press any key to continue . . .
The code:
Code:
public void appendWilderness() {
if (Engine.inWilderness(this)) {
int i = combatLevel + wildyLevel;
if(i > 126) {
i = 126;
int j = (combatLevel - wildyLevel) + ((combatLevel % 10 < 5 || (combatLevel - wildyLevel) % 10 >= 5) && combatLevel < 114 ? 1 : 2);
if(j < 3) {
j = 3;
String s = (append(j).append(" - ").append(i).toString();
frames.setOverlay(this, 381);
frames.setString(this, s, 381, 1);
}
}
}
}
Does anyone have the method 'append'? >.<