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.

Method Request - Gets Time Until Next Break

Featured Replies

Method: 

If time until next break > or <

(I don't think we need all the operators since the timer is always running when not breaking)

int	getTimeUntilNextBreak()
Gets the time (in seconds) until the next break will occur.

 

Why is this useful?

As of right now, there is no way to make the bots do a particular action when the breaking timer is a certain value without using custom breaks. The problem with custom SF breaks is that you have to turn off OSBot breaks for it to work properly. Not every SF script and/or SDN script supports custom breaks, making the turning on/off of OSBot breaks a bit dangerous/tedious (especially when using cli) since you might forget to turn them back on when using another script and the bot will go YOLO for 12 hrs.

How can it be used?

It's all about dangerous activities that can result in the death of the bot. For example, say you're doing Undead Druids. One could tell the bot to walk to a safe area if the timer until next break is, say, less than 10 seconds. The applications are many and it would give scripters more flexibility when writing scripts, especially on activities where the bot can die or any other inconvenient situation caused by breaking on the spot.

Edited by FushigiBot

  • Author

Bribe attempt: I'll make a Vyrewatch Sentinel Fighter for the network if this is added. 😎

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.