Thread: OSRS Option Tab.

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 OSRS Option Tab. 
    Registered Member
    Join Date
    Jun 2017
    Posts
    124
    Thanks given
    23
    Thanks received
    6
    Rep Power
    16
    Hey guys, im currectly adding the interface posted in this thread:

    https://www.rune-server.ee/runescape...interface.html

    I have placed the images in cache, but when i open the tab I get this error, followed by a client crash.

    Code:
    Exception in thread "Thread-5" java.lang.NullPointerException
    	at com.client.Client.drawInterface(Client.java:11175)
    	at com.client.Client.drawTabArea(Client.java:2724)
    	at com.client.Client.drawGameScreen(Client.java:10958)
    	at com.client.Client.processDrawing(Client.java:12447)
    	at com.client.RSApplet.run(RSApplet.java:230)
    	at com.client.Client.run(Client.java:6056)
    	at java.lang.Thread.run(Unknown Source)
    Im thinking its the interface number?? RSInterface rsi = addInterface(904);

    The base im using is Exotic/OSV
    Reply With Quote  
     

  2. #2  
    🖤Runic Developer🖤
    Castiel's Avatar
    Join Date
    Apr 2013
    Posts
    1,752
    Thanks given
    564
    Thanks received
    288
    Rep Power
    609
    ill see wht i can do bro
    im using exotic too so
    im gonna try added it
    Attached image
    Attached image
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    Jun 2017
    Posts
    124
    Thanks given
    23
    Thanks received
    6
    Rep Power
    16
    Quote Originally Posted by MrPvM View Post
    ill see wht i can do bro
    im using exotic too so
    im gonna try added it
    I'm still working on it, if i figure it out, ill post the fix here.
    Reply With Quote  
     

  5. #4  
    Howdy

    nMik's Avatar
    Join Date
    Nov 2010
    Posts
    1,060
    Thanks given
    144
    Thanks received
    147
    Rep Power
    107
    Quote Originally Posted by Darth Madara View Post
    Im thinking its the interface number??
    Go to the line it tells you to, and get exactly what is wrong.

    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jun 2017
    Posts
    124
    Thanks given
    23
    Thanks received
    6
    Rep Power
    16
    Quote Originally Posted by nMik View Post
    Go to the line it tells you to, and get exactly what is wrong.
    This one?

    Code:
    drawInterface(0, currentScreenMode == ScreenMode.FIXED ? 28 : currentGameWidth - 197,
    Reply With Quote  
     

  7. #6  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    Quote Originally Posted by Darth Madara View Post
    This one?

    Code:
    drawInterface(0, currentScreenMode == ScreenMode.FIXED ? 28 : currentGameWidth - 197,
    Apparently not. That line cannot throw a NPE (Granted you are indeed showing us all of the line..)
    Attached image
    Reply With Quote  
     

  8. #7  
    Registered Member
    Join Date
    Jun 2017
    Posts
    124
    Thanks given
    23
    Thanks received
    6
    Rep Power
    16
    Quote Originally Posted by Kris View Post
    Apparently not. That line cannot throw a NPE (Granted you are indeed showing us all of the line..)
    This is the entire Else If. Im stumped, But i think its got to do something with the interface id, since it crashes when i try to bring it up with the command also.

    Code:
    } else if (Client.tabInterfaceIDs[Client.tabID] != -1) {
                drawInterface(0, currentScreenMode == ScreenMode.FIXED ? 28 : currentGameWidth - 197,
                        RSInterface.interfaceCache[Client.tabInterfaceIDs[Client.tabID]],
                        currentScreenMode == ScreenMode.FIXED ? 37 : currentGameHeight - 275 - y + 10);
            }
    Reply With Quote  
     

  9. #8  
    Respected Member


    Kris's Avatar
    Join Date
    Jun 2016
    Age
    26
    Posts
    3,638
    Thanks given
    820
    Thanks received
    2,642
    Rep Power
    5000
    If the error is indeed in the code that you're showing (if you're showing me the right thing here..), the error can only be caused from either 'RSInterface.interfaceCache' being null or 'Client.tabInterfaceIDs' being null. Neither may be null.
    Attached image
    Reply With Quote  
     

  10. Thankful user:


  11. #9  
    Registered Member
    Join Date
    Jun 2017
    Posts
    124
    Thanks given
    23
    Thanks received
    6
    Rep Power
    16
    Quote Originally Posted by Kris View Post
    If the error is indeed in the code that you're showing (if you're showing me the right thing here..), the error can only be caused from either 'RSInterface.interfaceCache' being null or 'Client.tabInterfaceIDs' being null. Neither may be null.
    Do you know which tool i could use to pack the interface myself?
    Reply With Quote  
     

  12. #10  
    Registered Member
    Join Date
    Jun 2017
    Posts
    124
    Thanks given
    23
    Thanks received
    6
    Rep Power
    16
    Bump, Could still use a little help on this. Im not so good with client stuff
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Request OSRS option tab
    By _Patrick_ in forum Requests
    Replies: 3
    Last Post: 03-15-2018, 06:10 PM
  2. OSRS Latest Options Tab Sprites
    By Roboyto in forum Requests
    Replies: 0
    Last Post: 06-10-2015, 11:23 PM
  3. RELEASED: My new Options Tab
    By Harry in forum Snippets
    Replies: 144
    Last Post: 07-09-2010, 10:08 AM
  4. Blood ISle's Option Tab Fixup
    By AcHoZeN™ in forum Requests
    Replies: 6
    Last Post: 01-18-2009, 08:08 PM
  5. New Options Tab
    By .fabian in forum Tutorials
    Replies: 12
    Last Post: 08-23-2008, 04:38 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •