-
Notifications
You must be signed in to change notification settings - Fork 1
Command line options (Pre v1.2.0)
NOTE: These options are removed as of version 1.2.0, since they have moved into the UI.
Autobet includes several command-line options described in here.
- --help
- --debug and --debug:full
- --headless
- --no-web-server
- --show-cmd
- --set-custom-betting-pos
- --set-betting-pos-template
- --time-sleep
- --clicks
- --run-configurator
- --store-config-json
- --load-config-json
- --save-settings
Displays all available commands and their syntax
Autobet.exe --help
to display help
------------------- Help -------------------
General options
--debug Show log in cmd and save log file
--debug:full Show log in cmd, save log file and some debugging images into a zip folder
--headless Run the program in headless mode (without UI)
--no-web-server Start without web server
--show-cmd Start and show the log (similar to --debug just without saving it)Settings
--set-custom-betting-pos Set a custom increase bet (>) position (one-time value). Overwrites any other option.
--set-betting-pos-template <gameWidth, pos>... Set increase bet (>) position templates for different game resolutions
--time-sleep Set the sleep time during which the race is running
--clicks Set the number of clicks to place a bet (if not 10000$ are placed)
--run-configurator Run the configuration tool
--store-config-json Store a config file as json on the users Desktop
--load-config-json Load a json config file from the users Desktop
--save-settings Save the current settings given by the command line
--delete-settings Delete the settings fileUpdate options (Do not use)
--afterUpdate Clean up after update
--runUpdate [<args...>] Run the updateDevelopment options (Do not use)
--signInstaller Sign a installer file
--checkSignature Check a signature
See the Debugging page for further information.
Starts the program without the user interface and shows logging information in the console
Autobet.exe --headless
to start in headless mode
Start without the web server, so you will lose the ability to view stats on a different device while the program is running
Autobet.exe --no-web-server
to start without the web server
Shows logging information. Works like --debug
but does not save any logging information to your computer. Only displays it.
Autobet.exe --show-cmd
to show logging information in the cmd
Set a position for the 'increase bet' button in pixels starting from the right side of your screen. This value cannot be saved and will overwrite any other setting.
-
pos
: the position of the 'increase bet' button, in pixels, e.g. 1500.
Autobet.exe --set-custom-betting-pos 1500
to set the position to 1500
Set the position of the 'increase bet' button for different game resolutions. Must be combined with --save-settings
to save the settings to your computer, rather than discarding them at program termination.
-
gameWidth
: the width of your game window, e.g. 1920. -
pos
: the position of the 'increase bet' button in pixels starting from the left of the game window.
Autobet.exe --set-betting-pos-template 1920 1500
to set the position of the button to 1500 when the games width is 1920 pixels
Autobet.exe --set-betting-pos-template 1920 1500 2560 2000
to set the position of the button to 1500 when the games width is 1920 pixels and set the position to 2000 when the games width is 2560 pixels.
To store the settings so they will be always applied at program startup, combine with the --save-settings
option. All newly set settings will be stored, plus any older setting, not overwritten by this command will also be stored:
Autobet.exe --set-betting-pos-template 1920 1500 --save-settings
to set the position of the button to 1500 when the games width is 1920 pixels and save it to your hard drive.
Set the time to sleep between the bets. Increase when some races take longer, so the program is unable to start a new one (for example when the 'transaction pending' message comes up and takes longer than usual on your machine/internet connection), decrease to start bets slightly earlier and save some time (not actually recommended). Default is 36 seconds. Combine with --save-settings
to not discard this setting at program termination.
-
time
: The time a race takes to finish (usually worst-case scenario, to not waste time not placing bets) in seconds, default is 36.
-
Autobet.exe --time-sleep 36
to set the time a race takes to 36 seconds. -
Autobet.exe --time-sleep 36 --save-settings
to set the time a race takes to 36 seconds and save this value.
Set the number of clicks it takes to place a max bet. Use only when not $10000 are placed, when a bet is placed. May be useful on devices with lower fps, on these a higher click count is required. Combine with --save-settings
to not discard this setting at program termination.
-
numClicks
: a number of clicks to place a bet. The default is 31. The number given may not represent an actual number of clicks, due to synchronization issues when the game is running at lower fps, using a higher number than the actual number of clicks required is recommended.
-
Autobet.exe --clicks 32
to set the number of clicks required to place a max bet to 32. -
Autobet.exe --clicks 32 --save-settings
to set the number of clicks to 32 and save this setting.
Run a configurator tool to configure the position of the 'increase bet' button with different game resolutions. Any conflicting option will be overwritten. Settings will be stored at program termination
Autobet.exe --run-configurator
- Start the game and run the program with this option activated.
- Move your mouse over the 'increase bet' button.
- Press
CTRL+SHIFT+F10
to save the position. - Change the resolution of the game to different values (if required) and repeat step 2 and 3 as often as you like. If you repeat this with a previously saved game resolution, the previously saved position will be overwritten.
- Press
CTRL+SHIFT+F9
to exit and save
Run "GTA Online Autobet.lnk" --run-configurator
(Using a shortcut to the program)
[17-08-2020 19:14:03] [main.cpp:1023] [DEBUG] Settings file exists. Loading it
[17-08-2020 19:14:03] [settings.cpp:65] [DEBUG] Loading winnings from file
[17-08-2020 19:14:03] [utils.cpp:140] [DEBUG] Made process DPI aware
You have started the configuration assistant for the betting increase button (>)
move your mouse over the button and press CTRL+SHIFT+F10
you can the edit your game's resolution to add more values
Press CTRL+SHIFT+F9 to exitThe game is not running
The game is now running
Window width changed to 1920
(Pressing CTRL+SHIFT+F10
)
Saving x pos: 1075 and game width: 1920
(Pressing CTRL+SHIFT+F9
)
Exiting now. Bye.
Store a config file in the JSON format on your desktop to edit some configuration values. Will exit with this option enabled. The clicks needed to place a max bet can be changed, the time a race takes can be changed and the resolutions of the game with the position of the 'increase bet' button can be changed and more of these can be added.
Autobet.exe --store-config-json
to store a config file on your desktop.
The configuration file may look something like this:
{
"clicks": 31,
"posConf": [
{
"resolution": 1920,
"value": 1075
},
{
"resolution": 2560,
"value": 2000
}
],
"time_sleep": 38
}
Loads a JSON config file previously stored by '--store-config-json' and edited by you from your desktop and saves the settings made in the JSON file.
Autobet.exe --load-config-json
to load the 'autobet_config.json' file from your desktop.
Saves your current settings made with other command-line options to apply them at program startup. Will overwrite any conflicting options.
-
Autobet.exe --set-betting-pos-template 1920 1500 --clicks 32 --time-sleep 37 --save-settings
to set the position of the 'increase bet' button to 1500 when the width of the game is 1920 pixels, set the clicks needed for a max bet to 32, set the time a race takes to 37 seconds and save all these settings. - See
--set-betting-pos-template
,--time-sleep
and--clicks
options for further usage.
Autobet. © MarkusJx 2022. Licensed under the MIT License.