Thread: boss dropin screwed... dc!!! [emulous]

Results 1 to 2 of 2
  1. #1 boss dropin screwed... dc!!! [emulous] 
    luvgirl12345
    Guest
    hi comunity


    i made delrith in champions guild and i killed him but when hes suposed to drop items it gives this error:

    Code:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
            at server.npcs.NPCHandler.dropItems(NPCHandler.java:445)
            at server.npcs.NPCHandler.process(NPCHandler.java:381)
            at server.Server.main(Server.java:23)
    i dont know what this means but im guessing it has to do with the drops in config...
    well here is a part of config:

    Code:
    /**
    	* NPC DROPS
    	**/
    	//{npc Type, item id , amount, chance}
    	public static int[][] NPC_DROPS = {
    {879,1150,1,2}, {879,1188,1,2}, {879,1216,1,1}, {879,1232,2}, {879,1306,1,2}, {879,1378,1,3}, {879,3141,1,4}, {879,3205,1,2}, {879,4088,1,4}, {879,4586,1,4}, {879,4588,1,2}, {879,7158,1,3}, // delrith
    	// example with man
    	//{{npc type, red party hat, amount , chance( higher number = more rare)},
    	// if you want the a npc to always drop an item make the chance 0
    	{1,1038,1,10}, {1,526,1,0}, {1,995,120,2}, // man
    	****,526,1,0} // knight
    	};

    i know its probable easy to fix and i would like to learn what i did wrong or how to fix it....

    thank you for your time
    luvgirl


    p.s. going to bed now. will look at post tomorow.
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jun 2008
    Posts
    1,953
    Thanks given
    7
    Thanks received
    250
    Rep Power
    442
    if these
    Code:
    {879,1150,1,2}, {879,1188,1,2}, {879,1216,1,1}, {879,1232,2}, {879,1306,1,2}, {879,1378,1,3}, {879,3141,1,4}, {879,3205,1,2}, {879,4088,1,4}, {879,4586,1,4}, {879,4588,1,2}, {879,7158,1,3}, // delrith
    is ur code, ur obviously not following the layout....
    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
  •