As many of you know, I had a stupid question on customs. I solved it.
Now I'm back. I tried to add in some customs and it's worked, but when I edit the stats of them, I can compile fine but when the server runs I see this...
Code:
Server is Online
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 6
at ItemHandler.loadItemList(ItemHandler.java:283)
at ItemHandler.<init>(ItemHandler.java:173)
at server.main(server.java:111)
Compiler returns no errors but Client will not allow me to log on. Shows black screen for roughly 2 seconds then Connection Lost - Waiting to ReEstablish and it keeps retrying. Any help?
Item Codes for items.cfg
Code:
item = 16006 Dragonite_Kiteshield A_rare_protective_kiteshield. 7500000 15000000 5000000 0 0 0 0 0 40 60 53 21 44 25 0
item = 16007 Dragonite_Shield A_rare_protective_shield. 7500000 15000000 5000000 0 0 0 0 0 40 60 53 21 44 25 0
item = 16001 Dragonite_Claws A_set_of_dragon_claws_made_into_a_weapon! 10000000 25000000 15000000 65 65 65 65 65 10 10 10 10 10 5 0
ItemHandler Line 283
Code:
if (token3[(6 + i)] != null) {
Bonuses[i] = Integer.parseInt(token3[(6 + i)]);
} else {
break;
}
ItemHandler Line 173
Code:
for (int i = 0; i < MaxListedItems; i++) {
ItemList[i] = null;
}
loadItemList("item.cfg");
loadDrops("globaldrops.cfg");
}
Running rev317 DeltaScape Base, from the SpicyMozarella Videos.