Game screen freezing!?

Report problems with documented functionality
Ceano
Posts: 16
Joined: 25 Nov 2015, 03:00

Game screen freezing!?

25 Jan 2017, 07:54

OK so i am using the AutoHotkey version 1.1.24.04 - December 17, 2016 and some times when i play games my screen is just freezing and i cant do anything for a 5-10 seconds, some times i get this error message...

71 hotkeys have been received in the last (random number)ms. Do you want to continue?

...have never had this problem with earlier versions of AH so how do i fix this??
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: Game screen freezing!?

25 Jan 2017, 09:01

Regarding the error message #maxhotkeysperinterval
Ceano
Posts: 16
Joined: 25 Nov 2015, 03:00

Re: Game screen freezing!?

25 Jan 2017, 11:23

I'm not so good at this so if you could tell me what i shall do/add to my script?

Code: Select all

SetKeyDelay, 10, 10

RAlt::LAlt
LAlt::RAlt

Space::a
a::Space

y::tab

i::q

§::ö

´::-

Pause::
Suspend
Pause,,1
return
Helgef
Posts: 4709
Joined: 17 Jul 2016, 01:02
Contact:

Re: Game screen freezing!?

25 Jan 2017, 11:49

Code: Select all

; From the example in the docs:
#MaxHotkeysPerInterval 200
RAlt::LAlt
LAlt::RAlt

Space::a
a::Space

y::tab

i::q

§::ö

´::-

Pause::
Suspend
Pause,,1
return
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Game screen freezing!?

25 Jan 2017, 13:14

Test Examples:

Press a and see result:

Code: Select all

a::b
b::MsgBox,  AHK
----------------------------------------------

Press a and see this result:

Code: Select all

$a::b
$b::MsgBox,  AHK
Ceano
Posts: 16
Joined: 25 Nov 2015, 03:00

Re: Game screen freezing!?

25 Jan 2017, 14:06

aha...thanks both of you, know i understand :)

Adding $ in front of my keys, seems to be the best approach.
Ceano
Posts: 16
Joined: 25 Nov 2015, 03:00

Re: Game screen freezing!?

25 Jan 2017, 16:50

Adding $ in front of my keys did not help, games still freeze sometimes for 10-15 seconds...will try the #MaxHotkeysPerInterval 200 and see if that helps.
User avatar
Xtra
Posts: 2750
Joined: 02 Oct 2015, 12:15

Re: Game screen freezing!?

25 Jan 2017, 17:46

Your game freezing most likely has nothing to do with AHK if you are still having trouble.
Ceano
Posts: 16
Joined: 25 Nov 2015, 03:00

Re: Game screen freezing!?

26 Jan 2017, 00:24

It must have because if i use the old version of AHK v1.0.48.05, my games don't freeze...so if this is not helping I'm going back to that version.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 40 guests