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 01/01/14 in all areas

  1. Do we have to wait another 3 months for Osbot 2? Or Was Osbot 2 a Lie?
  2. If I seriously have to sit there and constantly have people advertising/talking about their services I'm going to kill myself. Please put a rule in place that limits service talk, such as a set time limit of 10 or so minutes to post about your service.
  3. Vouch for violent and divica, sold them 775M 07. Very quick trade
  4. I'm pretty sure you've heard this too many times on Facebook... but.... Happy New Year.
  5. Its so annoying.. Chatbox is a place to talk and chill etc.. not a place to advertise your service..
  6. You were annoying and constantly calling people peasents even after being told not to. Please stop your spamming. Not to mention comes back with a false acc to spam some more. http://puu.sh/65how.png * User Suspended for spam/Banned from chat. * User has also Ban Evaded, Complete Ban. * Locked.
  7. Gilgad’s Account Making Guide! Contents Requirements for the Guide: List of all the Pures: NOTE: I do not list accounts that are deemed “Failures” in my books, sorry if your account is not listed. The Rushers The Tanks The Maulers (Tzhaar-Ket-Om) The Rangers The Initiates Melee Pures List of Packages For those of you that don’t know the most basic principal of questing/account making, it is packages, quest packages, item packages. EG: Mithril gloves package Desert Treasure package Attack Package Etc etc etc etc Anyway, I’ll be explaining each package up here that I will be using in my guide, and then I’ll just say under the account creation section “Mithril Gloves Package” It means go to the explanation of mithril gloves under the package section and do that. Starter Kit Attack Package Mithril Gloves Package Desert Treasure Kit Customising your own Account! Prayer How to make the Pures on the List Other Pures coming soon….. Secret Training Methods/Training Spots/Money Making Methods If you would like anything added or more info on anything, please post and I’ll see what I can do, I’ll admit this is a rough guide. ~Gilgad
  8. Updated for OSBot 2's API! Hello future script writers and other OSBot members! This will be my first OSBot script writing tutorial, and it's geared toward beginners with at least some understanding of Java (however, I'll still be covering some fundamentals). So, let us begin. Step I: Getting the IDE An IDE (integrated development environment) is software that makes programming much easier on you, the programmer. There are many Java IDE's to choose from (IntelliJ, NetBeans, Eclipse, and many more), but for this tutorial, we'll be using Eclipse. You can download Eclipse here. Simply choose the Eclipse Standard and download the version for your computer (32 or 64 bit). Once downloaded, use a program to decompress the archive, and move the eclipse folder to wherever you'd like (C:\, your desktop, it honestly doesn't matter). To open Eclipse, go into that folder and open the Eclipse application. Congratulations, your one step closer to making OSBot scripts! Step II: Basic Java Fundamentals Java, like C++, PHP, and Javascript, is a high-level programming language, which simply means it's very readable by humans (we use English while programming in these languages) and therefore much simpler to write code. If you're an absolute beginner, with no background in programming at all, this is going to go by extremely fast, and I will likely skip over some important topics. If you fall into this category, you absolutely NEED to read these tutorials by Oracle. I'm not sure about most of you, but I feel that a great way to learn something is to dive right in, and worry about the little things after you've started to understand the bare essentials. With that in mind, let's take a look at a simple HelloWorld class: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World, I'm learning Java!"); } } Now looking at that might be intimidating if you're new to this, but believe me it's very simple! I'll break down some of the common words used above: public: This could be public, private, protected, or default. It simply states the visibility of this class/method/variable. Public items can be seen from outside of your package, private items can't be seen by other classes in your package, protected items can only be seen by the subclasses of your package, and default can only be seen by your package. class: A class is like a blueprint from which objects are created (Oracle). static: This is a keyword that simply means that only one instance of it will ever exist, even if you recreate it infinitely. void: This is the return type of this method. Void methods return nothing, int methods return integers, String methods return strings, and so on. String[]: This is an array. Arrays are just containers that hold a specific number of items (of one type). For example, this method takes an array of strings as a parameter. System.out.println: This is just a method that prints a message to the console and then prints the newline character. ;: Semi-colons are used at the end of any Java statement (note: conditionals and loops do not count as statements), without them, your compiler will give you errors. { }: These curly braces are used to surround/contain the contents of a class/method/etc. This is all of the Java basics I will teach, simply because there are already many resources out there (see above). Step III: Setting up a Java Project Setting up a Java project in Eclipse for making OSBot scripts is simple, just follow these steps: Step 1: Press File>New Java Project and name your project, then press finish Step 2: Add the OSBot .JAR file to your build path Step 3: Add a class to your new project And you're ready to actually start script writing! Step IV: Creating Your Script Now here's where we actually start making your script! For this example, we'll be creating a very simple mining script that will mine and drop everything once the inventory is full (please note: this example is hardly usable for a script, but it shows the basics. With a real mining script, you'll want to replace the object name with the ID(s) of the rocks, so you don't try mining empty veins). Here's the full source: import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "You!", info = "I made this script!", name = "Basic Miner", version = 0, logo = "") public class BasicMiner extends Script { private enum State { MINE, DROP }; private State getState() { if (inventory.isFull()) return State.DROP; return State.MINE; } @Override public void onStart() { log("I can't believe script writing is this easy! I love learning!"); } @Override public int onLoop() throws InterruptedException { switch (getState()) { case MINE: if (!myPlayer().isAnimating()) { RS2Object vein = objects.closest("Rocks"); if (vein != null) { vein.interact("Mine"); } } break; case DROP: inventory.dropAll(); break; } return random(200, 300); } @Override public void onExit() { log("Thanks for using this wonderful script!"); } @Override public void onPaint(Graphics2D g) { } } Now most of that will be confusing, but don't worry, I'm here to help you! I'll break this down for you. import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; These lines import other classes for their use in your script. @ScriptManifest(author = "You!", info = "I made this script!", name = "Basic Miner", version = 0, logo = "") This is the script manifest, which simply tells OSBot your script's author, info, name, and current version (for use in their class loader). public class BasicMiner extends Script { ... } This just defines our class, and extends OSBot's Script class, so we can use all of their fancy API methods. private enum State { MINE, DROP }; private State getState() { if (inventory.isFull()) return State.DROP; return State.MINE; } Here we make an enum (collection of constants) called State which holds two states: mine and drop. Then we have a method that's return type is State (so it returns a State, which we just made). If your inventory is full, this method will return the dropping state, otherwise it will return the mining state. @Override public void onStart() { log("I can't believe script writing is this easy! I love learning!"); } This method is part of OSBot's Script class (which we're extending from). The onStart() method is only called once, and is called at the beginning of the script. This is where you should define some variables that only need defined once (the start time, start experience/level, etc.). @Override public int onLoop() throws InterruptedException { switch (getState()) { case MINE: if (!myPlayer().isAnimating()) { RS2Object vein = objects.closest("Rocks"); if (vein != null) { vein.interact("Mine"); } } break; case DROP: inventory.dropAll(); break; } return random(200, 300); } This is another method from OSBot's Script class (see that @Override?). onLoop() returns an integer, or how many milliseconds to wait before doing onLoop() again. We then use a switch statement to see what we should be doing. If we're to mine, we check if our player is currently animating (mining). If we aren't, we find the closest rock to mine, if that doesn't exist (or is null), we stop right there. But if it isn't null, we interact with the rocks by pressing "Mine". If we're to drop, we simply drop everything in your inventory (you did have your pickaxe equipped, right?). @Override public void onExit() { log("Thanks for using this wonderful script!"); } @Override public void onPaint(Graphics2D g) { } onExit() and onPaint(Graphics g) are two more methods from the Script class. onExit() is called once your script is stopped, and onPaint(Graphics g) is called every time the screen is updated. Step V: Exporting Your Script The final step to this tutorial will be exporting the script we just made so we can actually test it out! Step 1. Right click your project and press Export... Step 2: Choose JAR file Step 3: Choose your OSBot's scripts directory and export it! Well that's all for this tutorial, thanks for reading! You can find Part II here! Also: post suggestions for future tutorials, and I'll definitely consider it!
  9. public static int[] WORLDS = {301, 302, 303, 304, 305, 306, 308, 309, 310, 311, 312, 313, 314, 316, 317, 318, 319, 320, 321, 322, 326, 327, 328, 329, 330, 333, 334, 335, 336, 338, 341, 342, 343, 344, 345, 346, 349, 350, 351, 352, 353, 354, 357, 358, 359, 360, 361, 362, 365, 366, 367, 368, 369, 370, 373, 374, 375, 376, 377, 378}; And to hop to a random one: new WorldHopper(MethodProvider).hopWorld(WORLDS[random(WORLDS.length)]); Had to make this last night and might save someone a couple minutes This list CONTAINS F2P worlds: 308, 316 This list DOES NOT CONTAIN PvP worlds: 325, 337
  10. THREAD STATUS: CLOSED THREAD STATUS KEY OPEN- Accepting all reasonable requests LIMITED- Accepting requests at my discretion CLOSED- Not accepting requests I am on the road for work, I will be unavailable for the time being. Do NOT allow anyone to tell you otherwise. Have you ever wanted a Quest Point Cape? Is your pure lacking the best items due to quests? Do you just need some sub-quests and quests done? I could be your answer! Quests completed on OSbot: 33 (6 customers) This thread is NOT copy & paste and I CAN achieve every quest with almost any level in the current version of OSRS. Unlike many others, here on OSbot, I have personally completed every quest multiples of times. OPEN THE SPOILERS. THEY CONTAIN INFORMATION REGARDING THE TOPIC LABELED ABOVE THEM. Service lists Service request form Terms Of Service *potential customers must read* Quest pricing *(ALL prices will be discussed personally and highly depends on stats)* You will find my prices to be very competitive. Dedicated Customer Area PLEASE DO NOT POST UNLESS a)Making a request b)Inquiring information about my service c)Customer related post d)Giving value to this thread FEEL FREE TO ASK ME ABOUT THIS SERVICE. Copying this thread without my FULL acknowledgement will not be tolerated. ALL threads found will be reported.
  11. 1 point
    1. Don't get banned.
  12. 1 point
    My goal for botting is making an amazing scripting team that makes the highest quality scripts for this community. (oh and to finally get that blue name, gotta wait til the 16th ) We'll see
  13. I go there with my dwarfing cannon on my main, I've never have or will bot on it, so could you not add grave yard dragons? For this one I agree with you :p But thats because it's the best place to make money with a dwarfing cannon, but hopefully this script will get everyone skulled :P
  14. BottersLyfe spams so god damn much... I like his signature though, so I don't mind.
  15. But I'm the idiot for making my goldfarming scripts premium...
  16. You should learn java :p
  17. in this case it's alright but for more complicated stuff you're correct might as well use the oldschool1.runescape.com/jav_config.ws for easier parsing @OP: Find the java.awt.Canvas source code in your src.zip included with your java installation. Copy this to your IDE (be sure to put it in the package java.awt!). Change whatever you want to change, make a jar of it. Launch java with the -Xbootclasspath/p:changedcanvas.jar and it'll use your own implementation of the class.
  18. sorry Xavier not showing disrespect but you have some bad reviews, im probably am going to buy voucher. thanks guys
  19. GT is just mad that doctor got more votes on the homo poll
  20. I'd say at least 15 minutes, it is really annoying, specially because they have long ass messages
  21. 1 point
    bong has a tiny shlong
  22. 1 point
    Go back to kitchen pls Apparently kelly is smarter then you ;)
  23. Just as a suggestion you should use regex for finding the parameters. It's a whole lot less code and in general more effective and easier to maintain. //finds the gamepack jar Pattern aPattern = Pattern.compile("archive=(.*) "); //first group represents the parameter name and the next is the value Pattern pPattern = Pattern.compile("<param name=\"?([^\"]+)\"?\\s+value=\"?([^\"]*)\"?>"); Then use the Matcher class to find matches in the page source.
  24. I know. Now use random(3); The highest amount you can get is 2.
  25. You gain no postcount posting in the spam section. Nice try but no.
  26. Welcome to my graphic shop! This is my grand opening of my graphic shop where I provide quality graphics for OSBot! Prices (all prices are in OSRS gold) Avatar - 500K Signature - 1500K Skype celestial.osbot Portfolio
  27. added. you'll know its me
  28. Nice job Czar, finally someone doing something fresh and not remaking someone's elses script.
  29. Just finished 's order. ^_^
  30. 1 point
    He flamed. He lied. He annoyed people. He ban evaded.
  31. 1 point
    Good, I requested at least a suspension on him. Kid is going full retard ever since he returned from whereever the fuk he went
  32. 1 point
    Never heard of them. Games from my childhood consisted of Donkey Kong, Paper Mario, James Bond, Super Mario, etc. All on the N64
  33. free sig and avatar xD
  34. Less diet coke for me. More cheeseburgers. Hell yeah! @@
  35. You should do it based on who has the most lame joke: What do you call a guy who never farts in public? A private tutor.
  36. will get onto making new ones taken a short break from the whole rs scene
  37. 1 point
    7m ill buy now!
  38. A Caged orge killing script that supports tele grabbing seeds they drop!
  39. If YuGod so requests it I can fix any bugs that are present and send it to him for resubmission, but I won't do this without explicit permission as after all it is his script.

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.