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
  • HowTo: QuickStart w/ Linux


    Donald Trump

    Recommended Posts

    513fa41332.png

     

    Intro

     

    This guide aims to improve anyone's knowledge of QuickStart whilst using Linux, I will focus primarily on Ubuntu (VPS Setup Guide). Not only will I focus on the features available to you but also some methods you can use to actually automate your gold farming. QuickStart is a feature available to VIP members & Above that allows additional parameters to be used for automation purposes, you can purchase VIP at the Store or via the Vouchers Section. Within this guide I'll presume you have a certain level of technical competence.

     

    Parameters Available

     

    DreamBot:

    proxy "Proxy Nickname"
    script "Script Here"
    world "World Number"
    username "DB Username"
    password "DB Password"
    account "Account Nickname"
    version "Script Version"
    fps "FPS Limit"
    params "Parameters for script"
    accountUsernames "Bot Username"
    accountPasswords "Bot Password"

    Java:

    Dhttp.proxyHost "IP"
    Dhttp.proxyPort " Port"
    Dhttp.proxyUser "User"
    Dhttp.proxyPassword "Pass"

    -Xmx1000M (1000 = 1Gb = RAM)

     

    Xbootclasspath:

    -Xbootclasspath/p:/home/USER/DreamBot/BotData/client.jar /home/USER/DreamBot/BotData/client.jar

     

    QuickStart Standard Example:

     

    java -Xmx1500M -jar -Xbootclasspath/p:/home/USER/DreamBot/BotData/client.jar /home/USER/DreamBot/BotData/client.jar -username "usernameexample" -password "passwordexample" -account "account1" -fps 30 -world 302 -script "TrumpTrade" -params "true 0 120000"

     

     

    QuickStart Advanced Example:

     

    java -Xmx1500M -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=1080 -Dhttp.proxyUser=user -Dhttp.proxyPassword=pass -jar -Xbootclasspath/p:/home/USER/DreamBot/BotData/client.jar /home/USER/DreamBot/BotData/client.jar -username "usernameexample" -password "passwordexample" -accountUsernames $EMAIL -accountPasswords $PASS -fps 30 -world $worldnum -script "dinhQuester" -params STOP COOKS_ASSISTANT SHEEP_SHEARER ROMEO_AND_JULIET

     

     

     

    Explanation of Ampersand (&):

    The & would normally be used in bash scripts, if you don't want the terminal to stay on the java you can use & which means it could be used to run multiple clients through one terminal. If you don't use it then only 1 client will run per terminal and will move to the next line once the client is closed.

     

    Useful Stuff

     

    Automatic World Chooser

     

     

    This code will basically choose one of the worlds within the array for your world. These are F2P worlds, of course you can adjust to your liking. Then you simply put $worldnum within bash script, remember to add the code before executing the client.

     

    world[0]=393
    world[1]=394
    world[2]=301
    world[3]=335
    world[4]=384
    world[5]=383
    world[6]=316
    world[7]=326
    world[8]=382
    world[9]=308
    worldnum=$(shuf -i 0-9 -n 1)
    worldnum=${world[$worldnum]}

     

     

     

    Extract USER:PASS from Bot List & Move to Used List

     

     

    This will extract the top line of botlist file then it'll turn it into two variables $EMAIL & $PASS which is then used in the java line. It'll then move the user:pass to the usedlist file and delete the 1st line of the botlist file.

     

    getacc=$(head -1 /home/USER/Desktop/scripts/example/botlist)
    DETAIL=$getacc
    EMAIL=${DETAIL%:*}
    PASS=${DETAIL##*:}
    echo $getacc >> /home/USER/Desktop/scripts/example/usedlist
    sed -i -e "1d" /home/USER/Desktop/scripts/example/botlist

     

     

     

    Python ListCheck

     

     

    These two examples can be used to ensure you only run if the botlist actually has some details left to use. The python was extracted from another script of mine and i left in some imports that probably aren't required.

     

    Python:

    #ToLaunch/Reqs
    import subprocess
    import time
    import re
    import os
    import sys
    from subprocess import STDOUT,PIPE
    #Start
    lines = sum(1 for line in open('/home/USER/Desktop/scripts/example/botlist'))
    if lines <= 1:
        f= open ("/home/USER/Desktop/scripts/example/liststatus","w")
        f.write('exit')
        sys.exit()

     

    Bash:

    python /home/USER/Desktop/scripts/example/listcheck.py
    sleep 5s
    statuscheck=$(head -1 /home/USER/Desktop/scripts/example/liststatus)
    if [[ $statuscheck == *"exit"* ]]; then
    echo "Status Check Returned EXIT, Refill botlist."
    exit 1
    fi

     

     

     

    My Other Guides:

    Proxy Settings
    Automatic VPS Setup Script
    How to Purchase & Redeem a Voucher
    Client Settings
    Break System
    User FAQ

     

    +1 for Guide?

     

    Any Questions? Just Reply!

     

    Any Suggestions? Just Reply!

    Link to comment
    Share on other sites

    Thanks, this is helpful. I've read several topics going into detail about using quick start, but this is much more clear.

    Link to comment
    Share on other sites

    Good guide.

    Also, If you want to have the client leave .txt log files you can simply add this to the end of the bash script

    java -jar blabla 2>&1 | tee "log_$(date +'%s').txt"
    
    Link to comment
    Share on other sites

    • 2 months later...

    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.