Run multiple bots from the same .exe by ELGIMIKEROX
Run multiple bots from the same .exe
source:
Just let me simplify the explanation from the OPENKORE Official Site.
If you run a lot of bots you may wish to run many bots from the same folder.
It reduces the maintenance required and gives you more time to bot.
This is done by specifying certain command line parameters (options) which are available.
You may wish to create a shortcut to your bot first,
then open the shortcut properties and add these parameters there.
What is a command line parameter?
The command line in this case refers to the writable box shown below.
Parameters mean extra information that you want to program to process when it loads.
In this case, it would be telling openkore the user specified location of folders or files to load.
A. Folder options:
openkore
|-- openkore.pl
|-- control
| |-- GltCross
| | |-- config.txt
| | |-- item_control.txt
| | |-- pickup ...
| | |-- ....
| |-- RuneKnight
| | |-- config.txt
| | |-- item_control.txt
| | |-- pickup ...
| | |-- ....
|-- fields
|-- logs
|-- plugins
|-- src
|-- tables
--control=path
path is the path for the control folder. Example for the location of control folder
D:\Openkore\control\GltCross below:
D:\Openkore\start.exe --control=control\GltCross
D:\Openkore\start.exe --control=control\RuneKnight
B. Specific file options:
openkore
|-- openkore.pl
|-- control
| |-- config_1.txt
| |-- config_2.txt
|-- fields
|-- logs
|-- plugins
|-- src
|-- tables
There are also some specific files which you can specify using the command line:
--config=path\file
path\file specifies which config.txt to use. Example for bot file D:\Openkore\control\config_1.txt below:
D:\Openkore\start.exe --config=control\config_1.txt
D:\Openkore\start.exe --config=control\config_2.txt
C. Combined FOLDER OPTION and SPECIFIC FILE
with different config.txt
openkore
|-- openkore.pl
|-- control
| |-- Harvester
| | |-- Configurations
| | | |-- config_1.txt
| | | |-- config_2.txt
| | |-- item_control.txt
| | |-- pickup ...
| | |-- ....
|-- fields
|-- logs
|-- plugins
|-- src
|-- tables
--control=path --config=path\file
D:\Openkore\control\ --control=control\Harvester --config=control\Harvester\Configurations\config_1.txt
D:\Openkore\control\ --control=control\Harvester --config=control\Harvester\Configurations\config_2.txt
Now, where done with the basic part how to run multiple from same .exe,
but to many shortcut if that is what will be doing.
So i make a batch file (.bat) to run may bot at once.
this will be just multiple bot with different config.txt
1. Create text document (filename.txt)
2. then Rename it filename.bat or filename.cmd
3. After creating the filename.bat, open it by notepad.
4. follow this format
start "ELGIMIKEROX" /D<LOCATION OF YOUR OPENKORE> wxstart.exe <EXTENSIONS>
NOTE:
In our examples the LOCATION of our OPENKORE is
D:\Openkore
EXTENSIONS this is the mention a wail ago
At the 1 line lang yan sa text document, the only chance na maging 2 lines yan ehh pag masyadong malayo yung location ng bot mo.
In this part lets now create the batch file or our example in A B C (Folder Option, Specific File & COmbined)
start "ELGIMIKEROX" /DD:\Openkore wxstart.exe --control=control\GltCross
start "ELGIMIKEROX" /DD:\Openkore wxstart.exe --control=control\RuneKnight
pause
start "ELGIMIKEROX" /DD:\Openkore wxstart.exe --config=control\config_1.txt
start "ELGIMIKEROX" /DD:\Openkore wxstart.exe --config=control\config_2.txt
pause
start "ELGIMIKEROX" /DD:\Openkore wxstart.exe --control=control\Harvester --config=control\Harvester\Configurations\config_1.txt
start "ELGIMIKEROX" /DD:\Openkore wxstart.exe --control=control\Harvester --config=control\Harvester\Configurations\config_2.txt
Pwede rin natin lagyan ng
pause sa pagitan ng mga lines or every 2 lines para
wait natin muna mag run ung isa before ulit run yung next, atleast we will just hit enter once at a time.
HAPPY BOTTING BOTTERS.