Thread: Error/Cannot Run

Results 1 to 9 of 9
  1. #1 Error/Cannot Run 
    Registered Member
    Join Date
    Jul 2014
    Posts
    38
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    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!!
    Reply With Quote  
     

  2. #2  
    Respected Member

    Situations's Avatar
    Join Date
    Sep 2008
    Posts
    3,903
    Thanks given
    230
    Thanks received
    1,695
    Rep Power
    5000
    Did you pass a negative value through an ArrayList constructor?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2014
    Posts
    38
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Situations View Post
    Did you pass a negative value through an ArrayList constructor?
    What is that / how would I go about doing that?
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Nov 2014
    Posts
    46
    Thanks given
    0
    Thanks received
    1
    Rep Power
    0
    CTRL Z is your answer if you dont know what you're doing buddy.
    Reply With Quote  
     

  5. #5  
    Registered Member Storm Powner's Avatar
    Join Date
    Apr 2012
    Age
    29
    Posts
    501
    Thanks given
    29
    Thanks received
    34
    Rep Power
    19
    edit your drops: -20224
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jul 2014
    Posts
    38
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    I can't edit my drops through NPC drop editor bc it doesn't load up. Are there other ways to edit drops?
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jul 2014
    Posts
    38
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Storm Powner View Post
    edit your drops: -20224
    ^ Any ideas?
    Reply With Quote  
     

  8. #8  
    Registered Member Storm Powner's Avatar
    Join Date
    Apr 2012
    Age
    29
    Posts
    501
    Thanks given
    29
    Thanks received
    34
    Rep Power
    19
    dont you have a file called drops or something equal in your data folder?
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Nov 2014
    Age
    32
    Posts
    24
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    nope
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. cannot run my server/error
    By multimich in forum Help
    Replies: 1
    Last Post: 05-01-2014, 12:47 PM
  2. Error When Running Client
    By Chris123111 in forum Help
    Replies: 2
    Last Post: 01-25-2009, 04:36 AM
  3. Error When Running Client
    By Chris123111 in forum Help
    Replies: 0
    Last Post: 01-24-2009, 12:32 PM
  4. :S errors after running
    By illegal in forum Help
    Replies: 2
    Last Post: 01-24-2009, 02:04 AM
  5. Error when running a client. [HELP]
    By imcool121 in forum Help
    Replies: 6
    Last Post: 10-13-2008, 03:37 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •