Game blocking mouse clicks from AHK
Game blocking mouse clicks from AHK
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?
Re: Game blocking mouse clicks from AHK
Run the script as admin
Re: Game blocking mouse clicks from AHK
My account is already admin
-
- Posts: 9
- Joined: 21 Jan 2020, 01:26
Re: Game blocking mouse clicks from AHK
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.
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.
Re: Game blocking mouse clicks from AHK
DllCall mouse_event down/up
if all else fails, AutoHotInterception
if all else fails, AutoHotInterception
Re: Game blocking mouse clicks from AHK
I have already tried all the above suggestions but AutoHotInterception. Not sure how to use it but I'll give it a try. Thanks
Re: Game blocking mouse clicks from AHK
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.
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.
Re: Game blocking mouse clicks from AHK
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
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
Re: Game blocking mouse clicks from AHK
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.swagfag wrote: ↑23 Jan 2020, 14:06idk, 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
Re: Game blocking mouse clicks from AHK
Is there an alternative to Interception I might try? Because it's causing huge problems with another game I play.
Who is online
Users browsing this forum: NexusP and 59 guests