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


    miquel011

    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

     

     

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

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