Thread: 5 seconds for $5

Results 1 to 5 of 5
  1. #1 5 seconds for $5 
    Registered Member

    Join Date
    May 2009
    Posts
    1,443
    Thanks given
    653
    Thanks received
    526
    Rep Power
    310
    Alright well these two little "Exceptions" have appeared around yesterday, I haven't touched anything to do with opening quests or using specials (quests for around a week and specs for like 3 months).

    When I try to use a spec it trains the energy but nothing else happens, no atk or anything and I get this in my run.

    Code:
    [1/29/11 9:37 AM]: java.lang.ArrayIndexOutOfBoundsException: 257
    [1/29/11 9:37 AM]:      at server.model.players.CombatAssistant.activateSpecial(
    CombatAssistant.java:1835)
    [1/29/11 9:37 AM]:      at server.model.players.CombatAssistant.attackNpc(Combat
    Assistant.java:151)
    [1/29/11 9:37 AM]:      at server.model.players.packets.ClickNPC.processPacket(C
    lickNPC.java:105)
    [1/29/11 9:37 AM]:      at server.model.players.PacketHandler.processPacket(Pack
    etHandler.java:141)
    [1/29/11 9:37 AM]:      at server.model.players.Client.processQueuedPackets(Clie
    nt.java:1703)
    [1/29/11 9:37 AM]:      at server.model.players.PlayerHandler.process(PlayerHand
    ler.java:145)
    [1/29/11 9:37 AM]:      at server.Server.main(Server.java:169)

    And when I'm in my quest tab and I attempt to open up the quest thingy (guide or w\e you want to call it, menu etc for quest details) I get this.

    Code:
    [1/29/11 9:51 AM]: java.lang.ArrayIndexOutOfBoundsException: 225
    [1/29/11 9:51 AM]:      at server.model.players.QuestHandler.openQuest(QuestHand
    ler.java:216)
    [1/29/11 9:51 AM]:      at server.model.players.packets.ClickingButtons.processP
    acket(ClickingButtons.java:419)
    [1/29/11 9:51 AM]:      at server.model.players.PacketHandler.processPacket(Pack
    etHandler.java:141)
    [1/29/11 9:51 AM]:      at server.model.players.Client.processQueuedPackets(Clie
    nt.java:1703)
    [1/29/11 9:51 AM]:      at server.model.players.PlayerHandler.process(PlayerHand
    ler.java:145)
    [1/29/11 9:51 AM]:      at server.Server.main(Server.java:169)

    Whoever can fix both gets $5, I would fix them myself but I got no freaking clue what's causing it. Thanks. Post below!
    Retired from RSPS development 2008-2018
    Reply With Quote  
     

  2. #2  
    Member
    Join Date
    Aug 2010
    Posts
    75
    Thanks given
    1
    Thanks received
    2
    Rep Power
    0
    i had this problem alot, finally fixed it though.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    May 2009
    Posts
    1,443
    Thanks given
    653
    Thanks received
    526
    Rep Power
    310
    Quote Originally Posted by b00mz View Post
    i had this problem alot, finally fixed it though.
    Post the fix and I'll send $5 to your paypal.
    Retired from RSPS development 2008-2018
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    May 2009
    Posts
    1,443
    Thanks given
    653
    Thanks received
    526
    Rep Power
    310
    Still need help
    Retired from RSPS development 2008-2018
    Reply With Quote  
     

  5. #5  
    Registered Member
    Its paris's Avatar
    Join Date
    Apr 2009
    Posts
    1,141
    Thanks given
    56
    Thanks received
    234
    Rep Power
    689
    Step 1: Open the file causing the exception.
    Step 2: Go to the line causing the exception.
    Step 3: Find out what could cause the exception (which array).
    Step 4: Find out why the index of that array can reach a value higher than the index of the last slot (array.length - 1).
    Step 5: Prevent that array from reaching an index higher than the last index.
    Step 6: Be proud, you've fixed the exception. Now won't occur again.
    Reply With Quote  
     

  6. Thankful user:



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. Replies: 12
    Last Post: 09-26-2010, 08:42 PM
  2. Minute to seconds and a seconds to minute method
    By Dark Regen in forum Configuration
    Replies: 11
    Last Post: 04-20-2010, 10:47 PM
  3. Replies: 22
    Last Post: 11-21-2009, 08:38 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •