
Originally Posted by
mrasdf
How do you do this?
Ok, since I'm a cool guy here goes my lil tutorial.
Adding the following code on AutoHotkey's scripts.
Here you put all your chars's acc and pass and the hotkeys that you will use to open em
PHP Code:
^1::
Account = YOUR ACCCOUNT HERE
Pass = YOUR PASS HERE
Title = GUARDS - DWARF HELL
N = 0
Goto, OpenTibia
return
^2::
Account = YOUR ACCCOUNT2 HERE
Pass = YOUR PASS2 HERE
Title = TITLE OF TIBIA WINDOW HERE
N = 1
Goto, OpenTibia
return
OBS1:
^1 means you will click CTRL + 1 to start the script that will open the listed account
^2 means CTRL + 2
...
#1 means WinKey + 1
OBS2:
Variable N is the order where your script is in the xeno's settings folder as the following example:

And here is where the magic happens:
PHP Code:
OpenTibia:
Run, C:\\Program Files\\Tibia\\Tibia.exe, C:\\Program Files\\Tibia
WinWaitActive, Tibia
WinMaximize, Tibia
Goto, LoadXeno
return
LoadXeno:
Run, C:\\Program Files\\XenoBot\Injector.exe, C:\\Program Files\\XenoBot
Sleep 1000
WinActivate, XenoBot Injector
Sleep 2000
ControlClick, x150 y180, XenoBot Injector
Sleep 50
ControlClick, x150 y180, XenoBot Injector
Sleep 50
ControlClick, x150 y180, XenoBot Injector
Sleep 150
ControlClick, x205 y54, XenoBot Injector
Sleep 50
ControlClick, x205 y54, XenoBot Injector
Sleep 300
ControlClick, x323 y142, XenoBot Injector
Sleep 50
ControlClick, x323 y142, XenoBot Injector
Sleep 500
WinActivate, Tibia
Sleep 500
Click 75 84
Loop, %N%
{
Sleep 150
Click 918 410
}
Sleep 500
Click 950 483
Sleep 300
Click 763 565
Sleep 300
Click 958 565
Sleep 300
IfWinActive, Tibia
Goto, LoadChar
return
LoadChar:
Sleep 500
Click 110 728
Sleep 810
SendInput %Account%
Sleep 702
SendInput {Tab}
Sleep 800
SendInput %Pass%
Sleep 901
IfWinActive, Tibia
WinSetTitle, %A_ThisHotkey% - %Title%
return
OBS3: Backslashes failed, where you see C:Program FilesXenoBotInjector.exe understand as C:\Program Files\XenoBot\Injector.exe
This script will take you to your account, you will have to select your char manually and also open scripts manually but its still usefull if you hate to open 10000 accounts.
Result is: