22 Ноябрь 2017, 08:34:36
Язык :
 

АвторТема: Running a bot with the arguments  (Прочитано 4255 раз)

Оффлайн Hronos

  • Администратор
  • Ветеран
  • *****
  • Сообщений: 1 460
    • Просмотр профиля
    • rubot
Running a bot with the arguments
« : 19 Сентябрь 2011, 10:45:31 »
Arguments can be set to run in different ways.

Method 1.
Run the command line. CMD
Add each argument with a space.
For example:
C:\firefox.exe -waypoints="Z:\waypoints" -profiles="X:\All my profiles"  -data="C:\" -sound="D:\sounds" -logs="D:\logs" -license="C:\license.txt" -window="AION Client" -client_id=0 -start=0

Method 2.
Create a shortcut to the application.
Open the properties of the shortcut, and specify the following "exe" you need arguments.

Arguments are optional, but they can be used to run the bot to specify certain parameters.
If the path to a file or folder contains spaces, the entire path must be enclosed in quotation marks.
For example: -path="C:\Program Files"

Values of arguments.
Name.Function.
-waypointsthe full path to the folder with the waypoints of the bot, as well as with crafting settings. If not specified, it is located in the "waypoints" folder below the bot.
-profilesthe full path to the folder with the profiles of the bot. If not specified, it is located in the "profiles" folder below the bot.
-dataThe full path to the folder with the *.db files and the configuration of the radar. If not specified, then placed in a folder with a bot.
-soundThe full path to the folder with audio files *.mp3. If not specified, it is located in the "sounds" folder below the bot.
-logsThe full path to the folder with log files. If not specified, it is located in the "logs" folder below the bot.
-pathThe full path to the folder with all files of the program, but the license file. When using this argument, the arguments of -waypoints -profiles -data -sound -logs are ignored.
-licenseThe full path to the license key file. If not specified, then placed in a folder with the bot in your update.ini.
-windowSpecify the exact name of the game client window to automatically select it at startup.
-client_idSpecifies the index version of the game client. Starting from zero. Zero index - the first.
-startThis argument will automatically start the bot, if the arguments have been processed successfully "-window" and "-client_id". The value argument specifies the index of the bot mode in which you want to run. Starting from zero.
Auto Attack = 0, collection of resources = 1, etc.
If not specified, then run in a mode that was used previously.
-start_profileThis argument will load the specified profile file. Should be given a file in the folder with the profiles, or the full path to any file.
If the full path to the file, then unchecked save the profile before closing the bot.

Ps: If you specify in the settings folder, or file the bot verifies the existence of processes and argument only if the path is correct.
Pss: Paths to directories can be specified as the final slash "\", and without it.

Оффлайн chipsi

  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Running a bot with the arguments
« Ответ #1 : 25 Сентябрь 2011, 01:27:52 »
sounds good i will test it. are you supporting UNC paths? like-> \\servername

Оффлайн Pardon

  • [1] Рекрут
  • Старожил
  • *
  • Сообщений: 328
    • Просмотр профиля
Re: Running a bot with the arguments
« Ответ #2 : 27 Сентябрь 2011, 01:32:12 »
sounds good i will test it. are you supporting UNC paths? like-> \\servername
UNC is supported. You can try before ask )
« Последнее редактирование: 28 Ноябрь 2011, 10:15:10 от Pardon »