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
  • Quickstart error


    miquel011
     Share

    Recommended Posts

    this is my bashscript, fails the run of the game(obviously im not vip, making it work before i go vip).

    USER = my username folder. changed some stuff.

    The account username and password args are not the same in length! Failed to start client!

    #!/bin/bash
    OLDACCOUNT="$(cat currentlyUsing.txt)"
    WORLD=8
    TRADENAME=name
    if [ -z "$OLDACCOUNT" ]
    then
            echo NOTHINGLUL > currentlyUsing.txt
            OLDACCOUNT="$(cat currentlyUsing.txt)"
    fi
    ACCOUNT="$(cat accounts.txt | grep -vP ${OLDACCOUNT} | head -1)"
    echo $ACCOUNT
    echo $ACCOUNT > currentlyUsing.txt
    array=(${ACCOUNT//:/ })
    echo ${ACCOUNT} >> usedAccounts.txt
    echo $WORLD
    echo $TRADENAME
    USERNAME=${array[0]}
    PASS=${array[1]}
    echo $USERNAME
    echo $PASS
    java -Xmx255M -jar -Xbootclasspath/p:/home/USER/DreamBot/BotData/client.jar /home/USER/DreamBot/BotData/client.jar -username "xxxx" -password "xxx" -accountUsernames $USERNAME -accountPasswords $PASS -fps 15 -world 301 -script "scriptname" -params $TRADENAME $WORLD
    grep -v $ACCOUNT accounts.txt > Temporal.txt && mv Temporal.txt accounts.txt

     

     

    Edited by miquel011
    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
     Share

    ×
    ×
    • 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.