There is already full ancient curses in my client, so i decided to put them to use. I made a command ::curses. However when I type it into the game AND THEN go to the prayer interface, it freezes. It can't load the prayer interface.
This is my code:
Code:
if (playerCommand.startsWith("curses")) {
if (c.inWild())
return;
try {
c.setSidebarInterface(5, 25500);
} catch (Exception e){}
}
also if it is client sided, and you know the answer, could you please just post? I've been trying to add this for a while now.
EDIT: here is my error in the client:
Code:
Error: T1 - 123,0 - 36,36
Exception in thread "Thread-5" java.lang.NullPointerException
at client.drawInterface(client.java:8295)
at client.drawTabArea(client.java:1893)
at client.drawGameScreen(client.java:8170)
at client.processDrawing(client.java:8917)
at RSApplet.run(RSApplet.java:108)
at client.run(client.java:4685)
at java.lang.Thread.run(Thread.java:619)