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.

why does'nt it make it noted

Featured Replies

Hello as you can see I improve alot and fast,

the question is why doesnt the script note the clay before it trades.

the script opens the bank withdraws the items and after that it trade the player so it does everything I want except the note part.

thanks in advance guys x

 if (Banks.DRAYNOR.contains(myPosition()) && !getBank().open()) {                    
                     new ConditionalSleep(3000, 500) {
                            @Override
                            public boolean condition() throws InterruptedException {
                                return getBank().isOpen() && getBank().enableMode(BankMode.WITHDRAW_NOTE); //we will stop sleeping when bank is open.
                            }
                        }.sleep();
                }else {
                    log("Depositing Ore and walking back to mine");
                    
                    getBank().withdrawAll("Clay");
                                                           
                    if    (getPlayers().closest("name") !=null);{
                        if    (getPlayers().closest("name").interact("Trade with")) {
                            new ConditionalSleep(10000, 5000) {
                                @Override
                                public boolean condition() throws InterruptedException {
                                    return getTrade().isFirstInterfaceOpen(); //we will stop sleeping when first interface is open.
                                    }
                                }.sleep();                           
                            }
                        }

 

  • Author

I found it!! love for they guys who are helping me in my journey, love for the people in this community.

I know im making really stupid mistakes and it is ''spoonfeeding'' but ill start my IT classes soon and hopefully I can pay back to the commmunity what I gained.

love

Edited by mousbros

        if (this.bank.isOpen()) {
            switch (this.bank.getWithdrawMode()) {
                case WITHDRAW_ITEM:
                case REARRANGE_SWAP:
                case REARRANGE_INSERT:
                    this.bank.enableMode(Bank.BankMode.WITHDRAW_NOTE);
                    break;
            }
        }

 

check the current mode, if the current mode isn't withdraw note, then set the mode to withdraw note, then perform your banking actions

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.