• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:01
CEST 08:01
KST 15:01
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed13Weekly Cups (July 7-13): Classic continues to roll4Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
Who will win EWC 2025? The GOAT ranking of GOAT rankings Esports World Cup 2025 - Brackets Revealed RSL Revival patreon money discussion thread Weekly Cups (July 7-13): Classic continues to roll
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event Sea Duckling Open (Global, Bronze-Diamond) RSL: Revival, a new crowdfunded tournament series $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Help: rep cant save BW General Discussion Flash Announces (and Retracts) Hiatus From ASL ASL20 Preliminary Maps BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Cosmonarchy Pro Showmatches [Megathread] Daily Proleagues CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread CCLP - Command & Conquer League Project The PlayStation 5
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 Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 808 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
Next event in 3h 59m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nina 303
StarCraft: Brood War
Snow 228
Leta 177
TY 136
Noble 41
sSak 21
NotJumperer 3
Dota 2
monkeys_forever782
League of Legends
JimRising 786
Counter-Strike
Stewie2K1065
Super Smash Bros
Mew2King100
Other Games
summit1g12711
shahzam749
WinterStarcraft475
C9.Mang0387
NeuroSwarm64
ROOTCatZ59
SortOf27
Trikslyr24
Organizations
Other Games
gamesdonequick2116
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• practicex 48
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1994
• Lourlo1232
• Stunt456
Other Games
• Scarra2647
Upcoming Events
The PondCast
3h 59m
OSC
6h 59m
WardiTV European League
9h 59m
Fjant vs Babymarine
Mixu vs HiGhDrA
Gerald vs ArT
goblin vs MaNa
Jumy vs YoungYakov
Replay Cast
17h 59m
Epic.LAN
1d 5h
CranKy Ducklings
2 days
Epic.LAN
2 days
CSO Contender
2 days
BSL20 Non-Korean Champi…
2 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
3 days
[ Show More ]
Online Event
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
5 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Esports World Cup
6 days
Liquipedia Results

Completed

JPL Season 2
RSL Revival: Season 1
Murky Cup #2

Ongoing

BSL 2v2 Season 3
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
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

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
ESL Pro League S22
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
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.