Thread: OSRS Items [Cache Packable]

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1 OSRS Items [Cache Packable] 
    Registered Member
    Lennard's Avatar
    Join Date
    Mar 2010
    Posts
    924
    Thanks given
    0
    Thanks received
    234
    Rep Power
    274
    Had this for a while now, so I thought I should share this.

    These are from cache build 60.

    Download links:
    Obj.dat&idx
    Item Models
    Full Item List

    Readvalues
    Code:
    	public void readValues(Stream stream) {
    		while(true) {
    			int i = stream.readUnsignedByte();
    			if(i == 0)
    				return;
    			if(i == 1)
    				modelId = stream.readUnsignedShort();
    			else if(i == 2)
    				name = stream.readString();
    			else if(i == 3)
    				description = stream.readString();
    			else if(i == 4)
    				modelZoom = stream.readUnsignedShort();
    			else if(i == 5)
    				modelRotation1 = stream.readUnsignedShort();
    			else if(i == 6)
    				modelRotation2 = stream.readUnsignedShort();
    			else if(i == 7) {
    				modelOffset1 = stream.readUnsignedShort();
    				if(modelOffset1 > 32767)
    					modelOffset1 -= 0x10000;
    			} else if(i == 8) {
    				modelOffset2 = stream.readUnsignedShort();
    				if(modelOffset2 > 32767)
    					modelOffset2 -= 0x10000;
    			} else if(i == 11)
    				stackable = true;
    			else if(i == 12)
    				value = stream.readDWord();
    			else if(i == 16)
    				membersObject = true;
    			else if(i == 23) {
    				maleModel = stream.readUnsignedShort();
    				aByte205 = stream.readSignedByte();
    			} else if (i == 24)
    				anInt188 = stream.readUnsignedShort();
    			else if (i == 25) {
    				femaleModel = stream.readUnsignedShort();
    				aByte154 = stream.readSignedByte();
    			} else if (i == 26)
    				anInt164 = stream.readUnsignedShort();
    			else if(i >= 30 && i < 35) {
    				if(groundOptions == null)
    					groundOptions = new String[5];
    				groundOptions[i - 30] = stream.readString();
    				if(groundOptions[i - 30].equalsIgnoreCase("hidden"))
    					groundOptions[i - 30] = null;
    			} else if(i >= 35 && i < 40) {
    				if(inventoryOptions == null)
    					inventoryOptions = new String[5];
    				inventoryOptions[i - 35] = stream.readString();
    			} else if(i == 40) {
    				int j = stream.readUnsignedByte();
    				originalModelColors = new int[j];
    				modifiedModelColors = new int[j];
    				for(int k = 0; k < j; k++) {
    					originalModelColors[k] = stream.readUnsignedShort();
    					modifiedModelColors[k] = stream.readUnsignedShort();
    				}
    			} else if(i == 78)
    				anInt185 = stream.readUnsignedShort();
    			else if(i == 79)
    				anInt162 = stream.readUnsignedShort();
    			else if(i == 90)
    				anInt175 = stream.readUnsignedShort();
    			else if(i == 91)
    				anInt197 = stream.readUnsignedShort();
    			else if(i == 92)
    				anInt166 = stream.readUnsignedShort();
    			else if(i == 93)
    				anInt173 = stream.readUnsignedShort();
    			else if(i == 95)
    				anInt204 = stream.readUnsignedShort();
    			else if(i == 97)
    				certID = stream.readUnsignedShort();
    			else if(i == 98)
    				certTemplateID = stream.readUnsignedShort();
    			else if(i == 100) {
    				int length = stream.readUnsignedByte();
    				stackIDs = new int[length];
    				stackAmounts = new int[length];
    				for(int k = 0; k < length; k++) {
    					stackIDs[k] = stream.readUnsignedShort();
    					stackAmounts[k] = stream.readUnsignedShort();
    				}
    			} else if(i == 110)
    				anInt167 = stream.readUnsignedShort();
    			else if(i == 111)
    				anInt192 = stream.readUnsignedShort();
    			else if(i == 112)
    				anInt191 = stream.readUnsignedShort();
    			else if(i == 113)
    				anInt196 = stream.readSignedByte();
    			else if(i == 114)
    				anInt184 = stream.readSignedByte() * 5;
    			else if(i == 115)
    				team = stream.readUnsignedByte();
    		}
    	}
    Could be usefull for OSRS projects or stuff like that

    Screenshot:
    Attached image
    The greatest upcoming OSRS PK server
    Reply With Quote  
     


  2. #2  
    Registered MrClassic
    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    15
    Posts
    2,063
    Thanks given
    24,154
    Thanks received
    551
    Rep Power
    5000
    Good job
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    May 2011
    Posts
    1,773
    Thanks given
    854
    Thanks received
    853
    Rep Power
    0
    Nice release people always spam me about dumping these.

    By any chance do you still have the deob you dumped it with ?
    Reply With Quote  
     

  4. #4  
    Donator


    Join Date
    Jun 2011
    Posts
    2,549
    Thanks given
    539
    Thanks received
    402
    Rep Power
    683
    Good stuff man.
    All the best,
    Nirvana

    Reply With Quote  
     

  5. #5  
    V.C.C.

    Abnant's Avatar
    Join Date
    Nov 2010
    Posts
    2,291
    Thanks given
    393
    Thanks received
    796
    Rep Power
    1777
    If it works, this is good shit. Reppppp'd
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Nice can you dump the configs please?
    Reply With Quote  
     

  7. #7  
    Registered Member
    natsu's Avatar
    Join Date
    Apr 2007
    Age
    32
    Posts
    3,435
    Thanks given
    1,084
    Thanks received
    676
    Rep Power
    1096
    Quote Originally Posted by ipkmills View Post
    Nice can you dump the configs please?
    do it yourself .. pack the stuff he released and dump it out youre client.

    @good job
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by natsu View Post
    do it yourself .. pack the stuff he released and dump it out youre client.

    @good job
    They are already idk how to get the configs
    Reply With Quote  
     

  9. #9  
    Registered MrClassic
    MrClassic's Avatar
    Join Date
    Oct 2008
    Age
    15
    Posts
    2,063
    Thanks given
    24,154
    Thanks received
    551
    Rep Power
    5000
    Quote Originally Posted by ipkmills View Post
    They are already idk how to get the configs
    When loading the items you can print it and make it add to a txt file. Might post an example soon.
    Reply With Quote  
     

  10. Thankful user:


  11. #10  
    Banned

    Join Date
    May 2011
    Posts
    1,773
    Thanks given
    854
    Thanks received
    853
    Rep Power
    0
    Quote Originally Posted by ipkmills View Post
    They are already idk how to get the configs
    Straight off my head might be some errors:

    Just before the last bracket on unpackConfig;

    You can add more data yourself.

    itemAmount = total items #

    Code:
    PrintWriter pw = new PrintWriter("configs.txt");
    for (int i = 0; i < itemAmount; i++) {
    ItemDef def = forID(i);
    pw.println(i+": maleEquip1: "+def.maleEquip1);
    }
    pw.close();
    Reply With Quote  
     

Page 1 of 4 123 ... 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. 634 Items -- Cache Packable
    By K4rn4ge in forum Snippets
    Replies: 832
    Last Post: 04-23-2014, 04:21 AM
  2. 653 Items [Cache packable, 100% Bugs free]
    By Mr. Gangster in forum Snippets
    Replies: 91
    Last Post: 10-27-2011, 12:28 AM
  3. [non renamed]634 Items -- Cache Packable
    By owner blade in forum Snippets
    Replies: 52
    Last Post: 10-17-2011, 10:10 PM
  4. 647 Items [Cache packable]
    By Purple in forum Snippets
    Replies: 168
    Last Post: 08-26-2011, 07:49 AM
  5. 634 items-cache packable
    By jakanddax222 in forum Help
    Replies: 0
    Last Post: 01-03-2011, 03:26 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
  •