miquel011 5 Share Posted September 27, 2018 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.