Jump to content

Search the Community

Showing results for tags 'packer'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 21 results

  1. item bonuses packer can somone help me i get that error always:( [url]http://prntscr.com/3f4nok[/url] ItemBonusesPacker.java [HTML]package com.rs.tools; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import com.rs.cache.Cache; import com.rs.utils.Utils; public class ItemBonusesPacker { @SuppressWarnings("resource") public static final void main(String[] args) throws IOException { Cache.init(); DataOutputStream out = new DataOutputStream(new FileOutputStream( "data/items/bonuses.ib")); for (int itemId = 0; itemId < Utils.getItemDefinitionsSize(); itemId++) { File file = new File("data/items/bonuses/" + itemId + ".txt"); if (file.exists()) { BufferedReader reader = new BufferedReader(new FileReader(file)); out.writeShort(itemId); reader.readLine(); // att bonuses out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); reader.readLine(); // def bonuses out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); reader.readLine(); // Damage absorption out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); reader.readLine(); // Other bonuses out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); if (reader.readLine() != null) throw new RuntimeException("Should be null line" + itemId); } } out.flush(); out.close(); } }[/HTML]
  2. Tyrael75

    Item Bonus Packer

    Does anyone have a working item bonus packer? The one i'm using doesn't really work as it should, the new bonuses.ib ends up being 0kb, i've changed the pathing for the packer to get the unpacked bonuses doesn't really help.
  3. When I upload my cache on tom's cache suite it shows up this error message when I click on any button to try to view or edit anything. [IMG]http://i44.tinypic.com/2yxmaf4.jpg[/IMG] Can anyone help me fix?
  4. i have tried all i can think of with this if anyone can help me that would be great i have checked and rechecked the bonus packer and it isnt working idk why i have the folder directories correct in the .java ive compiled and recompiled to make sure that the .class was correct i have even googled it when i couldnt get it ive used packers from other sources and still no help all im trying to do is put bonuses on 4 different items. here is my item bonus packer. [CODE]package com.rs.tools; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import com.rs.cache.Cache; import com.rs.utils.Utils; public class ItemBonusesPacker { public static final void main(String[] args) throws IOException { Cache.init(); DataOutputStream out = new DataOutputStream(new FileOutputStream( "data/items/bonuses.ib")); for (int itemId = 0; itemId < Utils.getItemDefinitionsSize(); itemId++) { File file = new File("bonuses/" + itemId + ".txt"); if (file.exists()) { BufferedReader reader = new BufferedReader(new FileReader(file)); out.writeShort(itemId); reader.readLine(); // att bonuses out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; reader.readLine(); // def bonuses out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; reader.readLine(); // Damage absorption out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; reader.readLine(); // Other bonuses out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; out.writeShort(Integer.valueOf(reader.readLine())) ; if (reader.readLine() != null) throw new RuntimeException("Should be null line" + itemId); } } out.flush(); out.close(); } }[/CODE]and here is my .bat for the run for the packer. [CODE]@echo off title Bonuses Packer "C:/Program Files/Java/Jre7/bin/java.exe" -Xmx815m -cp bin;lib/*; com.rs.tools.ItemBonusesPacker true true false pause[/CODE] and heres a gif to show what happens. Example 1 [IMG]http://gyazo.com/47fa4cfb2c6336247988b0b33ec2fd17.gif[/IMG] Example 1 Cont [IMG]http://gyazo.com/c465458629d2f7521fde58dd1e8704e2.gif[/IMG]
  5. Nevermind i got it... [IMG]http://i40.tinypic.com/2laebno.png[/IMG]
  6. Hello everyone, I'm looking into my Server Files, and I don't see where my IP is located. And also, anyone have a cache packer for me? Thanks a lot. Skype - Sabrinaa.Dreamer
  7. As the title says... I need a new cache packer because Frosty lost his data... Or if anyone else has one working or can help me make one of them work that would be cool. I am working on a new project with someone and we need one that works. I have had great success with frosty's cache packer (DragonKK's cache packer never loads because some 1024m outof bounds and so is every other number i try). I need this like as of last week thanks.
  8. I tried to edit the bonuses in ganodermic armour since its completely off and sucks... Anyway when i run the item packer it says items packed successfully so then i go check to see if it has and the packed file is 0kb and when i restart the server all stats on all items are 0, Has anyone else experienced this problem?
  9. Killed

    Cache packer

    I recently downloaded DKK's 562 cache editor. After packing my cache the first time I found black floors in some locations, so I found this tutorial and added this to Main.java. [CODE]public static void packExtra2(Cache cache, Cache fromCache, Cache cache562) { System.out.print("Packed Extra's?"); System.out.print(cache.getCacheFileManagers()[2].putAllContainers(fromCache)); //musics cache.getCacheFileManagers()[2].putContainer(1, fromCache, false); //floor textures cache.getCacheFileManagers()[2].putContainer(2, fromCache, false); cache.getCacheFileManagers()[2].putContainer(3, fromCache, false); //new cloths cache.getCacheFileManagers()[2].putContainer(4, fromCache, false); //floor textures cache.getCacheFileManagers()[2].putContainer(5, fromCache, false); cache.getCacheFileManagers()[2].putContainer(11, fromCache, false); cache.getCacheFileManagers()[2].putContainer(16, fromCache, false); //seems as new cloths cache.getCacheFileManagers()[2].putContainer(19, fromCache, false); //seems as new cloths cache.getCacheFileManagers()[2].putContainer(29, fromCache, false); cache.getCacheFileManagers()[2].putContainer(31, fromCache, false); cache.getCacheFileManagers()[2].putContainer(32, fromCache, false); //render anims cache.getCacheFileManagers()[2].putContainer(34, fromCache, false); //sprites so textures cache.getCacheFileManagers()[2].putContainer(35, fromCache, false); cache.getCacheFileManagers()[2].putContainer(36, fromCache, false); cache.getCacheFileManagers()[2].updateInformation(); }[/CODE] Before I added that the only problem was the black floors, after I added that the black floors were fixed but now the scroll bar on the spellbook has disappeared and you can no longer scroll down to the higher level spells. PLEASE HELP!
  10. I got 667 to load the 718 cache and my guy is floating in white space. Seems like you need mapdata for it but I read someone say that you can get it by packing your cache. I have the cache packer but i dont know how to use it (Pack from folder to this folder, etc.) Can anyone help me out with this over skype or teamviewer? Thanks.
  11. - Run with a deob revision to get the data revision of your choice. Try using the search bar to find that certain deob... If you want to get the currrent revision try running this with RSBot/Powerbot. * If your getting an error whilst injecting, then your doing one of these wrong: -You don't have a client open. (RSPS CLIENT WONT WORK MUST BE A DEOB OR CURRENT REVISION VIA RSBOT) -Your running an incorect Java version. This [b]MUST[/b] be ran with Java 6. [IMG]http://i46.tinypic.com/2n8oaz8.png[/IMG] [SIZE=4]I'm not giving ANYBODY permission to relase this other then me. If I see it anywhere I'll request a close. [/SIZE]
  12. ultikiller20

    NPCDrop Packer

    alright, I made a npcdrop packer for 667. it packs the files but it doesnt load correctly, when u kill the npc the item doesnt drop and you get this error on server side: java.lang.NullPointerException at com.rs.utils.NPCDrops.getDrops(NPCDrops.java:30) at com.rs.game.npc.NPC.drop(NPC.java:602) at com.rs.game.npc.others.RockCrab$1.run(RockCrab.java:146) at com.rs.game.tasks.WorldTasksManager.processTasks(WorldTasksManager.java:19) at com.rs.cores.WorldThread.run(WorldThread.java:23) Help would be appreciated, and no your not getting my packer.
  13. This is for revisions 667+ also, If anyone has a working npc drops packer, I will pay 15m rsgp for it. I wan't proof that you have a working one before I pay you also
  14. On every 667 (matrix/lethium) server is the server reading a file called: packed.mcx All unpacked xtea's (mapdata) are in it. And on every 667 server is the file (packed.mcx) 0kb If I delete the file and run the server, It automatically packs the unpacked xtea's (located: data/map/containersXteas/unpacked/) And if they are packed (35kb) and running my server, It says: [Region] Missing xteas for region 12078. And If I teleport to home i get a list of 'Missing xteas for region **** I tried to fix MapContainersXteas.java and tried every other xtea packer, but it didn't worked. Anyone has a idea? And i don't understand that it can read an empty file (0kb) and loading it. [B]MapContainersXteas.java:[/B] [code] package com.rs.utils; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.channels.FileChannel.MapMode; import java.util.HashMap; public final class MapContainersXteas { private final static HashMap<Integer, int[]> mapContainersXteas = new HashMap<Integer, int[]>(); private final static String PACKED_PATH = "data/map/containersXteas/packed.mcx"; public static final int[] getMapContainerXteas(int regionId) { return mapContainersXteas.get(regionId); } public static void init() { if (new File(PACKED_PATH).exists()) loadPackedXteas(); else loadUnpackedXteas(); } private static final void loadPackedXteas() { try { RandomAccessFile in = new RandomAccessFile(PACKED_PATH, "r"); FileChannel channel = in.getChannel(); ByteBuffer buffer = channel.map(MapMode.READ_ONLY, 0, channel.size()); while (buffer.hasRemaining()) { int regionId = buffer.getShort() & 0xffff; int[] xteas = new int[4]; for (int index = 0; index < 4; index++) xteas[index] = buffer.getInt(); mapContainersXteas.put(regionId, xteas); } channel.close(); in.close(); } catch (Throwable e) { Logger.handle(e); } } public static final void loadUnpackedXteas() { Logger.log("MapContainersXteas", "Packing map containers xteas..."); try { DataOutputStream out = new DataOutputStream(new FileOutputStream( PACKED_PATH)); File unpacked = new File("data/map/containersXteas/unpacked/"); File[] xteasFiles = unpacked.listFiles(); for (File region : xteasFiles) { String name = region.getName(); if (!name.contains(".txt")) { region.delete(); continue; } int regionId = Short.parseShort(name.replace(".txt", "")); if (regionId <= 0) { region.delete(); continue; } BufferedReader in = new BufferedReader(new FileReader(region)); out.writeShort(regionId); final int[] xteas = new int[4]; for (int index = 0; index < 4; index++) { xteas[index] = Integer.parseInt(in.readLine()); out.writeInt(xteas[index]); } mapContainersXteas.put(regionId, xteas); in.close(); } out.flush(); out.close(); RandomAccessFile in = new RandomAccessFile(PACKED_PATH, "r"); FileChannel channel = in.getChannel(); Logger.log("MapContainersXteas", "Packed: " + channel.size() + " Xteas."); } catch (IOException e) { e.printStackTrace(); } } private MapContainersXteas() { } } [/code]
  15. The item bonus packer in com.rs.tools is only reading the unpacked bonuses, he isn't packing them. And yes it makes the file called: "bonuses.ib", but that file is always empty -.- Anyone an idea? [B]ItemBonusesPacker.java[/B] [code] package com.rs.tools; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOException; import com.rs.cache.Cache; import com.rs.utils.Logger; import com.rs.utils.Utils; public class ItemBonusesPacker { public static final void main(String[] args) throws IOException { Cache.init(); DataOutputStream out = new DataOutputStream(new FileOutputStream("./data/items/bonuses.ib")); for (int itemId = 0; itemId < Utils.getItemDefinitionsSize(); itemId++) { File file = new File("./data/bonuses/unpackedBonuses/" + itemId + ".txt"); try { Logger.log("ItemBonusesPacker", "Packing bonuses for item: " + itemId); if (file.exists()) { BufferedReader reader = new BufferedReader(new FileReader(file)); out.writeShort(itemId); reader.readLine(); // att bonuses out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); reader.readLine(); // def bonuses out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); reader.readLine(); // Damage absorption out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); reader.readLine(); // Other bonuses out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); out.writeShort(Integer.valueOf(reader.readLine())); } } catch(Throwable e) { Logger.handle(e); } /*if (reader.readLine() != null) throw new RuntimeException("Should be null line" + itemId);*/ } Logger.log("ItemBonusesPacker", "Packed item bonuses."); out.flush(); out.close(); } } [/code]
  16. I love magical unicorns on rainbows and runelocus.
  17. Could some 1 help me pack my shops cause it dont work.
  18. Where Can i find cache packer to pack the last newste cache of runescape can anyone help me with that
  19. [CENTER][COLOR="#2F4F4F"]Hello, Hey some of you guys are still having problems with dumping information from runewiki. So I made this GUI based on request from Tyler aka Skrillex. This is my first attempt so it's the first version. Soon more will come out with different features. Important things needed to be known: -When using the GUI, please use the batch runner or If you started dumping, It wont close till all finished unless you end the task via Task manager! -You must place the cache in the data/cache folder or it wont dump! -All the dumps will be in the dumps folder not in data. -The examine dump is not perfect, It will sometimes dump html codes so you can delete those dumped items. Link - [url=http://www.mediafire.com/?e5cb7mfpgsbxipa]Click here[/url] Media: [IMG]http://i53.tinypic.com/2mgqngn.png[/IMG] [IMG]http://i55.tinypic.com/qowp61.png[/IMG] [IMG]http://i51.tinypic.com/2lax5kj.png[/IMG] [IMG]http://i53.tinypic.com/24luhbr.png[/IMG] Credits: Me - GUI Tyler (aka Skrillex) - Providing the needed materials. Hope you guys enjoy this GUI.[/COLOR][/CENTER]
×