|
A standard windows system limits the keyboard repeat rate to just 31 chars per second, this would mean that just holding your D key down for example will limit your production rate to 31 drones in a second.
In some top level replays I noticed that some players are able to produce multiple drones from multiple larvae within milliseconds of each other, whereas my replays had a noticeable delay between each drone even though I was at the max keyboard repeat rate. Could they really be pounding the keys at 100+ beats per second? Or was it some kind of gaming keyboard like a razer?
Which led me to investigate how we could speed up our keyboard repeat rate on a standard keyboard.
This AUTOHOTKEY script below tries to raise your keyboard repeat rate beyond the 31cps limit to 100cps
RepeatIt:
hyperFast:=false ;set to true if you want to put this into overdrive
if(lastHotkey!=""){ HotKey, %lastHotkey%,On } HotKey, %A_ThisHotKey%,Off lastHotkey:=A_ThisHotKey SendEvent,{%A_ThisHotKey%} Sleep, 150 ;This is the delay in MS before the key starts to repeat Loop { GetKeyState, Go, %A_ThisHotKey%,P If (Go="D") { SendEvent {%A_ThisHotKey%} if(hyperFast){ SendEvent {%A_ThisHotKey%}{%A_ThisHotKey%}{%A_ThisHotKey%}{%A_ThisHotKey%} } Sleep,10 ;Lower = Faster; Higher = Slower. } Else Break } Hotkey,%A_ThisHotKey%,On return
;you can add more keys here by placing the name of the key and two colons on a new line ->
u:: m:: a:: l:: d:: b:: e:: s:: z:: i:: r:: t:: v:: gosub RepeatIt Hotkey,%A_ThisHotKey%,On return
You'll need to go to the autohotkey main site, download and install autohotkey.
Once installed and running there will be a green [H] icon in your tray. Autohotkey also provides a free text editor sciTE which is a separate install and download to the main code. If sciTe is installed then you can just right click the autohotkey tray icon and select 'edit this script', and it will bring up the default code..
Just copy and paste the code above into the default code and save it out.
Restart autohotkey, by right clicking the green tray icon and select 'Reload this Script' and it should activate this code.
To test it, just open any text window, hold the the Q key say.. which should be at normal speed then hold down the D key and check the difference.
If you want to turn it off, select the green icon in your tray and just select 'exit'.
There may be problems with windows 7 permissions requiring you to put both starcraft and autohotkey into administrator mode so that they can work with each other. And the key repeat can be so fast outside of the game that typing in a forum for example is near impossible. lollllllllllllllllllllllllll
|
I was looking for a way to increase my keyboard repeat rate just yesterday! Very nice of you to find a way. But please explain more (in details) where are we gona put this script and how to change back if we have too. thank you very much in advance.
|
Ill make a bit of an edit for it...
|
United Arab Emirates333 Posts
Omg, this is effin-tastic. Could really use end game , especially againt toss ifind myself alternating between spamming r so fast or just pressing and holding
|
#1 off, isn't using 3rd party programs forbidden?
#2 wouldn't you be totally boned when you want to produce like 10 sets of lings and 10 drones? I don't know the exact time that it takes me to press a button, but I'm guessing it takes me more than 0.01s, so going to 100 repeats a sec would prob make 2 of stuff when I wanted to make 1...
|
On February 06 2011 00:57 Zarahtra wrote: #1 off, isn't using 3rd party programs forbidden?
#2 wouldn't you be totally boned when you want to produce like 10 sets of lings and 10 drones? I don't know the exact time that it takes me to press a button, but I'm guessing it takes me more than 0.01s, so going to 100 repeats a sec would prob make 2 of stuff when I wanted to make 1...
"Sleep, 150 ;This is the delay in MS before the key starts to repeat"
^^^There has to be a distinct "hold" on the key before it begins to repeat.
|
im testing it atm
works pretty well but i dont ttttthink ( )it has a significaant impact
|
On February 06 2011 00:57 Zarahtra wrote: #1 off, isn't using 3rd party programs forbidden?
Yep, didn''t keyboard macros got some people banned already?
|
I doubt that running software to get a faster mouse or keyboard driver is going to get you banned, but if you start to get silly and start making multi key sequences then yeah, you're asking to get banned.
Questions of morality, good sportsmanship and fairness aside, I think this particular idea falls under the category of say, a faster mouse (razer 3000dpi), a faster keyboard (razer mauraders 1000hz polling), a faster video system (software acceleration via Riva Tuner), a faster processor through software overclocking.
All that being said, there must be some kind of absolute key input limit built into starcraft anyway, so it is possible that there is only a 31 keys per second limit or possibly that you are limited to your actual video frame rate (fps).
|
I copyed the script and got error on "HotKey, %A_ThisHotKey%,Off" can you just post the script maybe in a different way so it works?
|
Can't you just change this with the "Repeat Delay" and "Repeat Rate" settings in the Windows Control Panel??
|
If someone finds a windows glitch or setting which overrides the actual max-repeat-speed on windows and not this 3rd party program which will obviously be considered as a CHEAT let us know..
|
I did some quick research:
1. Open regedit 2. HKEY_CURRENT_USER->Control Panel->Keyboard 3. Change Keyboardspeed to whatever you like
...Max is usually 31.. I tested it with 100 but I'm not quite sure if it worked.. If you set it to ultra slow (like 3) it works.
edit: 31 is considered to be maximum.
|
Yeah, I'd be pretty interested in this if someone finds a way of doing this without using a third-party program.
|
|
|
|