x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 
x
To those who participated in the Highlander Season 32 (Summer 2024), please fill out this Feedback Form for the current & next Highlander seasons!

Forum

F2's SourceMod plugins / Accuracy/MedicStats

Created 1st November 2013 @ 20:24

Add A Reply Pages: 1 2 ... 12 Next »

F2

Danmark

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

When you install SourceMod, there will be a lot of plugins in the /tf/addons/sourcemod/plugins/ folder. I recommend moving all of them to the /plugins/disabled/ folder, except for admin-flatfile.smx

SourceMod plugins (the .smx file must be placed in the /tf/addons/sourcemod/plugins/ folder):

MedicStats by F2 [download]
– Logs buff heals (~95% accurate)
– Logs average time to build über
– Logs average time the über lasts
– Logs number of über advantages lost
– Logs how many times the medic dies shortly after übering
– Logs other additional medic stats
– Example: https://logs.tf/154545

SupStats2 by F2 [download]
– 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
– Logs ammo pickups
– Logs players spawning
– Logs game pauses
– Logs shots fired and shots hit (for certain weapons)

LogsTF by F2 [download] – Requires either SteamWorks or cURL 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 .ss
– Uploads logs after each round (the log will be updated on logs.tf after each round), so you can use .ss after each round
– 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]
– Allows everyone to chat as much as they want during the pause
– 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 and screenshot)
– Restores uber percentages when unpausing

ClassWarning by F2 [download] (Compatible with TFTrue)
– In ETF2L, class limits are not enforced by the server. This plugin warns players in chat if they are breaking the class limit (see screenshot).

RecordSTV by F2 [download]
– When a match starts, it starts recording a STV demo
– When the match ends, it stops the recording
– Set up the path and the filenames of the demos with cvars: recordstv_path and recordstv_filename
– In both cvars you can use several placeholders. See the description of recordstv_filename for the full list of placeholders.

WaitForSTV by F2 [download]
– Waits up to 90 seconds when changing map
– Doesn’t wait more time than necessary

AFK by F2 [download] (Compatible with TFTrue)
– 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]
– Restores a player’s score on the scoreboard when he reconnects

FixStvSlot by F2 [download] (Compatible with TFTrue)
– Changes the map on server start to avoid a crash related to STV slot

Updater by GoD-Tony [download] – Requires either SteamWorks or cURL extension
– 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, source: https://github.com/F2/F2s-sourcemod-plugins
– All my plugins, compiled: https://sourcemod.krus.dk/f2-sourcemod-plugins.zip

Feedback
All feedback and suggestions are highly appreciated.


Last edited by F2,

F2

Danmark

To all the SourceMod haters: If you don’t want to use SourceMod, just ignore this thread. No one is forcing you to use it. Please don’t make this a debate about SourceMod.

That said, SourceMod’s performance has improved a lot over the years.
From SourceMod’s website:

SourceMod is lightning fast, and this is not an idle boast. Every plugin is loaded into memory and converted to raw CPU code. Great care is taken to make sure every hot area in SourceMod is as fast as it should be. The scripting language is statically typed and does not require garbage collection.

Angel

Another great work after the pug bot. Respect!

LaMqTa

fenneks

Amazing work! Well done!

aura

Would be interested to see some 9v9 logs with real dmg stats if there are any out there already


Last edited by aura,

Admirable

(Toucan Ambassador)

Nice one, Anders :>

Spike Himself

TC

Quoted from F2

To all the SourceMod haters: If you don’t want to use SourceMod, just ignore this thread. No one is forcing you to use it. Please don’t make this a debate about SourceMod.

But I do want some of these plugins! :D

Xearo

GTD

Any chance you could link us to an example log?

skeej

(ETF2L Donator)
UbeR |
Fe |

This on every server plz

Example is in the opening post… l2read maybe? :D

Also, can you explain why buffheals are not 100% accurate, F2? I’m wondering what the possible inaccuracies are caused by.

Xearo

GTD

Quoted from skeej

This on every server plz

Example is in the opening post… l2read maybe? :D

Also, can you explain why buffheals are not 100% accurate, F2? I’m wondering what the possible inaccuracies are caused by.

My bad, thanks. :D

atmo

What is the attraction of the “real damage” stats?

toogyboogy

(ETF2L Donator)
SOFT
bobs

gonna try this out. Will this make my server die on every update though?

F2

Danmark

Quoted from Xearo

Any chance you could link us to an example log?

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)

F2

Danmark

Quoted from toogyboogy

gonna try this out. Will this make my server die on every update though?

No, I have been running the same MetaMod + SourceMod installation for months. But I guess an update could potentially break MetaMod/SourceMod. In that case you need to spend 3 minutes downloading the latest versions of MM/SM and uploading them to your server.

Starkie

ulti?
sniper

f2, youre the best

Add A Reply Pages: 1 2 ... 12 Next »