• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:37
CET 03:37
KST 11:37
  • 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
[ASL21] Ro24 Preview Pt1: New Chaos0Team Liquid Map Contest #22 - Presented by Monster Energy7ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289
Community News
Weekly Cups (March 16-22): herO doubles, Cure surprises3Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool48Weekly Cups (March 9-15): herO, Clem, ByuN win42026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12
StarCraft 2
General
Potential Updates Coming to the SC2 CN Server What mix of new & old maps do you want in the next ladder pool? (SC2) Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (March 16-22): herO doubles, Cure surprises Weekly Cups (August 25-31): Clem's Last Straw?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament World University TeamLeague (500$+) | Signups Open RSL Season 4 announced for March-April WardiTV Team League Season 10 KSL Week 87
Strategy
Custom Maps
[M] (2) Frigid Storage Publishing has been re-enabled! [Feb 24th 2026]
External Content
The PondCast: SC2 News & Results Mutation # 518 Radiation Zone Mutation # 517 Distant Threat Mutation # 516 Specter of Death
Brood War
General
Which mirror match you like most or least? How much money terran looses from gas steal? Gypsy to Korea BGH Auto Balance -> http://bghmmr.eu/ mca64Launcher - New Version with StarCraft: Remast
Tourneys
[ASL21] Ro24 Group C [ASL21] Ro24 Group B [Megathread] Daily Proleagues 2026 Changsha Offline Cup
Strategy
What's the deal with APM & what's its true value Fighting Spirit mining rates Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Req][Books] Good Fantasy/SciFi books Movie Discussion! [Manga] One Piece
Sports
Cricket [SPORT] 2024 - 2026 Football Thread Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6250 users

APM Monitor for SCII (and other games)

Forum Index > SC2 General
Post a Reply
1 2 3 Next All
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
Last Edited: 2014-10-28 03:19:58
September 09 2014 23:25 GMT
#1
If you are coming from an older version, please run Fresh Start (in Settings) to avoid problems! For example, you are replacing revision 8 with revision 9. You may run into issues because some registry values have changed since the last version. If you have not used the program before, then you don't have to worry.

If you have any questions about the changes in a revision or want more detail on it, just ask. (Change log in the program is under About > What's New?)

Latest version: Revision 9 (1.1.0.9)

About version numbers: For example, the version number will be 1.2.3.4. From left to right, Major, minor, build, revision. I will use all except build. Major won't change much. Revision will change when I release enough updates (to warrant a new revision). Minor will change if I need to make a fix to a certain revision (but not enough for a new revision). Minor numbers will return to 0 when a new revision is out (so if you see a 1, that means I've made a reasonably important fix to the current revision).

********************************************************************************************************************************************
Known Problems

This section is for problems and suggestions that TL members have told me about. I'll be sure to keep it updated.

s = suggestion; b = bug

___________________________________________________________________________________________________
(9/11) b#1: HUD is locked upon first run.

(9/12) b#1 Solved: Unless a value of 1 is found, the HUD remains immovable. At first run, no value is present. So it defaults to not being movable, and the drop down menu reports it is movable. At first run, a value of 1 is created so it can be moved.

(9/11) b#2: Upon first run, selecting font size doesn't function, and HUD Display Settings is 100% broken (null exception).

(9/12) b#2 Solved: I discovered that it had nothing to do with font size. Despite the "Enable sound file alert" check box being off, it was still trying to set a value. Since nothing existed, it resulted in a null exception. It has been changed to ensure a value exists before setting the value, to avert this problem.

In addition to b#2, I discovered an issue with the colors. At first run, the colors default to a tan (or the default Control color). If you don't pick a color, the background goes to tan. The default I decided on was a black backcolor, and a white font color. I changed it to where at first run (or where a value doesn't exist) the correct default colors are selected.

I also discovered I needed to update the "Reset HUD" button. It now resets the additional options in the "HUD Display Settings" window (minimum APM and down).


(9/19) b#3: Hot keys or combining keys (such as Ctrl + A) do not work.

(10/16) b#2 Solved: Alt, Ctrl, and Shift can be combined with keys A through Z, and keys 0 through 9.

(9/10) s#1: Filenames should "roll forward" or be sequential automatically.

(9/24) s#1 Implemented: Filenames can automatically "roll forward" by clicking the Sequential checkbox below the filename. Each time the monitor is started, the filename will increase by 1. For example, test1.txt, test2.txt, test3.txt. If you change the filename, the numbering will reset to 1.

(9/10) s#2: The real-time APM HUD should be capable of transparency.

(9/24) s#2 Implemented: The APM HUD can now be made transparent through the HUD Display Settings dialog.

(9/24) s#3: The APM HUD should be able to work in full screen, as it does in windowed mode applications and games.

(9/10) s#4: The APM monitor cannot be paused.

(10/16) s#4 Implemented: The monitor can be paused by clicking on the yellow flag.

I will also be adding shortcut keys, to s#4. For example, you can press F10 to start the monitor. You can define which F key you want to use. You will also be able to map your chat key as well, so that when you press it, it pauses the game.
____________________________________________________________________________________________________

As of 10/16, I have redone the main window. Let me know what you think. I will probably change the flags to the images typically found on remotes. (e.g. The pause button is represented by two vertical bars.)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Games Tested: Warcraft 3: Reign of Chaos (works), AoE: II (does not work)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

********************************************************************************************************************************************

A month or so ago, I was told by a friend that no good APM monitor existed for SCII. He seemed like the kind of guy that really knew what he was talking about, so I believed him. Not too long ago, I figured I'd look it up anyway. Very quickly, I found a post on this forum with a pretty solid APM monitor. (I found other results as well.) So I am fully aware APM monitors exist; however, I've put far too much effort into this program to just throw it away.

http://starcraft.ltgks.com/

The program, as well as the source, is available on that website. Program is written in Visual Basic. The program detects APM by key/mouse hooks rather than getting information from SCII. I wasn't aware SCII outputted APM information until recently, but I still have no idea where that information is.

As of revision 7, I'm still working on real-time APM color and sound alerts. It seems to work as of this point, but I have a feeling there are problems with it. The HUD doesn't update on a set interval, only when you press a key will you see the new APM. I'm currently working on making it refresh on set intervals, just I'm extremely busy with classes and work. Considering this, sound alerts aren't the greatest but color alerts work quite decently.

I'm also in the process of translating the program. I don't know of any other way than to manually put in the translations. This, obviously, is a big pain when I make changes or additions to text. The current languages are Chinese Simplified and English (although I believe I have a Spanish translation from someone ready to be added).

And this game will work with any RTS game, since it doesn't rely on specific information from one game.

Edit: I should also point this out as it's not very obvious. I'll think of something to make it more obvious in the future. When your real-time HUD is enabled, you can right click on it for options.

[image loading]

Lock HUD: Should be obvious enough. It prevents you from moving the HUD. I was thinking of making the HUD click-through (or "transparent"). Not sure if that would be useful. I also thought of making the HUD visually transparent.

[image loading]

Display Settings: Allows you to change the font size, font color, and background color. You can also set a minimum APM you want to keep as you play. The HUD can change color, and play a sound. As of right now, the sound alert isn't going to very fun (each time you press a key while under the set APM, it will make that sound). Once I get the HUD to refresh on set intervals, it'll work better. I'll also make the sound alert more flexible. (e.g. sound can play on loop every 5 seconds, or it can play a maximum of 3 times every 5 seconds)

Also, I figure this would be good to note: This program writes to the Windows Registry. Not that it's a big deal, but just want to state that up front. This is how the settings can be remembered after program close, and settings can be accessed within the program.

Edit 2: Many controls in the program have tooltips. Place your mouse over a button, textbox, etc to activate the tooltip. For example, to change the location of your report, double click the textbox.

[image loading]
Larkin
Profile Blog Joined January 2012
United Kingdom7161 Posts
September 09 2014 23:27 GMT
#2
Cool that it will work with every RTS game. Interesting to see how hilariously low my APM is for Company of Heroes 2 in comparison.
https://www.twitch.tv/ttalarkin - streams random stuff, high level teamleague, maybe even heroleague
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
Last Edited: 2014-09-10 00:36:40
September 09 2014 23:31 GMT
#3
You've used it already? I don't know how APM is normally calculated, but this will take into account every key and every mouse click you make.
Garnet
Profile Blog Joined February 2006
Vietnam9034 Posts
September 09 2014 23:52 GMT
#4
I got this error. Using windows 8.1 x64.

[image loading]
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
Last Edited: 2014-09-10 01:00:25
September 09 2014 23:59 GMT
#5
Update: Fixed. Problem was that it was pulling the font size for the real-time HUD, before there was a value present (value in the registry). I gave it a default value in the event there isn't one present (specifically for the first time the program starts on a PC).

The fixed source and program are available on the site now.
Garnet
Profile Blog Joined February 2006
Vietnam9034 Posts
September 10 2014 01:25 GMT
#6
does it count mouse clicks?
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
September 10 2014 04:24 GMT
#7
On September 10 2014 10:25 Garnet wrote:
does it count mouse clicks?


It does. However, you have the option to turn that off in Settings.
cakolas
Profile Joined March 2012
8 Posts
Last Edited: 2014-09-10 11:26:37
September 10 2014 11:24 GMT
#8
Thank you soo much. I was looking for a program like this for a long time but i coudn't find. This program will be very usefull for counting apm in non-starcraft rts games.
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
September 10 2014 12:09 GMT
#9
No problem, glad you like it. The best way you can help me is by spreading the word. I definitely want to get more feedback on this. It's the best way to improve the program.
Fuchsteufelswild
Profile Joined October 2009
Australia2028 Posts
Last Edited: 2014-09-10 13:12:39
September 10 2014 12:24 GMT
#10
Looks good!
I look forward to using this on Age of Empires 2 after playing some Forgotten Empires at a 4 person LAN and wondering how our APM compared (because they're much much slower than most would expect from people who even like RTS games and I'm not).

I'm about to download it but is there no pause function?
I'd like to have Start-Stop functionality for when I want to stop the monitoring and see the results but would also like to be able to Start, Pause, Start, Pause, Start, Stop so I can stop it from monitoring when we pause games but then get it to continue monitoring in the same recording instance by pressing Start again.
This way we could even play many series of games and just have one recording (text file) for the whole lot simply by pausing between matches.

How is scrolling/mouse movement handled?
Would any single mouse movement be treated as 1 action, or does it detect screen scrolling, so that only unit selections (click or box-select) and screen scrolling are counted while movements with no action are not counted?

Let me know if you find a program that can calculate an estimate of APM in a recorded Age of Empires II file.
Actions aren't recorded so much as commands in that but potentially, the typical number of actions could be worked out (produce villager = select town centre with mouse or 'H', click villager icon OR press 'C' = 2 actions either way).
It's been discussed elsewhere but as far as I could find, no one ever pushed on with such a project (or maybe it did but the link was broken when I got there!)

EDIT: I wasn't sure how the registry entry would be handled and after pasting it to one folder and then moving it but realising there was no installer or uninstaller, I was worried the registry entry would be stuffed already (easily fixed though really if you can just find the path entry).
As it happens though, you've made sure it changes the path entry in the Registry based on the last location it was opened from. Nice choice.

Oh, a thought - under Report Location (and any other path specifying prompts), could you allow direct path entry through typing/pasting? I personally find it a real pain to navigate through folders using that view and don't understand why there are some mainstream companies that actually force you to choose locations that way.
Steam, or Divinity - Original Sin or something else made me use that method recently and I just found it surprising (and annoying *shakes fist*) that they didn't allow you to just allow either typing or pasting of the path, nor use a nice window like when you choose "Open" in MS Word or many other programs.
Firefox even. Open. Nice method of finding things, I can easily use Up One Level and whatnot.
Gah, I so loathe this "Navigation Pane"-only way of locating directories and files!

Oh, if I try to change the Real-Time APM text size, even though it works, I get this:
[image loading]
Colours and the total size of the background colour don't appear to work though.
EDIT: Actually, colour does on StarCounter restart, but the total size of the background doesn't seem to be moveable (don't know why it wasn't working but it is now...mouse problems maybe) or resizeable, supposing I'm not missing something. I would appreciate your suggested HUD transparency option and ability to click through the HUD, by the way.

Ah, also, rolling/sequential report names would be a great feature, i.e. have a base name for the series of reports which is followed by -0001 or something like that for the first recorded report, -0002 for the second etc. until either the sequential naming option is turned off, or changed to a different base name, in which case the new series would be named after that base name followed by -0001.

Finally before I go to bed, in Age of Empires II, no hotkeys ('H' for focus on Town Centre, 'C' for build villager, 'B' for build economic(?) building) work while your program is active, even without the HUD. As soon as I turn that off, they all work again. I fiddled around with my keyboard a lot and it was definitely the program.

Example debug to go with the screenshot above:
+ Show Spoiler +
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
at WindowsApplication1.hudSettings.okBTN_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
APM Monitor
Assembly Version: 1.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///P:/Program%20Files%20(x86)/StarCounter/StarCounter.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

ZerO - FantaSy - Calm - Nal_rA - Jaedong - NaDa - EffOrt - Bisu - by.hero - StarDust - Welmu - Nerchio - Supernova - Solar - Squirtle - LosirA - Grubby - IntoTheRainbow - Golden... ~~~ Incredible Miracle and Woongjin Stars 화이팅!
WinterStarcraft
Profile Joined June 2012
United States109 Posts
September 10 2014 13:06 GMT
#11
Thank you, been looking for one to replace the mildly disfunctional one on scelight
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
Last Edited: 2014-09-10 13:07:06
September 10 2014 13:06 GMT
#12
On September 10 2014 21:24 Fuchsteufelswild wrote:
Looks good!
I look forward to using this on Age of Empires 2 after playing some Forgotten Empires at a 4 person LAN and wondering how our APM compared (because they're much much slower than most would expect from people who even like RTS games and I'm not).

I'm about to download it and won't be able to test it yet, but is there no pause function?

No pause function at the moment. I'll think about adding one though.

I'd like to have Start-Stop functionality for when I want to stop the monitoring and see the results but would also like to be able to Start, Pause, Start, Pause, Start, Stop so I can stop it from monitoring when we pause games but then get it to continue monitoring in the same recording instance by pressing Start again.
This way we could even play many series of games and just have one recording (text file) for the whole lot simply by pausing between matches.

Ah, yes, I hadn't considered pausing games.

How is scrolling/mouse movement handled?
Would any single mouse movement be treated as 1 action, or does it detect screen scrolling, so that only unit selections (click or box-select) and screen scrolling are counted while movements with no action are not counted?

It only detects right or left clicks.

Let me know if you find a program that can calculate an estimate of APM in a recorded Age of Empires II file.
Actions aren't recorded so much as commands in that but potentially, the typical number of actions could be worked out (produce villager = select town centre with mouse or 'H', click villager icon OR press 'C' = 2 actions either way).
It's been discussed elsewhere but as far as I could find, no one ever pushed on with such a project (or maybe it did but the link was broken when I got there!)

What do you mean by "calculate an estimate of APM"?

I'll reply to the rest of your questions later today.

EDIT: I wasn't sure how the registry entry would be handled and after pasting it to one folder and then moving it but realising there was no installer or uninstaller, I was worried the registry entry would be stuffed already (easily fixed though really if you can just find the path entry).
As it happens though, you've made sure it changes the path entry in the Registry based on the last location it was opened from. Nice choice.

Oh, a thought - under Report Location (and any other path specifying prompts), could you allow direct path entry through typing/pasting? I personally find it a real pain to navigate through folders using that view and don't understand why there are some mainstream companies that actually force you to choose locations that way.
Steam, or Divinity - Original Sin or something else made me use that method recently and I just found it surprising (and annoying *shakes fist*) that they didn't allow you to just allow either typing or pasting of the path, nor use a nice window like when you choose "Open" in MS Word or many other programs.
Firefox even. Open. Nice method of finding things, I can easily use Up One Level and whatnot.
Gah, I so loathe this "Navigation Pane"-only way of locating directories and files!

Oh, if I try to change the Real-Time APM text size, even though it works, I get this:
[image loading]
Colours and the total size of the background colour don't appear to work though.
EDIT: Actually, colour does on StarCounter restart, but the total size of the background doesn't seem to be moveable (don't know why it wasn't working but it is now...mouse problems maybe) or resizeable, supposing I'm not missing something. I would appreciate your suggested HUD transparency option, by the way.

Ah, also, rolling/sequential report names would be a great feature, i.e. have a base name for the series of reports which is followed by -0001 or something like that for the first recorded report, -0002 for the second etc. until either the sequential naming option is turned off, or changed to a different base name, in which case the new series would be named after that base name followed by -0001.

Example debug:
+ Show Spoiler +
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
at WindowsApplication1.hudSettings.okBTN_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
APM Monitor
Assembly Version: 1.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///P:/Program%20Files%20(x86)/StarCounter/StarCounter.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Fuchsteufelswild
Profile Joined October 2009
Australia2028 Posts
Last Edited: 2014-09-10 13:21:31
September 10 2014 13:13 GMT
#13
I realise you're probably in the process of replying to that quote you've just made, but just a note, I edited it even more. :D
I'll come back to reply when I can.

Oh, except regarding this
What do you mean by "calculate an estimate of APM"?


"Actions aren't recorded so much as commands in that (in AoE2) but potentially, the typical number of actions could be worked out (produce villager = select town centre with mouse or 'H', click villager icon OR press 'C' = 2 actions either way).
It's been discussed elsewhere but as far as I could find, no one ever pushed on with such a project (or maybe it did but the link was broken when I got there!)"

In AoE2 you can record the game as long as you tick the box before the game, but the files don't track number of actions per minute but just the commands issued and it was talked about somewhere (probably on http://aoczone.net/).
As I say, the command "produce villager" is pretty much always going to require two actions to trigger, so even though APM are not calculated directly, one could potentially make a program that analyses command lists and assigns predefined numbers of "actions" to each command that was issued.
I believe the thread died off until someone made a post saying they'd created one such tool (unless I'm mixing this up with a post about some other utility...) but then the links didn't work for me.
I don't expect anything like that from this program or from you, it was just an aside because it would be a very nice tool to have (and people had previously discussed the idea)!
ZerO - FantaSy - Calm - Nal_rA - Jaedong - NaDa - EffOrt - Bisu - by.hero - StarDust - Welmu - Nerchio - Supernova - Solar - Squirtle - LosirA - Grubby - IntoTheRainbow - Golden... ~~~ Incredible Miracle and Woongjin Stars 화이팅!
Garnet
Profile Blog Joined February 2006
Vietnam9034 Posts
September 10 2014 13:28 GMT
#14
On September 10 2014 13:24 CalmestRoadkill wrote:
Show nested quote +
On September 10 2014 10:25 Garnet wrote:
does it count mouse clicks?


It does. However, you have the option to turn that off in Settings.

There's no option like that in Settings.
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
September 10 2014 20:17 GMT
#15
On September 10 2014 22:28 Garnet wrote:
Show nested quote +
On September 10 2014 13:24 CalmestRoadkill wrote:
On September 10 2014 10:25 Garnet wrote:
does it count mouse clicks?


It does. However, you have the option to turn that off in Settings.

There's no option like that in Settings.


[image loading]
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
September 10 2014 20:20 GMT
#16
On September 10 2014 22:13 Fuchsteufelswild wrote:
I realise you're probably in the process of replying to that quote you've just made, but just a note, I edited it even more. :D
I'll come back to reply when I can.

Oh, except regarding this
Show nested quote +
What do you mean by "calculate an estimate of APM"?


"Actions aren't recorded so much as commands in that (in AoE2) but potentially, the typical number of actions could be worked out (produce villager = select town centre with mouse or 'H', click villager icon OR press 'C' = 2 actions either way).
It's been discussed elsewhere but as far as I could find, no one ever pushed on with such a project (or maybe it did but the link was broken when I got there!)"

In AoE2 you can record the game as long as you tick the box before the game, but the files don't track number of actions per minute but just the commands issued and it was talked about somewhere (probably on http://aoczone.net/).
As I say, the command "produce villager" is pretty much always going to require two actions to trigger, so even though APM are not calculated directly, one could potentially make a program that analyses command lists and assigns predefined numbers of "actions" to each command that was issued.
I believe the thread died off until someone made a post saying they'd created one such tool (unless I'm mixing this up with a post about some other utility...) but then the links didn't work for me.
I don't expect anything like that from this program or from you, it was just an aside because it would be a very nice tool to have (and people had previously discussed the idea)!


The program will record every mouse click and keystroke you make. The best way I can translate, would be in Warcraft 3. If I wanted to move a unit (the long way) I would click the unit, click move, and then click where I want the unit to go. That would be 3 actions. I would love to offer the option to combine that into one big action, but I'd need to be able to communicate with the game. And, of course, each game is different.
CalmestRoadkill
Profile Joined September 2014
United States28 Posts
Last Edited: 2014-09-12 03:42:56
September 12 2014 03:38 GMT
#17
On September 10 2014 21:24 Fuchsteufelswild wrote:

I didn't see a need for installation. It was easy enough for me to have it be an executable. The program can be moved anywhere without issue, as it doesn't reference static files. You also need administrative privileges to run installers, which some may not have. Unless people demand and installer, I won't make one.

EDIT: I wasn't sure how the registry entry would be handled and after pasting it to one folder and then moving it but realising there was no installer or uninstaller, I was worried the registry entry would be stuffed already (easily fixed though really if you can just find the path entry).
As it happens though, you've made sure it changes the path entry in the Registry based on the last location it was opened from. Nice choice.

Honestly, I thought I was doing the user a favor by having them navigate to the directory. Typing out the folder you want to use is decently long, and most people don't know paths by name. Most of the time you want to save to something at least username level (e.g. C:\Users\User\Desktop). And then, the folder may be deeper than that. And, any user is very prone to mistyping. However, changing the textbox to where it accepts direct entry shouldn't be difficult.


Oh, a thought - under Report Location (and any other path specifying prompts), could you allow direct path entry through typing/pasting? I personally find it a real pain to navigate through folders using that view and don't understand why there are some mainstream companies that actually force you to choose locations that way.

I'm just using the default Open/Save File Dialog :p There might be power packs that include those nicer dialog boxes. Otherwise, I'd have to create one.

Steam, or Divinity - Original Sin or something else made me use that method recently and I just found it surprising (and annoying *shakes fist*) that they didn't allow you to just allow either typing or pasting of the path, nor use a nice window like when you choose "Open" in MS Word or many other programs.
Firefox even. Open. Nice method of finding things, I can easily use Up One Level and whatnot.
Gah, I so loathe this "Navigation Pane"-only way of locating directories and files!

Oh, if I try to change the Real-Time APM text size, even though it works, I get this:
[image loading]
Colours and the total size of the background colour don't appear to work though.

Are you saying you are unable to move the HUD box? Right click and see if "Lock HUD" is checked. If it isn't, click it twice and see if it's movable. Sometimes the settings and the GUI aren't aligned, and I'll have to fix that.

As for the overall size, you can only resize via font change. I did this so the HUD, well, looked like a HUD (not having the typical Windows borders). And I only went up so far in font size because the HUD would be really large, and I figured it would cover relevant portions of the screen. Again, this was initially designed for SC2. Let me know what your specific needs are since it's not SC2.


EDIT: Actually, colour does on StarCounter restart, but the total size of the background doesn't seem to be moveable (don't know why it wasn't working but it is now...mouse problems maybe) or resizeable, supposing I'm not missing something. I would appreciate your suggested HUD transparency option and ability to click through the HUD, by the way.

Good idea. I'm almost sure I thought of something like that, but I probably forgot to look into it. I could probably add that as well as the rolling names to the "file name already exists" dialog.

Ah, also, rolling/sequential report names would be a great feature, i.e. have a base name for the series of reports which is followed by -0001 or something like that for the first recorded report, -0002 for the second etc. until either the sequential naming option is turned off, or changed to a different base name, in which case the new series would be named after that base name followed by -0001.

Yes it definitely is the program. While active, it is doing key/mouse hooks. When it detects keys A through Z (and only keys A through Z), it captures it and then resends it. If any other keys are hit, it ignores them. So combination keys don't work. I had designed this for SC2, but realized it will mostly work with other games. Let me know what combination keys don't work (like it's CTRL + H to activate a hot key), and I'll make it all work.

Finally before I go to bed, in Age of Empires II, no hotkeys ('H' for focus on Town Centre, 'C' for build villager, 'B' for build economic(?) building) work while your program is active, even without the HUD. As soon as I turn that off, they all work again. I fiddled around with my keyboard a lot and it was definitely the program.

Example debug to go with the screenshot above:
+ Show Spoiler +
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
at WindowsApplication1.hudSettings.okBTN_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
APM Monitor
Assembly Version: 1.0.0.0
Win32 Version: 5.0.0.0
CodeBase: file:///P:/Program%20Files%20(x86)/StarCounter/StarCounter.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///P:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


CalmestRoadkill
Profile Joined September 2014
United States28 Posts
September 12 2014 08:30 GMT
#18
Updated source and program are available on the website (for bugs 1 and 2). This one is still considered revision 7. I also have a "Fresh Start" option in the works. You will notice it in Settings, but the buttons don't do anything yet. That's to come, with quite a few other improvements.
Garnet
Profile Blog Joined February 2006
Vietnam9034 Posts
September 13 2014 04:26 GMT
#19
How can I display my APM during an SC2 game? I use fullscreen, should I use windowed modes?
Friedobert
Profile Joined July 2014
Germany38 Posts
September 13 2014 06:52 GMT
#20
@ garnet, setting it to windowed mode (fullscreen) in the options tab (of sc2) does it for me.
JinAir - NaNiwa - IdrA - Maru
1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
WardiTV Mondays #76
CranKy Ducklings108
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 214
StarCraft: Brood War
GuemChi 5119
Shuttle 384
sSak 49
NaDa 30
Bale 8
Dota 2
monkeys_forever512
League of Legends
JimRising 457
Counter-Strike
taco 1148
Super Smash Bros
hungrybox1441
Other Games
summit1g10639
tarik_tv4949
WinterStarcraft287
C9.Mang0285
PiGStarcraft257
Maynarde128
ViBE107
Organizations
Other Games
BasetradeTV164
Dota 2
PGL Dota 2 - Main Stream44
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• Berry_CruncH170
• Hupsaiya 64
• musti20045 50
• EnkiAlexander 42
• davetesta25
• CranKy Ducklings SOOP4
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• AfreecaTV YouTube
• sooper7s
StarCraft: Brood War
• RayReign 46
• Azhi_Dahaki11
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21662
League of Legends
• Doublelift4986
Upcoming Events
KCM Race Survival
6h 23m
The PondCast
7h 23m
WardiTV Team League
9h 23m
BASILISK vs Team Liquid
OSC
9h 23m
Replay Cast
21h 23m
WardiTV Team League
1d 9h
Big Brain Bouts
1d 14h
Fjant vs SortOf
YoungYakov vs Krystianer
Reynor vs HeRoMaRinE
RSL Revival
2 days
Cure vs Zoun
herO vs Rogue
WardiTV Team League
2 days
Platinum Heroes Events
2 days
[ Show More ]
BSL
2 days
RSL Revival
3 days
ByuN vs Maru
MaxPax vs TriGGeR
WardiTV Team League
3 days
BSL
3 days
Replay Cast
3 days
Replay Cast
4 days
Afreeca Starleague
4 days
Light vs Calm
Royal vs Mind
Wardi Open
4 days
Monday Night Weeklies
4 days
OSC
4 days
Sparkling Tuna Cup
5 days
Afreeca Starleague
5 days
Rush vs PianO
Flash vs Speed
Replay Cast
6 days
Afreeca Starleague
6 days
BeSt vs Leta
Queen vs Jaedong
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-03-24
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
BSL Season 22
CSL Elite League 2026
CSL Season 20: Qualifier 1
ASL Season 21
Acropolis #4 - TS6
RSL Revival: Season 4
Nations Cup 2026
NationLESS Cup
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

2026 Changsha Offline CUP
CSL Season 20: Qualifier 2
CSL 2026 SPRING (S20)
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 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 © 2026 TLnet. All Rights Reserved.