• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:59
CEST 19:59
KST 02:59
  • 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
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Chinese SC2 server to reopen; live all-star event in Hangzhou21Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET7Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)81
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Merivale 8 Open - LAN - Stellar Fest Tenacious Turtle Tussle RSL Season 3 Qualifier Links and Dates $1,200 WardiTV October (Oct 21st-31st) SC2's Safe House 2 - October 18 & 19
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
Is there anyway to get a private coach? BW General Discussion OGN to release AI-upscaled StarLeague from Feb 24 BGH Auto Balance -> http://bghmmr.eu/ SnOw's Awful Building Placements vs barracks
Tourneys
Small VOD Thread 2.0 ASL final tickets help [Megathread] Daily Proleagues [ASL20] Semifinal B
Strategy
TvP Upgrades [I] Funny Protoss Builds/Strategies [I] TvP Marine Usage Relatively freeroll strategies
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread YouTube Thread The Chess Thread
Fan Clubs
The herO Fan Club!
Media & Entertainment
[Manga] One Piece Korean Music Discussion Anime Discussion Thread Series you have seen recently... Movie Discussion!
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023 Formula 1 Discussion NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1402 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 States7290 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
Canada5518 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
Online Event
16:00
PSC2L October 2025
CranKy Ducklings207
iHatsuTV 20
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 190
ProTech104
JuggernautJason42
MindelVK 16
StarCraft: Brood War
Britney 30210
Bisu 5494
Larva 377
Dewaltoss 73
zelot 36
ajuk12(nOOB) 11
Dota 2
Gorgc7430
qojqva3207
Dendi1025
League of Legends
Trikslyr46
Counter-Strike
fl0m880
pashabiceps542
byalli374
Stewie2K334
Heroes of the Storm
Liquid`Hasu216
Other Games
singsing1608
Grubby1190
B2W.Neo997
ceh9557
Beastyqt501
KnowMe189
mouzStarbuck184
fpsfer 1
Organizations
Counter-Strike
PGL220
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 96
• Hinosc 3
• Migwel
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• 80smullet 22
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1755
• Noizen35
Other Games
• imaqtpie819
• Shiphtur165
Upcoming Events
RSL Revival
8h 1m
RSL Revival
16h 1m
WardiTV Invitational
17h 1m
OSC
21h 1m
SKillous vs goblin
Spirit vs GgMaChine
ByuN vs MaxPax
Afreeca Starleague
1d 14h
Snow vs Soma
Sparkling Tuna Cup
1d 16h
WardiTV Invitational
1d 18h
CrankTV Team League
1d 19h
BASILISK vs Streamerzone
Team Liquid vs Shopify Rebellion
Team Vitality vs Team Falcon
RSL Revival
1d 23h
Wardi Open
2 days
[ Show More ]
CrankTV Team League
2 days
Replay Cast
3 days
WardiTV Invitational
3 days
CrankTV Team League
3 days
Replay Cast
4 days
CrankTV Team League
4 days
Replay Cast
5 days
The PondCast
5 days
CrankTV Team League
5 days
Replay Cast
6 days
WardiTV Invitational
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
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 © 2025 TLnet. All Rights Reserved.