• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:44
CEST 08:44
KST 15:44
  • 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
HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6Code S RO8 Preview: herO, Zoun, Bunny, Classic7
Community News
Weekly Cups (June 23-29): Reynor in world title form?6FEL Cracov 2025 (July 27) - $8000 live event13Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1Weekly Cups (June 9-15): herO doubles on GSL week4
StarCraft 2
General
StarCraft Mass Recall: SC1 campaigns on SC2 thread The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 FEL Cracov 2025 (July 27) - $8000 live event $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers [G] Darkgrid Layout
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest ASL20 Preliminary Maps Unit and Spell Similarities
Tourneys
[BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [Megathread] Daily Proleagues [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Effective Commercial Building Cost Assessment Tips Trading/Investing Thread US Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 575 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 States7218 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
Canada5501 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
Next event in 4h 16m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft455
mcanning 153
StarCraft: Brood War
Larva 695
TY 474
Noble 15
Hm[arnc] 5
Bale 2
Britney 0
Dota 2
febbydoto38
League of Legends
JimRising 649
Counter-Strike
summit1g7775
Stewie2K929
Other Games
shahzam1025
KnowMe158
NeuroSwarm56
Mew2King44
Organizations
Other Games
gamesdonequick800
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1323
• Stunt530
Upcoming Events
Wardi Open
4h 16m
PiGosaur Monday
17h 16m
The PondCast
1d 3h
Replay Cast
1d 17h
RSL Revival
2 days
ByuN vs Classic
Clem vs Cham
WardiTV European League
2 days
Replay Cast
2 days
RSL Revival
3 days
herO vs SHIN
Reynor vs Cure
WardiTV European League
3 days
FEL
3 days
[ Show More ]
Korean StarCraft League
3 days
CranKy Ducklings
4 days
RSL Revival
4 days
FEL
4 days
Sparkling Tuna Cup
5 days
RSL Revival
5 days
FEL
5 days
BSL: ProLeague
5 days
Dewalt vs Bonyth
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.