Thread: Drops error, will rep+ (On my main, Ghost) [Delta]

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Drops error, will rep+ (On my main, Ghost) [Delta] 
    MassPker
    Guest
    Error is when i Start server, right after compiling.
    Code:
    Your server is now online.
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 45
            at NPCHandler.loadNPCDrops(NPCHandler.java:2066)
            at NPCHandler.<init>(NPCHandler.java:549)
            at server.main(server.java:164)
    The reason this is happening is this code (in npcdrops.cfg)
    Code:
    //kalphitequeen
    npcdrop = 1160	13665	1	10
    npcdrop = 1160	995	1	85
    npcdrop = 1160	13643	1	10
    npcdrop = 1160	13644	1	10
    npcdrop = 1160	1700	1	10
    npcdrop = 1160	13649	1	10
    npcdrop = 1160	13650	1	10
    npcdrop = 1160	13645	1	10
    npcdrop = 1160	13648	1	10
    npcdrop = 1160	13642	1	10
    npcdrop = 1160	13646	1	10
    npcdrop = 1160	7611	1	10
    npcdrop = 1160	4675	1	10
    npcdrop = 1160  4224	1	5
    npcdrop = 1160	536	1	100
    If i remove that code, it works fine, but I want these drops and yeah.

    Any ideas on how to fix this?

    I'll rep+!

    Thanks,
    Nick.
    Reply With Quote  
     

  2. #2  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    26
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    Yes, this is my noob account, I use it while I'm on teamview, for the other person.

    Just so you don't think this is a fake rep offer.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Daewoo
    Guest
    rep++ me now and ill help you
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2008
    Posts
    410
    Thanks given
    0
    Thanks received
    5
    Rep Power
    7
    //kalphitequeen
    npcdrop = 1160 13665 1 10
    npcdrop = 1160 995 1 85
    npcdrop = 1160 13643 1 10
    npcdrop = 1160 13644 1 10
    npcdrop = 1160 1700 1 10
    npcdrop = 1160 13649 1 10
    npcdrop = 1160 13650 1 10
    npcdrop = 1160 13645 1 10
    npcdrop = 1160 13648 1 10
    npcdrop = 1160 13642 1 10
    npcdrop = 1160 13646 1 10
    npcdrop = 1160 7611 1 10
    npcdrop = 1160 4675 1 10
    npcdrop = 1160 4224 1 5
    npcdrop = 1160 536 1 100
    make it

    //kalphitequeen
    npcdrop = 1160 13665 1 10
    npcdrop = 1160 995 1 85
    npcdrop = 1160 13643 1 10
    npcdrop = 1160 13644 1 10
    npcdrop = 1160 1700 1 10
    npcdrop = 1160 13649 1 10
    npcdrop = 1160 13650 1 10
    npcdrop = 1160 13645 1 10
    npcdrop = 1160 13648 1 10
    npcdrop = 1160 13642 1 10
    npcdrop = 1160 13646 1 10
    npcdrop = 1160 7611 1 10
    npcdrop = 1160 4675 1 10
    npcdrop = 1160 4224 1 5
    npcdrop = 1160 536 1 100
    YOU MUST USE TAB KEYS FOR EACH BIG SPACE! ONLY TAB KEYS!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Sep 2006
    Posts
    178
    Thanks given
    2
    Thanks received
    7
    Rep Power
    13
    it may be the tab in one of the items?
    Reply With Quote  
     

  6. #6  
    Donator


    Join Date
    Nov 2008
    Posts
    1,031
    Thanks given
    20
    Thanks received
    33
    Rep Power
    246
    use tab and not space

    npcdrop 'space' = 'space' 1160 'tab' 536 'tab' 1 'tab' 100
    Reply With Quote  
     

  7. #7  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    26
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    Still messed up
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Mar 2007
    Age
    30
    Posts
    75
    Thanks given
    0
    Thanks received
    0
    Rep Power
    8
    fixed xD
    Reply With Quote  
     

  9. #9  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    26
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    Thanks for posting that. Lol
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Registered Member
    killamess's Avatar
    Join Date
    Dec 2007
    Age
    30
    Posts
    1,508
    Thanks given
    51
    Thanks received
    284
    Rep Power
    1956
    you can only have 14 drops per npc aswel.

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

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