Thread: [not sure if server sided] game freezes when trying to load up ancient curses. [PI]

Results 1 to 5 of 5
  1. #1 [not sure if server sided] game freezes when trying to load up ancient curses. [PI] 
    Registered Member pk3r john's Avatar
    Join Date
    Apr 2009
    Posts
    877
    Thanks given
    16
    Thanks received
    30
    Rep Power
    63
    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)
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Sep 2009
    Posts
    3,245
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    why exption?
    Reply With Quote  
     

  3. #3  
    Registered Member pk3r john's Avatar
    Join Date
    Apr 2009
    Posts
    877
    Thanks given
    16
    Thanks received
    30
    Rep Power
    63
    Quote Originally Posted by Fresh View Post
    why exption?
    tbh i just copied the spellbook one.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2010
    Posts
    1,550
    Thanks given
    92
    Thanks received
    154
    Rep Power
    0
    Maybe you are sending the wrong interface.
    Check to make sure interface 25550 is the curses one.
    Reply With Quote  
     

  5. #5  
    Registered Member pk3r john's Avatar
    Join Date
    Apr 2009
    Posts
    877
    Thanks given
    16
    Thanks received
    30
    Rep Power
    63
    lmao thank you, it was actually 22500 that was the correct one.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •