Originally Posted by
dingorider22
i need to disable teleporting from fight pits and fix every fight pits dupe/bugs
and how can i add :
ataon to see fps/mem usage etc?
how to disable godsword dismantling?
Something like this to stop teleporting in ClickingButtons on every teleport button
Code:
if (c.inPits) {
c.sendMessage("You can't use this spell in the Fight Pits minigame.");
return;
The dataon command is Client sided not server sided
Originally Posted by
Pea2nuts
dotn ahve noclip
Code:
if(inputString.equals("::dataon"))
clientData = true;
if(inputString.equals("::dataoff"))
clientData = false;
or
Code:
if(inputString.equals("data"))
clientData = !clientData;
should find the other commands by searching if(inputString.equals
in draw3dscreen
Code:
if(clientData)
{
char c1 = '\u01FB';
int i2 = 20;
int j;
if(super.fps < 15)
j = 0xff0000;
aTextDrawingArea_1271.method385(0xffff00, (new StringBuilder()).append("Fps: ").append(super.fps).toString(), 285, 5);
Runtime runtime1 = Runtime.getRuntime();
int k2 = (int)((runtime1.totalMemory() - runtime1.freeMemory()) / 1024L);
j = 0xffff00;
if(k2 > 0x2000000 && lowMem)
j = 0xff0000;
i2 += 15;
aTextDrawingArea_1271.method385(0xffff00, (new StringBuilder()).append("Mem: ").append(k2).append("k").toString(), 299, 5);
aTextDrawingArea_1271.method385(0xffff00, (new StringBuilder()).append("Mouse X: ").append(super.mouseX).append(" , Mouse Y: ").append(super.mouseY).toString(), 314, 5);
aTextDrawingArea_1271.method385(0xffff00, (new StringBuilder()).append("Coords: ").append(l).append(", ").append(j1).toString(), 329, 5);
}
Disable dismantling Godswords ItemAssistant I believe.