Rapid Fire Wont't stop

Ask gaming related questions (AHK v1.1 and older)
sweetam
Posts: 2
Joined: 28 Nov 2021, 05:00

Rapid Fire Wont't stop

28 Nov 2021, 05:38

Code: Select all

\::Suspend
LButton::
Loop
{
SetMouseDelay 1
Click
If (GetKeyState("LButton","P")=0)
Break
}
So I used some codes in the forums. And run it in the game .
It works but when I released LMB the attack didn't stop, it went on for a long time,why?
User avatar
mikeyww
Posts: 26891
Joined: 09 Sep 2014, 18:38

Re: Rapid Fire Wont't stop

28 Nov 2021, 06:47

You could try eliminating the mouse delay command.
sweetam
Posts: 2
Joined: 28 Nov 2021, 05:00

Re: Rapid Fire Wont't stop

28 Nov 2021, 08:38

mikeyww wrote:
28 Nov 2021, 06:47
You could try eliminating the mouse delay command.
it doesn't work,sir.
My thought is that
when I hold LMB long enough but the clicks that is not executed is somewhere in a queue.
So even when I realeased LMB the clicks went on????
User avatar
mikeyww
Posts: 26891
Joined: 09 Sep 2014, 18:38

Re: Rapid Fire Wont't stop

28 Nov 2021, 09:56

That's possible. You can try the following in Notepad as a test. It worked here.

Code: Select all

LButton::
While GetKeyState("LButton", "P")
 Click
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 44 guests