• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:31
CEST 02:31
KST 09:31
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Soulkey on ASL S20 A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ ASL20 General Discussion Pros React To: SoulKey's 5-Peat Challenge
Tourneys
BSL 2025 Warsaw LAN + Legends Showmatch [ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Borderlands 3 General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1454 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 States3701 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 States3701 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 States3701 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
19:00
Mid Season Playoffs
Spirit vs PercivalLIVE!
Cham vs TBD
ByuN vs Jumy
SteadfastSC1019
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 1019
Nathanias 102
RuFF_SC2 38
StarCraft: Brood War
Rain 2166
Artosis 755
Shuttle 583
NaDa 31
Sharp 6
Dota 2
monkeys_forever792
LuMiX1
Counter-Strike
fl0m1812
Fnx 452
Other Games
summit1g6972
FrodaN1014
JimRising 302
C9.Mang0245
ToD224
Maynarde131
NeuroSwarm91
Trikslyr56
ViBE47
Organizations
Other Games
gamesdonequick720
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH70
• davetesta29
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• imaqtpie1377
• Scarra1237
Upcoming Events
RSL Revival
9h 29m
Maru vs Reynor
Cure vs TriGGeR
Map Test Tournament
10h 29m
The PondCast
12h 29m
RSL Revival
1d 9h
Zoun vs Classic
Korean StarCraft League
2 days
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
Online Event
3 days
[ Show More ]
Wardi Open
4 days
Monday Night Weeklies
4 days
Sparkling Tuna Cup
5 days
LiuLi Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
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

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries 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.