Game blocking mouse clicks from AHK

Ask gaming related questions (AHK v1.1 and older)
Swagcheck
Posts: 10
Joined: 13 Jan 2020, 08:51

Game blocking mouse clicks from AHK

13 Jan 2020, 09:06

Ever since the latest update of a TPS I play (GunZ The Last Duel) MouseClick and Send {LButton} no longer work in any window while the game is running, whether active or not. I've tried SendInput, ControlClick, sleep delays, hiding the game's window, reloading the AHK script, running the script as a different user. Anyone got any brighter ideas?
Swagcheck
Posts: 10
Joined: 13 Jan 2020, 08:51

Re: Game blocking mouse clicks from AHK

21 Jan 2020, 22:05

My account is already admin
King_Fisher
Posts: 9
Joined: 21 Jan 2020, 01:26

Re: Game blocking mouse clicks from AHK

22 Jan 2020, 04:17

When I use to game 10yrs ago I ran into a similar problem and had to compile it to an exe and that solved it.

What evilC is suggesting is when you launch ahk script, right click and runas administrator, regardless of if your windows account is in the administrator group.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Game blocking mouse clicks from AHK

22 Jan 2020, 06:36

DllCall mouse_event down/up
if all else fails, AutoHotInterception
Swagcheck
Posts: 10
Joined: 13 Jan 2020, 08:51

Re: Game blocking mouse clicks from AHK

23 Jan 2020, 08:51

I have already tried all the above suggestions but AutoHotInterception. Not sure how to use it but I'll give it a try. Thanks
Swagcheck
Posts: 10
Joined: 13 Jan 2020, 08:51

Re: Game blocking mouse clicks from AHK

23 Jan 2020, 13:44

I've installed AutoHotInterception and tried sending some mouse and key events. These tests don't work even without the game running.

AHI.SendKeyEvent(3, 20, 1)
AHI.SendKeyEvent(3, 20, 0)


should send t

and

AHI.SendMouseButtonEvent(13, 0, 1)
AHI.SendMouseButtonEvent(13, 0, 0)


should left click, right? Nothing happens. :silent:
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Game blocking mouse clicks from AHK

23 Jan 2020, 14:06

idk, try the AHI thread
so long as uve installed everything correctly, have placed all files in their correct locations, have not exceeded AHI's peripheral limit, have a recent enough dot net framework, are running as admin, have followed the code examples, it should work
Swagcheck
Posts: 10
Joined: 13 Jan 2020, 08:51

Re: Game blocking mouse clicks from AHK

24 Jan 2020, 04:57

swagfag wrote:
23 Jan 2020, 14:06
idk, try the AHI thread
so long as uve installed everything correctly, have placed all files in their correct locations, have not exceeded AHI's peripheral limit, have a recent enough dot net framework, are running as admin, have followed the code examples, it should work
Ah never mind, I put in the wrong keyboard ID. Now not only is AHI working, it solved my original problem. I am now able to send clicks with the game open. Thanks a lot fellas.
Swagcheck
Posts: 10
Joined: 13 Jan 2020, 08:51

Re: Game blocking mouse clicks from AHK

05 Apr 2020, 05:58

Is there an alternative to Interception I might try? Because it's causing huge problems with another game I play.

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 48 guests