OH right, I see why. I just downloaded the bot and looked at it...
line 65 it uses
$PROCESS_ID = WinGetProcess($APP_TITLE),
$PROCESS_INFORMATION = _MemoryOpen($PROCESS_ID)
which are based on the title of your client you pass in the .ini file.
However, these values are never used in the rest of the program.
instead at line 77 it does the following:
Global $PID = ProcessExists("elementclient.exe")
Global $MID = memopen($pid)
and it uses these values in the rest of the program. This means it will always pick the first elementclient.exe created. I'd suggest making $PID and $MID take on the values generated by the functions at line 65. Then having multiple copies of the bot with different titles in the .ini should work. (This is assuming those functions at line 65 function as intended of course, I don't know autoIt, so not sure about that.)
Global $PID = $PROCESS_ID
Global $MID = $PROCESS_INFORMATION
Sorry for not looking at the bot before suggesting things :o
line 65 it uses
$PROCESS_ID = WinGetProcess($APP_TITLE),
$PROCESS_INFORMATION = _MemoryOpen($PROCESS_ID)
which are based on the title of your client you pass in the .ini file.
However, these values are never used in the rest of the program.
instead at line 77 it does the following:
Global $PID = ProcessExists("elementclient.exe")
Global $MID = memopen($pid)
and it uses these values in the rest of the program. This means it will always pick the first elementclient.exe created. I'd suggest making $PID and $MID take on the values generated by the functions at line 65. Then having multiple copies of the bot with different titles in the .ini should work. (This is assuming those functions at line 65 function as intended of course, I don't know autoIt, so not sure about that.)
Global $PID = $PROCESS_ID
Global $MID = $PROCESS_INFORMATION
Sorry for not looking at the bot before suggesting things :o