Did you pass a negative value through an ArrayList constructor?
|
I did loads of editing and after I compiled, I ran the source. Upon running it I received this error:
[Cache] Loading cache...
[Cache] Loaded cache!
[MapXTEA] Loaded 1502 map XTEA key(s)
[PacketManager] Loading packet handlers...
[PacketManager] Loaded 60 packet handlers.
[World] Loading World...
[ClanManager] Loading clans....
[ClanManager] Loaded 56 clans.
[AreaManager] Loading areas...
[AreaManager] Loaded 50 areas.
[NPCDropLoader] Loading drops...
Exception in thread "main" java.lang.IllegalArgumentException: Illegal Capacity:
-20224
at java.util.ArrayList.<init>(ArrayList.java:156)
at org.dementhium.model.npc.NPCDropLoader.load(NPCDro pLoader.java:49)
at org.dementhium.model.World.load(World.java:114)
at org.dementhium.RS2ServerBootstrap.main(RS2ServerBo otstrap.java:43)
Press any key to continue . . .
I then tried to run NPC Drop Editor, and got this error:
Loading cache...
Loaded cache!
Loading npc definitions...
Loaded 13488 npc definitions.
Loading item definitions...
Loaded 20430 item definitions.
Loading range weapon info...
Loaded 184 range weapon definitions.
Loading range ammunition info...
Loaded 219 ammunition definitions.
Loading drops...
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Illeg
al Capacity: -20224
at java.util.ArrayList.<init>(ArrayList.java:156)
at org.dementhium.model.npc.NPCDropLoader.load(NPCDro pLoader.java:49)
at org.dementhium.tools.DropEditor.<init>(DropEditor. java:73)
at org.dementhium.tools.DropEditor$14.run(DropEditor. java:684)
at java.awt.event.InvocationEvent.dispatch(Invocation Event.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:744)
at java.awt.EventQueue.access$400(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:697)
at java.awt.EventQueue$3.run(EventQueue.java:691)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPri vilege(ProtectionDo
main.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 714)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThre
ad.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.
java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThre
ad.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:82)
Press any key to continue . . .
Any Ideas on how to fix this? Will rep+! Thanks so much!!
CTRL Z is your answer if you dont know what you're doing buddy.
I can't edit my drops through NPC drop editor bc it doesn't load up. Are there other ways to edit drops?
nope
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |