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.

jca

Members
  • Joined

  • Last visited

  1. jca replied to Kramnik's topic in Botting & Bans
    Why ask the question then?
  2. jca replied to Kramnik's topic in Botting & Bans
    Never use the same IP with your mules.
  3. jca replied to xakingas's topic in Scripting Help
    FYI it was breaking because you're calling getInventory() before the inventory is available. Most API functions should be saved for your onLoop() as they require the game to be loaded / an account logged in to work correctly.
  4. Thanks! Maybe, maybe not. It probably helps. Botting times were random, sometimes 8-12 hours, sometimes less than 5. But I was doing other skills in between, mainly farming runs. I’ve also achieved 99 woodcutting and cooking with similar script.
  5. Look at using the stored rocks position and writing a condition that finds the same rock on that position and checks if it doesn’t have ore, rather than checking the referenced rock. private boolean checkRockHasOreAtPosition(Position p){ RS2Object rock = getObjects().getAll() .stream() .filter(obj -> obj.getPosition().equals(p) && Rock.CLAY.hasOre(obj)) .findFirst() .orElse(null); return rock != null; } Something like that
  6. If they are asynchronous just execute them in your onStart or a function that is guaranteed to run once and you’ll also be fine.
  7. jca replied to Malcolm's topic in Scripting Help
    Is the NPC mage already set by the time you reach the condition? In the Boolean function call NPC mage = getNpcs().closest(“mage”); before returning. That may help...
  8. jca replied to RDM's topic in Runescape
    Well good luck on maxing!
  9. inventory#contains will check if any item in the provided array is in the inventory. There's probably a better way, but I use a separate function private boolean inventoryContainsAllItems(String... items){ for( String item : items ){ if ( !getInventory().contains(item) ) return false; } return true; }
  10. Check out my thread below
  11. Ah I’m not really, I just wondered if there was a way. Again, theoretically dealing with a large area feels like it should be handled by region checking. But I can stick with areas, thanks for your thoughts and @Eliot
  12. That’s still defining an area... it’s not an issue. Just if there was an option with regions it feels better to use. But maybe it’s not possible.
  13. Yeah... well that’s one option. The area I need to check is huge (the size of the region, basically 104x104). My logic is if it’s already defined as a region and I could check that then it makes more sense then defining a massive area. But if there’s not really a better way then areas will have to do.
  14. Identify the region my player is in so I can then perform logic, for example @Eliot if ( isInRegion(region) ){ doA(); } else { doB(); }

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.