Why does the script only click sometimes and why doesn't it work under 50ms?

Ask gaming related questions (AHK v1.1 and older)
zerox
Posts: 79
Joined: 15 Apr 2021, 13:01

Why does the script only click sometimes and why doesn't it work under 50ms?

04 Mar 2024, 19:23

Hello!

There is the code

Code: Select all

*CapsLock::
MouseGetPos, saveX, saveY

Send, {9}

MouseMove, %saveX%, %saveY%

Sleep 50

SendInput {Click}

Return
My problem is that it doesn't work in 50% of the cases with 50ms, if I set it higher to 100ms, it works a little better, but even with 500 or 1000ms it doesn't click in 10-20% of the cases. What could be the problem and why doesn't it work perfectly even with 10ms? I tested it in an online game.
zerox
Posts: 79
Joined: 15 Apr 2021, 13:01

Re: Why does the script only click sometimes and why doesn't it work under 50ms?

05 Mar 2024, 07:11

Hi, thanks for answer, i already tried it before, but doesnt works better.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 32 guests