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.

abc3

Members
  • Joined

  • Last visited

  1. Do you think a player will perfectly click 3 rocks in order with no mistakes for any more than a few minutes? No, because a human doesn't have perfect memory, a human makes mistakes, and the game can be unpredictable. You'd be better off just checking for rocks that are facing you or facing next to you first. That's more how real players mine. Then if none are immediately close you mine the other rock.
  2. Doing it your way is way more bot like, clicking the same rocks in the same order forever. A player just clicks the closest rock when it spawns. More random is better. Also your script should be stateless. I.e. we don't keep track of what we have done, we simply read the game state and decide what to do each time.
  3. Don't invest a lot of money into it until you have enough practice and know how to make it back
  4. You need to update your script
  5. import org.osbot.rs07.utility.ConditionalSleep; import java.util.function.BooleanSupplier; public class Sleep extends ConditionalSleep { private final BooleanSupplier condition; public Sleep(final BooleanSupplier condition, final int timeout) { super(timeout); this.condition = condition; } public static boolean sleepUntil(final BooleanSupplier condition, final int timeout) { return new Sleep(condition, timeout).sleep(); } @Override public final boolean condition() { return condition.getAsBoolean(); } } Usage Sleep.sleepUntil(() -> !Sleep.sleepUntil(api.myPlayer()::isAnimating, random(4000, 8000)), random(20000, 40000)) Sleep until haven't animated for 4-8 seconds, returns boolean whether condition was met or timed out
  6. Look at the ConditionalSleep class, it uses a loop but allows interruption You basically want a nested condition, sleep until you haven't animated for x seconds (sleep until the nested sleep fails)
  7. Injection is the best option at the moment
  8. You need java 8 not 11
  9. abc3 replied to Patrick's topic in Releases
    thanks
  10. Switching tabs is still broken
  11. @space3045 fixed now
  12. Any script using the broken hooks is broken... now take your meds
  13. The client is broke, whether you use a premium script or not...

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.