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.

Custom Script Skeleton,

Featured Replies

Hi,

I was wondering if somebody could potentially make a script skeleton for me - so I can add to and finish? 

 

There's some tasks I'm having a hard time with and wondered if someone could help? 

 

  • Walk to nearest Bank 
  • Opens Bank
  • Check for array of items
  • Withdraws Items
  • Walk to specific area

From there I can hopefully learn the functions of the API and start building my ideas - I'd really appreciate any support.

21 minutes ago, subpars said:

Walk to nearest Bank 

Here ya go
 

Spoiler
    private Area[] banks;

    @Override
    public void onStart() {
        setBanks();
    }

    private void setBanks() {
        final List<Area> banksList = new ArrayList<>();

        for (final Field bank : Banks.class.getDeclaredFields()) {
            try {
                banksList.add((Area) bank.get(Banks.class));
            } catch (IllegalAccessException e) {
                e.printStackTrace();
            }
        }

        banks = banksList.toArray(new Area[0]);
    }

 

And can be used like this to walk to nearest bank

getWalking().webWalk(banks);

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.