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.

gatorwhiter

Members
  • Joined

  • Last visited

Everything posted by gatorwhiter

  1. Thank you both for your replies! I ended up switching to a conditionalsleep and using getBank and it worked fine.
  2. If the bot misclicks while withdrawing, which has happened and is the reason I tried a while loop, will it try and correct itself??
  3. Hi all, I'm running into an issue where a bank withdraw loop I have (it's looped to make sure we withdraw the right amount of items as sometimes the client misclicks, see code below) seems to be spawning extra threads. Any time the loop has to go through 2 or more passes (which is rare), the client starts trying to do multiple actions at once and I can tell from the log that it's running through the loop with multiple instances. No idea why it's spawning this extra process/thread (not sure what exactly it's doing), but here's the code in question from my withdrawIngredients function: if(!Banks.EDGEVILLE.contains(myPosition())) { goToBank(); } while(!bank.isOpen()) { bank.open(); new ConditionalSleep(7000, random(50, 450)) { @Override public boolean condition() throws InterruptedException { return bank.isOpen(); } }.sleep(); } while(inventory.getAmount("Super strength(4)") != min(amountSuperStr, 7) || inventory.getAmount("Super attack(4)") != min(amountSuperAtk, 7) || inventory.getAmount("Super defense(4)") != min(amountSuperDef, 7) || inventory.getAmount("Torstol") != min(amountTorstol, 7)) { if(!inventory.isEmpty()) bank.depositAll(); bank.withdraw("Super strength(4)", 7); bank.withdraw("Super attack(4)", 7); bank.withdraw("Super defense(4)", 7); bank.withdraw("Torstol", 7); sleep(random(150,300)); } bank.close(); The amountX parameters are how many are left in the bank, we either want the amount remaining or 7. Thanks for reading!

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.