Upvote Upvoted 111 Downvote Downvoted
1 2 3 4
MedicStats SourceMod plugin
posted in Projects
1
#1
39 Frags +

I made a bunch of SourceMod plugins. To use them, you first need to install Metamod and SourceMod.

SourceMod plugins:

MedicStats by F2 [download] (Not compatible with TFTrue)
- Logs buff heals (~95% accurate)
- Logs average time to build uber
- Logs average time the uber lasts
- Logs number of uber advantages lost
- Logs how many times the medic dies shortly after ubering
- Logs other additional medic stats
- Example: [link]

SupStats2 by F2 [download] (Not compatible with TFTrue)
- Logs damage and real damage per weapon
- Logs airshots
- Logs self-healing (eg. by blackbox)
- Logs headshots (not just headshot kills)
- Logs medkit pickups including amount of healing
- Logs which medigun is used when ubering
- Logs crits and mini crits
- Logs non-buffed heals
- Logs ammo pickups
- Logs players spawning
- Logs game pauses
- Logs shots fired and shots hit

LogsTF by F2 [download] - Requires either cURL or SteamTools extension
- Set cvar logstf_apikey to your Logs.tf API Key
- Automatically uploads logs to logs.tf
- You can see the logs in-game by typing !log
- Can upload logs after each round (the log will be updated on logs.tf after each round) - to enable, set in server.cfg: logstf_midgameupload 1
- You can use !log after each round if logstf_midgameupload is enabled
- Fixes several bugs seen in other plugins (including the last round missing, and stats being wrong when you play two matches on the same map)

Pause by F2 [download] (Not compatible with TFTrue)
- Adds a 5 second countdown when unpausing
- Unpause protection (if two people write pause at the same time, it doesn't accidentally unpause)
- Shows pause information in chat (see screenshot)

RecordSTV by F2 [download]
- When a match starts, it starts recording a STV demo
- When the match ends, it stops the recording

WaitForStv by F2 [download] (Not compatible with TFTrue)
- Waits up to 90 seconds when changing map
- Doesn't wait more time than necessary

AFK by F2 [download]
- If a player is AFK in warmup, it shows a warning to all players on their team
- If both teams ready up and there is an AFK player, it shows a warning to the person's team
- Works together with the latest version of TF2DM... if a player is AFK, he will be moved back to spawn

RestoreScore by F2 [download] (Not compatible with TFTrue)
- Restores a player's score on the scoreboard when he reconnects

FixStvSlot by F2 [download]
- Changes the map on server start to avoid a crash related to STV slot

Updater by GoD-Tony [download] - Requires cURL
- Automatically keeps plugins up-to-date

Thanks to
Lange for making soap_tf2dm and mgemod, from which I borrowed code
Jean-Denis Caron for making supstats, from which I borrowed code
Duckeh for making LogUploader, from which I borrowed code
calm for sponsoring LEGO, making it possible to test these plugins
The LEGO Team for helping test the plugins and give feedback
zoob for making logs.tf and cooperating in improving TF2 stats

Other downloads
- All my plugins, compiled: [link]
- All my plugins, source: [link]

Feedback
All feedback and suggestions are highly appreciated.

I made a bunch of SourceMod plugins. To use them, you first need to install [url=http://wiki.alliedmods.net/Installing_Metamod:Source]Metamod[/url] and [url=http://wiki.alliedmods.net/Installing_SourceMod]SourceMod[/url].

SourceMod plugins:

[b][u]MedicStats[/u][/b] by F2 [url=http://sourcemod.krus.dk/medicstats.zip][download][/url] [i](Not compatible with TFTrue)[/i]
- Logs buff heals (~95% accurate)
- Logs average time to build uber
- Logs average time the uber lasts
- Logs number of uber advantages lost
- Logs how many times the medic dies shortly after ubering
- Logs other additional medic stats
- Example: [url=http://logs.tf/154545][link][/url]

[b][u]SupStats2[/u][/b] by F2 [url=http://sourcemod.krus.dk/supstats2.zip][download][/url] [i](Not compatible with TFTrue)[/i]
- Logs damage and real damage per weapon
- Logs airshots
- Logs self-healing (eg. by blackbox)
- Logs headshots (not just headshot kills)
- Logs medkit pickups including amount of healing
- Logs which medigun is used when ubering
- Logs crits and mini crits
- Logs non-buffed heals
- Logs ammo pickups
- Logs players spawning
- Logs game pauses
- Logs shots fired and shots hit

[b][u]LogsTF[/u][/b] by F2 [url=http://sourcemod.krus.dk/logstf.zip][download][/url] - Requires either [url=https://code.google.com/p/sourcemod-curl-extension/downloads/detail?name=curl_1.3.0.0.zip&can=2&q=]cURL[/url] or [url=https://forums.alliedmods.net/showthread.php?t=170630]SteamTools[/url] extension
- Set cvar logstf_apikey to your Logs.tf API Key
- Automatically uploads logs to logs.tf
- You can see the logs in-game by typing !log
- Can upload logs after each round (the log will be updated on logs.tf after each round) - to enable, set in server.cfg: logstf_midgameupload 1
- You can use !log after each round if logstf_midgameupload is enabled
- Fixes several bugs seen in other plugins (including the last round missing, and stats being wrong when you play two matches on the same map)

[b][u]Pause[/u][/b] by F2 [url=http://sourcemod.krus.dk/pause.zip][download][/url] [i](Not compatible with TFTrue)[/i]
- Adds a 5 second countdown when unpausing
- Unpause protection (if two people write pause at the same time, it doesn't accidentally unpause)
- Shows pause information in chat (see [url=http://sourcemod.krus.dk/pause.jpg]screenshot[/url])

[b][u]RecordSTV[/u][/b] by F2 [url=http://sourcemod.krus.dk/recordstv.zip][download][/url]
- When a match starts, it starts recording a STV demo
- When the match ends, it stops the recording

[b][u]WaitForStv[/u][/b] by F2 [url=http://sourcemod.krus.dk/waitforstv.zip][download][/url] [i](Not compatible with TFTrue)[/i]
- Waits up to 90 seconds when changing map
- Doesn't wait more time than necessary

[b][u]AFK[/u][/b] by F2 [url=http://sourcemod.krus.dk/afk.zip][download][/url]
- If a player is AFK in warmup, it shows [url=http://sourcemod.krus.dk/afk-1.jpg]a warning[/url] to all players on their team
- If both teams ready up and there is an AFK player, it shows [url=http://sourcemod.krus.dk/afk-2.jpg]a warning[/url] to the person's team
- Works together with the latest version of TF2DM... if a player is AFK, he will be moved back to spawn

[b][u]RestoreScore[/u][/b] by F2 [url=http://sourcemod.krus.dk/restorescore.zip][download][/url] [i](Not compatible with TFTrue)[/i]
- Restores a player's score on the scoreboard when he reconnects

[b][u]FixStvSlot[/u][/b] by F2 [url=http://sourcemod.krus.dk/fixstvslot.zip][download][/url]
- Changes the map on server start to avoid a crash related to STV slot

[b][u]Updater[/u][/b] by GoD-Tony [url=http://forums.alliedmods.net/showthread.php?t=169095][download][/url] - Requires [url=https://code.google.com/p/sourcemod-curl-extension/downloads/detail?name=curl_1.3.0.0.zip&can=2&q=]cURL[/url]
- Automatically keeps plugins up-to-date

[u]Thanks to[/u]
[b]Lange[/b] for making soap_tf2dm and mgemod, from which I borrowed code
[b]Jean-Denis Caron[/b] for making supstats, from which I borrowed code
[b]Duckeh[/b] for making LogUploader, from which I borrowed code
[b]calm[/b] for sponsoring LEGO, making it possible to test these plugins
[b]The LEGO Team[/b] for helping test the plugins and give feedback
[b]zoob[/b] for making logs.tf and cooperating in improving TF2 stats

[u]Other downloads[/u]
- All my plugins, compiled: [url=http://sourcemod.krus.dk/f2-sourcemod-plugins.zip][link][/url]
- All my plugins, source: [url=http://sourcemod.krus.dk/f2-sourcemod-plugins-src.zip][link][/url]

[u]Feedback[/u]
All feedback and suggestions are highly appreciated.
2
#2
15 Frags +

Saw this in action for one of the casts. Was absolutely amazing. Can't wait to put it in, and thank you for releasing it.

Saw this in action for one of the casts. Was absolutely amazing. Can't wait to put it in, and thank you for releasing it.
3
#3
2 Frags +

Thank you very much for releasing this plugin. Quick question, if you have a server with just TFTrue on it, do you need to install SupStats+SupStats-Extra if you want that functionality?

Thank you very much for releasing this plugin. Quick question, if you have a server with just TFTrue on it, do you need to install SupStats+SupStats-Extra if you want that functionality?
4
#4
4 Frags +

OMG I love you F2.

OMG I love you F2.
5
#5
0 Frags +

Been waiting for one of these for so long. Thanks so much F2.

Been waiting for one of these for so long. Thanks so much F2.
6
#6
1 Frags +

Can we see some real match stats examples?

Can we see some real match stats examples?
7
#7
2 Frags +
Stochast1cQuick question, if you have a server with just TFTrue on it, do you need to install SupStats+SupStats-Extra if you want that functionality?

Assuming you have TFTrue and SourceMod:
- If you want MedicStats, all you need to install is the MedicStats plugin.
- If you want MedicStats and real damage, you need to install MedicStats + SupStats-Extra + LogsTF plugins, and in server.cfg you need to set logstf_apikey to your Logs.TF API key, and NOT set tftrue_logs_apikey.

[quote=Stochast1c]Quick question, if you have a server with just TFTrue on it, do you need to install SupStats+SupStats-Extra if you want that functionality?[/quote]

Assuming you have TFTrue and SourceMod:
- If you want MedicStats, all you need to install is the MedicStats plugin.
- If you want MedicStats and real damage, you need to install MedicStats + SupStats-Extra + LogsTF plugins, and in server.cfg you need to set logstf_apikey to your Logs.TF API key, and NOT set tftrue_logs_apikey.
8
#8
3 Frags +
KAMOCan we see some real match stats examples?

Real Damage: Normal Damage vs Real Damage
Medic Stats: http://logs.tf/113922 + http://logs.tf/108281 (Click Show Chat and scroll to the bottom to see the additional medic stats)

[quote=KAMO]Can we see some real match stats examples?[/quote]

Real Damage: [url=http://logs.tf/110379]Normal Damage[/url] vs [url=http://logs.tf/110380]Real Damage[/url]
Medic Stats: [url=http://logs.tf/113922]http://logs.tf/113922[/url] + [url=http://logs.tf/108281]http://logs.tf/108281[/url] (Click Show Chat and scroll to the bottom to see the additional medic stats)
9
#9
0 Frags +

thank god

thank god
10
#10
5 Frags +

In collaboration with zoob from logs.tf, I have made a new plugin that logs new interesting stats. This plugin replaces supstats and supstats-extra, so remember to remove those from your server (otherwise the stats will be completely wrong).

On logs.tf you can see an example of the new stats.

SupStats2 v2.0.0 new (not compatible with TFTrue)
- Logs damage and real damage per weapon
- Logs damage taken
- Logs airshots
- Logs self-healing (eg. by blackbox)
- Logs headshots (not just headshot kills)
- Logs medkit pickups including amount of healing
- Logs which medigun is used when ubering
- Logs crits and mini crits
- Logs non-buffed heals (as in v1)
- Logs ammo pickups (as in v1)
- Logs players spawning (as in v1)
- Logs game pauses (as in v1)

LogsTF v2.0.0
- Can upload logs after each round (the log will be updated on logs.tf after each round) - to enable, set in server.cfg: logstf_midgameupload 1
- You can use !log after each round if logstf_midgameupload is enabled

In collaboration with zoob from logs.tf, I have made a new plugin that logs new interesting stats. [b]This plugin replaces supstats and supstats-extra, so remember to remove those from your server[/b] (otherwise the stats will be completely wrong).

On logs.tf you can see an [url=http://logs.tf/149538]example[/url] of the new stats.

[b]SupStats2[/b] v2.0.0 [i]new[/i] [b](not compatible with TFTrue)[/b]
- Logs damage and real damage per weapon
- Logs damage taken
- Logs airshots
- Logs self-healing (eg. by blackbox)
- Logs headshots (not just headshot kills)
- Logs medkit pickups including amount of healing
- Logs which medigun is used when ubering
- Logs crits and mini crits
- Logs non-buffed heals (as in v1)
- Logs ammo pickups (as in v1)
- Logs players spawning (as in v1)
- Logs game pauses (as in v1)

[b]LogsTF[/b] v2.0.0
- Can upload logs after each round (the log will be updated on logs.tf after each round) - to enable, set in server.cfg: logstf_midgameupload 1
- You can use !log after each round if logstf_midgameupload is enabled
11
#11
0 Frags +

I'm getting:

14 <Failed> "Logs.TF Uploader" (2.0.1) by F2

I have CURL installed but it doesn't seem to be loading:

L 12/24/2013 - 17:25:43: [SM] Unable to load plugin "logstf.smx": Required extension "curl" file("curl.ext") not running

Any tips?

Misc logs:

[SM] Listing 25 plugins:
01 "Admin File Reader" (1.5.3-dev+3954) by AlliedModders LLC
02 "Admin Help" (1.5.3-dev+3954) by AlliedModders LLC
03 "Admin Menu" (1.5.3-dev+3954) by AlliedModders LLC
04 "Anti-Flood" (1.5.3-dev+3954) by AlliedModders LLC
05 "Basic Ban Commands" (1.5.3-dev+3954) by AlliedModders LLC
06 "Basic Chat" (1.5.3-dev+3954) by AlliedModders LLC
07 "Basic Comm Control" (1.5.3-dev+3954) by AlliedModders LLC
08 "Basic Commands" (1.5.3-dev+3954) by AlliedModders LLC
09 "Basic Info Triggers" (1.5.3-dev+3954) by AlliedModders LLC
10 "Basic Votes" (1.5.3-dev+3954) by AlliedModders LLC
11 "Client Preferences" (1.5.3-dev+3954) by AlliedModders LLC
12 "Countdown" (1.0.0) by F2
13 "Fix STV Slot" (1.0.1) by F2
14 <Failed> "Logs.TF Uploader" (2.0.1) by F2
15 "Match Recorder" (0.4) by carbon
16 "Medic Stats" (1.3.0) by F2
17 <Error> "MGEMod" (2.0.9) by Lange & Cprice; based on kAmmomod by Krolus.
18 "Player Commands" (1.5.3-dev+3954) by AlliedModders LLC
19 "Restore Score" (1.1.1) by F2
20 "SOAP TF2 Deathmatch" (3.4) by MikeJS, Lange, & Tondark
21 "SOAP Tournament" (3.4) by Lange
22 "Sound Commands" (1.5.3-dev+3954) by AlliedModders LLC
23 "Supplemental Stats v2" (2.0.0) by F2 (v1 by Jean-Denis Caron)
24 "Updater" (1.1.5) by GoD-Tony
25 "Wait For STV" (1.0.0) by F2
Load Errors:
MGEMod: Map not supported. MGEMod disabled.

Listing 4 plugins:
[01] SourceMod (1.5.3-dev+3954) by AlliedModders LLC
[02] TF2 Tools (1.5.3-dev+3954) by AlliedModders LLC
[03] SDK Hooks (1.5.3-dev+3954) by AlliedModders LLC
[04] SDK Tools (1.5.3-dev+3954) by AlliedModders LLC
I'm getting:

14 <Failed> "Logs.TF Uploader" (2.0.1) by F2

I have CURL installed but it doesn't seem to be loading:

L 12/24/2013 - 17:25:43: [SM] Unable to load plugin "logstf.smx": Required extension "curl" file("curl.ext") not running

Any tips?

Misc logs:
[code][SM] Listing 25 plugins:
01 "Admin File Reader" (1.5.3-dev+3954) by AlliedModders LLC
02 "Admin Help" (1.5.3-dev+3954) by AlliedModders LLC
03 "Admin Menu" (1.5.3-dev+3954) by AlliedModders LLC
04 "Anti-Flood" (1.5.3-dev+3954) by AlliedModders LLC
05 "Basic Ban Commands" (1.5.3-dev+3954) by AlliedModders LLC
06 "Basic Chat" (1.5.3-dev+3954) by AlliedModders LLC
07 "Basic Comm Control" (1.5.3-dev+3954) by AlliedModders LLC
08 "Basic Commands" (1.5.3-dev+3954) by AlliedModders LLC
09 "Basic Info Triggers" (1.5.3-dev+3954) by AlliedModders LLC
10 "Basic Votes" (1.5.3-dev+3954) by AlliedModders LLC
11 "Client Preferences" (1.5.3-dev+3954) by AlliedModders LLC
12 "Countdown" (1.0.0) by F2
13 "Fix STV Slot" (1.0.1) by F2
14 <Failed> "Logs.TF Uploader" (2.0.1) by F2
15 "Match Recorder" (0.4) by carbon
16 "Medic Stats" (1.3.0) by F2
17 <Error> "MGEMod" (2.0.9) by Lange & Cprice; based on kAmmomod by Krolus.
18 "Player Commands" (1.5.3-dev+3954) by AlliedModders LLC
19 "Restore Score" (1.1.1) by F2
20 "SOAP TF2 Deathmatch" (3.4) by MikeJS, Lange, & Tondark
21 "SOAP Tournament" (3.4) by Lange
22 "Sound Commands" (1.5.3-dev+3954) by AlliedModders LLC
23 "Supplemental Stats v2" (2.0.0) by F2 (v1 by Jean-Denis Caron)
24 "Updater" (1.1.5) by GoD-Tony
25 "Wait For STV" (1.0.0) by F2
Load Errors:
MGEMod: Map not supported. MGEMod disabled.

Listing 4 plugins:
[01] SourceMod (1.5.3-dev+3954) by AlliedModders LLC
[02] TF2 Tools (1.5.3-dev+3954) by AlliedModders LLC
[03] SDK Hooks (1.5.3-dev+3954) by AlliedModders LLC
[04] SDK Tools (1.5.3-dev+3954) by AlliedModders LLC
[/code]
12
#12
0 Frags +
TechDudeI'm getting:

14 <Failed> "Logs.TF Uploader" (2.0.1) by F2

That does seem weird. Here's some wild suggestions you can try.

  1. Try restarting your server
  2. Check "sm exts list" to see if curl is indeed not loaded
  3. On the FTP, check that /tf/addons/sourcemod/extensions/ contains curl.ext.dll/.so
  4. Try using SourceMod 1.5.2 (stable)
[quote=TechDude]I'm getting:

14 <Failed> "Logs.TF Uploader" (2.0.1) by F2
[/quote]

That does seem weird. Here's some wild suggestions you can try.
[olist]
[*] Try restarting your server
[*] Check "sm exts list" to see if curl is indeed not loaded
[*] On the FTP, check that /tf/addons/sourcemod/extensions/ contains curl.ext.dll/.so
[*] Try using SourceMod 1.5.2 (stable)
[/olist]
13
#13
2 Frags +

This all looks insanely good, and is very exciting.

As a caster, I am especially glad to see the Wait for STV plugin. No more live casts being cut off by map changes!

edit: God the more I look at it, the more exciting it is. These plugins need love

This all looks insanely good, and is very exciting.

As a caster, I am especially glad to see the Wait for STV plugin. No more live casts being cut off by map changes!

edit: God the more I look at it, the more exciting it is. These plugins need love
14
#14
11 Frags +

With the new version of supstats2, you can now see your accuracy for each of your weapons.

Check out this sample log. Hover over each of the class icons to see the accuracies.

Accuracies are computed based on shots fired vs shots hit. Building uber, rocket jumping and clearing stickies (with hitscan weapons) does not affect the accuracy.

So far the following weapons are supported: Shotgun, Scattergun, Pistol, Rocket Launchers, Grenade Launcher, Sniper Rifle, SMG and Needles.

http://i.imgur.com/b9joIK8.png

SupStats2 v2.1.0
- NEW: Accuracy Stats
- Rocket jumping and building uber does not affect accuracy
- Clearing stickies does not affect accuracy
- Minimum airshot distance-to-ground changed from 80 to 170 units
- Minor bug fixes

With the new version of supstats2, you can now see your accuracy for each of your weapons.

Check out this [url=http://logs.tf/154545]sample log[/url]. Hover over each of the class icons to see the accuracies.

Accuracies are computed based on shots fired vs shots hit. Building uber, rocket jumping and clearing stickies (with hitscan weapons) does not affect the accuracy.

So far the following weapons are supported: Shotgun, Scattergun, Pistol, Rocket Launchers, Grenade Launcher, Sniper Rifle, SMG and Needles.

[img]http://i.imgur.com/b9joIK8.png[/img]

[b]SupStats2[/b] v2.1.0
- NEW: Accuracy Stats
- Rocket jumping and building uber does not affect accuracy
- Clearing stickies does not affect accuracy
- Minimum airshot distance-to-ground changed from 80 to 170 units
- Minor bug fixes
15
#15
1 Frags +

Any ideas on how to work sticky accuracy in yet?

Any ideas on how to work sticky accuracy in yet?
16
#16
0 Frags +

Oh my god

thank you based F2 @_@

Oh my god

thank you based F2 @_@
17
#17
11 Frags +
DavidTheWinAny ideas on how to work sticky accuracy in yet?

I guess it should either be
1) You place 8 stickies, detonate them. If two of them hits, it counts as 1 fired, 1 hit.
2) You place 8 stickies, detonate them. If two of them hits, it counts as 8 fired and 2 hits.

But I'm not fully convinced that sticky accuracy makes sense to look at. I mean, it's stickies!

[quote=DavidTheWin]Any ideas on how to work sticky accuracy in yet?[/quote]

I guess it should either be
1) You place 8 stickies, detonate them. If two of them hits, it counts as 1 fired, 1 hit.
2) You place 8 stickies, detonate them. If two of them hits, it counts as 8 fired and 2 hits.

But I'm not fully convinced that sticky accuracy makes sense to look at. I mean, it's stickies!
18
#18
9 Frags +

Thanks, F2 :)

Thanks, F2 :)
19
#19
0 Frags +

I just tried these out, they are great. I hope they become the standard!

I just tried these out, they are great. I hope they become the standard!
20
#20
1 Frags +
TheNomadI just tried these out, they are great. I hope they become the standard!

Thanks :)

[quote=TheNomad]I just tried these out, they are great. I hope they become the standard![/quote]
Thanks :)
21
#21
0 Frags +

I'm having an issue with the logs.

The damage seems to be way off and that's it. All the other stuff like kills, deaths heals, and whatnot seems to be just right but the damage looks super wonky. I compared it to a sizzlingstats to make sure. It looks like it counts the damage as double. I also upgraded sourcemod and that didn't seem to fix it.

example log: http://logs.tf/161503

http://sizzlingstats.com/stats/133198

Might I be doing something wrong?

Also I love your work, thank you :)

I'm having an issue with the logs.

The damage seems to be way off and that's it. All the other stuff like kills, deaths heals, and whatnot seems to be just right but the damage looks super wonky. I compared it to a sizzlingstats to make sure. It looks like it counts the damage as double. I also upgraded sourcemod and that didn't seem to fix it.

example log: http://logs.tf/161503

http://sizzlingstats.com/stats/133198


Might I be doing something wrong?


Also I love your work, thank you :)
22
#22
0 Frags +
raxozelletIt looks like it counts the damage as double.

Remove these plugins: supstats-extra.smx and supstats.smx

[quote=raxozellet]It looks like it counts the damage as double.[/quote]

Remove these plugins: supstats-extra.smx and supstats.smx
23
#23
0 Frags +

How likely would it be to add support for more pyro stats. I would like to be able to see how many reflects for damage the pyro did and how many players they extinguished. Right now looking at logs pulled from logs.tf/json/xxxxxx I can get pyro reflect kills and total reflect damage and thats about it.

I'm displaying some class specific stats on my teams website, but pyro gets no love in the logs. Right now it's just AVG spy kills+assists per game and reflect kills, which makes for a pretty sorry table. Would love to have extinguishes and reflects for damage.

How likely would it be to add support for more pyro stats. I would like to be able to see how many reflects for damage the pyro did and how many players they extinguished. Right now looking at logs pulled from logs.tf/json/xxxxxx I can get pyro reflect kills and total reflect damage and thats about it.

I'm displaying some class specific stats on my teams website, but pyro gets no love in the logs. Right now it's just AVG spy kills+assists per game and reflect kills, which makes for a pretty sorry table. Would love to have extinguishes and reflects for damage.
24
#24
0 Frags +
BigMoneyPussHow likely would it be to add support for more pyro stats. I would like to be able to see how many reflects for damage the pyro did and how many players they extinguished. Right now looking at logs pulled from logs.tf/json/xxxxxx I can get pyro reflect kills and total reflect damage and thats about it.

I'm displaying some class specific stats on my teams website, but pyro gets no love in the logs. Right now it's just AVG spy kills+assists per game and reflect kills, which makes for a pretty sorry table. Would love to have extinguishes and reflects for damage.

Actually, you can get that information from the logs.

Extinguishing a burning player as pyro:

"F2<2><STEAM_0:0:38660><Blue>" triggered "player_extinguished" against "Bot01<4><BOT><Blue>" with "tf_weapon_flamethrower" (attacker_position "-544 -4512 192") (victim_position "-480 -4512 192")

If you detect that the player is currently a pyro, and he shoots someone with a rocket, then that is most certainly a deflect rocket:

"F2<2><STEAM_0:0:38660><Red>" triggered "damage" against "Bot01<4><BOT><Blue>" (damage "122") (weapon "tf_projectile_rocket") (crit "mini")

So, the logs do support it. If you want log-websites to show those stats, you should contact them. :)

[quote=BigMoneyPuss]How likely would it be to add support for more pyro stats. I would like to be able to see how many reflects for damage the pyro did and how many players they extinguished. Right now looking at logs pulled from logs.tf/json/xxxxxx I can get pyro reflect kills and total reflect damage and thats about it.

I'm displaying some class specific stats on my teams website, but pyro gets no love in the logs. Right now it's just AVG spy kills+assists per game and reflect kills, which makes for a pretty sorry table. Would love to have extinguishes and reflects for damage.[/quote]

Actually, you can get that information from the logs.

Extinguishing a burning player as pyro:
[code]"F2<2><STEAM_0:0:38660><Blue>" triggered "player_extinguished" against "Bot01<4><BOT><Blue>" with "tf_weapon_flamethrower" (attacker_position "-544 -4512 192") (victim_position "-480 -4512 192")[/code]

If you detect that the player is currently a pyro, and he shoots someone with a rocket, then that is most certainly a deflect rocket:
[code]"F2<2><STEAM_0:0:38660><Red>" triggered "damage" against "Bot01<4><BOT><Blue>" (damage "122") (weapon "tf_projectile_rocket") (crit "mini")[/code]

So, the logs do support it. If you want log-websites to show those stats, you should contact them. :)
25
#25
0 Frags +

I'm curious, how are the headshots recognized? Are they crits that deal 150-450 as a sniper, or how does it work?

I'm curious, how are the headshots recognized? Are they crits that deal 150-450 as a sniper, or how does it work?
26
#26
0 Frags +
RakeI'm curious, how are the headshots recognized? Are they crits that deal 150-450 as a sniper, or how does it work?

All damage you do have a "flag" saying whether or not it was a headshot.

So the "headshots" on logs.tf should be 100% precise.

[quote=Rake]I'm curious, how are the headshots recognized? Are they crits that deal 150-450 as a sniper, or how does it work?[/quote]

All damage you do have a "flag" saying whether or not it was a headshot.

So the "headshots" on logs.tf should be 100% precise.
27
#27
0 Frags +

Well that's significantly more accurate than what I assumed, thanks for the quick answer.

Well that's significantly more accurate than what I assumed, thanks for the quick answer.
28
#28
0 Frags +

How are airshots counted? Any not necessarily deadly airhit above a certain distance off ground?

How are airshots counted? Any not necessarily deadly airhit above a certain distance off ground?
29
#29
2 Frags +
Ash_How are airshots counted? Any not necessarily deadly airhit above a certain distance off ground?

The following conditions have to be met:
1. The target is airborne
2. The target is at least 170 units above ground (measured from the target's feet)
3. The rocket/pipe hits the target directly

That is all.
That also means that if the target is ubered, it still counts as an airshot.

[quote=Ash_]How are airshots counted? Any not necessarily deadly airhit above a certain distance off ground?[/quote]

The following conditions have to be met:
1. The target is airborne
2. The target is at least 170 units above ground (measured from the target's feet)
3. The rocket/pipe hits the target directly

That is all.
That also means that if the target is ubered, it still counts as an airshot.
30
#30
3 Frags +

Just wanted to say thanks for these plugins!

Great work dude! :)

Just wanted to say thanks for these plugins!

Great work dude! :)
1 2 3 4
Please sign in through STEAM to post a comment.