|
Germany2896 Posts
The Pseudocode of what I use: Interval is the time after which actions are worth 1/e in minutes. + Show Spoiler [code] + var ApmCounter:real; LastTick:Cardinal;
function OnAction begin ApmCounter++; end;
function OnTick var CurrentTick:Cardinal; begin CurrentTick:=gettickcount; TimeDiff:=CurrentTick-LastTick; ApmCounter:=ApmCounter*exp(-Timediff/(Interval*60000)); LastTick:=CurrentTick; end;
function OnDraw begin Write(ApmCounter/Interval); end;
|
thanks for that, I'll look into implementing it
|
Just updated it again with the new APM algorithm from MasterOfChaos. Its working pretty nicely, just took me a little while to tweak the decay rate It will probably agree most closely with BWCharts "flat" APM setting rather than "medium", but thats still a lot better than before
|
seems a bit buggy, in my last game it showed always under 290 apm but bwchart says that i had 315 apm with peaks of 500 (yeah with hotkey spamming ;D). In the beginning it also say that i have something like 200 but i was spamming like mad and i had definitely 400+
|
On April 13 2008 03:04 Flopgun wrote: seems a bit buggy, in my last game it showed always under 290 apm but bwchart says that i had 315 apm with peaks of 500 (yeah with hotkey spamming ;D). In the beginning it also say that i have something like 200 but i was spamming like mad and i had definitely 400+ I'll try lowering the decay rate a bit more. The beginning spam stuff is a side effect of the method, I've tried to offset that by having an initial period where actions don't decay, but apparently I need to up that period a bit more as well
|
im getting problem with chaoslauncher when i got a new comp T.T does it work with vista???
|
On April 13 2008 04:07 Darkmole wrote: im getting problem with chaoslauncher when i got a new comp T.T does it work with vista??? Make sure its being launched with administrator privileges.
|
Updated for 1.15.3, auto-update should work for it.
A couple other changes as well: -- Fixed a bug in APM calculation that resulted in a small offset from actual APM -- Removed Keyhooks and replaced them with Hotkeys (this should remove the Administrator account requirement from the plugin, hopefully, and make it more vista-compatible).
|
Awesome!
question I think i used this before, will it show the same apm as the one ill get in bwchart after? or will it be much higher
|
On September 19 2008 07:15 slained wrote: Awesome!
question I think i used this before, will it show the same apm as the one ill get in bwchart after? or will it be much higher It should be fairly similar (thats what I was going for when I chose the constants in the APM calculation, anyway). Thats very hard to compare though, but I think they're fairly similar (+/- 10 or so).
|
Yea I like that. I wonder what would happen if there was an EAPM Alert, would people get a lot better from it than a regular apm detector? heh, no idea how that would work. Anyways, I can't wait till try this out when I get home.
|
|
Screenshots of the current version: + Show Spoiler +
Beside APM there is a Min%. What does the Min% tell?
|
|
On September 19 2008 08:36 darnoconrad wrote:Screenshots of the current version:+ Show Spoiler +Beside APM there is a Min%. What does the Min% tell? Can you move that APM display around or something? I would love to have it where it is in the second picture, easy to notice if my APM is slipping when I go to upgrade or something.
EDIT: Oh, it's that 'LiveAPM X Position' and Y and stuff that moves it I guess?
|
On September 19 2008 08:43 Grobyc wrote:Can you move that APM display around or something? I would love to have it where it is in the second picture, easy to notice if my APM is slipping when I go to upgrade or something. EDIT: Oh, it's that 'LiveAPM X Position' and Y and stuff that moves it I guess? Correct. You can also set it ingame using some text commands (see the readme for that).
The min% is "mineral efficiency". Basically, it takes your total expenditures divided by your total income. Not too useful, but I went ahead and added that (you can enable/disable that display seperate from APMLive).
|
On September 19 2008 09:42 tec27 wrote: The min% is "mineral efficiency". Basically, it takes your total expenditures divided by your total income. Not too useful, but I went ahead and added that (you can enable/disable that display seperate from APMLive).
That's pretty cool but sometimes i get pretty strange values above 100% like i had 147% in my last game. How can I be spending more than my income?
|
On September 20 2008 04:26 darnoconrad wrote:Show nested quote +On September 19 2008 09:42 tec27 wrote: The min% is "mineral efficiency". Basically, it takes your total expenditures divided by your total income. Not too useful, but I went ahead and added that (you can enable/disable that display seperate from APMLive). That's pretty cool but sometimes i get pretty strange values above 100% like i had 147% in my last game. How can I be spending more than my income? HAX =O
|
On September 20 2008 04:26 darnoconrad wrote:Show nested quote +On September 19 2008 09:42 tec27 wrote: The min% is "mineral efficiency". Basically, it takes your total expenditures divided by your total income. Not too useful, but I went ahead and added that (you can enable/disable that display seperate from APMLive). That's pretty cool but sometimes i get pretty strange values above 100% like i had 147% in my last game. How can I be spending more than my income? I think one of the offsets is probably off. I made a mistake updating the offsets yesterday and so I might not have fixed one. I'll work on getting it fixed and upload that version for auto-updating once it is.
The other possibility is that the SC gods have bestowed upon you the ability to spend minerals you haven't collected yet. When it comes down to it, I would hope its the latter
|
Is there a way to see apm on replays with this plugin yet? I really miss that from advloader's apm live
|
|
|
|