• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:06
CEST 02:06
KST 09:06
  • 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
Power Rank - Esports World Cup 20255RSL Season 1 - Final Week8[ASL19] Finals Recap: Standing Tall15HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16
Community News
Weekly Cups (July 14-20): Final Check-up0Esports World Cup 2025 - Brackets Revealed19Weekly Cups (July 7-13): Classic continues to roll8Team TLMC #5 - Submission re-extension4Firefly given lifetime ban by ESIC following match-fixing investigation17
StarCraft 2
General
Why doesnt SC2 scene costream tournaments Power Rank - Esports World Cup 2025 Heaven's Balance Suggestions (roast me) Magnus Carlsen and Fabi review Clem's chess game. Who will win EWC 2025?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
How did i lose this ZvP, whats the proper response
Custom Maps
External Content
Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Corsair Pursuit Micro? Pro gamer house photos Flash Announces (and Retracts) Hiatus From ASL
Tourneys
[Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET The Casual Games of the Week Thread BWCL Season 63 Announcement
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread [MMORPG] Tree of Savior (Successor of Ragnarok) Path of Exile CCLP - Command & Conquer League Project
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
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread The Games Industry And ATVI Stop Killing Games - European Citizens Initiative
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Ping To Win? Pings And Their…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 670 users

SC Mouse Fixer (1a2a3a bug)

Forum Index > BW General
Post a Reply
Normal
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 States7225 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.
MadJack
Profile Blog Joined March 2010
Peru357 Posts
November 25 2017 15:29 GMT
#21
Is this really considered a bug ?

Im really bad at playing SC, but when i had this problem i just practiced it for 10 minutes and didnt had it anymore, maybe just get used to do 1a2a3a properly ?

I had a similar thing in dota 2, I would ping whenever i used an item (alt+click for ping, alt+item+click to use item) i would ping when i used an item, but then i realized i wasnt doing it right.
이제동 화이팅! / http://www.youtube.com/watch?v=26jjD3ro-Xk /
Epocalypse
Profile Joined December 2011
Canada319 Posts
November 26 2017 04:37 GMT
#22
The issue is that my keystrokes are not being registered. The fixer eliminates that issue. Thin of it this way. I press 1a2a3a, perfectly, but it only registers the 1a and 3a, or the 1,2,a,a. It's inconsistent. Apparently this has something to do with my keyboard drivers. It's definitely not cheating. It's making it possible to play.
bw4life
Normal
Please log in or register to reply.
Live Events Refresh
Next event in 9h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 181
Nina 131
StarCraft: Brood War
NaDa 48
League of Legends
Grubby4782
JimRising 349
Trikslyr78
Counter-Strike
Fnx 1730
taco 227
Super Smash Bros
hungrybox273
AZ_Axe57
Other Games
summit1g14551
tarik_tv9267
shahzam761
Maynarde185
Organizations
Other Games
gamesdonequick2174
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 98
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• blackmanpl 57
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota23141
League of Legends
• TFBlade863
Counter-Strike
• Shiphtur575
Other Games
• Scarra1008
Upcoming Events
Esports World Cup
9h 54m
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
1d 9h
Esports World Cup
2 days
Esports World Cup
3 days
CranKy Ducklings
4 days
BSL20 Non-Korean Champi…
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
FEL
5 days
BSL20 Non-Korean Champi…
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Liquipedia Results

Completed

CSL Xiamen Invitational
Championship of Russia 2025
Murky Cup #2

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Esports World Cup 2025
CC Div. A S7
Underdog Cup #2
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
HCC Europe
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
BLAST Bounty Fall Qual
IEM Cologne 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.