Is AutoHotKey to Fix Sprint Allowed
|
Since sprint activates constantly when I don't want it to, is AutoHotKey an option? More specifically, can I be banned for using it? All it does is make it so I can never long press the Space Bar, and I have to use the period button to activate Sprint, which I remapped to my mouse.
Script I wanted to use (doesn't work as intended):
Spoiler
#NoEnv
SendMode Input SetWorkingDir %A_ScriptDir% ShortHoldTime := 100 LongHoldTime := 600 $Space:: if GetKeyState("Ctrl", "P") { Send {Blind}{Space down} Sleep %LongHoldTime% Send {Blind}{Space up} } else { Send {Blind}{Space down} Sleep %ShortHoldTime% Send {Blind}{Space up} } KeyWait Space return $^Space::return F12::Suspend, Toggle Script I am using:
Spoiler
#NoEnv
SendMode Input SetWorkingDir %A_ScriptDir% ; ================= PoE2-SPECIFIC ================= #IfWinActive, Path of Exile 2 TAP_DELAY := 85 ; ms hold for dodge roll (70–110ms usually good range) ; Quick tap Space → dodge roll (prevents accidental sprint) $Space:: Send {Blind}{Space down} Sleep %TAP_DELAY% Send {Blind}{Space up} return ; Hold . key → sustained Space (sprint) $.:: Send {Blind}{Space down} KeyWait . ; waits for physical release of . Send {Blind}{Space up} return #IfWinActive ; Reset context ; ================= UTILITIES ================= F12::Suspend ; Pause/resume script F11::ExitApp ; Emergency exit ; Safety: prevent stuck sprint if script closes/crashes OnExit, Cleanup Cleanup: Send {Space up} return Last edited by mikeab79#3627 on Jan 9, 2026, 7:25:21 PM Last bumped on Jan 9, 2026, 7:29:35 PM
|
|
|
Can't you just remap the keys in the options menu?
|
|
" In the key binds, the roll and sprint are tied together. You can't remap sprint to another key without dodge going with it. |
|
|
Based on what I have read, AutoHotkey is not inherently a problem. The problem is automation and spamming the server. So the golden rule that has been stated in the past is, "One physical keypress causes one server action." They don't want bots but they also don't want their servers being spammed intentionally or accidently.
So your script should be fine. I have not used AutoHotkey with POE2 because I play on console but I used AutoHotkey with POE1 for years without problems. Just need to not Send a series of keys with one physical keypress. And especially be careful of anything that can cause a loop. If you script gets in a run away loop sending 50 keys a second for an hour, you are likely to get noticed and punished. |
|
" This matches my understanding too. I can't guarantee either way, but it seems low risk and within the spirit of the rules to me. |
|
|
Thank you for the replies.
Last edited by mikeab79#3627 on Jan 8, 2026, 5:07:15 PM
|
|
|
Finally got the sprint situation fixed, for me at least. I had to drop the holding Ctrl+Space to activate sprint, because it simply didn't work. I instead picked a keyboard button (.) and mapped it to my mouse. Now when even holding down the space bar, sprint never activates. When clicking on my remapped mouse key, it rolls and activates sprint.
I hope we can eventually just separate sprint and dodge roll in the future and remap through the in game options. New code:
Spoiler
#NoEnv
SendMode Input SetWorkingDir %A_ScriptDir% ; ================= PoE2-SPECIFIC ================= #IfWinActive, Path of Exile 2 TAP_DELAY := 85 ; ms hold for dodge roll (70–110ms usually good range) ; Quick tap Space → dodge roll (prevents accidental sprint) $Space:: Send {Blind}{Space down} Sleep %TAP_DELAY% Send {Blind}{Space up} return ; Hold . key → sustained Space (sprint) $.:: Send {Blind}{Space down} KeyWait . ; waits for physical release of . Send {Blind}{Space up} return #IfWinActive ; Reset context ; ================= UTILITIES ================= F12::Suspend ; Pause/resume script F11::ExitApp ; Emergency exit ; Safety: prevent stuck sprint if script closes/crashes OnExit, Cleanup Cleanup: Send {Space up} return |
|























