• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 05:34
CET 11:34
KST 19:34
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
[BSL21] Ro.16 Group Stage (C->B->A->D)1Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win2RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14
StarCraft 2
General
When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win SC: Evo Complete - Ranked Ladder OPEN ALPHA Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge RSL Season 3: RO16 results & RO8 bracket
Tourneys
[Alpha Pro Series] Nice vs Cure Tenacious Turtle Tussle RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
Which season is the best in ASL? Data analysis on 70 million replays FlaSh on: Biggest Problem With SnOw's Playstyle soO on: FanTaSy's Potential Return to StarCraft 2v2 maps which are SC2 style with teams together?
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [Megathread] Daily Proleagues [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Nintendo Switch Thread The Perfect Game Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2183 users

APMAlert2 - APM Alerts, LiveAPM, and Ingame Clock

Forum Index > SC2 General
Post a Reply
1 2 3 4 5 12 13 14 Next All
tec27
Profile Blog Joined June 2004
United States3702 Posts
Last Edited: 2010-08-11 06:07:35
August 07 2010 21:16 GMT
#1
Quick Download Link: http://tec27.com/APMAlert2/APMAlert2.zip
Last Updated: Wednesday, Aug 11 4:20am GMT (GMT+00:00)
Source code: http://github.com/tec27/APMAlert2

Someone asked me to update the old APMAlert plugin for SC2, and since I realized that its actually almost easier now since SC2 outputs APM data to the registry (to interface with the Razer SC2 peripherals), I decided I'd go ahead and do it. For those of you that don't know what this does:

Features of APMAlert2:
  • Configurable minimum APM you would like yourself to keep
  • Configurable sound for it to play when you fall below this minimum APM
  • LiveAPM display ingame (only activates after you have built your first building. This is to prevent the program from being annoying when you're watching replays/playing UMS)
  • HellItsAboutTime display (ingame clock display for current real world time)
  • Customizable colors and fonts for all text displays, including different coloring for specific APM ranges
  • Customizable positioning for all displays, including horizontal/vertical centering
  • Hotkey for quickly toggling sound alert


Features that will NOT be implemented:
  • Game Timer
  • Displaying APMs of other players while Observing/In Replays (not really necessary anyway, given that SC2 already does this)
  • Electro-shock alerts


Features I would like to implement in the future:
  • Ingame configuration GUI
  • Locking/unlocking the displays and moving them around with the mouse
  • Borders and text effects
  • Customizable texturing
  • Graphical Clock(s)


Screenshots:
[image loading]
APMAlert2 with the default settings


[image loading]
APMAlert2 with settings for people who understand what the real game is


Requirements:
  • Windows XP/Vista/7
  • .NET Framework 3.5 (Download here.)
  • Microsoft VS 2010 Runtime Files (Download here.)
  • Starcraft 2


Install Guide:
  • Download APMAlert2 and PSI Starcraft Injector from here: http://tec27.com/APMAlert2/APMAlert2.zip
  • Unzip the file wherever you would like to keep APMAlert2.
  • If you are using Windows 7 or Vista and you have UAC enabled (if you don't know what that is, you do), you MUST run PSI as administrator for this to work. To make this always happen, simply right click PSIStarcraftInjector.exe and choose Properties. Then go to the compatibility tab and check 'Run this program as an administrator'.
  • Run PSIStarcraftInjector.exe and the configuration window should pop up. As long as this program is running, APMAlert will be run for each instance of SC2. If you don't want this to happen, simply exit this program before starting SC2. Otherwise, you can set your configuration and minimize PSI (which will live in your system tray), and it will do its job. Any settings changes will be applied at the beginning of each new SC2 game (except for the alert hotkey, this can only be updated after SC2 is restarted).
  • The current version of PSI cannot do automatic updates, so be sure to check this thread frequently for new versions, especially if you're having problems. I will try to keep a changelog up to date here.


Notes About Configuration:
  • When configuring positions for the various displays, X/Y are specified by percentage. Therefore the maximum value for each of these is 1.0, and minimum is 0.0. If you want to specify an exact pixel value, you can simply divide the desired pixel location by your SC2 width/height. IE: For a pixel location of 10,10 on a 1280 by 1024 window, the X would be 10/1280=0.0078125 and the Y would be 10/1024=0.0097656.
  • The default alert toggle hotkey is Ctrl+Alt+Shift+Backslash
  • Restoring defaults will immediately write the defaults to the registry, so be careful doing this if you don't want to lose settings
  • The custom APM value colors are checked from the bottom up. That is, if the last value is below your current APM, that color will be used even if the second-to-last value is closer but still below your APM. So if you'd like to input only a few custom colors, but not all 5, I recommend you start with the very bottom one and work up until you've input all your colors.


Ethical Considerations:
APMAlert (that is, the alert itself, not the two displays it also comes with) should only be used as a training tool. You should not under any circumstances use it in games that are not for training and/or are highly meaningful (IE: Tournaments, Showmatches, etc.). I can't control what you do with it, but I think most of you can handle that responsibility and its usefulness dwindles for those at the top of the game anyway.

Changelog
+ Show Spoiler +

  • August 11th 2010
    • Changed DirectX/D3DX/WinMM to load dynamically to provide better error handling

  • August 10th 2010
    • Added a message if the injector fails to load.
    • Fixed a problem that prevented you from disabling the LiveAPM/Clock display
    • Tweaked the APM calculation algorithm to decay faster. This feels closer to actual APM but still definitely needs tweaking.

  • August 9th 2010
    • Lowered the .NET target to 3.5
    • Fixed an issue with portraits ingame (I think)

  • August 9th 2010
    • More specific error messages for DLL Injection failure
    • Safer log file creation

  • August 7th, 2010
    • Logging to a text file added

  • August 7th, 2010
    • APMAlert2 released!





Known Bugs:
  • Changing Between Windowed/Fullscreen while playing a game could result in a crash


Please post in this thread if you have any questions or problems and I'll do my best to help! Suggestions for new features or different programs are also welcome!

Also, currently I am not sure I am satisifed with how APM is calculated in APMAlert2. If you notice that your APM is too high, not dynamic enough, or just feels wrong, please mention it. I'm still trying to work out the kinks in that. (Also, the APM used is actual APM, IE: 1.38 * what Blizzard says your APM is).

One last thing: If you have any cool sounds that you're using to alert yourself to speed the hell up, please post them in this thread. I plan on compiling a pack of alert sounds for people to easily choose from and releasing that within the next few days.

If you are having problems or cannot get it working, please post the contents of apmalert2.log from the directory you have PSI in. If you cannot find the log there, check <Your Starcraft 2 Folder>\Support\ for it.

Known Fixes:
  • If you receive a LoadLibrary error with code 126 or 127, please download and install the file located at: http://tinyurl.com/g7juc . This should fix that issue for you.
Can you jam with the console cowboys in cyberspace?
lyk503
Profile Joined May 2009
United States261 Posts
August 07 2010 21:24 GMT
#2
On August 08 2010 06:16 tec27 wrote:
Screenshots:
[image loading]
APMAlert2 with settings for people who understand what the real game is


I lol'ed
z0mgz starcraft
NB
Profile Blog Joined February 2010
Netherlands12045 Posts
August 07 2010 21:25 GMT
#3
holy shit, this is HUGE
Im daed. Follow me @TL_NB
SexyBimbo
Profile Joined April 2010
Germany89 Posts
August 07 2010 21:35 GMT
#4
Wow dude this will be just as amazing as you made it sound, thanks so much! =D
I'll try this out immedeately!

SB
Why do ppl do this; does my name look anything like Kiwikaki?? - Kawaiirice
vradovic
Profile Joined September 2008
United States293 Posts
August 07 2010 21:41 GMT
#5
what about if Blizzard ban you because of using this?
storm44
Profile Blog Joined July 2010
1293 Posts
August 07 2010 21:48 GMT
#6
Known Bugs
Changing Between Windowed/Fullscreen while playing a game could result in a crash

Lol..That would not be good
SexyBimbo
Profile Joined April 2010
Germany89 Posts
August 07 2010 21:50 GMT
#7
what about if Blizzard ban you because of using this?

Just had the same thought but I don't think they would do it. "All this does" is show my very own APM ingame, warn me if it gets smaller than a set value and show a real-time-clock ingame.

He did not implement the game-time-clock and the opponents APM to keep it fair and I don't see how the implemented features are giving me any kind of advantage over my opponent.
Blizz should agree with that, right?

It just helps you if you try to get your APM higher or if you wanna feel good about yours being high already. The real-time-clock is pretty neat as well as I've found myself looking at my watch during games and regretting it instantly thereafter.

I consider this sweet program both a nice tool for practice and a toy at the same time. =)

Come on Blizz, dont ruin everything!

SB
Why do ppl do this; does my name look anything like Kiwikaki?? - Kawaiirice
tec27
Profile Blog Joined June 2004
United States3702 Posts
August 07 2010 21:50 GMT
#8
On August 08 2010 06:41 vradovic wrote:
what about if Blizzard ban you because of using this?

Thats not very likely to happen, although I can't make any 100% guarantees. The way this works is by hooking into DirectX, very similar to how Fraps/Procaster (game mode)/Steam does it. Thus Blizzard is not likely to ban it because that would be hard to do without also banning those other programs. The APM calculation is done by utilizing some output from the game that Blizzard implemented for Razer's new SC2 peripherals, so that part is 100% unbannable.
Can you jam with the console cowboys in cyberspace?
ChickenLips
Profile Blog Joined May 2010
2912 Posts
August 07 2010 21:54 GMT
#9
I want this as an alert:

❤Ƹ̵̡Ӝ̵̨̄Ʒ✿
wishbones
Profile Blog Joined April 2009
Canada2600 Posts
Last Edited: 2010-08-07 22:00:00
August 07 2010 21:58 GMT
#10
+ Show Spoiler +
On August 08 2010 06:54 ChickenLips wrote:
I want this as an alert:

http://www.youtube.com/watch?v=a3I5h7UaOuk

O M G! LOL! YES! FUCKIN WIN! lol oh wow this is great loll. I knew day9 was a beast but damn that roar@ 00:18!

sick plugin, cant wait to try it.
joined TL.net in 2006 (aka GMer) - http://www.teamliquid.net/forum/viewmessage.php?topic_id=41944#2
ItsTheFark
Profile Joined June 2010
United States158 Posts
August 07 2010 22:02 GMT
#11
I have it downloaded and everything up, but I dont see anything in game?
ChickenLips
Profile Blog Joined May 2010
2912 Posts
August 07 2010 22:11 GMT
#12
On August 08 2010 07:02 ItsTheFark wrote:
I have it downloaded and everything up, but I dont see anything in game?


I don't either, I've even installed Net 4.0
❤Ƹ̵̡Ӝ̵̨̄Ʒ✿
tfmdjeff
Profile Joined June 2010
United States170 Posts
August 07 2010 22:14 GMT
#13
I feel like the clock and APM counter might be a little intrusive.

I just made this picture here as a suggestion of something you could do with it, if it's possible to do so

+ Show Spoiler +
[image loading]


putting it down on that bar would make is less intrusive and probably a bit easier to look at, but I don't know if you can position it there or anything.

Also, I'd be really cautious of this. I wouldn't use it until I had confirmation from blizzard that i wouldn't be banned for using it.
Kexx
Profile Joined May 2010
Germany240 Posts
August 07 2010 22:16 GMT
#14
On August 08 2010 06:16 tec27 wrote:

[image loading]
APMAlert2 with settings for people who understand what the real game is




maybe it's just me, but this might be a tiny teeny little bit distracting, dunno.
chooooch
ilbh
Profile Blog Joined May 2007
Brazil1606 Posts
Last Edited: 2010-08-07 22:16:35
August 07 2010 22:16 GMT
#15
I'm getting a small alert error at the first time I run the program:

Winjection Error
Error loading library remotely.

and then it won't work.
using XP here, have .net 4.0 installed.
Part of the inhumanity of the computer is that, once it is competently programmed and working smoothly, it is completely honest.
ChickenLips
Profile Blog Joined May 2010
2912 Posts
August 07 2010 22:19 GMT
#16
Anyone got this working?
❤Ƹ̵̡Ӝ̵̨̄Ʒ✿
tec27
Profile Blog Joined June 2004
United States3702 Posts
Last Edited: 2010-08-07 22:34:44
August 07 2010 22:22 GMT
#17
Hmm, yeah, small bug, lemme work that out real quick.

Edit: Its working fine for me generally. If you're getting a failure to load the library remotely, make sure you're running PSI as administrator. The only problem I'm having is a CreateDevice error occasionally when the game starts up as fullscreen. If you use Windowed fullscreen you should be fine, and I'll work on fixing that problem with regular fullscreen.
Can you jam with the console cowboys in cyberspace?
Merikh
Profile Blog Joined June 2010
United States918 Posts
August 07 2010 22:23 GMT
#18
lol hope you guys don't get banned for this caution.
G4MR | I mod day9, djwheat and GLHF's stream
Coil
Profile Joined May 2010
Argentina119 Posts
August 07 2010 22:23 GMT
#19
A nice feature i would love, is being able to select in which audio output to play the alert, i play on usb headphones on sc2, but have default sound on speakers, that way i have music and annoying background sounds there, i would love to have the apm warning on my headset :D

Thanks anyway, looks cool.
<@Failure> I GOT RIZZIED <@Failure> NO ORDINARY GURL KAE <@Failure> SHE RIZZIE
ChickenLips
Profile Blog Joined May 2010
2912 Posts
August 07 2010 22:26 GMT
#20
On August 08 2010 07:23 Coil wrote:
A nice feature i would love, is being able to select in which audio output to play the alert, i play on usb headphones on sc2, but have default sound on speakers, that way i have music and annoying background sounds there, i would love to have the apm warning on my headset :D

Thanks anyway, looks cool.


you can use the windows 7 mixer to rout your programs sound output.

❤Ƹ̵̡Ӝ̵̨̄Ʒ✿
1 2 3 4 5 12 13 14 Next All
Please log in or register to reply.
Live Events Refresh
Replay Cast
09:00
WardiTV Mondays #61
CranKy Ducklings134
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SortOf 175
ProTech15
StarCraft: Brood War
Horang2 634
Shuttle 624
Flash 508
Barracks 369
Mini 225
Backho 211
Soma 202
Hyun 181
Light 119
Pusan 115
[ Show more ]
Last 81
Dewaltoss 72
sorry 54
ZerO 53
Rush 51
ToSsGirL 50
NotJumperer 50
Mind 37
ajuk12(nOOB) 29
Terrorterran 15
Noble 11
Hm[arnc] 8
SilentControl 7
Dota 2
XcaliburYe176
League of Legends
JimRising 292
Counter-Strike
olofmeister1882
Other Games
summit1g13378
ceh9676
Fuzer 260
QueenE42
Trikslyr15
ZerO(Twitch)7
Organizations
Other Games
gamesdonequick700
Dota 2
PGL Dota 2 - Main Stream265
Other Games
BasetradeTV26
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH151
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 104
• lizZardDota250
League of Legends
• Jankos1608
Upcoming Events
Wardi Open
1h 26m
OSC
2h 26m
Tenacious Turtle Tussle
13h 26m
The PondCast
23h 26m
Replay Cast
1d 12h
OSC
2 days
LAN Event
2 days
Replay Cast
2 days
Replay Cast
2 days
WardiTV Korean Royale
3 days
[ Show More ]
Sparkling Tuna Cup
3 days
WardiTV Korean Royale
4 days
Replay Cast
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Replay Cast
5 days
Wardi Open
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

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

Upcoming

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