Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Leaderboard

Popular Content

Showing content with the highest reputation on 09/05/15 in Posts

  1. ๐Ÿ‘‘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
  2. Here I will be covering streams. Streams are great ways to essentially sort through lists. Why should we use streams? Since you can do just about anything with them in a single line of code. There are cases where streams probably aren't the most useful, take this: NPC guard = getNpcs().closest("Guard"); This is our bog standard way of grabbing the closest "Guard" npc. What it would actually be doing behind the scenes would be using a stream like so: public NPC closest(String name) { return getNpcs().getAll().stream().filter(npc -> (npc.exists() && npc.getName().equalsIgnoreCase(name))).min(new Comparator<NPC>() { @Override public int compare(NPC one, NPC two) { return Integer.compare(getMap().distance(one), getMap().distance(two)); } }).orElse(null); } Looks complicated, right? Here's what it would look like if it wasn't all one line: public NPC closest(String name) { Stream<NPC> unfilteredStream = getNpcs().getAll().stream(); Stream<NPC> filteredStream = unfilteredStream.filter(npc -> (npc.exists() && npc.getName().equalsIgnoreCase(name))); Optional<NPC> npc = filteredStream.min(new Comparator<NPC>() { @Override public int compare(NPC one, NPC two) { return Integer.compare(getMap().distance(one), getMap().distance(two)); } }); return npc.orElse(null); } Here's a breakdown of all the functions: (more on comparators in a bit) filter() -> This function will filter out our list for the specified properties that we're looking for in an NPC. In our case, we're looking for an NPC that exists and has a name of our variable "name". Every NPC that is in our region that doesn't suit our needs is discarded. min() -> This is a bit of a complicated function, but what it will do is find the NPC which returns the smallest compare() value. In this scenario, it will return the NPC which is closest to us. orElse() -> This is the same as an if (x) y; else z; statement, however basically what we are saying is if we could not find a suitable NPC, we can return the value inside orElse() (in this case, null). Now, this probably still looks like a bunch of wizardry to you. No worries, streams are scary at first, but after you know how to write them they're great! How to write a stream By now, you're probably itching to write a stream. In this example, we're going to find all the players within a 6 tile radius. To start off, we're going to have a function called getPlayersWithinSix(): public List<Player> getPlayersWithinSix() { return null; //We'll change this soon } Now we're going to begin the filter! To start off, we want to grab all the players, and put it in a Stream<Player>. This is what we will be filtering! public List<Player> getPlayersWithinSix() { Stream<Player> ourStream = getPlayers().getAll().stream(); return null; //We'll change this soon } Now that we have our stream, we can finally begin filtering! In this example, we only want to filter to see if the player is within 6 tiles of our own player. We're going to store the filter in another stream like so: public List<Player> getPlayersWithinSix() { Stream<Player> ourStream = getPlayers().getAll().stream(); Stream<Player> ourFilteredStream = ourStream.filter(player -> (player.exists() && getMap().distance(player) <= 6)); return null; //We'll change this soon } In our filter, we're checking these conditions: Does the player exist? Is the distance of the player within 6 tiles? Finally, we want to turn our Stream into a list so we can use it. We do this like so: public List<Player> getPlayersWithinSix() { Stream<Player> ourStream = getPlayers().getAll().stream(); Stream<Player> ourFilteredStream = ourStream.filter(player -> (player.exists() && getMap().distance(player) <= 6)); return ourFilteredStream.collect(Collectors.toList()); } See how we changed our return to ourFilteredStream.collect();? What that will do is put all of these players we found into a list, and return it. Now, this doesn't look like our streams from before, so to put it all in one line it would look like this: public List<Player> getPlayersWithinSix() { return getPlayers().getAll().stream().filter(player -> (player.exists() && getMap().distance(player) <= 6)).collect(Collectors.toList()); } Comparators, what do they do? A comparator is basically a way we compare two objects. Since the Comparator type is abstract (much like our Filter<T> class), we have to make our own compare() method. An example can be seen in our NPC closest function: new Comparator<NPC>() { @Override public int compare(NPC one, NPC two) { return Integer.compare(getMap().distance(one), getMap().distance(two)); } } What this Comparator does, in essence, is compare the distances of both NPCs (relative to the player). Since getMap().distance() returns an integer, we use Integer.compare to compare both of the distances. You'll most likely be using a Comparator to check for distance. More stream examples Here I'll be writing a few more stream examples to show why they're so useful. Find the furthest away NPC that has the name "Man": getNpcs().getAll().stream().filter(npc -> (npc.exists() && npc.getName().equalsIgnoreCase("man"))).max(new Comparator<NPC>() { @Override public int compare(NPC one, NPC two) { return Integer.compare(getMap().distance(one), getMap().distance(two)); } }).orElse(null); Get all the NPCs in a 10 tile radius that you can attack: getNpcs().getAll().stream().filter(npc -> (npc.exists() && npc.hasAction("Attack") && getMap().distance(npc) <= 10)).collect(Collectors.toList()); Get all the fishing spots where you can cage for lobsters: getNpcs().getAll().stream().filter(npc -> (npc.exists() && npc.hasAction("Cage") && npc.hasAction("Harpoon"))).collect(Collectors.toList()); If I missed anything, let me know
  3. OSbot having to maintain more than the client? lol.
  4. Who gives a shit if its botted or not? The only thing that matters is if its got any blackmarks on it. If not then its no different then any other account. I never understood why people freak out over handtrained>botted unless its power leveling or a service it shouldn't matter unless the account has a ban or blackmark.
  5. import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.Player; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Jards", info = "A Script", name = "Goblin Killer", version = 0.01, logo = "") public class main extends Script { @Override public void onStart() { log("Welcome to gusegger's bot!"); } // all the states we can be in private enum State { IDLE, ATTACKING_GOBLIN, IN_COMBAT, AT_FIELD }; // if player is by the goblin field public boolean atField() { Player player = myPlayer(); int x = player.getPosition().getX(); int y = player.getPosition().getY(); //stating if we're in these positions if ((x > 3242) && (x < 3249) && (y > 3243) && (y < 3249)) { log("x : " + x + " y " + y); log("You're at the goblins son!"); return true; } log("x : " + x + " y : " + y); return false; } // seeing if we're in combat public boolean inCombat() { if(myPlayer().isUnderAttack()) { log("We're in combat!"); return true; } log("We're not in combat yet, punk!"); return false; } public void killingGoblin() { NPC Goblin = npcs.closest("Goblin"); if (Goblin != null && Goblin.getHealth() != 0 && Goblin.isAttackable() && Goblin.getName().contains("Goblin")) { if (map.canReach(Goblin)) { log("Attacking that punk ass goblin!"); Goblin.interact("Attack"); } } else { log("No goblins found!"); } } private State getstate() { // if we are at the field of goblins but not in combat // if we are at the field and in combat, set to in_combat if (atField() && !inCombat()) return State.ATTACKING_GOBLIN; // if we are under attack, set to in_combat if (myPlayer().isUnderAttack()) return State.IN_COMBAT; //if nothing is happening, set to idle return State.IDLE; } @Override public int onLoop() throws InterruptedException { switch (getstate()) { case IN_COMBAT: break; case ATTACKING_GOBLIN: log("Start killing a goblin!"); killingGoblin(); break; } return random(100,300); } @Override public void onExit() { log("Thanks for using gusegger's bot!"); } @Override public void onPaint(Graphics2D g) { //NYI } }
  6. Version 1.4 - Script rewritten to work without the now removed clientside information - Dynamic signatures are now updated again - Added some handling for the new loot widget ______ Unfortunately it is no longer possible for the script to simply look up which brother is going to be in the tunnels; this means that I've also had to remove the option to "Always check the correct tomb last". I'll look into alternative ways of re-implementing this in the future
  7. User has been IP banned, sorry for your losses.
  8. Note: This user has a dispute being made against him, we are just waiting for mods to approve it.
  9. 2 points
    You're not going crazy. If you have a wheel mouse, and scroll at all, it will change the zoom settings. Even a slight scroll of the wheel mouse will change the zoom. There isn't a bot here that I have seen that can work unless the zoom is exactly default.
  10. 1 point
    Post pics, let osbot decide
  11. wut

    1 point
  12. 1 point
    Oh my gosh thanks, that's so cool
  13. Forgot to add the logs: [iNFO][bot #1][09/05 06:07:00 PM]: bank_booth sleep [iNFO][bot #1][09/05 06:07:02 PM]: Withdrawn: [Magic logs] x [0]. [iNFO][bot #1][09/05 06:07:03 PM]: bank_deposit sleep [iNFO][bot #1][09/05 06:07:03 PM]: bank sleep [iNFO][bot #1][09/05 06:07:04 PM]: Price added to item [1513]. [iNFO][bot #1][09/05 06:11:34 PM]: Terminating script Perfect Fletcher... [iNFO][bot #1][09/05 06:11:34 PM]: Script Perfect Fletcher has exited! Maybe this could help, and no worries man I love your scripts and I know that u deliver quality scripts ! Thats why I got almost every Perfect # Script..
  14. I appreciate the trial (I actually already bought it, but there's some delay from PayPal to you guys I guess?). However, I'm on F2P trying to bank salmon in Edge from Barb and it just runs me in circles, never banking. The fishing portion works great, but just not banking. Your mining tool works great btw.
  15. Dude you don't need test . Its FLAWLESS!!!!!!!!!
  16. I had it laid out like that so people can see each individual step, I'll add that in a bit though
  17. Shouldn't matter in the example you provided though right? Or does the problem lie in the fact that I create a new Stream<Player>?
  18. Stream<Player> ourStream = getPlayers().getAll().stream(); Stream<Player> ourFilteredStream = ourStream.filter(player -> (player.exists(); Keep in mind that you can only consume a stream once. Nice tutorial though
  19. I haven't been contacted about any dispute via skype but thanks for the heads up I suppose. Mods can close this until the dispute is over.
  20. Saradomin's light is completely useless. Zamorak is currently about the same gp/hr as bandos but slightly better, it's not crowded at all though. Zamorak spear's drop rate is 1/128 at a ge price of 8.5m, staff of the dead is 1/512 at a ge price of 15.5m and hilt is 1/512 at a ge price of 1m. If you do the maths that's an average of 100k per boss kill from the big drops only and if soloing you might get about 10 kills per hour if you are maxed melee and banking fast, but trio should be best since you can average 30 kills per hour and can last for 100+ kills per trip. With all drops considered I think you should average about 1.5m/hr at zamorak. P.S. Get kc on imps, there are 4 imp spawns in the stronghold.
  21. Hey man! Bought mems today just to see if I could get a trial of Motherlode Miner. Gotta see for myself what all the hype is about. I'm really interested in your range guild script too, got a range pure in the makes! Thanks man, keep up the great work!
  22. Not interested but best of luck!
  23. This is just a small update to start off the weekend. Please note that the jar updater will not work on upgrading 106 -> 107, we're still dealing with some DDoS mitigation issues. Changelog: -Added MouseZoom random event -One-time setup randoms are removed from the cycle after completion -Added prioritization of random events I finally have some time to work on OSBot (not that I haven't) since I'm on leave, so I'll be patching up all the bugs that have been reported this weekend/next week. -The OSBot Staff
  24. 1 point
    >deceiver on cruise >elliot is scripting or something >asuna playing league on 10 ping again > dex u r the last hope this weekend
  25. 1 point
    Dex is love... Dex is life...
  26. wut

    1 point
    they dont need post count anymore so they can scam str8 off tut island
  27. I'm in east mode, I usually set my limit for players until world hopping at 7. but sometimes when I come back there will be 9+. sometimes if I do let it run for another 15+ minutes i'll come back and it will have switched worlds but still delay. thanks for fast replying. marcus
  28. gp counter is off.
  29. If this is the Norweigan cruise line you won't regret it, went on this cruise this summer of July and holy shit it was the best time I've ever had.
  30. I stopped botting with my 2 day ban account, but after a month or two, I started botting again on the same account and still no ban o_O if the stats are really good, i would say no to botting
  31. This happens for non-mirror users too
  32. I'm almost done with mine, I'm going to probably be finished either Thursday or Friday. I haven't received a ban in over 500 kills, it's not just about what you're botting it's how badly programmed the script is. If you're using someones script and they say "antiban" and such then they're probably someone who adds rubbish events like hovering a skill or moving the mouse, which isn't even monitored by RuneScape. My script is adaptive, doesn't follow set patterns and is reliable so far. I haven't used it on multiple accounts as I don't have the requirements on other accounts however I've literally been using it from the second I created it and it hasn't got me banned.
  33. Introducing Muffins'Amulet Stringer! WHAT IS THIS USED FOR? This spell is one of the best uses for magic xp per hour [Also AFK] giving over 140k+ XP per Hour! WHAT DOES IT DO? It turns Gold amulets (u) into gold amulets via the String Amulet spell in the lunar spellbook! REQUIREMENTS?? -80 Magic -Access to the lunar spellbook -Astral, water, and earth runes (Mud staff is highly recommended as it saves you runes and increases xp per hour) -Gold amulets (u) Supported Locations? Any bank! How can I get this script? Download it and place it in C:/users/YOURNAME/OSBot/Scripts DOWNLOAD LINK: https://www.mediafire.com/?14be6e675sfc3p8 How do I use this script? -Start with Astral runes in your inventory -Put gold amulets (u) at top of bank -Start it in Any Bank -GAIN MAIN MAGIC XP Thanks for viewing my thread and have a wonderful day! -Muffins Releases: v1.0 Released PROGRESS REPORTS:
  34. wew but why free?? Could sell for a good amount You should never give up the source.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.