Thread: Necrotic with full OSRS and 667 data

Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 45
  1. #11  
    Banned

    Join Date
    Jun 2019
    Posts
    203
    Thanks given
    99
    Thanks received
    44
    Rep Power
    0
    Quote Originally Posted by Mikey` View Post
    Instead of using the item id you can use the name of the item
    How would it determine if its the noted form, the correct item id etc? Certain items have the same name but multiple ids.
    Reply With Quote  
     

  2. #12  
    Donator

    Yuuji's Avatar
    Join Date
    Feb 2012
    Posts
    678
    Thanks given
    232
    Thanks received
    153
    Rep Power
    197
    Quote Originally Posted by Zerikoth View Post
    How would it determine if its the noted form, the correct item id etc? Certain items have the same name but multiple ids.
    Did you even look through the Source before asking some of these questions?

    com.ruse.model

    Items.java
    Code:
    public static final int TOOLKIT = 1;
        public static final int CANNONBALL = 2;
        public static final int NULODIONS_NOTES = 3;
        public static final int AMMO_MOULD = 4;
        public static final int INSTRUCTION_MANUAL = 5;
        public static final int CANNON_BASE = 6;
        public static final int CANNON_BASE_NOTED = 7;
        public static final int CANNON_STAND = 8;
        public static final int CANNON_STAND_NOTED = 9;
        public static final int CANNON_BARRELS = 10;
        public static final int CANNON_BARRELS_NOTED = 11;
        public static final int CANNON_FURNACE = 12;
        public static final int CANNON_FURNACE_NOTED = 13;
    
        public static final int ABYSSAL_WHIP_3 = 13_444;

    Attached image
    Attached image
    Reply With Quote  
     

  3. #13  
    Banned

    Join Date
    Jun 2019
    Posts
    203
    Thanks given
    99
    Thanks received
    44
    Rep Power
    0
    Quote Originally Posted by Infernal_PK View Post
    Did you even look through the Source before asking some of these questions?

    com.ruse.model

    Items.java
    Code:
    public static final int TOOLKIT = 1;
        public static final int CANNONBALL = 2;
        public static final int NULODIONS_NOTES = 3;
        public static final int AMMO_MOULD = 4;
        public static final int INSTRUCTION_MANUAL = 5;
        public static final int CANNON_BASE = 6;
        public static final int CANNON_BASE_NOTED = 7;
        public static final int CANNON_STAND = 8;
        public static final int CANNON_STAND_NOTED = 9;
        public static final int CANNON_BARRELS = 10;
        public static final int CANNON_BARRELS_NOTED = 11;
        public static final int CANNON_FURNACE = 12;
        public static final int CANNON_FURNACE_NOTED = 13;
    
        public static final int ABYSSAL_WHIP_3 = 13_444;
    Why would someone download the whole thing to just get an answer on a simple question? Anyways thanks for showing the spoiler I guess.
    Reply With Quote  
     

  4. Thankful users:


  5. #14  
    Donator

    Yuuji's Avatar
    Join Date
    Feb 2012
    Posts
    678
    Thanks given
    232
    Thanks received
    153
    Rep Power
    197
    Quote Originally Posted by Zerikoth View Post
    Why would someone download the whole thing to just get an answer on a simple question? Anyways thanks for showing the spoiler I guess.
    If it's a simple question, you can get a simple answer by inspecting it yourself.

    Attached image
    Attached image
    Reply With Quote  
     

  6. #15  
    (Official) Thanksgiver

    Arham's Avatar
    Join Date
    Jan 2013
    Age
    23
    Posts
    3,415
    Thanks given
    7,254
    Thanks received
    1,938
    Rep Power
    3905
    Quote Originally Posted by Infernal_PK View Post
    Did you even look through the Source before asking some of these questions?

    com.ruse.model

    Items.java
    Code:
    public static final int TOOLKIT = 1;
        public static final int CANNONBALL = 2;
        public static final int NULODIONS_NOTES = 3;
        public static final int AMMO_MOULD = 4;
        public static final int INSTRUCTION_MANUAL = 5;
        public static final int CANNON_BASE = 6;
        public static final int CANNON_BASE_NOTED = 7;
        public static final int CANNON_STAND = 8;
        public static final int CANNON_STAND_NOTED = 9;
        public static final int CANNON_BARRELS = 10;
        public static final int CANNON_BARRELS_NOTED = 11;
        public static final int CANNON_FURNACE = 12;
        public static final int CANNON_FURNACE_NOTED = 13;
    
        public static final int ABYSSAL_WHIP_3 = 13_444;
    The thing is, it doesn't use Items.java to lookup item names. Did you look?
    Attached image
    Attached image
    Quote Originally Posted by MrClassic View Post
    Arham is the official thanker!
    List of my work here!
    Reply With Quote  
     

  7. Thankful users:


  8. #16  
    Donator

    Yuuji's Avatar
    Join Date
    Feb 2012
    Posts
    678
    Thanks given
    232
    Thanks received
    153
    Rep Power
    197
    Quote Originally Posted by Arham View Post
    The thing is, it doesn't use Items.java to lookup item names. Did you look?
    Not that hard no, I assumed from what I saw. Assumed and made an ass of myself

    Attached image
    Attached image
    Reply With Quote  
     

  9. #17  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Quote Originally Posted by Zerikoth View Post
    How would it determine if its the noted form, the correct item id etc? Certain items have the same name but multiple ids.
    So how it works is it grabs the first item on the list with that name, it could mess up for things like dragon chainbody where the first id can't be worn. For noted you simply add " (noted)" after the item name. You will also have to use the full name which can be a bitch sometimes, it's not an optimal solution for every case but it will work for 99%, for the other ones you'll need to manually use the ids which is not fun to write or look through.

    edit: I should clarify it uses the item definitions json, I think it writes all name->id to a map and uses that.
    Reply With Quote  
     

  10. Thankful user:


  11. #18  
    Endeavor

    Mikey`'s Avatar
    Join Date
    Dec 2007
    Posts
    4,434
    Thanks given
    715
    Thanks received
    1,435
    Rep Power
    1202
    Reuploaded the files without the interface editor, I should have checked the files better I suppose
    Reply With Quote  
     

  12. #19  
    Registered Member

    Join Date
    May 2016
    Age
    26
    Posts
    281
    Thanks given
    162
    Thanks received
    64
    Rep Power
    96
    Quote Originally Posted by Mikey` View Post
    Reuploaded the files without the interface editor, I should have checked the files better I suppose
    lmao big regretti not downloading this a month ago
    Reply With Quote  
     

  13. #20  
    Registered Member
    Join Date
    Mar 2018
    Posts
    87
    Thanks given
    3
    Thanks received
    7
    Rep Power
    28
    Anyone has the cache?
    DISCORD :- Jack.A#3854
    Reply With Quote  
     

Page 2 of 5 FirstFirst 1234 ... LastLast

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. Replies: 1
    Last Post: 06-07-2017, 05:39 PM
  2. Replies: 1
    Last Post: 08-08-2013, 04:03 PM
  3. Replies: 4
    Last Post: 07-01-2013, 01:10 AM
  4. my 525 download with full banking and pm
    By `Michael in forum Downloads
    Replies: 33
    Last Post: 09-23-2009, 04:37 PM
  5. Newest client with full chicken and 1 new npc
    By Zachyboo in forum Downloads
    Replies: 39
    Last Post: 09-17-2007, 09:46 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
  •