Jump to content

The Undefeated

Scripter II
  • Posts

    1968
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by The Undefeated

  1. Hmm, I'll stick to Wiki just to be sure.
  2. Oh that looks nice. What about untradeables?
  3. public class FetchSprites { private static String path = ""; public static File getSprite(String item) { item = Character.toUpperCase(item.charAt(0)) + item.toLowerCase().substring(1); if (!Files.exists(Paths.get(path + item + ".png"))) { fetchSprite(item); } return new File(path + item + ".png"); } private static void fetchSprite(String item) { item = Character.toUpperCase(item.charAt(0)) + item.toLowerCase().substring(1); String itemNoSpaces = item.replace(" ","_"); try { final URL url = new URL("http://oldschoolrunescape.wikia.com/wiki/" + itemNoSpaces.toLowerCase()); BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(url.openStream())); String line; while ((line = bufferedReader.readLine()) != null) { if (line.contains("/" + itemNoSpaces + ".png")) { int start = line.indexOf("<a href=") + 9; int name = line.indexOf(itemNoSpaces + ".png",start); int end = name + item.length() + 4; URL imageUrl = new URL(line.substring(start,end)); BufferedImage image = ImageIO.read(imageUrl); ImageIO.write(image,"png",new File(path + item + ".png")); break; } } bufferedReader.close(); } catch (IOException e) { e.printStackTrace(); } } } This will check if the sprite is already cached, if not, it will cache the sprite and return the file(path). Improvements are welcome.
  4. The friends chat has to be included in the normal chat itself, not above the chat. There's an option for that.
  5. If you wanna log the message you should do this: public void onMessage(Message m) { log(m.getMessage()); }
  6. Are you on Wifi? Uninstall all VPN's, then go to "Network Connections", right click, properties, configure, driver, uninstall device. Do this for every network adapter which has VPN in it. Now reinstall any VPN and try again.
  7. Sounds interesting.
  8. It's $129.99.
  9. I just hate it. Not only because since I sold all my bitcoin, only had like $500 2-3 months ago, it doubled in price, but just the fact that there's still no crypto currency with a stable value. I want something where I can just send money/coins or whatever every time without having to worry about what price it is at the moment.
  10. Right click on the .jar -> open with -> Java
  11. Go read some tutorials on the forum. I don't think you understand what proxies and/or VPS's are.
  12. The chances of getting a perm ban is big. I have seen occasions where someone got 2 times a 2-day ban, but that's probably luck.
  13. Did you cumback later?
  14. Buy ETH.
  15. I don't believe you have a girlfriend.
  16. Good explanation of how silent-aim is made.
  17. Probably as fat as you are.
  18. It is not about how you formulate the question but is about what you ask.
×
×
  • Create New...