Jump 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 08/22/14 in all areas

  1. 7 points
    Well, it's been a fun run. I just don't feel like I fit in here anymore. Now that I'm not botting, I don't have much to do, and the forums are fairly slow, so I'll be resigning for now. I might still be active on the forums, but probably not, just going to focus on other things for now. Thank you for the wonderful year, I'll catch you guys later. Pce, brandop
  2. "If you want to be friends you can be friends with THIS DICK!" Will work 100%
  3. It's not really advertising and bad for the market to push away demand like that. Anyways, dat e-drama :p
  4. 3 points
    I'm speechless. All I can say right now is thank you for everything you've done for me, you were always there when I required some help so I would like to thank you a thousand times for that! Even though it sucks to see you leaving the forums, I wish you the best of luck with your future endeavours! You are amazing, Brandon.
  5. The golden rules of learning to script are listed below. 1. Learn Java (at the very least, the basics) 2. Look at the scripting skeleton 3. Look at a working local script 4. Look at the API
  6. So you already know the story, just got a text today asking ''why can't we be friends, i don't get it'' because i turned down her friendship invitation yesterday. I haven't replied since it was made about 6 hours ago, i could care less about her friendship, she can shove it up her ass for all i care, i already got enough friends. I have no intentions of ever accepting this, i just want her to feel bad and constantly think about it, because let's be real, if i say yes, she'll be happy with herself, i still get nothing in return and that's it. Anyone that had this happen to them can post if they want, really would like to know your thoughts on this. If you haven't read my last post, it's in Spam if anyone cares.
  7. A lot of nice work. I see a certain render theme prominent throughout all of them ;)
  8. I want to completely re-write the randoms instead of patching it. I have a few ideas but no accounts to test with.
  9. 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
  10. Wiz Khalifa's AIO WoodCutter Intro: Wiz Khalifa's populair WoodCutter is back here in OSBot 2 ! Make sure to try this and gain alot of woodcutting levels or earn alot of money. Locations: P2P Locations: Seers Village: Willows. Maples. Yew tree Magics Sors Tower: Magics. Catherby: Yew tree Willows. F2P Locations: Varrock: Oak Yew tree Draynor: Willows Oaks Logs Falador: Yew tree Grand Exchange: Yew tree Edgeville Yew tree Port Sarim Willow Features: - Bird nest pickup. (Coming soon) - Anti-ban. - Stable. - Lots of locations ! Proggies:
  11. A decent bubble butt over any size boobs for me
  12. give me your thoughts i think it's an interesting subject. i personally think we are becoming more of a community/service/rs account site. my reasoning for this is i'm seeing more and more service/gp/account trades than botting activities. whereas other bot clients have threads of people comparing their gold/bot farms, bot talk here seems isolated to scripting alone and i doubt if anyone really goldfarms anymore on this client which is sad to say because the obvious reason is that the devs are watching their business crumble. Discuss edit; up until like a week ago i've tried my best to goldfarm using OSBot but it's almost impossible and i've raised the reasons why in many topics which have been taken lightly.
  13. Nawhhh man. 1 att is way cooler on a def pure
  14. Love the style. =)
  15. These are epic man! I love your work
  16. I wanted too, but by the time I got around to it, it wasn't showing anymore.
  17. 1 point
    If I knew what you meant, I wouldn't want to know what you meant. Na mean?
  18. Awesome, could you pretty please be my middleman, for free perhaps? ;D
  19. i also dont see anything wrong with what he did. same shit happened with me, i stopped being friends with this girl, everyone was against me saying "wtf dude, go back and apologize", but im the only one who says i did the right thing. honestly i just got tired of her shit and just told em off and never went back, so, you did the right thing. dont be friends with people who you dont want because they bore you as a friend. do shit for your own good, dont do shit and get NO reward.
  20. 1 point
    Why are people giving him the wrong advice and saying he's using the legacy API? Not only would his code be working instead of throwing errors if he imported all legacy, but he even showed everyone his imports on the first page and they're all for OSBot 2. It told you exactly what was wrong, and if you knew basic Java you'd know it's an incredibly informative error message. Since it seems like no one who has posted so far as any idea what they're talking about, and these posts gave me herpes, I'll just lay it out for you. Ok, this is the error you're getting: What this tells you is the method #setRunning(boolean) does not exist in either the main class or any of it's super classes. With that being said, it should be evident now why the quick fix it gives you is to create the method yourself in the current working class. The rest of the errors you're getting have the same issue. Now, on to your main question about getting a working message listener, just simply override the onMessage method found within the Script class. See the API for more information.
  21. thanks anyway but got running on 6 just changed the environment system
  22. Market was big, and also the client. A lot of users ditched the client, and transitioned into the market, but not as substantially as you think. Honestly with a dying client, its going to lead to a reduction of the market. > Unstable Client > Reduction of Gold farming, not as many vouchers being sold for scripts > Less GP Fluctuation Also, while the client was big, and it was offline, there would be 60-80 people in chat asking what's up. That was a perfect opportunity to grab customers. Market is dying as I noticed, not too bad though
  23. 1 point
    Your IDE will literally tell you the error if you hover over it.
  24. i have messaged you on Skype, i have done a order for this guy before!
  25. 1 point
    Learn Java is all I can say, because your "errors" are just lack of knowledge of programming. Your never going to make anything of worth without knowing the basics of Java.
  26. I don't understand why it's hard to just look at the new API o_O
  27. Yes it is, if you want the rules to change PM @Maldesto.
  28. public int onLoop () { // code goes here return 50; } :P The skeleton is the same as before buddy.
  29. dude your awesome, love the script. will most likely have to buy once the trial is over
  30. Response to your title: more like a 20 pack... Har har har har har I wonder how people come up with this stuff.
  31. You should have been accepting of her wanting to just be friends. Ask her to hang out, get her drunk, fuck her and never call her again. gg rekt
  32. 1 point
    Tyvm for the release. Really nice The only thing that should be improved is the speed of typing. But except for that, really good script Tested and aproved
  33. I got cancer reading through this thread, thank you.
  34. Way to grave dig a month old topic.
  35. I've botted for a while today to get randoms.. Even tho it has been reported otherwise, Freaky Forester and Niles randoms were solved fine, so I guess there may be a factor of luck involved (?) I've written fixes to the FrogQueen and Strange Plant solvers; Waiting for one of these to appear again so I can confirm that my fixes work.. No news on maze random.. Haven't been able to get a single one. Are there any specific activities that produce them?
  36. well considering the appalling state that OSBot is in, maybe it's up to the devs, or the people higher up to get stuck in and start fixing randoms mate.
  37. Till today i still don't understand why bot developers on OSBOT don't have their own accounts to do all these testing and debugging. I would think they bot more than us
  38. 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!

Account

Navigation

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.