So I’m using this script in World of Warcraft, actually me and a few friends of mine.
I’m having this problem with it, the script works for about 2 hours then suddenly stops working.
For my friends this script works for more then 5 hours straight without any issues, any idea why it happens?
A few things I did was,
*Disabled Antivirus
*Ran the script as administrator
*Reinstalled AutoHotKey
*Tested “Corsair Keybord Software” did a few button pressing macros and got the same result
Also when holding “Shift” for a few seconds *for example running in another game* it will stop running then I have to hold shift again and it will resume for 2 seconds and stop again, any idea what might cause this?
A test I did was holding shift and pressing ")'' the outcome is this: )))))))))0000000000000000000000000000000000000000000000
The following script I’m using:
Code: Select all
Coordmode, Mouse, Relative
toggle:=false
SetKeyDelay, 10, 10 ; This forces the ControlSend command to hold each key down for 10ms, increase second parameter to increase reliability
Random, , 1234 ; Initiate random number generator for 'humanizing'
Random, RndNum , 10, 1000 ; Generate first random number between 10-1000(10ms-1second)
!1:: ; ! means Alt when defining hotkeys, ie. Alt+1
toggle:=!toggle ;; << variable for stop loop. (tip: "!" means "no" or "negative")
While (toggle) { ;; << condition of loop.
Random, RndNum , 10, 1000
ControlSend, , E, ahk_exe Wow.exe,,,
Sleep, %RndNum%
Random, RndNum , 10, 1000
ControlSend, , 1, ahk_exe Wow.exe
Sleep, %RndNum%
Random, RndNum , 10, 1000
ControlSend, , F, ahk_exe Wow.exe
Sleep, %RndNum%
TrayTip, Bot, Iteration #%A_Index% ; This is added simply as an indicator that the bot is still running
}
Return