• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:15
CET 04:15
KST 12:15
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
$5,000+ WardiTV 2025 Championship4[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win92025 RSL Offline Finals Dates + Ticket Sales!10
StarCraft 2
General
Giải Mã Thế Giới Kèo Bóng Đá RotterdaM "Serral is the GOAT, and it's not close" Starcraft, SC2, HoTS, WC3, returning to Blizzcon! Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread Dating: How's your luck? Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1528 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
OSC
23:00
OSC Elite Rising Star #17
CranKy Ducklings111
Liquipedia
LAN Event
18:00
Merivale 8: Swiss Groups Day 2
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 160
Nathanias 88
CosmosSc2 55
StarCraft: Brood War
Britney 16680
Sea 1488
Artosis 715
Noble 62
NaDa 61
Icarus 4
Dota 2
monkeys_forever420
NeuroSwarm68
LuMiX1
Super Smash Bros
hungrybox1098
AZ_Axe91
Other Games
summit1g6108
tarik_tv5350
JimRising 626
shahzam538
WinterStarcraft366
C9.Mang0136
Maynarde129
ViBE59
febbydoto14
fpsfer 1
Organizations
Other Games
gamesdonequick897
BasetradeTV152
Counter-Strike
PGL150
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 74
• davetesta13
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• HerbMon 9
• Azhi_Dahaki5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2627
League of Legends
• Stunt319
Other Games
• Scarra648
Upcoming Events
The PondCast
6h 45m
LAN Event
11h 45m
OSC
18h 45m
Replay Cast
19h 45m
OSC
1d 8h
LAN Event
1d 11h
Korean StarCraft League
1d 23h
CranKy Ducklings
2 days
WardiTV Korean Royale
2 days
LAN Event
2 days
[ Show More ]
IPSL
2 days
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
2 days
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
2 days
Sparkling Tuna Cup
3 days
WardiTV Korean Royale
3 days
LAN Event
3 days
IPSL
3 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
3 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
4 days
Wardi Open
4 days
WardiTV Korean Royale
5 days
Replay Cast
6 days
Kung Fu Cup
6 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.