Thread: Good luck solving this

Results 1 to 6 of 6
  1. #1 Good luck solving this 
    Registered Member
    Join Date
    Oct 2011
    Posts
    54
    Thanks given
    0
    Thanks received
    1
    Rep Power
    10
    randomly this error will crash my server

    Code:
    [3/23/12 3:43 PM]: java.lang.ArrayIndexOutOfBoundsException: -1
    [3/23/12 3:43 PM]:      at server.world.WalkingHandler$TiledMap.getFlag(WalkingH
    andler.java:67)
    [3/23/12 3:43 PM]:      at server.world.WalkingHandler.traversable(WalkingHandle
    r.java:27)
    [3/23/12 3:43 PM]:      at server.model.npcs.NPC.getNextWalkingDirection(NPC.jav
    a:224)
    [3/23/12 3:43 PM]:      at server.model.npcs.NPC.getNextNPCMovement(NPC.java:235
    )
    [3/23/12 3:43 PM]:      at server.model.npcs.NPCHandler.followPlayer(NPCHandler.
    java:2736)
    [3/23/12 3:43 PM]:      at server.model.npcs.NPCHandler.process(NPCHandler.java:
    1853)
    [3/23/12 3:43 PM]:      at server.Server.main(Server.java:191)
    line 67 of walkinghandler.java

    Code:
    public int getFlag(int x, int y) {
    			return plane[x * 10000 + y];
    		}
    IF ANYONE CAN TELL ME HOW TO FIX THIS I WILL LOVE YOU FOREVER
    im completely stumped:L
    Reply With Quote  
     

  2. #2  
    Registered Member I'mAGeek's Avatar
    Join Date
    Jan 2012
    Age
    24
    Posts
    504
    Thanks given
    146
    Thanks received
    44
    Rep Power
    16
    It happens at barrows?
    Asgarnia
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2012
    Posts
    294
    Thanks given
    54
    Thanks received
    88
    Rep Power
    71
    you shouldnt be using this type of npc clipping i suggest you disable it
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Oct 2011
    Posts
    54
    Thanks given
    0
    Thanks received
    1
    Rep Power
    10
    what type is it :/ not sure how to disable it..
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2013
    Posts
    72
    Thanks given
    0
    Thanks received
    4
    Rep Power
    11
    well when the method starts put one of theis in front of each line //

    [code]// java.lang.ArrayIndexOutOfBound***ception: -1
    // at server.world.WalkingHandler$TiledMap.getFlag(Walki ngHandler.java:67)
    // at server.world.WalkingHandler.traversable(WalkingHan dle
    r.java:27)
    [3/23/12 3:43 PM]: at server.model.npcs.NPC.getNextWalkingDirection(NPC. jav
    a:224)
    [3/23/12 3:43 PM]: at server.model.npcs.NPC.getNextNPCMovement(NPC.java: 235
    )
    [3/23/12 3:43 PM]: at server.model.npcs.NPCHandler.followPlayer(NPCHandl er.
    java:2736)
    [3/23/12 3:43 PM]: at server.model.npcs.NPCHandler.process(NPCHandler.ja va:
    1853)
    [3/23/12 3:43 PM]: [/co
    Reply With Quote  
     

  6. #6  
    « Pokémon Master »
    Ash Ketchum's Avatar
    Join Date
    Jun 2011
    Age
    25
    Posts
    1,426
    Thanks given
    275
    Thanks received
    152
    Rep Power
    39
    Quote Originally Posted by s0lidtank3d View Post
    well when the method starts put one of theis in front of each line //

    [code]// java.lang.ArrayIndexOutOfBound***ception: -1
    // at server.world.WalkingHandler$TiledMap.getFlag(Walki ngHandler.java:67)
    // at server.world.WalkingHandler.traversable(WalkingHan dle
    r.java:27)
    [3/23/12 3:43 PM]: at server.model.npcs.NPC.getNextWalkingDirection(NPC. jav
    a:224)
    [3/23/12 3:43 PM]: at server.model.npcs.NPC.getNextNPCMovement(NPC.java: 235
    )
    [3/23/12 3:43 PM]: at server.model.npcs.NPCHandler.followPlayer(NPCHandl er.
    java:2736)
    [3/23/12 3:43 PM]: at server.model.npcs.NPCHandler.process(NPCHandler.ja va:
    1853)
    [3/23/12 3:43 PM]: [/co
    Uhm, what the hell are you doing? Do you even code bro?

    OT: If this is caused by region clipping at 1 height or something, then there has been a fix released already
    Spoiler for Galkon:

    Spoiler for Great Quotes:
    Quote Originally Posted by i am prod View Post
    **** YOU this just erased everyones passwords and no one can log in!!!
    Quote Originally Posted by blade2 View Post
    did i ****ing say it was a ****ing virus u dip shit i said virus scan dont scan java files i didn't say its a virus... l2****ingreadkid
    Spoiler for (╯°□°)╯︵┻━┻:
    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

Similar Threads

  1. Good luck not laughing
    By 2ndOfMay in forum Humor
    Replies: 17
    Last Post: 07-15-2011, 07:07 PM
  2. Bye & good luck Rune-Server.org
    By Jay Dawg in forum Chat
    Replies: 3
    Last Post: 06-27-2008, 08:34 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
  •