Why does it start working inaccurately if I set sleep below 57?
Posted: 29 Feb 2024, 16:49
Hello, so there is the code. The problem if i set sleep under 57, sometimes it hit with weapon 2 or with weapon 6.
Maybe I should start autohotkey v2, because v1 is too slow to make this code faster? Any idea, or any solution? I will greatly appreciate any help!
Maybe I should start autohotkey v2, because v1 is too slow to make this code faster? Any idea, or any solution? I will greatly appreciate any help!
Code: Select all
*space::
Send 6
Send {Esc}
Send {LButton Down}
Sleep, 57
Send 2
Send {LButton Up}
Sleep, 100
Loop {
GetKeyState, iskeydown, space, p
if (iskeydown == "D") {
Send 6
Send {LButton Down}
Sleep, 57
Send 2
Send {LButton Up}
Sleep, 100
} else {
Break
}
}
return