miquel011 4 Share Posted September 27, 2018 (edited) 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 September 27, 2018 by miquel011 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now