boss dropin screwed... dc!!! [emulous]
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.