Jump to content

Search the Community

Showing results for tags 'dumper'.



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 20 results

  1. [URL="http://www.************.org/runescape-development/rs2-client/projects/543015-c-model-viewer-newest-rs-models-mqo-importing-exporting-open-source.html"]http://www.************.org/runescape-development/rs2-client/projects/543015-c-model-viewer-newest-rs-models-mqo-importing-exporting-open-source.html[/URL] the dumper not work is blocking in dumping... if anyone can pass me all model file please?
  2. Idk which section I should release this at since this is not client hacking. Anyway as it helpfull for devolopment I guess this is correct section. So... This is a script that dumps spawns from rs when you walk by their world. It never repeats spawns if they walk away etc since it checks dumped spawns by client indexes and on rs even when npcs die their indexes dont change. Ye thats how I dump all my spawns so quick so in exchange of releasing this be sure to releas your dumps. Spawns are written on a file called spawns.txt :). Theres also another thing. If you make a script extending DragonkkScript you can use it just like old rsbot :p. The spwns are already formated for RuneEscape :). Basicaly the api that all 667s use as base. //NPCid - x y plane (optional: MapAreaName canBeAttackFromOutOfArea?) Script Dl link: [url]http://uppit.com/flhhm1ffvvej/RSBOTSpawnsDumper.rar[/url]
  3. Use this to dump grand exchange data, you can also dump whatever else you like. It uses tip.it's grand exchange database due to RuneScape blocking your ip after x connections, and RuneScape Wikia's weird formatting. [CODE]package com.rs.utility.tools.dumpers; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import com.rs.cache.Cache; import com.rs.cache.loaders.ItemDefinitions; import com.rs.game.item.Item; import com.rs.game.player.content.ItemConstants; import com.rs.utility.configuration.world.Utils; /** * @author Tyluur <[email protected]> */ public class TipItPriceDumper { private static final String OUT = "grand_exchange_tipit.txt"; public static void main(String[] args) throws IOException { System.out.println("Starting.."); Cache.init(); while(true) { for (int i = 0; i < Utils.getItemDefinitionsSize(); i++) { if (ItemConstants.isTradeable(new Item(i)) && !ItemDefinitions.forId(i).isNoted()) { dumpItem(i); System.err.println("Finished dumping " + i); } } } } private static int retryCounts = 0; private static final void dumpItem(int itemId) { final String URL= "tip.it/runescape/index.php?gec&itemid="+itemId+""; try { WebPage page = new WebPage(URL); page.load(); for (String lines : page.getLines()) { if (lines.contains("<tr><td colspan=\"4\"><b>Current Market Price: </b>")) { String text = lines.replaceAll("<tr>", "") .replaceAll("<td colspan=\"4\">", "") .replaceAll("<b>", "").replaceAll("</b>", "") .replaceAll("</td>", "").replaceAll("</tr>", "") .replaceAll(",", "").replaceAll("gp", "") .replaceAll("Current Market Price: ", ""); BufferedWriter writer = new BufferedWriter(new FileWriter(OUT, true)); writer.write(itemId + " - " + text); writer.newLine(); writer.flush(); writer.close(); } } } catch (IOException e) { dumpItem(itemId); System.err.println("Error, retrying time number : " + retryCounts++); } } } [/CODE] Credits: Tyluur Author of WebPage class.
  4. Since I saw Emily's post containing this I thought it might be useful if everyone can just do it themselves for in the future. [url]http://pastebin.com/EbgEsaqB[/url] Run with an IDE, I'm not supplying with pre-compiled code as I cba.
  5. Dumper [CODE] package org.xealusion.tools; import java.awt.Desktop; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.util.Arrays; import javax.swing.JOptionPane; import org.xealusion.cache.Cache; import org.xealusion.model.definition.ItemDefinition; import org.xealusion.model.definition.NPCDefinition; /** * * @author Steve */ public class SummoningConverter { public static void main(String[] args) throws IOException, URISyntaxException { Cache.init(); ItemDefinition.init(); NPCDefinition.init(); new SummoningConverter().convertOther(); } /* * <entry> <int>12093</int> <pouch> <pouchId>12093</pouchId> <npcId>6873</npcId> <interfacePouchId>12251</interfacePouchId> <scrollId>12435</scrollId> <experience>422.4</experience> <summonCost>10</summonCost> <familiarName>PackYak</familiarName> </pouch> </entry> { String name = currentText.split(",")[0]; InputStream stream = new URL("http://www.runescape.wikia.com/"+name.replaceAll(" ", "_")).openStream(); BufferedReader in = new BufferedReader(new InputStreamReader(stream)); String temp = ""; int time = 0, points = 0; while_100: while ((temp = in.readLine()) != null) { if (temp.contains("<th width=\"1%\" style=\"white-space:nowrap;\">Time (minutes)")) { time = Integer.parseInt(in.readLine().replace("</th><td> ", "")); } else if (temp.contains("</th><th> <a href=\"/wiki/Special_moves\" title=\"Special moves\">Special move points</a>")) { for (int i = 0; i < 4; i++) in.readLine(); try { points = Integer.parseInt(in.readLine().replace("</td><td> ", "")); } catch (Exception e) { points = 3; } writer.write(name + ", " + time + ", " + points); break while_100; } } */ private void convertOther() throws IOException { BufferedReader reader = new BufferedReader(new FileReader("./data/npcs/otherstupidstuff.txt")); BufferedReader reader1 = new BufferedReader(new FileReader("./data/npcs/lalala")); FileWriter writer = new FileWriter(new File("./data/npcs/lalala123")); String currentText = ""; while ((currentText = reader.readLine()) != null) { String[] array = currentText.split(", "); String[] otherarray = reader1.readLine().split(", "); System.out.println(array[1] +", " + otherarray[0]); writer.write("<entry>"); writer.write("\n"); writer.write("\t<int>"+array[3]+"</int>"); writer.write("\n"); writer.write("\t<pouch>"); writer.write("\n"); writer.write("\t\t<pouchId>"+array[3]+"</pouchId>"); writer.write("\n"); writer.write("\t\t<npcId>"+array[4]+"</npcId>"); writer.write("\n"); writer.write("\t\t<interfacePouchId>"+array[3]+"</interfacePouchId>"); writer.write("\n"); writer.write("\t\t<scrollId>"+array[6]+"</scrollId>"); writer.write("\n"); writer.write("\t\t<experience>"+array[2]+"</experience>"); writer.write("\n"); writer.write("\t\t<summonCost>"+array[5]+"</summonCost>"); writer.write("\n"); writer.write("\t\t<familiarName>"+array[1]+"</familiarName>"); writer.write("\n"); writer.write("\t\t<specialCost>"+otherarray[2]+"</specialCost>"); writer.write("\n"); writer.write("\t\t<time>"+otherarray[1]+"</time>"); writer.write("\n"); writer.write("\t</pouch>"); writer.write("\n"); writer.write("</entry>"); writer.write("\n"); } writer.close(); } @SuppressWarnings("unused") private void convert() throws IOException, URISyntaxException { BufferedReader reader = new BufferedReader(new FileReader("./data/npcs/stupidstuff.txt")); String currentText = ""; int stage = 4; Object[] data = new Object[7]; while ((currentText = reader.readLine()) != null) { if (currentText.equals("|-") && stage == 4) { stage = 1; reader.readLine(); reader.readLine(); } else if (stage == 1) { stage = 2; String tempString = currentText.replace("|", "").substring(2); tempString = tempString.substring(0, tempString.length() - 2); if (tempString.contains("Evil turnip")) { tempString = "Evil turnip"; } data[0] = tempString; tempString = convertToJConventions(tempString); data[1] = tempString;//className reader.readLine(); reader.readLine(); reader.readLine(); } else if (stage == 2) { stage = 3; data[2] = Double.parseDouble(currentText.replace("|", "")); //exp } else if (stage == 3) { stage = 4; String name = (String) data[0]; data[3] = getPouchId(name); data[4] = getNPCId(name); setOtherData(data, name); System.out.println(Arrays.toString(data)); } } } private int getPouchId(String name) { ItemDefinition def = ItemDefinition.forName(name + " pouch"); if (def == null) { return Integer.parseInt(JOptionPane.showInputDialog("Please enter the pouch id for " + name)); } return def.getId(); } private void setOtherData(Object[] object, String name) throws MalformedURLException, IOException, URISyntaxException { InputStream stream = new URL("http://www.runescape.wikia.com/"+name.replaceAll(" ", "_")).openStream(); BufferedReader in = new BufferedReader(new InputStreamReader(stream)); String temp = "", scrollName = ""; int pointsCost = 0; while ((temp = in.readLine()) != null) { if (temp.contains("<th width=\"1%\" style=\"white-space:nowrap;\">Points cost")) { try { pointsCost = Integer.parseInt(in.readLine().replace("</th><td> ", "")); } catch (Exception e) { Desktop.getDesktop().browse(new URI("www.runescape.wikia.com/"+name.replaceAll(" ", "_"))); pointsCost = Integer.parseInt(JOptionPane.showInputDialog("Please enter the points cost id for " + name)); } } else if (temp.contains("<th> <a href=\"/wiki/Special_moves\" title=\"Special moves\">Special moves</a>")) { try { scrollName = in.readLine().replace("</th><td> ", "") + " scroll"; } catch (Exception e) { Desktop.getDesktop().browse(new URI("http://www.runescape.wikia.com/"+name.replaceAll(" ", "_"))); scrollName = JOptionPane.showInputDialog("Please enter the name of the special move for " + name) + " scroll"; } } } object[5] = pointsCost; object[6] = getScrollId(scrollName); } private int getScrollId(String scrollName) { ItemDefinition def = ItemDefinition.forName(scrollName); if (def == null) { return Integer.parseInt(JOptionPane.showInputDialog("Please enter the scroll id for " + scrollName)); } return def.getId(); } private int getNPCId(String name) { NPCDefinition def = NPCDefinition.forName(name); if (def == null) { return Integer.parseInt(JOptionPane.showInputDialog("Please enter the npc id for " + name)); } return def.getId(); } private String convertToJConventions(String toConvert) { StringBuffer buffer = new StringBuffer(); for (int i = 0; i < toConvert.length(); i++) { if (toConvert.charAt(i) == ' ') { i++; buffer.append(Character.toUpperCase(toConvert.charAt(i))); } else { buffer.append(toConvert.charAt(i)); } } return buffer.toString(); } } [/CODE] (trys to get data from you for any problems it comes upon while dumping) All familiar data below [CODE] <map> <entry> <int>12047</int> <pouch> <pouchId>12047</pouchId> <npcId>6829</npcId> <interfacePouchId>12047</interfacePouchId> <scrollId>12425</scrollId> <experience>4.8</experience> <summonCost>1</summonCost> <familiarName>SpiritWolf</familiarName> <specialCost>3</specialCost> <time>6</time> </pouch> </entry> <entry> <int>12043</int> <pouch> <pouchId>12043</pouchId> <npcId>6825</npcId> <interfacePouchId>12043</interfacePouchId> <scrollId>12445</scrollId> <experience>9.3</experience> <summonCost>1</summonCost> <familiarName>Dreadfowl</familiarName> <specialCost>3</specialCost> <time>4</time> </pouch> </entry> <entry> <int>12059</int> <pouch> <pouchId>12059</pouchId> <npcId>6841</npcId> <interfacePouchId>12059</interfacePouchId> <scrollId>12428</scrollId> <experience>12.6</experience> <summonCost>2</summonCost> <familiarName>SpiritSpider</familiarName> <specialCost>6</specialCost> <time>15</time> </pouch> </entry> <entry> <int>12019</int> <pouch> <pouchId>12019</pouchId> <npcId>6806</npcId> <interfacePouchId>12019</interfacePouchId> <scrollId>12459</scrollId> <experience>12.6</experience> <summonCost>2</summonCost> <familiarName>ThornySnail</familiarName> <specialCost>3</specialCost> <time>16</time> </pouch> </entry> <entry> <int>12009</int> <pouch> <pouchId>12009</pouchId> <npcId>6796</npcId> <interfacePouchId>12009</interfacePouchId> <scrollId>12533</scrollId> <experience>21.6</experience> <summonCost>2</summonCost> <familiarName>GraniteCrab</familiarName> <specialCost>12</specialCost> <time>18</time> </pouch> </entry> <entry> <int>12778</int> <pouch> <pouchId>12778</pouchId> <npcId>7331</npcId> <interfacePouchId>12778</interfacePouchId> <scrollId>12838</scrollId> <experience>46.5</experience> <summonCost>2</summonCost> <familiarName>SpiritMosquito</familiarName> <specialCost>3</specialCost> <time>12</time> </pouch> </entry> <entry> <int>12049</int> <pouch> <pouchId>12049</pouchId> <npcId>6831</npcId> <interfacePouchId>12049</interfacePouchId> <scrollId>12460</scrollId> <experience>31.2</experience> <summonCost>1</summonCost> <familiarName>DesertWyrm</familiarName> <specialCost>6</specialCost> <time>19</time> </pouch> </entry> <entry> <int>12055</int> <pouch> <pouchId>12055</pouchId> <npcId>6837</npcId> <interfacePouchId>12055</interfacePouchId> <scrollId>12432</scrollId> <experience>83.2</experience> <summonCost>2</summonCost> <familiarName>SpiritScorpion</familiarName> <specialCost>6</specialCost> <time>17</time> </pouch> </entry> <entry> <int>12808</int> <pouch> <pouchId>12808</pouchId> <npcId>7361</npcId> <interfacePouchId>12808</interfacePouchId> <scrollId>12839</scrollId> <experience>96.8</experience> <summonCost>3</summonCost> <familiarName>SpiritTz-Kih</familiarName> <specialCost>6</specialCost> <time>18</time> </pouch> </entry> <entry> <int>12067</int> <pouch> <pouchId>12067</pouchId> <npcId>6847</npcId> <interfacePouchId>12067</interfacePouchId> <scrollId>12430</scrollId> <experience>202.4</experience> <summonCost>1</summonCost> <familiarName>AlbinoRat</familiarName> <specialCost>6</specialCost> <time>22</time> </pouch> </entry> <entry> <int>12063</int> <pouch> <pouchId>12063</pouchId> <npcId>6994</npcId> <interfacePouchId>12063</interfacePouchId> <scrollId>12446</scrollId> <experience>220.0</experience> <summonCost>3</summonCost> <familiarName>SpiritKalphite</familiarName> <specialCost>6</specialCost> <time>22</time> </pouch> </entry> <entry> <int>12091</int> <pouch> <pouchId>12091</pouchId> <npcId>6871</npcId> <interfacePouchId>12091</interfacePouchId> <scrollId>12440</scrollId> <experience>49.8</experience> <summonCost>6</summonCost> <familiarName>CompostMound</familiarName> <specialCost>12</specialCost> <time>24</time> </pouch> </entry> <entry> <int>12800</int> <pouch> <pouchId>12800</pouchId> <npcId>7353</npcId> <interfacePouchId>12800</interfacePouchId> <scrollId>12834</scrollId> <experience>225.2</experience> <summonCost>1</summonCost> <familiarName>GiantChinchompa</familiarName> <specialCost>3</specialCost> <time>31</time> </pouch> </entry> <entry> <int>12053</int> <pouch> <pouchId>12053</pouchId> <npcId>6835</npcId> <interfacePouchId>12053</interfacePouchId> <scrollId>12447</scrollId> <experience>136.0</experience> <summonCost>4</summonCost> <familiarName>VampyreBat</familiarName> <specialCost>4</specialCost> <time>33</time> </pouch> </entry> <entry> <int>12065</int> <pouch> <pouchId>12065</pouchId> <npcId>6845</npcId> <interfacePouchId>12065</interfacePouchId> <scrollId>12433</scrollId> <experience>140.8</experience> <summonCost>4</summonCost> <familiarName>HoneyBadger</familiarName> <specialCost>4</specialCost> <time>25</time> </pouch> </entry> <entry> <int>12021</int> <pouch> <pouchId>12021</pouchId> <npcId>6808</npcId> <interfacePouchId>12021</interfacePouchId> <scrollId>12429</scrollId> <experience>57.6</experience> <summonCost>4</summonCost> <familiarName>Beaver</familiarName> <specialCost>3</specialCost> <time>27</time> </pouch> </entry> <entry> <int>12818</int> <pouch> <pouchId>12818</pouchId> <npcId>7370</npcId> <interfacePouchId>12818</interfacePouchId> <scrollId>12443</scrollId> <experience>59.6</experience> <summonCost>4</summonCost> <familiarName>VoidRavager</familiarName> <specialCost>3</specialCost> <time>27</time> </pouch> </entry> <entry> <int>12814</int> <pouch> <pouchId>12814</pouchId> <npcId>7367</npcId> <interfacePouchId>12814</interfacePouchId> <scrollId>12443</scrollId> <experience>59.6</experience> <summonCost>4</summonCost> <familiarName>VoidShifter</familiarName> <specialCost>3</specialCost> <time>94</time> </pouch> </entry> <entry> <int>12780</int> <pouch> <pouchId>12780</pouchId> <npcId>7333</npcId> <interfacePouchId>12780</interfacePouchId> <scrollId>12443</scrollId> <experience>59.6</experience> <summonCost>4</summonCost> <familiarName>VoidSpinner</familiarName> <specialCost>3</specialCost> <time>27</time> </pouch> </entry> <entry> <int>12798</int> <pouch> <pouchId>12798</pouchId> <npcId>7351</npcId> <interfacePouchId>12798</interfacePouchId> <scrollId>12443</scrollId> <experience>59.6</experience> <summonCost>4</summonCost> <familiarName>VoidTorcher</familiarName> <specialCost>3</specialCost> <time>94</time> </pouch> </entry> <entry> <int>12073</int> <pouch> <pouchId>12073</pouchId> <npcId>6853</npcId> <interfacePouchId>12073</interfacePouchId> <scrollId>12461</scrollId> <experience>316.8</experience> <summonCost>3</summonCost> <familiarName>BronzeMinotaur</familiarName> <specialCost>6</specialCost> <time>30</time> </pouch> </entry> <entry> <int>12087</int> <pouch> <pouchId>12087</pouchId> <npcId>6867</npcId> <interfacePouchId>12087</interfacePouchId> <scrollId>12431</scrollId> <experience>52.8</experience> <summonCost>5</summonCost> <familiarName>BullAnt</familiarName> <specialCost>12</specialCost> <time>30</time> </pouch> </entry> <entry> <int>12071</int> <pouch> <pouchId>12071</pouchId> <npcId>6851</npcId> <interfacePouchId>12071</interfacePouchId> <scrollId>12422</scrollId> <experience>72.4</experience> <summonCost>5</summonCost> <familiarName>Macaw</familiarName> <specialCost>12</specialCost> <time>31</time> </pouch> </entry> <entry> <int>12051</int> <pouch> <pouchId>12051</pouchId> <npcId>6833</npcId> <interfacePouchId>12051</interfacePouchId> <scrollId>12448</scrollId> <experience>184.8</experience> <summonCost>0</summonCost> <familiarName>EvilTurnip</familiarName> <specialCost>5</specialCost> <time>30</time> </pouch> </entry> <entry> <int>12095</int> <pouch> <pouchId>12095</pouchId> <npcId>6875</npcId> <interfacePouchId>12095</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritCockatrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12097</int> <pouch> <pouchId>12097</pouchId> <npcId>6877</npcId> <interfacePouchId>12097</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritGuthatrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12099</int> <pouch> <pouchId>12099</pouchId> <npcId>6879</npcId> <interfacePouchId>12099</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritSaratrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12101</int> <pouch> <pouchId>12101</pouchId> <npcId>6881</npcId> <interfacePouchId>12101</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritZamatrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12103</int> <pouch> <pouchId>12103</pouchId> <npcId>6883</npcId> <interfacePouchId>12103</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritPengatrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12105</int> <pouch> <pouchId>12105</pouchId> <npcId>6885</npcId> <interfacePouchId>12105</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritCoraxatrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12107</int> <pouch> <pouchId>12107</pouchId> <npcId>6887</npcId> <interfacePouchId>12107</interfacePouchId> <scrollId>12458</scrollId> <experience>75.2</experience> <summonCost>5</summonCost> <familiarName>SpiritVulatrice</familiarName> <specialCost>3</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12075</int> <pouch> <pouchId>12075</pouchId> <npcId>6855</npcId> <interfacePouchId>12075</interfacePouchId> <scrollId>12462</scrollId> <experience>404.8</experience> <summonCost>9</summonCost> <familiarName>IronMinotaur</familiarName> <specialCost>6</specialCost> <time>37</time> </pouch> </entry> <entry> <int>12816</int> <pouch> <pouchId>12816</pouchId> <npcId>7377</npcId> <interfacePouchId>12816</interfacePouchId> <scrollId>12829</scrollId> <experience>202.4</experience> <summonCost>5</summonCost> <familiarName>Pyrelord</familiarName> <specialCost>6</specialCost> <time>32</time> </pouch> </entry> <entry> <int>12041</int> <pouch> <pouchId>12041</pouchId> <npcId>6824</npcId> <interfacePouchId>12041</interfacePouchId> <scrollId>12426</scrollId> <experience>83.2</experience> <summonCost>5</summonCost> <familiarName>Magpie</familiarName> <specialCost>3</specialCost> <time>34</time> </pouch> </entry> <entry> <int>12061</int> <pouch> <pouchId>12061</pouchId> <npcId>6843</npcId> <interfacePouchId>12061</interfacePouchId> <scrollId>12444</scrollId> <experience>215.2</experience> <summonCost>5</summonCost> <familiarName>BloatedLeech</familiarName> <specialCost>6</specialCost> <time>34</time> </pouch> </entry> <entry> <int>12007</int> <pouch> <pouchId>12007</pouchId> <npcId>6794</npcId> <interfacePouchId>12007</interfacePouchId> <scrollId>12441</scrollId> <experience>68.4</experience> <summonCost>6</summonCost> <familiarName>SpiritTerrorbird</familiarName> <specialCost>8</specialCost> <time>36</time> </pouch> </entry> <entry> <int>12035</int> <pouch> <pouchId>12035</pouchId> <npcId>6818</npcId> <interfacePouchId>12035</interfacePouchId> <scrollId>12454</scrollId> <experience>94.8</experience> <summonCost>6</summonCost> <familiarName>AbyssalParasite</familiarName> <specialCost>3</specialCost> <time>30</time> </pouch> </entry> <entry> <int>12027</int> <pouch> <pouchId>12027</pouchId> <npcId>6992</npcId> <interfacePouchId>12027</interfacePouchId> <scrollId>12453</scrollId> <experience>484.0</experience> <summonCost>6</summonCost> <familiarName>SpiritJelly</familiarName> <specialCost>6</specialCost> <time>43</time> </pouch> </entry> <entry> <int>12531</int> <pouch> <pouchId>12531</pouchId> <npcId>6991</npcId> <interfacePouchId>12531</interfacePouchId> <scrollId>12424</scrollId> <experience>98.8</experience> <summonCost>6</summonCost> <familiarName>Ibis</familiarName> <specialCost>12</specialCost> <time>38</time> </pouch> </entry> <entry> <int>12077</int> <pouch> <pouchId>12077</pouchId> <npcId>6857</npcId> <interfacePouchId>12077</interfacePouchId> <scrollId>12463</scrollId> <experience>492.8</experience> <summonCost>9</summonCost> <familiarName>SteelMinotaur</familiarName> <specialCost>6</specialCost> <time>46</time> </pouch> </entry> <entry> <int>12810</int> <pouch> <pouchId>12810</pouchId> <npcId>7363</npcId> <interfacePouchId>12810</interfacePouchId> <scrollId>12835</scrollId> <experience>501.6</experience> <summonCost>6</summonCost> <familiarName>SpiritGraahk</familiarName> <specialCost>3</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12812</int> <pouch> <pouchId>12812</pouchId> <npcId>7365</npcId> <interfacePouchId>12812</interfacePouchId> <scrollId>12836</scrollId> <experience>501.6</experience> <summonCost>6</summonCost> <familiarName>SpiritKyatt</familiarName> <specialCost>3</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12784</int> <pouch> <pouchId>12784</pouchId> <npcId>7337</npcId> <interfacePouchId>12784</interfacePouchId> <scrollId>12840</scrollId> <experience>501.6</experience> <summonCost>6</summonCost> <familiarName>SpiritLarupia</familiarName> <specialCost>6</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12023</int> <pouch> <pouchId>12023</pouchId> <npcId>6809</npcId> <interfacePouchId>12023</interfacePouchId> <scrollId>12455</scrollId> <experience>510.4</experience> <summonCost>6</summonCost> <familiarName>KaramthulhuOverlord</familiarName> <specialCost>3</specialCost> <time>44</time> </pouch> </entry> <entry> <int>12085</int> <pouch> <pouchId>12085</pouchId> <npcId>6865</npcId> <interfacePouchId>12085</interfacePouchId> <scrollId>12468</scrollId> <experience>268.0</experience> <summonCost>7</summonCost> <familiarName>SmokeDevil</familiarName> <specialCost>3</specialCost> <time>48</time> </pouch> </entry> <entry> <int>12037</int> <pouch> <pouchId>12037</pouchId> <npcId>6820</npcId> <interfacePouchId>12037</interfacePouchId> <scrollId>12427</scrollId> <experience>109.6</experience> <summonCost>9</summonCost> <familiarName>AbyssalLurker</familiarName> <specialCost>3</specialCost> <time>41</time> </pouch> </entry> <entry> <int>12015</int> <pouch> <pouchId>12015</pouchId> <npcId>6802</npcId> <interfacePouchId>12015</interfacePouchId> <scrollId>12436</scrollId> <experience>276.8</experience> <summonCost>6</summonCost> <familiarName>SpiritCobra</familiarName> <specialCost>3</specialCost> <time>56</time> </pouch> </entry> <entry> <int>12045</int> <pouch> <pouchId>12045</pouchId> <npcId>6827</npcId> <interfacePouchId>12045</interfacePouchId> <scrollId>12467</scrollId> <experience>281.6</experience> <summonCost>3</summonCost> <familiarName>StrangerPlant</familiarName> <specialCost>6</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12123</int> <pouch> <pouchId>12123</pouchId> <npcId>6889</npcId> <interfacePouchId>12123</interfacePouchId> <scrollId>12452</scrollId> <experience>87.0</experience> <summonCost>7</summonCost> <familiarName>BarkerToad</familiarName> <specialCost>6</specialCost> <time>8</time> </pouch> </entry> <entry> <int>12079</int> <pouch> <pouchId>12079</pouchId> <npcId>6859</npcId> <interfacePouchId>12079</interfacePouchId> <scrollId>12464</scrollId> <experience>580.8</experience> <summonCost>9</summonCost> <familiarName>MithrilMinotaur</familiarName> <specialCost>6</specialCost> <time>55</time> </pouch> </entry> <entry> <int>12031</int> <pouch> <pouchId>12031</pouchId> <npcId>6815</npcId> <interfacePouchId>12031</interfacePouchId> <scrollId>12439</scrollId> <experience>58.6</experience> <summonCost>7</summonCost> <familiarName>WarTortoise</familiarName> <specialCost>20</specialCost> <time>43</time> </pouch> </entry> <entry> <int>12029</int> <pouch> <pouchId>12029</pouchId> <npcId>6813</npcId> <interfacePouchId>12029</interfacePouchId> <scrollId>12438</scrollId> <experience>119.2</experience> <summonCost>7</summonCost> <familiarName>Bunyip</familiarName> <specialCost>3</specialCost> <time>44</time> </pouch> </entry> <entry> <int>12033</int> <pouch> <pouchId>12033</pouchId> <npcId>6817</npcId> <interfacePouchId>12033</interfacePouchId> <scrollId>12423</scrollId> <experience>121.2</experience> <summonCost>8</summonCost> <familiarName>FruitBat</familiarName> <specialCost>6</specialCost> <time>45</time> </pouch> </entry> <entry> <int>12820</int> <pouch> <pouchId>12820</pouchId> <npcId>7372</npcId> <interfacePouchId>12820</interfacePouchId> <scrollId>12830</scrollId> <experience>132.0</experience> <summonCost>4</summonCost> <familiarName>RavenousLocust</familiarName> <specialCost>12</specialCost> <time>24</time> </pouch> </entry> <entry> <int>12057</int> <pouch> <pouchId>12057</pouchId> <npcId>6839</npcId> <interfacePouchId>12057</interfacePouchId> <scrollId>12451</scrollId> <experience>93.2</experience> <summonCost>8</summonCost> <familiarName>ArcticBear</familiarName> <specialCost>6</specialCost> <time>28</time> </pouch> </entry> <entry> <int>14623</int> <pouch> <pouchId>14623</pouchId> <npcId>8548</npcId> <interfacePouchId>14623</interfacePouchId> <scrollId>14622</scrollId> <experience>301.0</experience> <summonCost>8</summonCost> <familiarName>Phoenix</familiarName> <specialCost>5</specialCost> <time>30</time> </pouch> </entry> <entry> <int>12792</int> <pouch> <pouchId>12792</pouchId> <npcId>7345</npcId> <interfacePouchId>12792</interfacePouchId> <scrollId>12826</scrollId> <experience>642.4</experience> <summonCost>8</summonCost> <familiarName>ObsidianGolem</familiarName> <specialCost>12</specialCost> <time>55</time> </pouch> </entry> <entry> <int>12069</int> <pouch> <pouchId>12069</pouchId> <npcId>6849</npcId> <interfacePouchId>12069</interfacePouchId> <scrollId>12449</scrollId> <experience>325.6</experience> <summonCost>8</summonCost> <familiarName>GraniteLobster</familiarName> <specialCost>6</specialCost> <time>47</time> </pouch> </entry> <entry> <int>12011</int> <pouch> <pouchId>12011</pouchId> <npcId>6798</npcId> <interfacePouchId>12011</interfacePouchId> <scrollId>12450</scrollId> <experience>329.6</experience> <summonCost>8</summonCost> <familiarName>PrayingMantis</familiarName> <specialCost>6</specialCost> <time>69</time> </pouch> </entry> <entry> <int>12782</int> <pouch> <pouchId>12782</pouchId> <npcId>7335</npcId> <interfacePouchId>12782</interfacePouchId> <scrollId>12841</scrollId> <experience>134.0</experience> <summonCost>9</summonCost> <familiarName>ForgeRegent</familiarName> <specialCost>6</specialCost> <time>45</time> </pouch> </entry> <entry> <int>12081</int> <pouch> <pouchId>12081</pouchId> <npcId>6861</npcId> <interfacePouchId>12081</interfacePouchId> <scrollId>12465</scrollId> <experience>668.8</experience> <summonCost>8</summonCost> <familiarName>AdamantMinotaur</familiarName> <specialCost>6</specialCost> <time>66</time> </pouch> </entry> <entry> <int>12794</int> <pouch> <pouchId>12794</pouchId> <npcId>7347</npcId> <interfacePouchId>12794</interfacePouchId> <scrollId>12831</scrollId> <experience>1015.2</experience> <summonCost>9</summonCost> <familiarName>TalonBeast</familiarName> <specialCost>6</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12013</int> <pouch> <pouchId>12013</pouchId> <npcId>6800</npcId> <interfacePouchId>12013</interfacePouchId> <scrollId>12457</scrollId> <experience>136.8</experience> <summonCost>8</summonCost> <familiarName>GiantEnt</familiarName> <specialCost>6</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12802</int> <pouch> <pouchId>12802</pouchId> <npcId>7355</npcId> <interfacePouchId>12802</interfacePouchId> <scrollId>12824</scrollId> <experience>695.2</experience> <summonCost>9</summonCost> <familiarName>FireTitan</familiarName> <specialCost>20</specialCost> <time>62</time> </pouch> </entry> <entry> <int>12806</int> <pouch> <pouchId>12806</pouchId> <npcId>7359</npcId> <interfacePouchId>12806</interfacePouchId> <scrollId>12824</scrollId> <experience>695.2</experience> <summonCost>9</summonCost> <familiarName>IceTitan</familiarName> <specialCost>20</specialCost> <time>64</time> </pouch> </entry> <entry> <int>12804</int> <pouch> <pouchId>12804</pouchId> <npcId>7357</npcId> <interfacePouchId>12804</interfacePouchId> <scrollId>12824</scrollId> <experience>695.2</experience> <summonCost>9</summonCost> <familiarName>MossTitan</familiarName> <specialCost>20</specialCost> <time>58</time> </pouch> </entry> <entry> <int>12025</int> <pouch> <pouchId>12025</pouchId> <npcId>6811</npcId> <interfacePouchId>12025</interfacePouchId> <scrollId>12442</scrollId> <experience>140.8</experience> <summonCost>9</summonCost> <familiarName>Hydra</familiarName> <specialCost>6</specialCost> <time>49</time> </pouch> </entry> <entry> <int>12017</int> <pouch> <pouchId>12017</pouchId> <npcId>6804</npcId> <interfacePouchId>12017</interfacePouchId> <scrollId>12456</scrollId> <experience>364.8</experience> <summonCost>9</summonCost> <familiarName>SpiritDagannoth</familiarName> <specialCost>6</specialCost> <time>57</time> </pouch> </entry> <entry> <int>12788</int> <pouch> <pouchId>12788</pouchId> <npcId>7341</npcId> <interfacePouchId>12788</interfacePouchId> <scrollId>12837</scrollId> <experience>730.4</experience> <summonCost>9</summonCost> <familiarName>LavaTitan</familiarName> <specialCost>4</specialCost> <time>61</time> </pouch> </entry> <entry> <int>12776</int> <pouch> <pouchId>12776</pouchId> <npcId>7329</npcId> <interfacePouchId>12776</interfacePouchId> <scrollId>12832</scrollId> <experience>373.6</experience> <summonCost>9</summonCost> <familiarName>SwampTitan</familiarName> <specialCost>6</specialCost> <time>56</time> </pouch> </entry> <entry> <int>12083</int> <pouch> <pouchId>12083</pouchId> <npcId>6863</npcId> <interfacePouchId>12083</interfacePouchId> <scrollId>12466</scrollId> <experience>756.8</experience> <summonCost>9</summonCost> <familiarName>RuneMinotaur</familiarName> <specialCost>6</specialCost> <time>151</time> </pouch> </entry> <entry> <int>12039</int> <pouch> <pouchId>12039</pouchId> <npcId>6822</npcId> <interfacePouchId>12039</interfacePouchId> <scrollId>12434</scrollId> <experience>154.4</experience> <summonCost>9</summonCost> <familiarName>UnicornStallion</familiarName> <specialCost>20</specialCost> <time>54</time> </pouch> </entry> <entry> <int>12786</int> <pouch> <pouchId>12786</pouchId> <npcId>7339</npcId> <interfacePouchId>12786</interfacePouchId> <scrollId>12833</scrollId> <experience>783.2</experience> <summonCost>9</summonCost> <familiarName>GeyserTitan</familiarName> <specialCost>6</specialCost> <time>69</time> </pouch> </entry> <entry> <int>12089</int> <pouch> <pouchId>12089</pouchId> <npcId>6869</npcId> <interfacePouchId>12089</interfacePouchId> <scrollId>12437</scrollId> <experience>404.8</experience> <summonCost>10</summonCost> <familiarName>Wolpertinger</familiarName> <specialCost>20</specialCost> <time>62</time> </pouch> </entry> <entry> <int>12796</int> <pouch> <pouchId>12796</pouchId> <npcId>7349</npcId> <interfacePouchId>12796</interfacePouchId> <scrollId>12827</scrollId> <experience>163.2</experience> <summonCost>10</summonCost> <familiarName>AbyssalTitan</familiarName> <specialCost>6</specialCost> <time>32</time> </pouch> </entry> <entry> <int>12822</int> <pouch> <pouchId>12822</pouchId> <npcId>7375</npcId> <interfacePouchId>12822</interfacePouchId> <scrollId>12828</scrollId> <experience>417.6</experience> <summonCost>10</summonCost> <familiarName>IronTitan</familiarName> <specialCost>12</specialCost> <time>60</time> </pouch> </entry> <entry> <int>12093</int> <pouch> <pouchId>12093</pouchId> <npcId>6873</npcId> <interfacePouchId>12093</interfacePouchId> <scrollId>12435</scrollId> <experience>422.4</experience> <summonCost>10</summonCost> <familiarName>PackYak</familiarName> <specialCost>12</specialCost> <time>58</time> </pouch> </entry> <entry> <int>12790</int> <pouch> <pouchId>12790</pouchId> <npcId>7343</npcId> <interfacePouchId>12790</interfacePouchId> <scrollId>12825</scrollId> <experience>435.2</experience> <summonCost>10</summonCost> <familiarName>SteelTitan</familiarName> <specialCost>12</specialCost> <time>64</time> </pouch> </entry> </map> [/CODE] Released separately from dementhium :p
  6. [COLOR="#33ff00"]Hello guys well im not really new to this my old account was mystical monkeys but i got a new computer so i had to make a new account and i lost all my old projects........ so anyway i saw that some people have been working on 667/718 now i just got my 667/718 cache to work with no bugs but as you guys know you have to skip idx5 if you dont have the xtea's so i decided to work realy hard and find a way to get them thats safe... thats the introduction out the way...[/COLOR] [SPOILER= Goals] [B][COLOR="#FF0000"]Well as i said in the intro the main goal is to make a xtea's dumper im gonna be using emilys runeception opensource release from rune-server as a base.....[/COLOR][/B] [/SPOILER] [SPOILER= Want to help?] [COLOR="#4B0082"]If you would like to help im open to any help possible i know that some people may say getting the xtea's is easy but if they are easy to et why does not everyone atleast have some? anyway if youd like to help you can help by contributing what u know if thats possible that would be amazing thnx[/COLOR] [/SPOILER] [SPOILER= team] [COLOR="#008000"]Me atm not accepting new members i might later on though[/COLOR] [/SPOILER] [SPOILER= Pics] [COLOR="#00FFFF"]Not sure if i should upload pics as im just using emilys runeception client lol[/COLOR] [/SPOILER] credits: emily for client 100% thnx for reading i will be uploading a support sig soon by ;)
  7. EDIT: WRONG SECTION. REPOST AT [url]http://www.runelocus.com/forums/showthread.php?76205-Grand-Exchange-Price-Dumper&p=652127#post652127[/url]
  8. [B]YOU MUST CHANGE THE RUN.BAT/RUN.SH FILE FOR IT TO WORK PROPERLY.[/B] If you can't set your environmental variables, then this is not for you. This will work any cache. The map may not be totally filled in if you're using a cache that does not contain all the files yet. [code] @echo off java -cp ./bin/ org.silgar.omega.dump.Launch ./gamefiles/ <mainfilecache> <mainfileindex5> <mainfileindex255> ./maps/worldmap.png pause [/code] Pretty straight forward on which files would be required. Ask me for help if you need it. You should generate an image like so: [IMG]http://i.imgur.com/tU2oT.png[/img] Colors will vary. Scale is 1:1 so using a paint program to find coordinate locations from this image is possible. I suggest Gimp, Photoshop, Microsft Paint but remember that the Y coordinate would be the [i]height - cursor position[/i]. Will work on anything 414 to current. Mirror 1 (No cache): [url]http://up.ht/MVtGbE[/url] Mirror 2 (634 cache): [url]http://www.mediafire.com/?4zs28ya8em60bew[/url]
  9. How much would people be willing to pay for one? Out of curiosity. Or is there a huge demand for one?
  10. Title ^^ Request.
  11. Didn't really no where to put this. It's not a download, it's not a tutorial, and it's not a snippet :p This is for RuneEscape, or RS2HD if you've converted the cache loaders. Anyway, here ya are: [CODE]package com.rs.tools; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import com.rs.cache.Cache; import com.rs.cache.loaders.ItemDefinitions; import com.rs.utils.Logger; public class ItemPriceDumper { public static void main(String[] args) throws IOException { boolean skipNull = false; boolean printOnly = false; for (String t : args) { if (t.equals("-null")) { skipNull = true; } else if (t.equals("-print")) { printOnly = true; } else { System.out.println("Usage: java ItemlistDumper [-options]"); System.out.println(""); System.out.println("Where options are:"); System.out.println("\t-null\t\tSkip items which are nulls."); System.out.println("\t-stackable\tInclude information on whether the item is stackable or not."); System.out.println("\t-print\t\tOnly print (will disable file-writing)."); System.out.println(""); System.out.println("Example of usage: java ItemlistDumper -null -stackable"); System.out.println("\tFormatted as: 0:Toolkit:false"); return; } } long startAt = System.currentTimeMillis(); System.out.println("Starting item dump process.."); Cache.init(); System.out.println("Initiated cache in " + (System.currentTimeMillis() - startAt) + " ms."); startAt = System.currentTimeMillis(); try { FileWriter fWriter = null; BufferedWriter writer = null; // Write the formatting type: if (!printOnly) { fWriter = new FileWriter("prices.txt"); writer = new BufferedWriter(fWriter); } for (int i = 0; i < ItemDefinitions.getSize(); i++) { ItemDefinitions def = ItemDefinitions.getItemDefinitions(i); if (def == null) continue; if (def.getName().equals("null") && skipNull) continue; if (printOnly) { System.out.println(+i+ " :Dumped: " +def.getName()); continue; } int price = getPrice(i); if(price == 0) { Logger.log("Dumper", "Items price = 0 skiping."); } else { writer.write(def.getName()+" - "+i+" - "+price); System.out.println(+i+ " :Dumped: " +def.getName()+ " Price = "+price); writer.newLine(); writer.flush(); } } if (!printOnly) writer.close(); } catch (Exception e) { e.printStackTrace(); } System.out.println("DONE."); if (!printOnly) System.out.println("The dumped file is called prices.txt."); else System.out.println("No files were written in the process."); } public static int getPrice(int id) { int price = 0; try { String name = ItemDefinitions.getItemDefinitions(id).getName(); URL url = new URL("http://runescape.wikia.com/wiki/"+name.replaceAll(" ", "_")); URLConnection con = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); String line; while((line = in.readLine()) != null) { if(line.contains("</th><td> <span id=\"GEPrice\"><span class=\"GEItem\"><span>")) { line += in.readLine(); line = line.replace("</th><td> <span id=\"GEPrice\"><span class=\"GEItem\"><span>", ""); line = line.replace("</span></span> coins <small>(<a href=\"/wiki/Exchange:"+name.replaceAll(" ", "_")+"\" title=\"Exchange:"+name.replaceAll(" ", "_")+"\">update</a>)</small></span>", ""); line = line.replace(" coins (update)", ""); return (int) parsePrice(line); } } } catch(Exception e) { e.printStackTrace(); } return price; } private static double parsePrice(String str) { if (str != null && !str.isEmpty()) { str = stripFormatting(str); str = str.substring(str.indexOf(58) + 1, str.length()); str = str.replace(",", ""); str = str.replace(" coins (update)", ""); str = str.trim(); if (!str.endsWith("%")) { if (!str.endsWith("k") && !str.endsWith("m") && !str.endsWith("b")) { return Double.parseDouble(str); } return Double.parseDouble(str.substring(0, str.length() - 1)) * (str.endsWith("b") ? 1000000000 : str.endsWith("m") ? 1000000 : 1000); } final int k = str.startsWith("+") ? 1 : -1; str = str.substring(0); return Double.parseDouble(str.substring(0, str.length() - 1)) * k; } return -1D; } private static String stripFormatting(final String str) { if (str != null && !str.isEmpty()) { return str.replaceAll("(^[^<]+>|<[^>]+>|<[^>]+$)", ""); } return ""; } public static int convertInt(String str) { try { int i = Integer.parseInt(str); return i; } catch (NumberFormatException e) { } return 0; } }[/CODE] Works with the new RSWiki format, and I fixed most of the slowness (Whoever actually made it, made it check the price of the item 3 times in a row for no reason, so it ended up taking like 15 seconds per item lol If the item is untradeable, it'll say 0 and won't write to the file. Knock yaselves out.
  12. Dash'

    dumper error help

    i downloaded tylers price dump and i got this error when i run. help? :D [url]http://snpr.cm/GmkBOQ.png[/url]
  13. [COLOR="#0000FF"][CENTER]Finished my v2.0 Dumper GUI. I was busy all last month so i couldnt finish it, Today i was home so i finished alot. Features: -Dumpers from v1 -Price -equipId -itemDef -itemList, npcList, objectList Media: [IMG]http://i41.tinypic.com/atusqq.png[/IMG] [IMG]http://i40.tinypic.com/wqvihh.png[/IMG] Link: Mediafire - [url=http://www.mediafire.com/?a9h5jz9n7q8jqjj]Click here[/url] Uppit - [URL=http://up.ht/uLUEuA]Click here[/URL][/CENTER][/COLOR]
  14. [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]
  15. hmm ok i fail @ reading - mod close
  16. Titan asked for it sorry for the long delay its been done for awhile now just got caught up with school. [code]package tools; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import cache.Cache; import cache.loaders.ItemDefinitions; public class ItemDumper { public static void main(String[] args) throws IOException { boolean skipNull = false; boolean printOnly = false; for (String t : args) { if (t.equals("-null")) { skipNull = true; } else if (t.equals("-print")) { printOnly = true; } else { System.out.println("Usage: java ItemlistDumper [-options]"); System.out.println(""); System.out.println("Where options are:"); System.out.println("\t-null\t\tSkip items which are nulls."); System.out.println("\t-stackable\tInclude information on whether the item is stackable or not."); System.out.println("\t-print\t\tOnly print (will disable file-writing)."); System.out.println(""); System.out.println("Example of usage: java ItemlistDumper -null -stackable"); System.out.println("\tFormatted as: 0:Toolkit:false"); return; } } long startAt = System.currentTimeMillis(); System.out.println("Starting item dump process.."); Cache.init(); System.out.println("Initiated cache in " + (System.currentTimeMillis() - startAt) + " ms."); startAt = System.currentTimeMillis(); try { FileWriter fWriter = null; BufferedWriter writer = null; // Write the formatting type: if (!printOnly) { fWriter = new FileWriter("itemdump.txt"); writer = new BufferedWriter(fWriter); } for (int i = 0; i < 25000; i++) { ItemDefinitions def = ItemDefinitions.getItemDefinitions(i); if (def == null) continue; if (def.getName().equals("null") && skipNull) continue; if (printOnly) { System.out.println(+i+ " :Dumped: " +def.getName()); continue; } writer.write("Item = "+i+" "+getPrice(i)+" 0 0"); System.out.println(+i+ " :Dumped: " +def.getName()); writer.newLine(); writer.flush(); } if (!printOnly) writer.close(); } catch (Exception e) { e.printStackTrace(); } System.out.println("DONE."); if (!printOnly) System.out.println("The dumped file is called itemdump.txt."); else System.out.println("No files were written in the process."); } public static int getPrice(int id) { int price = 0; try { String name = ItemDefinitions.getItemDefinitions(id).getName(); URL url = new URL("http://runescape.wikia.com/wiki/" + name.replaceAll(" ", "_")); URLConnection con = url.openConnection(); BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream())); String line; while ((line = in.readLine()) != null) { if ((line.contains("</th><td>")) && (line.contains(" coins"))) { String[] value = line.split(" "); if ((value == null) || (value[1] == null)) continue; value[1] = value[1].replace(" coins", "").replace(",", "").replaceAll(" ", ""); value[1] = value[1].replace("<small>(<a href=\"/wiki/Exchange:" + name + "\" title=\"Exchange:" + name + "\">update</a>)</small>", ""); return convertInt(value[1]); } } in.close(); return price; } catch (IOException e) { e.printStackTrace(); } return price; } public static int convertInt(String str) { try { int i = Integer.parseInt(str); return i; } catch (NumberFormatException e) { } return 0; } }[/code] Credits : Alex(DragonKK) You should all know why. Emily for here price conversion. And me for making it. Now I'm not sure if its the correct format but you can simply edit it.
  17. Coder Joker

    mapdata Dumper

    who have a good mapdata dumper for 662 maps need them please
  18. A small, simple snippet. [SIZE=3][B][FONT=Trebuchet MS]ItemlistDumper.java [1.0]: [URL="http://adf.ly/2QNmf"]Pastebin.com[/URL][/FONT][/B][/SIZE] [SIZE=3][B][FONT=Trebuchet MS]ItemlistDumper.java [1.1]: [URL="http://adf.ly/2QkaN"]Pastebin.com[/URL][/FONT][/B][/SIZE] [COLOR="#800000"]Update![/COLOR] It might be useful for someone when newer caches are added by Alex :) [code]Usage: java ItemlistDumper [-options] Where options are: -null Skip items which are nulls. -stackable Include information on whether the item is stackable or not. -print Only print (will disable file-writing). Example of usage: java ItemlistDumper -null -stackable Formatted as: 0:Toolkit:false[/code] [FONT=Arial Black]Updated the utility on 23rd of August, 2011.[/FONT] Formats aviable: [CODE]Identity:Name[/CODE] [CODE]Identity:Name:Stackable[/CODE] Highest revision list I've got (659/660): [URL="http://adf.ly/2PffL"]Click here[/URL]. [COLOR="#800000"][SIZE=1]Yes, this snippet is poorly coded. No need to point that out.[/SIZE][/COLOR]
  19. so does anybody of u have an OFFLINE map data dumper (662) cause i can get tier 3 citadel whit level 2 woodcutter and mining , if u have it i will hand u the citadels map willing to take other maps to :D
×