Thread: Npc error

Results 1 to 5 of 5
  1. #1 Npc error 
    Registered Member
    Join Date
    Nov 2012
    Posts
    21
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 3
    at server.model.npcs.NPCHandler.loadNPCList(NPCHandle r.java:2307)
    at server.model.npcs.NPCHandler.<init>(NPCHandler.jav a:33)
    at server.Server.<clinit>(Server.java:63)
    Could not find the main class: server.Server. Program will exit.
    Press any key to continue . . .

    I'm not sure what went wrong.
    I edited NPC.cfg, and Spawn.cfg

    Would someone mind?
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    You added an extra space. Look where you added the 3, its around there.

    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  
     

  3. #3  
    Father Of Lies


    Join Date
    May 2012
    Age
    26
    Posts
    1,216
    Thanks given
    267
    Thanks received
    289
    Rep Power
    242
    It's the loading of the npcs, whether is be spawning or definition. Perhaps you used spaces instead of tabs? I prefer to use a colon to separate data
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2012
    Posts
    21
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    There's a lot of 3's in there.. Any suggestions?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2012
    Posts
    21
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Still open for suggestions, please.
    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. pi adding npc compile error new error only 2
    By is whoopie in forum Help
    Replies: 1
    Last Post: 08-13-2012, 07:06 PM
  2. [Help] Error: Too many NPC
    By Xtreme in forum Help
    Replies: 3
    Last Post: 12-04-2011, 10:43 PM
  3. Replies: 3
    Last Post: 08-13-2011, 08:03 PM
  4. NPC's ERROR
    By Banter in forum Help
    Replies: 6
    Last Post: 07-18-2011, 02:41 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
  •