Jump to content

How to use CLI arguments to launch TRiBot


Recommended Posts

The Basics

TRiBot can be launched with a variety of command line arguments.
The client must be launched from tribot-splash.jar which requires Java 8 or higher to be installed.
TRiBot is meant to be launched in the following format:

java -jar tribot-splash.jar <arguments>

The Arguments

Notes
Example data has been provided to give you a better idea of how to use the arguments.
Please replace the example data with your own data.

TRiBot Username (Required): Specifies the email address you use to login to your TRiBot account. 

--username your_username

TRiBot Password (Required): Specifies the password to login to your TRiBot account. 

--password my_password_123

Character Username (Required): Specifies the username or email address you use to login to the account you want to bot on. This account does not have to be in the TRiBot account manager. If it isn't, it will be automatically added. 

--charusername [email protected].org

Character Password (Required): 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. 

--charpassword my_password

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. This argument is only required if you account has a bank pin. If your account doesn't have a bank pin please leave out this argument. 

--charpin 1234

Character World: Specifies the world you wish to bot on. This can be left out and the client will select a world for you.

--charworld 393

Script (Required): Specifies the name of the script you want the client to run when it launches.

--script "Delta Woodcutter"

Script Arguments: Specifies the argument(s) (or options) 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. 

--scriptargs location:rimmington,tree:willows

Proxy Host: Specifies the IP address of the proxy to use for the entire client. The proxy does not have to be in TRiBot's proxy manager. This argument is required to use a proxy. 

--proxyhost 127.0.0.1

Proxy Port: Specifies the port to use to connect to the proxy. This argument is required to use a proxy. 

--proxyport 1080

Proxy Username: Specifies the username of the proxy to use. This is only required if you're using an authenticated proxy. 

--proxyusername TRiBot

Proxy Password: Specifies the password of the proxy to use. This is only required if you're using an authenticated proxy. 

--proxypassword proxyPassword

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. 

--mem 512

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. 

--sid 18fh931fyon38fasnd9sndpadns9dm7ba73tr

Break Profile: Specifies the name of the break profile you would like your bot to use. The break profile must be created in TRiBot before you can use the argument. 

--breakprofile "Test Break Profile"

LG Path: The full file path to the client you want to use with Looking Glass. In most cases this will be the path to the OpenOSRS.jar. If you're not using Looking Glass do not include this argument. 

--lgpath "C:\Users\User\Downloads\OpenOSRS.jar"

LG Delay: The number of seconds to wait after launching your external client before launching TRiBot. That way if the external client has a longer load time you can ensure the client is loaded before TRiBot tries to find it. 

--lgdelay 10

LG Args: A list of arguments to pass to your external client. This list is strictly optional, but some clients do require extra arguments in order to launch correctly. 

--lgargs "\-\-stable"

FAQ

  • 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! You only need to supply the arguments specified with the required tag.
  • Is there a full example I can look at of what it might look like with all the arguments?
    There sure is! 
    java -jar tribot-splash.jar --username "Tutorial" --password "my_password_123" --charusername "[email protected]" --charpassword "botting_password" --charpin "1234" --charworld "393" --script "Delta Woodcutter" --scriptargs "location:rimmington,tree:willows" --proxyhost "127.0.0.1" --proxyport "1080" --proxyusername "Proxy Username" --proxypassword "secretProxyPassword7" --mem 386 --breakprofile "TRiBot Best Breaks" --lgpath "C:\Users\Tutorial\Downloads\OpenOSRS.jar"  --lgdelay 10 --lgargs "\-\-stable"

     

  • Like 2
  • Thanks 1
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • What to expect from TRiBot moving forward.
        • Thanks
        • Like
      • 10 replies
    • TRiBot 12 Release Candidate

      The TRiBot team has been hard at work creating the last major version of TRiBot before the TRiBot X release. We've noticed many problems with TRiBot 11 with a lot of users preferring TRiBot 10 over 11. We've heard you, so we took TRiBot 10, added the new features introduced with 11, introduced some other new things, and created TRiBot 12. So without further adieu, here's TRiBot 12.
        • Sad
        • Like
      • 39 replies
    • Gradle is a build tool used to accelerate developer productivity.

      We recently setup a Maven repository (TRiBot Central) to make it easier for scripters to create scripts. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-central/-/packages

      Furthermore, we've released a simple Gradle project to make it easy to run TRiBot and develop scripts for it. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-gradle-launcher

      The goals of TRiBot Central are to:

      Deliver updates to TRiBot faster


      Better organize TRiBot's dependencies (AKA dependancies)


      Make it easier to develop scripts for TRiBot


      Make it easier to use and run TRiBot


      Note: TRiBot won't be able to run scripts from within this project until TRiBot's next release.
        • Like
      • 13 replies
    • Hi everyone,

      I'd like to thank everyone for their patience in this transition period. Since last week, we've worked out the remaining bugs with this integration.

      Some users have still been having issues with connecting their forums account to their Auth0 account. To resolve this, we've imported all forums accounts into Auth0.

      Unfortunately, the accounts which were imported today were using an unsupported password hashing algorithm. Hence, random passwords were set during the import.

      What does this mean for me?

      If you've previously linked your forums account to your Auth0 account, you don't have to do anything. Nothing changes for you.


      If you haven't logged in via our new login yet,

      Try logging in with your forums email address and the last password you used


      If you are unable to login, please use the "Forgot password" tool on the login page:
      Follow the instructions to reset your password
       
        • thonking
        • Like
      • 17 replies
    • Hello everyone,

      Last week we tried to roll out Auth0 Login, but we lost that battle. Now it's time to win the war!

      Important changes

      When logging into the client, you'll now have to enter your Auth0 account credentials instead of your forums credentials

      Note: 2FA is still handled through your forums account (for the time being)



      Changes for existing users

      You'll have to link your Auth0 account to your forums account here: https://tribot.org/forums/settings/login/?service=11


      Auth0 accounts have been created for most existing users. Please use your forums email address and password to login.



      Important notes

      Make sure to verify your email address upon creating a new Auth0 account


      When we mention your Auth0 account, we mean your account used for auth.tribot.org as displayed below
      • 81 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...