Skip 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 log items left in bank?

Featured Replies

How would I go about logging on my paint how many items I have left in my bank?

If I'm running multiple accounts it's good to know which account is about to run out of a certain item in it's bank.

 

I've tried something like
 

int itemsLeft = getBank.contains(item);

g.drawString("Items left: " + itemsLeft);

 

but that shows me the amounts left only when I have the bank open. If it's not opened it doesn't show anything.

You would have to store the value in a variable when opening the bank. There is no way to tell without having it open.

you could just write to a file:

if the information is not there, go to bank, get info, dump it to file

this information will be persistent and can/should be updated each time you have the bank open

int amountInBank; 

if (getBank.isOpen) {

    amountInBank = getBank.getAmount(item);

Now it will store the value

You're probably using the item in your script.
Just before u're about to close the bank put the item amount in a variable.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.