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.

How to withdraw noted items?

Featured Replies

private void bank() throws InterruptedException{
    		
    		
    		if (!bank.isOpen()){
    			bank.open();
    		}
    		else {
    			bank.depositAll();
    			sleep(random(1000,2000));
    		
    			if (inventory.isEmpty()){
    				if (bank.enableMode(Bank.BankMode.WITHDRAW_NOTE)){
    					log("SWITCHING TO NOTED MODE");
    					bank.withdrawAll("Lobster");
    					sleep(random(1000,2000));
    				}
    			}
    		}
    } 

This is the code. The supposed result is to empty the inventory, then withdraw all the lobsters in the bank not. Cant seem to get it to work though. The log-code excecutes, but it still doesnt switch to noted mode or withdraw any lobsters.

 

Also, if the code is bad/something could be improved, please let me know, I am still learning

Edited by j0kerin0

Enjoy spamming the deposit all button

 private void bank() throws InterruptedException{
        if (!bank.isOpen()){
            bank.open();
        }else{
            if (inventory.isEmpty()){
                if(bank.getWithdrawMode().equals(Bank.BankMode.WITHDRAW_NOTE)){
                    log("SWITCHING TO NOTED MODE");
                    bank.withdrawAll("Lobster");
                    sleep(random(1000,2000));
                }else{
                    bank.enableMode(Bank.BankMode.WITHDRAW_NOTE);
                    sleep(random(1000,2000));
                }
               
            }else{
                bank.depositAll();
                sleep(random(1000,2000));
            }
        }
    }


double edit, never changed bankmode or used it before, dunno how works but should

Edited by Isolate

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.