Thread: ArrayIndexOutOfBounds error

Results 1 to 8 of 8
  1. #1 ArrayIndexOutOfBounds error 
    Registered Member
    Join Date
    Dec 2012
    Posts
    27
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    so im trying to add drops for tormented demons and for corporeal beast. i know im doing it correctly because i just added slash bash drops and it works just fine.. everytime i add corporeal beast or tormented demon drops though it compiles just fine. then i go to run server and get this error:

    Java.lang.ArrayIndexOutOfBoundsException:8133
    at server.model.npcs.NPCDrops.loadDrops(NPCDrops.java :43)
    at server.model.npcs.NPCDrops.<init>(NPCDrops.java:15 )
    at server.Server.<clinit>(Server.java:71)
    Loaded clipmap in 318ms.
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Dec 2012
    Posts
    347
    Thanks given
    8
    Thanks received
    11
    Rep Power
    0
    well you didnt add the drops right...
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Dec 2012
    Posts
    27
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    i did though.. because all i did was copy general graadors drops and change the monster id... general graador works.. corp doesnt
    Reply With Quote  
     

  4. #4  
    Donator
    hero x sword's Avatar
    Join Date
    Apr 2012
    Age
    28
    Posts
    863
    Thanks given
    93
    Thanks received
    100
    Rep Power
    26
    Mate you dont use spaces use tabs

    np
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Oct 2011
    Age
    28
    Posts
    1,880
    Thanks given
    311
    Thanks received
    557
    Rep Power
    703
    Since you're editing a configuration file.. compiling doesn't do anything. So it doesn't matter what the compiler says.
    Reply With Quote  
     

  6. #6  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by Doug Wilson View Post
    Since you're editing a configuration file.. compiling doesn't do anything. So it doesn't matter what the compiler says.
    No? lol. It's a run error, it completely matters on the cfg.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2012
    Posts
    27
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Koshmar View Post
    Your array isnt big enough to hold the number 8133
    i didnt use spaces. im aware and used tabs only.. i took a working drop monster and changed one number lol..


    and to koshmar, thank you but is there any way to increase my array??
    Reply With Quote  
     

  8. #8  
    Ignorance is always an excuse

    Mikee's Avatar
    Join Date
    Nov 2009
    Posts
    2,370
    Thanks given
    732
    Thanks received
    490
    Rep Power
    656
    Well it's saying the array index used was 8133 so you need to make your array bigger.
    (Go to where the array is initialized and edit it)



    The day Aj repped me, my life changed forever
    Quote Originally Posted by Aj View Post
    Rep++ for you
    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. ArrayIndexOutOfBounds - Video - need help ;/
    By Time Travel in forum Help
    Replies: 4
    Last Post: 11-26-2012, 02:32 AM
  2. arrayindexoutofbounds error
    By Mr Terror in forum Help
    Replies: 11
    Last Post: 01-26-2012, 06:41 PM
  3. Replies: 2
    Last Post: 01-26-2012, 03:38 PM
  4. arrayindexoutofbounds error
    By Mr Terror in forum Help
    Replies: 0
    Last Post: 01-24-2012, 04:11 PM
  5. Replies: 6
    Last Post: 09-15-2010, 04:20 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
  •