RAWM v2.0 by Wickster - Up to 3 Account Auto-Login Tool (Outdated as of patch 4.15 due to new launcher) Xbutton1 and Xbutton2 will fire ingame commands when used with a sleep break between the up\down strokes Mouse commands translate into ingame commands The script for stopping screen edge-move effect still functions
Side note: Commands on timers that are begun outside of LoL will still fire, there could be a way in through this but I haven't had time to experiment. Keyboard input is no longer recognized by AHK while in-game(this counts for all screen modes) Riot implemented anti-cheat measures as of 5.2 Solutions for Specific Games:(this is where I will add game specific tips) If you have some tips to add to this please let me know!ĪHK Does Not Work In These Games(As far as I know, will be updated with solutions): Make work so far but they are few and far between. Requiresįollowing these steps should get scripts working in the majority of games. Thread describing a couple ways to simulate DirectInput. This is difficult and not supported natively in AHK in any way. Still allowing AHK to move the mouse and click.Ģ) Simulating DirectInput. This should prevent the game from interacting directly with AHK or 'seeing' it while
(if you try any of these ideas with success let me know, i will update this)ġ) Download and setup a VM(Virtual Machine), install and run the game INSIDE the VM.
These will be very difficult and will require in-depth knowledge to implement. This scenario, some cheat prevention softwares lack the access level to prevent the keystrokes sentĮxpert Steps: (None of these are verified or easy to use) Explanation: Games run as one user do not have access to the processes run by a second user.
Here is a link to the post with full explanation. Examples: Rename to something generic or the same as something legit(setup.exe, skype.exe) possiblyĢ) Set up a second user account and run scripts as that user. This method is a fairly simple workaround for most 'hackshield' type softwares.
Explanation: Look here in the docs for how to compile, it is very well written and I will not be re-creating
exe form and rename the program to something non-threatening to the game. Don't give up hope, there are a couple fairly simple things that can still be done.ġ) Compile the script to. If you are at this point and the script still doesn't work it is likely that you are dealing with some sort of cheat Success by changing the in-game keybinds so that those keys are 'free' for AHK to use. You need to choose keybindings that the game is NOT using, some people have had
Explanation: Many games, especially DirectX driven, use driver level keyboard interaction and cannot beĬhanged via AHK. Example: (Holds key down for 10ms) Send, Ĥ) Some games do not allow their keybinds to be 'hijacked'. To skip over some keypresses then this is likely the problem. Is how games allow you to hold two(or more) keys at the same time, but very fast(sub 10-15ms) inputsĬan fall between snapshots and the game never sees the keypress. Records the keys that are down, then 15ms later it takes another 'snapshot' and compares the two. It 'polls' the keyboard every 15ms(varies slightly) and Explanation: Usually caused by DirectX(DirectInput). Explanation: DirectX draws the screen in a manner different from Windows, this can cause things like colorsīeing reported wrong, mouse jumping to the 'wrong' coords, and it can just plain prevent the game fromģ) A lot of times Keypresses need to be held down longer than normal for the game to fully register it. Explanation: Some games run at admin level and AHK does not typically run with this privilege set.Ģ) Switch the game settings from 'Full Screen' mode to 'Windowed' or (I prefer) 'Borderless Windowed' mode. Lets compile some of our good info here.įirst basic steps to get AHK working with the average game.ġ) Make sure the script is running with Admin privilege(Right-Click on script, Run As Administrator) I use AHK with most of the games that I play, anything from keybinds to full MMO grind bots. I am looking forward to adding suggestions to this post so let me know what works and what doesn't! I will edit this post with notes on specific games as I see them here or from personal experience. Since this question gets asked a lot on the boards, with many many good suggestions and tips scattered everywhere, I decided to try to compile most of it in one place.