Mouse Event Problem

Ask gaming related questions (AHK v1.1 and older)
Gonzalo94
Posts: 40
Joined: 17 Jul 2017, 12:56

Mouse Event Problem

Post by Gonzalo94 » 11 Oct 2021, 17:26

Hello guys! I hope you are super good :crazy:

So, time ago i was doing some experiment in a script, changing

Code: Select all

Click
to

Code: Select all

    DllCall("mouse_event", "UInt", 0x02)
    DllCall("mouse_event", "UInt", 0x04)
Its feel better, the speed of the click was faster. so i was very happy with the change (I was tryng to make a fast and accurate click) buut... a weird glitch happends.....a glitch that didnt happened with the previous code ....sometimes, and just sometimes, my cursor freezes for a couple of seconds.

My question is... exist a way of fix this? is a kind of glitch can be solved? i want to keep this new way of doing click

Code: Select all

    DllCall("mouse_event", "UInt", 0x02)
    DllCall("mouse_event", "UInt", 0x04)
but i also dont want this weirds and momentary freezes of the cursor

I will appreciate any help :bravo:

Return to “Gaming Help (v1)”