• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 08:43
CET 14:43
KST 22:43
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Rongyi Cup S3 - RO16 Preview3herO wins SC2 All-Star Invitational10SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)19Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
StarCraft 2 will not be in the Esports World Cup Oliveira Would Have Returned If EWC Continued Rongyi Cup S3 - RO16 Preview herO wins SC2 All-Star Invitational PhD study /w SC2 - help with a survey!
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone
Brood War
General
Gypsy to Korea [ASL21] Potential Map Candidates Which foreign pros are considered the best? BW General Discussion BW AKA finder tool
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Azhi's Colosseum - Season 2
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026!
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread NASA and the Private Sector Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Navigating the Risks and Rew…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1742 users

SC Mouse Fixer (1a2a3a bug)

Forum Index > BW General
Post a Reply
1 2 Next All
flag
Profile Blog Joined July 2007
United States228 Posts
Last Edited: 2009-10-17 03:30:55
October 06 2009 14:35 GMT
#1
In SC, while the mouse is held down, keyboard inputs are ignored. This is the cause of many messed up 1a2a3a's. It is a bug because it is useless, annoying, and fixed in most modern games. When SC is active, this program simply sends a "mouse up" signal for all right clicks, and all left clicks except when you might be drag selecting.

Hasuwar wrote a program in AutoHotKey to fix this, which is where the idea came from. My program is pretty much the same except it will not effect mouse behavior when starcraft is inactive and it has better detection of when to send the left mouse up (whenever a drag select is not possible). Meaning it will fix the mouse up of attack moves, patrols, building placement, etc.

The effects of this this program are pretty minor, my mouse usually sends the mouse up after 63ms, however with worse mice the delay might be more severe thus making the program more useful. Like Hasuwar's it is also written in autohotkey, you can use the source with autohotkey or use the precompiled exe.

Download source
Download exe

Originally I had a more complicated version, which I simplified by request, you can see the original post here.
+ Show Spoiler +

In SC, while the mouse is held down, keyboard inputs are ignored. This is the cause of many messed up 1a2a3a's. It is a bug and has been fixed in most modern games. hasuwar wrote a program in AutoHotKey to fix it, but it is slightly flawed because anytime you press "a" your next left click can not be a click drag because mouse up is sent immediately (so if you build an arbiter then try to select some units, it will mess up). Also this could be annoying if autohotkey is running but you're not in SC.

I wrote a program that fixes the click bug but without any negative side effects, it also has some useful bindings. Here are the features:

-Checks pixel colors to determine when SC is active
-Immediately send mouse up for right button clicks
-When "a" is pressed for a unit that can use the move command (uses pixel get color to determine this), it will make the next left button click immediately send mouse up.
-Also there is a minor bug in sc where if you press "a" then click minimap fast it will center view there instead of attacking there. This is fixed by sending a click on on the attack box first.
-ctrl+v to paste while in lobby or sc
-left windows key disabled
-caps lock rebound to control (many old keyboards had their control key here and I prefer this)
-pressing ESC in lobby will not cancel the game but clear the text you've typed
-Mouse wheel up = F2 (in sc)
-Mouse wheel down = F4 (in sc)
-Note it only fixes the left click for attack move, you could add it for patrol if you wanted but I don't use patrol much

Note that if you have changed your video settings from the default the pixel get color will not work properly. The easiest way to test if sc is detected properly is to try the mouse wheel up and see if it moves the screen (assuming you scroll away from your start location first). If sc is not detected you can change your gamma back to the default, 100 (0x64) in the registry, or modify the ahk script to use your pixel values.

In the thread about hasuwar's program (which I can't find right now). There was alot of debate whether this is cheating or not. Most of the posts were just the same points reiterated over and over. So I will summarize the the points here. Feel free to comment on this issue if you have something new to add but please do not clutter discussion with repeated points or opinions (use the poll for that).

The program is not a hack or 3rd party program since it does not modify, read, or write any memory in SC. (edit: actually now it does check memory addresses to see if in game etc.) Instead it works by checking pixel colors and simulating mouse and keyboard clicks. That being said, this doesn't mean it isn't cheating either (for instance you could make some mean scripts to achieve similar effects to mutlicommand hack). This program might give you an advantage, but it will help those who's mice have slow rebound rates the most. But, still though even if you have the best mouse in the world, it doesn't send the mouse up instantly. My opinion is that it is not cheating since the advantage the program gives is very minor and a result of fixing bugs (as opposed to adding features and changing game play) and changing keyboard layout (to the way some hardware already is).

[image loading]

Poll: Is use of this program cheating?
(Vote): Yes
(Vote): No

+ Show Spoiler [original version] +

Download source
Download exe

Download source
Download exe
flag
Profile Blog Joined July 2007
United States228 Posts
October 16 2009 13:15 GMT
#2
Bump, added updated version which checks memory addresses instead of pixel colors to check if SC is active etc., thanks to MasterOfChaos for this suggestion and help getting it working.
ProoM
Profile Blog Joined May 2009
Lithuania1741 Posts
October 16 2009 13:17 GMT
#3
Ahhh so much hard time training for 1a2a3a timing clicks and all for nothing! Great program, however I don't think u can use it on iccup :}.
IMBA - International Mountain Bicycling Association.
lynx.oblige
Profile Joined August 2009
Sierra Leone2268 Posts
October 16 2009 14:53 GMT
#4
Even if this does work on iCCup, doesn't this bug still persist in Korean Progaming? If so, a lot of the more serious players probably wouldn't use this, just to emulate their conditions and improve in the same direction. Good effort though, and I personally don't like how SC ignores keyboard inputs while mouse is held down but I probably won't use due to the above reason.
Everyone needs a nemesis.
Archaic
Profile Blog Joined March 2008
United States4024 Posts
Last Edited: 2009-10-16 14:59:18
October 16 2009 14:58 GMT
#5
I like some of the features, but I'm afraid that some of the others will not be allowed on iCCup.


-ctrl+v to paste while in lobby or sc
-left windows key disabled

-caps lock rebound to control (many old keyboards had their control key here and I prefer this)
       You can turn this off, right?

-pressing ESC in lobby will not cancel the game but clear the text you've typed

-Mouse wheel up = F2 (in sc)
-Mouse wheel down = F4 (in sc)
       I am worried about these two. I believe that key binding is not allowed, and that this would give an       unfair advantage...

-Note it only fixes the left click for attack move, you could add it for patrol if you wanted but I don't use patrol much
dataXploit
Profile Blog Joined January 2008
Canada81 Posts
October 16 2009 15:10 GMT
#6
The Mouse wheel up and down thing (for F-keys) as well as caps lock being control is cheating to me. Although the glitch fixing aspect of this program sounds really neat and useful.
Japakazol
Profile Blog Joined May 2009
United States102 Posts
October 16 2009 15:21 GMT
#7
Caps lock being control sounds like heaven. Is it legal (in Progaming) to use a non-standard keyboard where the control key is actually just there? If so, it's definitely not cheating.
We feel your presence. u gotta skate
Apollo[AoN]
Profile Joined May 2005
Romania22 Posts
October 16 2009 16:35 GMT
#8
i don't know if this is a bug but at the begining of the game when i spam cc and select workers, if i do that verry fast (i have cc on 1) cc & selecting workers will override my hotkey on 1 an rehotkey to the number of workers last selected on hotkey 1.
Just some random noob ;)
520
Profile Blog Joined April 2009
United States2822 Posts
October 16 2009 16:54 GMT
#9
I would get it if it were just the a-move/mouse fixing utility. The other additions are unnecessary to me because they do not affect gameplay, or affect it in a way that's unfair.
Writer
MorroW
Profile Joined August 2008
Sweden3522 Posts
October 16 2009 17:06 GMT
#10
sometimes when i wanna transfer my scvs to my nat using f2 and f3 my f3 gets erased by my f2. i dunno if this got anything to do with it or maybe im just too bad gamer to click correctly but it feels like when im doing it really fast it always messes up xd

a program with makes ur mouse wheel go f2 and f4 etc is just cheating ~~
Progamerpls no copy pasterino
flag
Profile Blog Joined July 2007
United States228 Posts
Last Edited: 2009-10-16 18:44:27
October 16 2009 18:31 GMT
#11
On October 17 2009 01:35 Apollo[AoN] wrote:
i don't know if this is a bug but at the begining of the game when i spam cc and select workers, if i do that verry fast (i have cc on 1) cc & selecting workers will override my hotkey on 1 an rehotkey to the number of workers last selected on hotkey 1.


I'm surprised this was noticed, I added a feature so that if you are holding a number down, when you make a selection it will assign it to that number. I did this because my keyboard does not have a right control key, so it is hard to press ctrl+8,9, or 0. This shouldn't cause unwanted sideeffects except in spam cases (since it is 2 selections in a row). But if this does cause you problems, delete the this part of lbutton up function from the source:
if(aa!=-1)
send {BLIND}{CTRL DOWN}%aa%{CTRL UP}

Also I didn't mention this before, but it doesn't just fix a-move anymore. Anytime you can't make a selection, it will send the button up instantly (the only time you wouldn't want this is when you want to click drag a box to select, so this should perfect).

I suspect that most people don't want any of the features except the mouse fix? Should I make a simpler version with just this?
vaderseven
Profile Joined September 2008
United States2556 Posts
October 16 2009 22:35 GMT
#12
PLS make the one that JUST fixes 1a2a3a type issues.

Nothing else pls!
flag
Profile Blog Joined July 2007
United States228 Posts
October 17 2009 03:33 GMT
#13
On October 17 2009 07:35 vaderseven wrote:
PLS make the one that JUST fixes 1a2a3a type issues.

Nothing else pls!

Ok I made it so it is just that. Since it is no longer also misc utility, could a moderator please change this thread name to "SC Mouse Fixer (1a2a3a bug)"
XinRan
Profile Blog Joined August 2008
United States530 Posts
January 27 2010 00:42 GMT
#14
Seems to work nicely, thanks a lot! Is there any way to add this to Chaoslauncher?
"To be fair, Kal played like absolute garbage. His noted inconsistency and bad record versus Jaedong high fived into a cacophony of suck." - TwoToneTerran
darnoconrad
Profile Joined September 2008
Canada110 Posts
January 28 2010 04:09 GMT
#15
Please MoC make this auto launchable by ChaosLauncher!
Reason is not automatic. Those who deny it cannot be convinced by it. Do not count on them. Leave them alone. - Ayn Rand
Sadist
Profile Blog Joined October 2002
United States7310 Posts
January 28 2010 04:13 GMT
#16
anyone know what kind of mouse/keyboard id need to get the delay down? I have an MX310 and a dynex USB keyboard.

This delay is getting on my nerves. Every time I rally usually 1 building doesn't rally properly and its cost me several games today -_-
How do you go from where you are to where you want to be? I think you have to have an enthusiasm for life. You have to have a dream, a goal and you have to be willing to work for it. Jim Valvano
Tfact_rats
Profile Joined November 2009
175 Posts
January 28 2010 04:18 GMT
#17
This is awesome thank you. with SC2 on the verge it will be nice to be able to replicate that game play now instead of mechanics/timings that exist solely in SC1.
3a4a5a6a7a8a3a4a5a6a7a8a
Epocalypse
Profile Joined December 2011
Canada319 Posts
November 25 2017 06:43 GMT
#18
Can anyone update the mouse fixer for v1.20? Was hit and miss for 1.19, but now it's all miss.
bw4life
jimminy_kriket
Profile Blog Joined February 2007
Canada5525 Posts
Last Edited: 2017-11-25 07:12:36
November 25 2017 06:56 GMT
#19
It shouldn't be allowed anyways unless it's a official part of the game that everyone has. Cheating imo.
life of lively to live to life of full life thx to shield battery
angrypofke
Profile Joined March 2017
Lithuania174 Posts
November 25 2017 14:00 GMT
#20
Cool stuff, but I don't think it's good for people, who want to compete (imagine training with it all the time, and then tournament rules forbid it, that would suck).

You can train your click rhythm.
This is what the apm spam in the beginning of the game is for, actually.
You box-select your workers, then press "2" (or other hotkey) for your cc, hatch, nex. And do it in fast repetitive sequence thus "getting into rhythm" or mouse and keyboard clicks. Another one is selecting your cc/nex/hatch and "r" (for rally point) and click.

Also if you watch streams, you will hear players clicking mouse much harder when 1a2a3a. You do that with your finger lifted above the mouse, so as to get a very fast click, but lift your finger immediately.
1 2 Next All
Please log in or register to reply.
Live Events Refresh
OSC
11:00
Season 13 World Championship
Solar vs ClemLIVE!
Classic vs herO
WardiTV1442
IndyStarCraft 206
LiquipediaDiscussion
RongYI Cup
11:00
Group A
ByuN vs TriGGeR
herO vs Rogue
RotterdaM625
Harstem254
Rex143
BRAT_OK 134
3DClanTV 67
CosmosSc2 42
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 625
Harstem 254
IndyStarCraft 206
Rex 143
BRAT_OK 134
CosmosSc2 42
ProTech15
StarCraft: Brood War
Calm 3684
Rain 2836
Horang2 1415
Stork 838
GuemChi 776
firebathero 613
ggaemo 492
Snow 408
BeSt 357
Hyuk 292
[ Show more ]
Mini 269
Last 208
Mong 169
Soulkey 161
hero 150
Barracks 108
Backho 103
Zeus 97
Hyun 89
Mind 51
Shinee 47
[sc1f]eonzerg 47
Sharp 44
Movie 44
soO 38
Killer 37
JYJ 36
Shuttle 34
ToSsGirL 30
zelot 22
910 21
ajuk12(nOOB) 19
Noble 15
Free 14
HiyA 13
GoRush 12
Icarus 11
Sacsri 10
Terrorterran 10
Dota 2
qojqva3026
Gorgc2626
Dendi501
XcaliburYe358
Counter-Strike
olofmeister3089
byalli1657
shoxiejesuss1364
edward171
Other Games
Liquid`RaSZi1386
B2W.Neo1277
crisheroes329
XaKoH 154
Hui .134
Mew2King69
QueenE50
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• naamasc217
• Kozan
• Laughngamez YouTube
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• FirePhoenix4
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2444
• WagamamaTV0
League of Legends
• Jankos2323
• TFBlade619
Upcoming Events
RongYI Cup
21h 17m
Clem vs ShoWTimE
Zoun vs Bunny
Big Brain Bouts
1d 3h
Serral vs TBD
RongYI Cup
1d 21h
SHIN vs Creator
Classic vs Percival
OSC
1d 23h
BSL 21
2 days
RongYI Cup
2 days
Maru vs Cyan
Solar vs Krystianer
uThermal 2v2 Circuit
2 days
BSL 21
3 days
Wardi Open
4 days
Monday Night Weeklies
4 days
[ Show More ]
OSC
4 days
WardiTV Invitational
5 days
WardiTV Invitational
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2026-01-20
SC2 All-Star Inv. 2025
NA Kuram Kup

Ongoing

C-Race Season 1
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Rongyi Cup S3
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4 - TS4
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.