This version of the command line starter uses arguments to run the client instead of the .xml file. These arguments specify things like the script to use, the account to use, and so on.
TRiBot CLI requires a very specific version of the JDK (Java Development Kit) to be installed and to be the default Java on your computer. First, install Java 8 update 121. Then, make sure it is the default Java by opening up the console (command prompt / terminal) and typing
The result should exactly match the following:
java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
For the sake of the examples, example data has been provided to give you a better idea of how to use the arguments.
username This argument is required It specifies the username of the account you want to bot on. This is the username used to login to the account, which may differ from the in-game username. Also, the account does not have to be in the TRiBot account manager. If it isn't, it will be automatically added.
password Specifies the password of the account you want to bot on. If this password is different than the password of that same account in the TRiBot account manager, then the account manager will be updated to this password. You must also provide the password to update pin, world and skill
pin Specifies the bank pin of the account you are botting on. If this pin is different than the pin of the same account in the TRiBot account manager, then the account manager will be updated to this pin. Only use this if your account has a bank pin, otherwise leave out this argument.
world This argument specifies the world you wish to bot on. This can be left out and the client will select a world for you.
--script "Delta Woodcutter"
script This argument is required It specifies the script you want the client to run when it launches.
script_argument Specifies the argument(s) you want the script to use when it starts. (Note: These must be supported by the script and not every script will support these. Please ask the script author or check the script's thread.)
proxy_host Specifies the proxy to use for the entire client, and is not tab specific. This proxy does not have to be in TRiBot's proxy manager.
proxy_port Specifies the port of the proxy to use for the entire client.
proxy_username Specifies the username of the proxy to use for the entire client.
proxy_password Specifies the password of the proxy to use for the entire client. Not all proxies will have a username and password.
disable_firewall Use this argument if you want to disable the TRiBot firewall.
enable_firewall Use this argument if you want to enable the TRiBot firewall.
mem Specifies the heap size the client will use. This can be left out, and the client will default to your previously selected heap size.
sid Specifies the SID of the TRiBot account you want to bot on. This can be left out, and the client will use the SID from the last account to log in to TRiBot on your computer.
verbose Use this argument if you want the client to run in verbose mode. Verbose mode tells the client to print out information to the console you ran the client from.
FAQ (Frequently asked questions):
Does the order of the arguments matter?
No, you can write the arguments in any order you choose. As long as the arguments are written in the proper format, the client will handle them.
Do I need to supply all the arguments?
No, most arguments can be left out! If you're keen on using the .xml file then you only need the starter_xml argument. If you'd prefer to use arguments only then you only need the script and username arguments.
Do I have to wrap all of my arguments in quotes?
No, this is actually discouraged. However, you do need to use quotes to surround any arguments that contain a space (such as script names or script arguments). For example, in the Script example implementation quotes were used to surround Delta Woodcutter as the name of the script contains a space.
When is Linux/Mac OSX support coming?
As soon as possible.
I don't understand how to do this, can you help me?
We currently aren't offering support for this feature, as it is in it's beta phase. We recommend you use the built in client starter.