Thread: [PI] Array out of bounds, help appreciated

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 [PI] Array out of bounds, help appreciated 
    Registered Member
    Join Date
    Jan 2015
    Posts
    36
    Thanks given
    3
    Thanks received
    3
    Rep Power
    18
    Hello fellow Rune-Server members,

    I have downloaded the new "tyreatta-scape" source and client to start to learn coding java and possibly open up my own RSPS in the future. I have started learning a lot, and it's been really fun for me. I tried adding this custom model to my game, but then when I spawn the item it freezes my client and gives me this error:

    Code:
    Error: T1 - 123,0 - 36,36
    Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: -79
            at Model.method479(Model.java:1045)
            at ItemDef.method201(ItemDef.java:1859)
            at ItemDef.getSprite(ItemDef.java:1748)
            at client.drawInterface(client.java:8613)
            at client.drawTabArea(client.java:2055)
            at client.drawGameScreen(client.java:8407)
            at client.processDrawing(client.java:9155)
            at RSApplet.run(RSApplet.java:108)
            at client.run(client.java:4846)
            at java.lang.Thread.run(Unknown Source)
    Thanks for any help or information that can possibly help me along my way, I am always willing to learn and give back to the community.
    - Skata
    We are Anonymous. We are legion. We do not forgive. We do not forget.

    Expect us!
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2015
    Posts
    36
    Thanks given
    3
    Thanks received
    3
    Rep Power
    18
    Still need this
    We are Anonymous. We are legion. We do not forgive. We do not forget.

    Expect us!
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2015
    Posts
    36
    Thanks given
    3
    Thanks received
    3
    Rep Power
    18
    Still need this
    We are Anonymous. We are legion. We do not forgive. We do not forget.

    Expect us!
    Reply With Quote  
     

  4. #4  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    This is really good, thanks!!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2015
    Posts
    36
    Thanks given
    3
    Thanks received
    3
    Rep Power
    18
    Quote Originally Posted by Poohcan View Post
    This is really good, thanks!!
    What?
    We are Anonymous. We are legion. We do not forgive. We do not forget.

    Expect us!
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member
    Join Date
    Feb 2015
    Posts
    18
    Thanks given
    1
    Thanks received
    2
    Rep Power
    28
    You could try checking that line *1045* in model.java, and try deleting it, but my guess is just that your ints are fudged up. Post a pic of your ints, or try to find new ones for that particular item.
    Reply With Quote  
     

  8. #7  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    Quote Originally Posted by skata View Post
    What?
    Thanked and repped!
    Reply With Quote  
     

  9. Thankful user:


  10. #8  
    Registered Member
    Join Date
    Jan 2015
    Posts
    36
    Thanks given
    3
    Thanks received
    3
    Rep Power
    18
    Bump
    We are Anonymous. We are legion. We do not forgive. We do not forget.

    Expect us!
    Reply With Quote  
     

  11. #9  
    anInt69

    Max _'s Avatar
    Join Date
    Feb 2012
    Age
    26
    Posts
    1,801
    Thanks given
    426
    Thanks received
    727
    Rep Power
    599
    Follow the stack trace.
    Reply With Quote  
     

  12. #10  
    Registered Member Rs Owner 126's Avatar
    Join Date
    Jul 2015
    Posts
    70
    Thanks given
    41
    Thanks received
    13
    Rep Power
    25
    For Fixing T1 Errors:

    First, Go into PlayerAssistant.java and find:
    Code:
    public void sendCrashFrame()
    Just Replace it with This code:
    Code:
    /*public void sendCrashFrame() { // used for crashing cheat clients
    		// synchronized(c) {
    		if (c.getOutStream() != null && c != null) {
    			c.getOutStream().createFrame(123);
    			c.flushOutStream();
    		}
    	}*/
    Then Go to Client.Java And Search for:
    Code:
    getPA().sendCrashFrame();
    Then comment it out To look like This:
    Code:
    //getPA().sendCrashFrame();
    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. PI client java array out of bounds
    By youngy_james in forum Help
    Replies: 3
    Last Post: 08-21-2012, 09:38 PM
  2. Replies: 0
    Last Post: 11-11-2011, 06:33 AM
  3. [PI] Array out of bounds, help
    By Beanerrr in forum Help
    Replies: 6
    Last Post: 04-24-2011, 11:04 PM
  4. [SHARDS]Array out of bounds
    By Cody. in forum Help
    Replies: 5
    Last Post: 08-22-2009, 07:48 PM
  5. array out of bounds
    By pureiiipker in forum Help
    Replies: 1
    Last Post: 07-03-2009, 06:45 PM
Tags for this Thread

View Tag Cloud

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