Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • BankeCache is always empty

    Recommended Posts

    i need to check an item in bank without opening or going to bank so i try to use Bank.getBankHistoryCache() . but when i try to check it i found an empty list >

    this is my try 

    public int onLoop() {

                Logger.log("bank cache is empty");
            }else {
                for (Item item : Bank.getBankHistoryCache()) {
                    Logger.log("BankHCache   " + item.getName() + "      ::      " + item.getAmount());

    return 500;


    this is the results :

    5:25:12 PM [SCRIPT] bank cache is empty

    5:25:12 PM [SCRIPT] bank cache is empty

    5:25:13 PM [SCRIPT] bank cache is empty

    5:25:14 PM [SCRIPT] bank cache is empty

    5:25:15 PM [SCRIPT] bank cache is empty

    5:25:16 PM [SCRIPT] bank cache is empty

    5:25:16 PM [SCRIPT] bank cache is empty

    5:25:12 PM [SCRIPT] bank cache is empty

    Link to comment
    Share on other sites

    2 hours ago, abouhanafy87 said:

    Any idea to read bank without opening like quest helper plugin in runelite 

    Make your script create a unique file for each account that stores the contents of the bank and instead of using bank cache, read from the file to check. update the file every time you interact with banking. 

    OR...... now hear me out........ just go open the bank when you login

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.