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.

smelting animation

Featured Replies

I can't figure out a proper way to sleep while smiting as the animation is -1 after every bar is retrieved.

Any tips? maybe onMessage when I fail a bar or successful smelt one?

You can do what Jammer said, but bare in mind that if your script has long sleeps here and there, it won't get frequently updated. You could perhaps work with a timer in another thread, but make sure you correctly create/close the thread !

2 hours ago, Cmontryme said:

I can't figure out a proper way to sleep while smiting as the animation is -1 after every bar is retrieved.

Any tips? maybe onMessage when I fail a bar or successful smelt one?

 

Personally I just do a long ass sleep until either:

  1. The player has levelled up / in dialogue
  2. There are no more bars to smelt

For example:

if (clicked widget or whatever) {
    new ConditionalSleep(60_000, 600) {
        @Override
        public boolean condition() {
            return !canSmeltBar() || getDialogues().isPendingContinuation();
        }
    }.sleep();
}

 

Where canSmeltBar() just returns whether or not the inventory contains the required ores to smelt a bar.

Edited by Explv

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.