Originally Posted by
zyga30
i upgrade this after new Adventure patch but you must have
(Friends+) mod and add your own nick name to list
or on alts have only the main character
ClubX = Join pos X
ClubY = Join pos Y
TpX = Join pos X +1
TpY = Join pos Y +1
F10:: ;Stop
ExitApp
F11:: ; Start
ClubX = 276
ClubY = 276
TpX = 277
TpY = 277
CoordMode, Mouse, Window
WinGet, l, list, ahk_exe Trove.exe
Loop %l%
{
if (a_index > 1)
{
d := l%a_index%
WinGet, o, PID, ahk_id %d%
WinActivate, ahk_pid %o%
ControlSend, , o, ahk_pid %o%
Sleep 1000
MouseClick, left, %ClubX%, %ClubY%, ,4
Sleep 100
MouseClick, left, %TpX%, %TpY%, ,4
Sleep 100
ControlSend, , {ESC}, ahk_pid %o%
}
}
WinGet, o, PID, ahk_id %l1%
WinActivate, ahk_pid %o%
I use this script to find coordinates
F11:: ;Start
MouseGetPos, xpos, ypos
Msgbox, The cursor is at X%xpos% Y%ypos%
return
F10::
ExitApp ;Stop