Thread: NPCHandler.java problem

Results 1 to 8 of 8
  1. #1 NPCHandler.java problem 
    devilson1995
    Guest
    I get this when running my server.

    Code:
    DeltaScape Server.
    Exception in thread "main" java.lang.ArrayIndexOutOfBound***ception: 19687
            at NPCHandler.newNPC(NPCHandler.java:2201)
            at NPCHandler.loadAutoSpawn(NPCHandler.java:1967)
            at NPCHandler.<init>(NPCHandler.java:548)
            at server.main(server.java:114)
    I had just added the CFG file of all the NPC's in rl RS in the config section here to my server and am now getting this.

    Please Help.
    Reply With Quote  
     

  2. #2  
    Registered Member apur3slife's Avatar
    Join Date
    Dec 2008
    Posts
    285
    Thanks
    0
    Thanked 5 Times in 4 Posts
    Rep Power
    23
    You must have done something wrong when adding the npcs either missspelled a word or
    something


    go back and check for mistakes maybe
    Reply With Quote  
     

  3. #3  
    ʘ‿ʘ

    Easter EggsEaster EggsEaster Eggs

    Tupac's Avatar
    Join Date
    Jan 2008
    Age
    11
    Posts
    15,197
    Thanks
    2,894
    Thanked 5,884 Times in 2,600 Posts
    Rep Power
    5000
    it either mean the maxium npcs is spawned or you pasted a npc settings wrong



    Reply With Quote  
     

  4. #4  
    devilson1995
    Guest
    theres a limit? It's probably that. Thanks for telling me that guys.
    Reply With Quote  
     

  5. #5  
    dont fukin ask me for client services

    Galkon's Avatar
    Join Date
    Nov 2007
    Age
    12
    Posts
    6,938
    Thanks
    1,275
    Thanked 2,040 Times in 716 Posts
    Rep Power
    5000
    Probably put a space instead of a tab somewhere.

    Reply With Quote  
     

  6. #6  
    Registered Member
    64base string's Avatar
    Join Date
    Aug 2007
    Posts
    1,135
    Thanks
    12
    Thanked 7 Times in 7 Posts
    Rep Power
    104
    ^ ^ wtf u talkin bout kid?
    there are too much npcs.. go into npchandler and where it says new NPC[
    insiade that add 19689

    so:

    public NPC[] npcs = new NPC[19689];
    Visit my shit site &
    download my shit client
    AEC.WTF.LA
    317 DEOB CLIENT
    -Visiting R~S every odd year!
    Reply With Quote  
     

  7. #7  
    kieronbegley
    Guest
    Quote Originally Posted by 64base string View Post
    ^ ^ wtf u talkin bout kid?
    there are too much npcs.. go into npchandler and where it says new NPC[
    insiade that add 19689

    so:

    public NPC[] npcs = new NPC[19689];
    Lol. that did not work. i have same error.
    Code:
    - Ultimate Pk Fully Operational -
    Exception in thread "main" java.lang.NullPointerException
            at NPCHandler.process(NPCHandler.java:376)
            at server.main(server.java:57)
    Reply With Quote  
     

  8. #8  
    devilson1995
    Guest
    Thx 64base, will try
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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