What is on line line 1228 of NPChandler.java
|
Hey guys, When i attack Giant Mole and The Chaos Elemental, It disconnects me, and
shuts the server down, Here's what is says on run.bat
Thanks guys, Post here, or add me on msn ; [email protected]Code:[5/4/11 4:04 AM]: Saved game for coder. [5/4/11 4:04 AM]: java.lang.ArrayIndexOutOfBoundsException: 0 [5/4/11 4:04 AM]: at server.model.npcs.NPCHandler.dropItems(NPCHandler.jav a:1228) [5/4/11 4:04 AM]: at server.model.npcs.NPCHandler.process(NPCHandler.java: 1066) [5/4/11 4:04 AM]: at server.Server.main(Server.java:152) [5/4/11 4:04 AM]: A fatal exception has been thrown! [5/4/11 4:04 AM]: Saved game for coder. Press any key to continue . . .
THANKS ALOT!
That's the line (:Code:Server.itemHandler.createGroundItem(c, NPCDrops.normalDrops.get(npcs[i].npcType)[random][0], npcs[i].absX, npcs[i].absY, NPCDrops.normalDrops.get(npcs[i].npcType)[random][1], c.playerId);
Can you post your current NPCdrops.TSM? I think it's because you don't have any normal drops for your npc, you only have the rarity items.
Fixed it, Thanks so much bro! add me on msn, for future help? [email protected]
No problem and sure: [email protected] I don't use MSN much so PMing on the forums would probably be your best bet.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |