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.

Bank withdraw Mode snippet

Featured Replies

created my own method, because the osbot api once is bugged.

	public boolean bankWithdrawModeAsItem()	{
		return script.configs.get(115) == 0;
	}
	
	public boolean setBankWithdrawMode(boolean asItem)	{
		if (script.bank.isOpen())	{
			int parent = 12;
			int child = asItem ? 19: 21;
			
			if (script.interfaces.getChild(parent, child) != null)
				return script.interfaces.getChild(parent, child).interact("item", "note");
		}
		return false;
		
	}

Edited by josedpay

  • Author

You should consider sending these fixes to the sdn managers wink.png

:D i mean i like to post them up so everybody could see it. Maybe even for one of the managers @Ericthecmh  to see them.

Slightly modded this (ChildInterface is a custom class):

	public static boolean setBankWithdrawMode(Script script, boolean asItem) throws InterruptedException {
		ChildInterface modeInterface = new ChildInterface(script, 12, asItem ? 19 : 21);
		if (modeInterface.exists() && modeInterface.interact(null)) {
			MethodProvider.sleep(MethodProvider.random(300, 600));
			return asItem ? BankingMethods.isBankWithdrawModeItem(script) : !BankingMethods.isBankWithdrawModeItem(script);
		}
		return false;
	}
  • 3 weeks later...
Guest
This topic is now closed to further replies.

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.