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.

Token

Script Officer
  • Joined

  • Last visited

Everything posted by Token

  1. Token replied to Token's topic in Construction
    Me too
  2. Token replied to RDM's topic in Spam/Off Topic
  3. Token replied to Token's topic in Construction
    Yes but I don't know when it goes up
  4. A server by definition should have high uptime, not even the runescape game meets a minimum of 99% uptime requirement. Consider writing an actual server application.
  5. You are not allowed to host a server in the client, and that doesn't make sense anyway so you don't need it
  6. Token replied to Token's topic in Construction
    Erm sure but it's not really a trial since the stable version is not on the SDN until release No
  7. I don't see why it's impossible to replace, the id is just one of the many properties a RS2Widget object has. Take a look through all methods, there's at least 10 different ways of identifying a widget and id is only 1 of them (easiest and worst at the same time) https://osbot.org/api/org/osbot/rs07/api/ui/RS2Widget.html eg: filter by actions, filter by position, filter by message, filter by color BUT NOT filter by id. The simple reason behind this is the properties I mentioned are all exposed to the human player, while abstract numbers such as ids and indexes are not visible to normal players, and jagex can change them whenever they want without affecting the legit players. They do this about once a month for the tutorial island widgets just to break all scripts coded by people who use these properties. As for the sleeps, if I ask you why 300 and not 301, and you can't give a serious answer to this, then it is an obviously flawed logic. A better approach would be waiting until something happens aka conditional sleep.
  8. That's 1 of the 2 which makes your code unstable
  9. If you are looking for improvements I guess you could start by removing any constant number that you can't justify ("magic numbers" in programming), I see at least 4 of them in the 2nd method, and another 2 which will make your code unstable
  10. Token replied to obasan's topic in Scripting Help
    Second one won't even compile, but source code != memory usage
  11. Token replied to Token's topic in Construction
    Lol Still waiting on approval
  12. Token replied to RDM's topic in Botting & Bans
    They are manually unbanned just the way they were manually banned
  13. Create something, anything, even if it takes only 1000 lines of code it's better than reading some book (or going to school)
  14. Token replied to Token's topic in Construction
    Not yet
  15. Token replied to Token's topic in Construction
    It's just pending approval for now, no point giving trials on a version that is not stable...
  16. Token replied to Token's topic in Construction
    Not giving trials until the script is actually released as I don't see the point anymore, I needed testers not goldfarmers
  17. Token replied to Token's topic in Construction
    Authed
  18. Token replied to Token's topic in Construction
    Alright, thanks
  19. Token replied to Token's topic in Construction
    Alright thanks I'll check them out These aren't really trials because the script is in beta phase (not stable) and I'm only looking for bug reports right now
  20. Token replied to Token's topic in Construction
    Try again, I believe the server was offline
  21. Token replied to Token's topic in Construction
    Authed
  22. I'm not exactly sure what "this" refers to in your first snippet so I can't help you with that but when you call interact() on anything, an InteractionEvent instance is created with a default threshold of 5 attempts so it may execute the same action up to 5 times and it's equivalent to InteractionEvent e = new InteractionEvent(someEntity, someAction); e.setCameraDistance(14); e.setHover(false); e.setMaximumAttempts(5); e.setOperateCamera(true); script.execute(e); In java we use the equals() method to compare 2 non-primitives like String instances so your condition should be @Override public boolean condition() throws InterruptedException { return script.inventory.getItemInSlot(27).getName().equals("Jug of water"); } But you should take into consideration this will throw a NullPointerException if there is no item in that slot, eg when you don't have 28 jugs left and you only go to fountain with 20, so maybe this may work better @Override public boolean condition() { return !script.inventory.contains("Jug"); } Also void using any animations as they are not continuous and therefore not reliable (there is a short transition time between animations when the method returns false)
  23. Java allocates a lot of memory on unix systems, so easiest fix is switching to windows if the .118 client didn't fix your memory issues

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.