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.

getBot().getRandomExecutor().getTimeUntilBreak()

Featured Replies

1. OSBot Version (do NOT put "current version", be specific)  2.4.108

2. A description of the issue. Include relevant logs. In one of my scripts I use the method to determine if the character should go and wait at the bank for a break to happen to avoid getting stuck in combat whilst attempting to break. This apparently works fine for most, as only 2 users have complained, it also works fine for me. However, the 2 users that complained have had the script run to bank and idle as if it were waiting for a break to kick in, they both reported having breaks turned off yet this method apparently returned true. I've tried to replicate the issue and have not been successful. If it's any help, the reports came in within the last few days, before that no users complained about it.

Code used:

 getBot().getRandomExecutor().getTimeUntilBreak() < 3

3. Are you receiving any errors in the client canvas or the logger? No.

4. How can you replicate the issue? Personally I could not, a couple of my users have the issue occur even when breaks are not enabled.

5. Has this issue persisted through multiple versions? If so, how far back? I am not sure.

Edited by Molly

your signature is fucking huge.

20 minutes ago, Imateamcape said:

wouldn't timeUntilBreak() return a -1 when breaks are off, effectively making it less than 3?

yes

SII :???:

:doge:  ;)

But yes, you might want to check that breaks are enabled

 

Edited by Explv

  • Alek locked this topic
Guest
This topic is now closed to further replies.

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.