|
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]](http://i.imgur.com/jAcboYn.png)
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]](http://i.imgur.com/DQIjuFd.png)
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.
|
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.
|
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.
|
I got this error. Using windows 8.1 x64.
|
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.
|
does it count mouse clicks?
|
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.
|
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.
|
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.
|
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]](http://i.imgur.com/YMkDPGF.png) 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.
|
Thank you, been looking for one to replace the mildly disfunctional one on scelight
|
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]](http://i.imgur.com/YMkDPGF.png) 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.
|
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)!
|
On September 10 2014 13:24 CalmestRoadkill wrote:It does. However, you have the option to turn that off in Settings. There's no option like that in Settings.
|
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.
|
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 "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.
|
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]](http://i.imgur.com/YMkDPGF.png) 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.
|
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.
|
How can I display my APM during an SC2 game? I use fullscreen, should I use windowed modes?
|
@ garnet, setting it to windowed mode (fullscreen) in the options tab (of sc2) does it for me.
|
|
|
|