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
  • Try asking for help in the chatbox
  • Script not working on windows client


    Recommended Posts


    I'm having a kind of a weird problem. My script I wrote runs perfectly on my dreambotclient on Mac OS but when I run the same script on a windows machine.
    It act's rather strange, all of a sudden can't detect what's in my inventory etc.
    Script runs flawlessly on Mac tho

    if (FallyBank.contains(myself) && !inv.contains("Rune essence")) {
                //open bank and grab them 
    private void dobanking() {
            log("Checking To See If Banking Needed");
            NPC banker = getNpcs().closest(npc -> npc != null && npc.hasAction("Bank"));
            if (banker != null && banker.interact("Bank")) {
                if (sleepUntil(() -> getBank().isOpen(), 9000)) {
                    getBank().withdraw("Rune essence",27);
                    if (sleepUntil(() -> getInventory().contains("Rune essence"), 8000)) {
                        if (getBank().close()) {
                            sleepUntil(() -> !getBank().isOpen(), 8000);

    These are the functions it keeps on banking over and over again. trying to find the banker through the banking screen.

    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.