Evan Lim would it be possible for you to make a speed hack that activate only on xp skill activates and deactivates speed hack when xp skill is over i mean for ninja class?
Gui, Add, Edit, vE1 w50, 0 Gui, Add, Edit, vE2 w50, 0 Gui, Add, Edit, vE3 w50, 0 Gui, Add, button, w50 gOK, OK Gui, show, w100 h150 return OK: Gui, Submit, nohide ans := E1 + E2 GuiControl,, E3, %ans% return
Evan Lim@Quote:
aimbot can only be done in proxy
WinGet,id, ID,[C
msgbox, start
loop
{
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
X=677
Y=366
gosub, leftclick
sleep 100
ControlClick, x677 y366,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x677 y366,ahk_id %id%,,right
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
X=608
Y=407
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x608 y407,ahk_id %id%,,right
sleep 100
ControlClick, x110 y760,ahk_id %id%,,right ; assuming u are using 1024x768, if not change y760 to y595
sleep 11300
X=674
Y=398
gosub, leftclick
sleep 1000
ControlClick, x674 y398,ahk_id %id%,,right
sleep 100
gosub, leftclick
sleep 1000
ControlClick, x674 y398,ahk_id %id%,,right
sleep 100
}
leftclick:
hwnd := ControlFromPoint(X, Y, "ahk_id " id,"", cX, cY)
PostMessage, 0x201, 0x8 | 0x1, cX & 0xFFFF | (cY & 0xFFFF) << 16,, ahk_id %hwnd%
PostMessage, 0x202, 0x8 , cX & 0xFFFF | (cY & 0xFFFF) << 16,, ahk_id %hwnd%
return
return
ControlFromPoint(X, Y, WinTitle="", WinText="", ByRef cX="", ByRef cY="", ExcludeTitle="", ExcludeText="")
{
if !(hwnd := WinExist(WinTitle, WinText, ExcludeTitle, ExcludeText))
return false
VarSetCapacity(pt,8)
VarSetCapacity(wi,60), NumPut(60,wi)
DllCall("GetWindowInfo","uint",hwnd,"uint",&wi)
NumPut(X + (w:=NumGet(wi,4,"int")) - (cw:=NumGet(wi,20,"int")), pt,0)
NumPut(Y + (h:=NumGet(wi,8,"int")) - (ch:=NumGet(wi,24,"int")), pt,4)
Loop {
child := DllCall("ChildWindowFromPointEx","uint",hwnd,"int64",NumGet(pt,0,"int64"),"uint",0x5)
if !child or child=hwnd
break
DllCall("MapWindowPoints","uint",hwnd,"uint",child,"uint",&pt,"uint",1)
hwnd := child
}
cX := NumGet(pt,0,"int")
cY := NumGet(pt,4,"int")
return hwnd
}
return