Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/26/15 in Posts

  1. Hey guys, I've had quite a few scripters attempt to use the resources folder to load stuff without having to download them manually, so I figured I'd write a quick tutorial. (I've put this in the scripter section because I'd rather not have new scripters throwing random shit into that folder. Please limit it to image/text only). RESOURCES Folder location: For a script, put the resources folder in the root of the script module (I think root of the git repo works too if you want to use global resources). IE: dreamscripts --> DreamChopper --> resources --> ValkyrIsANoob.jpg Accessing resource from your script: Here's a quick test script that I created and submitted to SDN to check that it works: (You can pull out the code...) package test; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.io.*; /** * Created by ericthecmh on 8/26/15. */ @ScriptManifest(version = 1.0, author = "Ericthecmh", logo = "", info = "Amaze", name = "Llama") public class Llama extends Script { private BufferedReader br; @Override public void onStart() { br = new BufferedReader(new InputStreamReader(this.getClass().getResourceAsStream("/resources/LLAMAS.DAT"))); } @Override public int onLoop() throws InterruptedException { try { String s = br.readLine(); if (s != null) log(s); } catch (IOException e) { e.printStackTrace(); } return 1000; }z } I TESTED LOCALLY AND IT DOESN'T WORK??? Make sure that when you build the local jar, it contains the resources folder in the root of the jar: DreamChopper.jar --> resources/ --> LLAMAS.DAT --> org --> dreamscripts --> chopper
    5 points
  2. Dear Community, I have removed the 100 post count limit to account sales, but they still need to be approved by a moderator before it shows up to the public. This is so people can respond without 100 posts to buy an account. We will not be approving any threads for account sales by new users, spammers, or any other thing we see suspicious. If you feel someone is suspicious, feel free to report the thread or pm a staff member. Thanks, @Maldesto
    5 points
  3. CzarScripts #1 Bots LATEST BOTS If you want a trial - just post below with the script name, you can choose multiple too. Requirements Hit 'like' on this thread
    4 points
  4. This account is 6-7 days old, I am botting until 99 fishing, or ban. Fishing Levels 1-30 Shrimp - F2p 30-55 Trout/Salmon - F2p 55-76(current)- Lobster - P2p, bond donated
    4 points
  5. Tired of crafting? Angry that there is no free crafting bot for the bs early levels? This shitty, but functional, script made in 7 minutes is the perfect solution. Directions: Make a tab with needles, threads, and hard leathers. Stand in front of a bank chest (I use castle wars bank chest) Start the script Level up Source: import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.script.Script; import java.util.concurrent.TimeUnit; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Christ1665", info = "Hard Body Maker (use near a bank chest)", name = "Hard Bodies", version = 0, logo = "") public class main extends Script { @Override public void onStart() { } private enum State { BANK, SETTING_UP, WORKING } private State getState() { if (bank.isOpen()) { return State.BANK; } if (!players.inventory.contains("Hard Leather") || !players.inventory.contains("Needle") || !players.inventory.contains("Thread")) { return State.SETTING_UP; } if (players.inventory.contains("Hard Leather") || players.inventory.contains("Needle") || players.inventory.contains("Thread")) { return State.WORKING; } return null; } @Override public int onLoop() throws InterruptedException { switch(getState()) { case BANK: if (!players.getInventory().isEmpty()){ bank.depositAll(); } bank.withdraw("Hard leather", 26); bank.withdraw("Needle", 1); bank.withdraw("Thread", 12); bank.close(); break; case SETTING_UP: Entity bank = objects.closest("Bank Chest"); bank.interact("Use"); break; case WORKING: getInventory().getItem("Hard leather").interact("Use"); getInventory().getItem("Needle").interact("Use"); sleep(random(700, 950)); RS2Widget w = widgets.get(309, 2); if (w != null) w.interact("Make ALL"); sleep(random(20000, 28000)); } return random(500, 800); } @Override public void onExit() { } @Override public void onPaint(Graphics2D g) { } } Jar: http://www.mediafire.com/download/ko4uao5prg1w18d/Christ1665.jar Pic:
    3 points
  6. public static String formatTimeDHMS(final long time) { final int sec = (int) (time / 1000), d = sec / 86400, h = sec / 3600 % 24, m = sec / 60 % 60, s = sec % 60; return (d < 10 ? "0" + d : d) + ":" + (h < 10 ? "0" + h : h) + ":" + (m < 10 ? "0" + m : m) + ":" + (s < 10 ? "0" + s : s); } where time is in milliseconds. Implementation: g.drawString("Runtime: " + formatTimeDHMS(timer.getElapsed()), 100,100); where g = graphics2d and timer is your timer from the start of the script and getelapsed is a method from your timer class returning the time elapsed in millis This ill be formatted as: 00:00:00:00. d: h: m: s Apa
    2 points
  7. PRAISE ME oh on a final note, you guys are probably like this but guess what? i dont give a shit HERES TO 5K, AND BEYOND!
    2 points
  8. Just don't, literally took me 1 try after a few years. If you really need help distract yourself with other mindless drugs Like soda, or league of legends <_<
    2 points
  9. yea he just did. you gotta make it like this
    1 point
  10. Nice tutorial maybe you could elaborate where the data is saved on the HDD and maybe add a part about storing data.
    1 point
  11. Script is running flawless. You will receive a 24hr proggy in roughly 12.
    1 point
  12. Possible to get a trial?
    1 point
  13. That works too i have my method also built into my timer class I dislike java's duration and instant classes tho. your method does not format days though, but that would be easy to add. apa
    1 point
  14. 1 point
  15. Make sure to set camera zoom to default, please read the above posts :P If the camera zoom setting is on default, there will NEVER be issues.
    1 point
  16. Seems like a question you should of asked before buying proxies
    1 point
  17. Thank you Based Llama God.
    1 point
  18. For shits n giggles lol Hasn't gotten stuck once
    1 point
  19. Glad the issue was resolved. If you have any further issues/questions/..., you can always send me a PM!
    1 point
  20. Hey mate, i think you forgot to finish off your post? has no info after 'the requirements'? edit: nvm said it too early ;), gl finding someone
    1 point
  21. me2 jams and i on movie d8
    1 point
  22. seems his issue is resolved, please /lock. thanks
    1 point
  23. Please make sure to have camera zoom on default, and you will NEVER have issues. Thanks! Gratz on 99 range definite! :D added to main post
    1 point
  24. 1 point
  25. 3 bots running 15 hour smooth with breaks every 3 hours for 10 mins, going for the biggest proggy
    1 point
  26. - Script name: AIO RuneCrafter 24h - Your member number: 179258 Would love a trial. If the script is as good as i think it is i will buy it instantly
    1 point
  27. Get ready for the HYPE! I will have it tomorrow morning
    1 point
  28. can confirm i was the one who noticed that the account was being online/leveled up as i thought fruity had access to the account again.
    1 point
  29. Just purchased it, will try and get a proggy for ya
    1 point
  30. It won't take coal/iron/nats from my bank.
    1 point
  31. I'm running a few fletch bots on a prem script from a different website but it's abit shit, and from the thread yours sounds awesome! Could I get a 48 hour trial? I'll just run on 2 accounts since I'm not VIP here yet but I'll try to get some decent proggies and a nice review Edit: if you could PM me that'd be perfect since I'm not so active on these forums yet
    1 point
  32. May i get a trial for this script plz
    1 point
  33. Serum 207 update and anti-venom update is being worked on right now, will post when it is ready sorry for the wait!
    1 point
  34. Ya but the problem is if I add cannon support, pll running the same script will ruin eachother over ... only a limited amount of pll would be able to run the script without getting screwed over by other I'll see about the special attack! Khaleesi
    1 point
  35. Quoted from: http://osbot.org/forum/topic/66338-reducing-banning-rates-behind-the-scenes-at-osbot-27-febuary-2015/ Mac is supported now
    1 point
×
×
  • Create New...