Adam
July 3rd, 2010, 00:04
Well here it is :p -
In rsinterface.java search for:
aClass44 = streamLoader;
Under it add:
GodWars(textDrawingAreas);
Now search for (still in rsinterface)
public boolean aBoolean227;
Under it add:
public boolean aBoolean266;
Now add this anywhere:
public static void GodWars(TextDrawingArea[] tda)
{
RSInterface rsinterface = addtabInterface(16210);
addText(16211, " NPC killcount", tda, 1, 0xff9040, true, true);
addText(16212, " Armadyl kills", tda, 1, 0xff9040, true, true);
addText(16213, " Bandos kills", tda, 1, 0xff9040, true, true);
addText(16214, " Saradomin kills", tda, 1, 0xff9040, true, true);
addText(16215, " Zamorak kills", tda, 1, 0xff9040, true, true);
addText(16216, " 0", tda, 1, 0x66FFFF, true, true);//armadyl
addText(16217, " 0", tda, 1, 0x66FFFF, true, true);//bandos
addText(16218, " 0", tda, 1, 0x66FFFF, true, true);//saradomin
addText(16219, " 0", tda, 1, 0x66FFFF, true, true);//zamorak
rsinterface.scrollMax = 0;
rsinterface.aBoolean266 = false;
rsinterface.children = new int[9];
rsinterface.childX = new int[9];
rsinterface.childY = new int[9];
rsinterface.children[0] = 16211;
rsinterface.childX[0] = -52+375;
rsinterface.childY[0] = 7;
rsinterface.children[1] = 16212;
rsinterface.childX[1] = -52+374;
rsinterface.childY[1] = 30;
rsinterface.children[2] = 16213;
rsinterface.childX[2] = -52+372;
rsinterface.childY[2] = 44;
rsinterface.children[3] = 16214;
rsinterface.childX[3] = -52+381;
rsinterface.childY[3] = 58;
rsinterface.children[4] = 16215;
rsinterface.childX[4] = -52+375;
rsinterface.childY[4] = 73;
rsinterface.children[5] = 16216;
rsinterface.childX[5] = -52+455;
rsinterface.childY[5] = 31;
rsinterface.children[6] = 16217;
rsinterface.childX[6] = -52+455;
rsinterface.childY[6] = 45;
rsinterface.children[7] = 16218;
rsinterface.childX[7] = -52+455;
rsinterface.childY[7] = 59;
rsinterface.children[8] = 16219;
rsinterface.childX[8] = -52+455;
rsinterface.childY[8] = 74;
}
Server Sided -
Open up player.java and search for:
public boolean inBarrows() {
You should see:
public boolean inBarrows() {
if(absX > 3520 && absX < 3598 && absY > 9653 && absY < 9750) {
return true;
}
return false;
}
Under that whole code add this:
public boolean inGWD() {
if (absX > 2900 && absX < 2922 && absY > 3599 && absY < 3626) {
return true;
}
return false;
}
That is for the original Pi area, you will have to change the coords yourself, - You want your X coordinate to be > than the pink circle, but < than the blue
- You want your Y coordinate to be > than the yellow circle, but < than the green
Only the registered members can see the link.
Last thing is to add this in client.java under:
public class Client extends Player {
public int ArmadylkillCount = 0;
public int BandoskillCount = 0;
public int SarakillCount = 0;
public int ZammykillCount = 0;
Still in client.java look for:
} else if(inBarrows()){
You should see:
} else if(inBarrows()){
getPA().sendFrame99(2);
getPA().sendFrame126("Kill Count: "+barrowsKillCount, 4536);
getPA().walkableInterface(4535);
Under the whole code add:
} else if(inGWD()){
getPA().walkableInterface(16210);
Also has been posted on R-S.
In rsinterface.java search for:
aClass44 = streamLoader;
Under it add:
GodWars(textDrawingAreas);
Now search for (still in rsinterface)
public boolean aBoolean227;
Under it add:
public boolean aBoolean266;
Now add this anywhere:
public static void GodWars(TextDrawingArea[] tda)
{
RSInterface rsinterface = addtabInterface(16210);
addText(16211, " NPC killcount", tda, 1, 0xff9040, true, true);
addText(16212, " Armadyl kills", tda, 1, 0xff9040, true, true);
addText(16213, " Bandos kills", tda, 1, 0xff9040, true, true);
addText(16214, " Saradomin kills", tda, 1, 0xff9040, true, true);
addText(16215, " Zamorak kills", tda, 1, 0xff9040, true, true);
addText(16216, " 0", tda, 1, 0x66FFFF, true, true);//armadyl
addText(16217, " 0", tda, 1, 0x66FFFF, true, true);//bandos
addText(16218, " 0", tda, 1, 0x66FFFF, true, true);//saradomin
addText(16219, " 0", tda, 1, 0x66FFFF, true, true);//zamorak
rsinterface.scrollMax = 0;
rsinterface.aBoolean266 = false;
rsinterface.children = new int[9];
rsinterface.childX = new int[9];
rsinterface.childY = new int[9];
rsinterface.children[0] = 16211;
rsinterface.childX[0] = -52+375;
rsinterface.childY[0] = 7;
rsinterface.children[1] = 16212;
rsinterface.childX[1] = -52+374;
rsinterface.childY[1] = 30;
rsinterface.children[2] = 16213;
rsinterface.childX[2] = -52+372;
rsinterface.childY[2] = 44;
rsinterface.children[3] = 16214;
rsinterface.childX[3] = -52+381;
rsinterface.childY[3] = 58;
rsinterface.children[4] = 16215;
rsinterface.childX[4] = -52+375;
rsinterface.childY[4] = 73;
rsinterface.children[5] = 16216;
rsinterface.childX[5] = -52+455;
rsinterface.childY[5] = 31;
rsinterface.children[6] = 16217;
rsinterface.childX[6] = -52+455;
rsinterface.childY[6] = 45;
rsinterface.children[7] = 16218;
rsinterface.childX[7] = -52+455;
rsinterface.childY[7] = 59;
rsinterface.children[8] = 16219;
rsinterface.childX[8] = -52+455;
rsinterface.childY[8] = 74;
}
Server Sided -
Open up player.java and search for:
public boolean inBarrows() {
You should see:
public boolean inBarrows() {
if(absX > 3520 && absX < 3598 && absY > 9653 && absY < 9750) {
return true;
}
return false;
}
Under that whole code add this:
public boolean inGWD() {
if (absX > 2900 && absX < 2922 && absY > 3599 && absY < 3626) {
return true;
}
return false;
}
That is for the original Pi area, you will have to change the coords yourself, - You want your X coordinate to be > than the pink circle, but < than the blue
- You want your Y coordinate to be > than the yellow circle, but < than the green
Only the registered members can see the link.
Last thing is to add this in client.java under:
public class Client extends Player {
public int ArmadylkillCount = 0;
public int BandoskillCount = 0;
public int SarakillCount = 0;
public int ZammykillCount = 0;
Still in client.java look for:
} else if(inBarrows()){
You should see:
} else if(inBarrows()){
getPA().sendFrame99(2);
getPA().sendFrame126("Kill Count: "+barrowsKillCount, 4536);
getPA().walkableInterface(4535);
Under the whole code add:
} else if(inGWD()){
getPA().walkableInterface(16210);
Also has been posted on R-S.