Thread: NRS3 Error

Results 1 to 8 of 8
  1. #1 NRS3 Error 
    Registered Member
    Join Date
    Nov 2012
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Getting whenever I run the 'run.bat' to load the NRS3 server.

    Code:
    [Launcher] Initing Cache...
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 19
            at com.rs.utils.Utils.getItemDefinitionsSize(Utils.java:268)
            at com.rs.cache.loaders.ItemsEquipIds.init(ItemsEquipIds.java:13)
            at com.rs.Launcher.main(Launcher.java:64)
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jan 2008
    Age
    31
    Posts
    1,380
    Thanks given
    76
    Thanks received
    384
    Rep Power
    962
    com.rs.utils.Utils.getItemDefinitionsSize(Utils.ja va:268)

    package com.rs.utils

    Class Utils

    Method getItemDefinitionsSize

    line 268

    that is where your error is happening at. Post it. Basically the array index is not allowed to be as high as 19 and that is why it throws that arrayindexoutofbounds exception
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2012
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Code:
    int lastArchiveId = Cache.STORE.getIndexes()[19].getLastArchiveId();
    Reply With Quote  
     

  4. #4  
    Developer

    Holy Symbol's Avatar
    Join Date
    Dec 2011
    Age
    25
    Posts
    1,763
    Thanks given
    1,093
    Thanks received
    239
    Rep Power
    365
    You dont have the cache in the folder data/cache...
    Spoiler for big sig:


    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2012
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Holy Symbol View Post
    You dont have the cache in the folder data/cache...
    I stated in my OP that I do.
    Reply With Quote  
     

  6. #6  
    Registered Member

    Join Date
    Jan 2008
    Age
    31
    Posts
    1,380
    Thanks given
    76
    Thanks received
    384
    Rep Power
    962
    The getIndexs array is too small to support 19 indexs.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Nov 2012
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Ashen Sky View Post
    The getIndexs array is too small to support 19 indexs.
    How can I fix this? I even get it to 1 and it shows the same error.
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Nov 2012
    Posts
    16
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Now I'm getting this errror, I fixed the indexes one(had the wrong cache)

    New error:

    [Launcher] Initing Cache...
    Exception in thread "main" java.lang.RuntimeException: MISSING OPCODE 144 FOR IT
    EM 0
    at com.rs.cache.loaders.ItemDefinitions.readValues(It emDefinitions.java:
    553)
    at com.rs.cache.loaders.ItemDefinitions.readOpcodeVal ues(ItemDefinitions
    .java:565)
    at com.rs.cache.loaders.ItemDefinitions.loadItemDefin itions(ItemDefiniti
    ons.java:135)
    at com.rs.cache.loaders.ItemDefinitions.<init>(ItemDe finitions.java:122)

    at com.rs.cache.loaders.ItemDefinitions.getItemDefini tions(ItemDefinitio
    ns.java:109)
    at com.rs.cache.loaders.ItemsEquipIds.init(ItemsEquip Ids.java:14)
    at com.rs.Launcher.main(Launcher.java:64)
    Press any key to continue . . .
    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. NRS3 help please
    By JDM Reject in forum Help
    Replies: 13
    Last Post: 11-20-2012, 05:53 AM
  2. NRS3 V3 718 problem
    By Avexx in forum Help
    Replies: 1
    Last Post: 10-28-2012, 08:47 PM
  3. Nrs3
    By jalupen in forum Help
    Replies: 0
    Last Post: 10-14-2012, 08:48 PM
  4. Nrs3 running, but....
    By Sorry1337 in forum Help
    Replies: 8
    Last Post: 10-09-2012, 01:42 AM
  5. NRS3 Server With Every Client
    By Fiddle in forum Snippets
    Replies: 7
    Last Post: 08-26-2012, 09:47 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •