• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:44
CEST 02:44
KST 09:44
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL50Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster How does the number of casters affect your enjoyment of esports?
Tourneys
RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29)
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Help: rep cant save Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/ [ASL19] Finals Recap: Standing Tall Player “Jedi” cheat on CSL
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 635 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 States3696 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 States3696 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 States3696 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
00:00
HSC 27: Groups C
CranKy Ducklings88
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 214
NeuroSwarm 115
CosmosSc2 73
StarCraft: Brood War
Artosis 823
Aegong 53
Icarus 9
League of Legends
JimRising 733
Counter-Strike
taco 1377
Stewie2K665
Super Smash Bros
hungrybox525
Other Games
summit1g8542
shahzam1397
Day[9].tv761
ViBE220
Mew2King115
Organizations
Other Games
BasetradeTV44
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 52
• davetesta37
• sooper7s
• Migwel
• AfreecaTV YouTube
• LaughNgamezSOOP
• intothetv
• IndyKCrew
• Kozan
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Doublelift5438
• Jankos1543
• masondota2696
Other Games
• imaqtpie1045
• Day9tv761
Upcoming Events
RSL Revival
9h 16m
herO vs SHIN
Reynor vs Cure
OSC
12h 16m
WardiTV European League
15h 16m
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
15h 16m
Korean StarCraft League
1d 2h
CranKy Ducklings
1d 9h
RSL Revival
1d 9h
FEL
1d 15h
RSL Revival
2 days
FEL
2 days
[ Show More ]
BSL: ProLeague
2 days
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
4 days
The PondCast
5 days
Replay Cast
5 days
RSL Revival
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #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 © 2025 TLnet. All Rights Reserved.