• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:23
CET 00:23
KST 08:23
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays soO on: FanTaSy's Potential Return to StarCraft BGH Auto Balance -> http://bghmmr.eu/ A cwal.gg Extension - Easily keep track of anyone [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Clair Obscur - Expedition 33 EVE Corporation [Game] Osu!
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
Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1960 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 States7291 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
Canada5520 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
BSL 21
20:00
RO16 TieBreaker - Group A
TerrOr vs Aeternum
HBO vs Kyrie
ZZZero.O296
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 304
SpeCial 71
NeuroSwarm 18
StarCraft: Brood War
Calm 1939
ZZZero.O 292
NaDa 58
Noble 15
Dota 2
PGG 238
Super Smash Bros
hungrybox399
Heroes of the Storm
Khaldor209
Other Games
Grubby5711
FrodaN3216
Liquid`Hasu169
Trikslyr46
Organizations
Other Games
gamesdonequick1024
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Hupsaiya 81
• musti20045 46
• davetesta20
• HeavenSC 15
• Kozan
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21366
• WagamamaTV650
• Ler120
Other Games
• imaqtpie1426
• Scarra453
• Shiphtur265
Upcoming Events
RSL Revival
8h 7m
Classic vs SHIN
Maru vs TBD
herO vs TBD
Wardi Open
14h 37m
IPSL
20h 37m
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
20h 37m
StRyKeR vs Artosis
OyAji vs KameZerg
OSC
23h 37m
OSC
1d 9h
Monday Night Weeklies
1d 17h
OSC
1d 23h
Wardi Open
2 days
Replay Cast
3 days
[ Show More ]
Wardi Open
3 days
Tenacious Turtle Tussle
4 days
The PondCast
4 days
Replay Cast
4 days
LAN Event
5 days
Replay Cast
5 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-21
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.