7upp@
the first 3 lines are the only thing u need to change
jump_delay is the delay time in mil-sec, so 1000 = 1 sec
X_address is the same thing as COELSE X-address, u need to change this if the address is incorrect
Spam_F1_speed is the spam delay which 5000 = 5 sec
other than that, it loads the same path ini file as COELSE, so after u use COELSE to save the path, u can load it here
the first 3 lines are the only thing u need to change
jump_delay is the delay time in mil-sec, so 1000 = 1 sec
X_address is the same thing as COELSE X-address, u need to change this if the address is incorrect
Spam_F1_speed is the spam delay which 5000 = 5 sec
other than that, it loads the same path ini file as COELSE, so after u use COELSE to save the path, u can load it here
Code:
Jump_Delay = 1000
X_address = 0x69158C
Spam_F1_Speed = 5000
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
SetFormat, integer, hex
adxxx:=X_address
adyyy:=adxxx + 4
SetFormat, integer, d
WinGet,pid, PID, [C
ProcessHandle := DllCall("OpenProcess", "int", 2035711, "char", 0, "UInt", PID, "UInt")
msgbox, Load saved coordinates
FileSelectFile, savelist, 3 ,,Load list, Ini Documents (*.ini)
IniRead, intint, %savelist%, section1, intint
IniRead, xset, %savelist%, section1, xset
IniRead, yset, %savelist%, section1, yset
StringSplit, xarray, xset, %A_Space%,
StringSplit, yarray, yset, %A_Space%,
intcount = 1
intint-=1
SetTimer, difpath, 500
settimer, pathfuntion, %Jump_Delay%
settimer, spam, %Spam_F1_Speed%
WinActivate, ahk_id %id%
return
;;;;;;;;;;;;;;;;;;;;;;difpath;;;;;;;;;;;;;;;;;;;;;;
difpath:
SetFormat, integer, d
VarSetCapacity(xxx, 4)
VarSetCapacity(yyy, 4)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", adxxx, "Uint*", xxx, "Uint", 4, "Uint *", 0)
DllCall("ReadProcessMemory", "UInt", ProcessHandle, "UInt", adyyy, "Uint*", yyy, "Uint", 4, "Uint *", 0)
difx := abs(xarray - xxx)
dify := abs(yarray - yyy)
if (difx < 150 and dify < 150)
{
intcount++
if intcount > %intint%
intcount=1
xarray := xarray%intcount%
yarray := yarray%intcount%
}
return
;;;;;;;;;;;;;;;;;;;;;;path function;;;;;;;;;;;;;;;;;;;;;;
pathfuntion:
SetFormat, integer, d
unit := Sqrt((xarray - xxx) **2 + (yarray - yyy) **2)
Random, rand, 300, 350
X := round((xarray - xxx) / unit * rand) + 513
Y := round((yarray - yyy) / unit * rand) + 384
send {Lctrl down}
click, %X%, %Y%
send {Lctrl up}
return
;;;;;;;;;;;;;;;;;;;;;;Spam;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
spam:
send {F1}
return
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
^q::pause