L4DNation

Competitive => Confogl & Miscellaneous => Topic started by: Tabun on October 25, 2013, 11:44:23 am

Title: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on October 25, 2013, 11:44:23 am
Plugin
L4D2_playstats: download compiled (http://www.tabun.nl/tmp/l4d2/plugins/l4d2_playstats.smx) - source on github (https://github.com/Tabbernaut/L4D2-Plugins/tree/master/stats) (version: 0.9.30)
L4D2_skill_detect: download compiled (http://www.tabun.nl/tmp/l4d2/plugins/l4d2_skill_detect.smx) - source on github (https://github.com/Tabbernaut/L4D2-Plugins/tree/master/skill_detect) (version: 0.9.19)


What?
You all know the "survivor mvp" plugin that tells you how much damage to SI you did, how many common you killed, et cetera (Artifacial's version shows quite a bit more). This new plugin still does that and much more:


Example output
Code: [Select]
| Survivor MVP Stats -- This Round -- Team A                                                             |
|--------------------------------------------------------------------------------------------------------|
| Name                 | Specials   kills/dmg  | Commons         | Tank   | Witch  | FF    | Rcvd | Time |
|----------------------|-----------------------|-----------------|--------|--------|-------|------|------|
| Ubi                  |    9     5089     59% |       8     10% |    270 |        |       |   45 | 100% |
| Aar                  |    4     1349     16% |      32     42% |    375 |        |    20 |   52 | 100% |
| ErboLarde            |    3     1316     15% |      19     25% |     91 |        |    29 |  111 | 100% |
| Krupola___           |    4      861     10% |      18     23% |    470 |        |       |  141 | 100% |
|--------------------------------------------------------------------------------------------------------|
| Round Duration:  4m 24s          Tank Fight Duration:  39s             Pause Duration:  56m 5s         |
|--------------------------------------------------------------------------------------------------------|


| Special -- This Round -- Team B            skts(full/hurt/melee); lvl(full/hurt); crwn(full/draw) |
|---------------------------------------------------------------------------------------------------|
| Name                 | Skeets  fl/ht/ml | Levels    | Crowns    | Pops | Cuts / Self | DSs / M2s  |
|----------------------|------------------|-----------|-----------|------|-------------|------------|
| Runar                |    1 /   0 /   0 |           |           |    2 |             |    0 /   7 |
| Pit                  |                  |           |           |    1 |             |    0 /   1 |
| Qruumk               |                  |   1 /   0 |           |    2 |             |    0 /   3 |
| Trambol___           |                  |           |   1 /   0 |      |             |            |
|---------------------------------------------------------------------------------------------------|


| Accuracy Stats -- This Round -- Team A            hits (pellets/bullets);  acc prc;  headshots prc (of hits) |
|--------------------------------------------------------------------------------------------------------------|
| Name                 | Shotgun buckshot    | SMG / Rifle  acc hs | Sniper       acc hs | Pistol       acc hs |
|----------------------|---------------------|---------------------|---------------------|---------------------|
| ___ _______________  |     369       63.6% |                     |                     |                     |
| Brop                 |     243       74.0% |                     |                     |    84  98.0%  50.0% |
| Ruarn                |     222       82.2% |   512  88.8%   7.0% |                     |                     |
| Hoppor               |                     |                     |    38  88.3%  13.7% |   118  84.2%  42.8% |
|--------------------------------------------------------------------------------------------------------------|


Options and commands
Commands:
For legacy reasons, /mvp still works, too.
Full information here: https://github.com/Tabbernaut/L4D2-Plugins/blob/master/stats/README.md (https://github.com/Tabbernaut/L4D2-Plugins/blob/master/stats/README.md)


why?
First, because the old survivor mvp plugin was a horrible mess. Second, because I'm a nerd and I kinda like stats, especially stuff that wasn't in the survivor mvp plugin before. Third, because I felt the configuration options and presentation of the older plugins were too limited and clunky.


replacing survivor_mvp
If you leave everything at default settings, it will do pretty much what the old survivor mvp plugin did, with the same chat print. The console tables will be slightly different (but better IMO). Server owners can check the documentation on github if they wish to customize the stuff that is shown by default.

Note that I left out quite a few of the stats that Artifacial added, feeling that others were more interesting. I'm open to suggestions, so if any are removed that you feel should be in there, let me know.


'skill detect'
Other plugin coders may be interested in this 'detection' plugin, which sends out global forwards on the stuff it detects (skeets, crowns, levels, etc.) so other plugins can make use of this without having to bother with (double) tracking. Any requests for (better) tracking options in l4d2_skill_detect are welcome.

The stats plugin will work fine without skill_detect, but it will lack a bunch of data.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: THyroXIN´- on October 25, 2013, 01:44:33 pm
its just AWESOME bro!!!!

current mvp do show a shit of the real skill.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on October 26, 2013, 11:28:11 am
Updated playstats to 0.9.14

For those using the wonderful custom map transitions, it turns out that when it swaps teams (to preserve the correct play order), the logical teams get mixed up, so playstats can't tell team A from team B. If you're using this and CMT at the same time, you may want to use this version of CMT (until such time as an official update has been made). Using this version will also make playstats able to tell when games start and end when using CMT.

custom map transitions: download compiled (http://www.tabun.nl/tmp/l4d2/plugins/custom_map_transitions.smx) - source on github (https://github.com/Tabbernaut/stabby-L4D2-Stuff/blob/master/src/custom_map_transitions.sp) (version: 11b)


Not doing so won't cause errors or anything, but full game stats may be wrong when using CMT. You'd never really know which team is "A" and "B".
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: epilimic on October 26, 2013, 08:52:51 pm
Thanks Tab. Unfortunately a side effect of CMT is that team A always goes first. Maybe in the future this can get sorted out but thanks for the update in the meanwhile!
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Map 1 on October 27, 2013, 04:44:08 am
I get this in the console when I type sm_stats_auto or sm_stats_auto 1
Code: [Select]
sm_stats_auto 1
L 10/27/2013 - 05:42:33: [SM] Native "PrintToChat" reported: Client index 0 is invalid
L 10/27/2013 - 05:42:33: [SM] Displaying call stack trace for plugin "l4d2_playstats.smx":
L 10/27/2013 - 05:42:33: [SM] [0] Line 1404, l4d2_playstats.sp::Cmd_Cookie_SetPrintFlags()
 
 
sm_stats_auto
L 10/27/2013 - 05:42:53: [SM] Native "PrintToChat" reported: Client index 0 is invalid
L 10/27/2013 - 05:42:53: [SM] Displaying call stack trace for plugin "l4d2_playstats.smx":
L 10/27/2013 - 05:42:53: [SM] [0] Line 1427, l4d2_playstats.sp::Cmd_Cookie_SetPrintFlags()

Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: blablabla on October 27, 2013, 04:59:30 am
Wow great!

just a question, stats csv.txt file is for ? It should upload it or this is an example of what the plugin returns?
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on October 27, 2013, 09:44:55 am
Oh, that's just an information file that shows you what output is generated when using the statswrite option. This is not very interesting for now, so ignore it. It doesn't need to be on the server, in any case. :]



I get this in the console when I type sm_stats_auto or sm_stats_auto 1
Code: [Select]
sm_stats_auto 1
L 10/27/2013 - 05:42:33: [SM] Native "PrintToChat" reported: Client index 0 is invalid
L 10/27/2013 - 05:42:33: [SM] Displaying call stack trace for plugin "l4d2_playstats.smx":
L 10/27/2013 - 05:42:33: [SM] [0] Line 1404, l4d2_playstats.sp::Cmd_Cookie_SetPrintFlags()
 
 
sm_stats_auto
L 10/27/2013 - 05:42:53: [SM] Native "PrintToChat" reported: Client index 0 is invalid
L 10/27/2013 - 05:42:53: [SM] Displaying call stack trace for plugin "l4d2_playstats.smx":
L 10/27/2013 - 05:42:53: [SM] [0] Line 1427, l4d2_playstats.sp::Cmd_Cookie_SetPrintFlags()

If you're typing it in the server console, that makes sense (I'll fix the error, but the command wouldn't work). It's a client-side command. If it happens client-side, that'd be super weird and I'd have to look into it. :]

Note: use the cvars if you want to set server side preferences.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: stabs on October 29, 2013, 05:56:29 pm
Thanks Tab. Unfortunately a side effect of CMT is that team A always goes first. Maybe in the future this can get sorted out but thanks for the update in the meanwhile!

I've got an idea that might fix it but not much free time to try it out.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Artifacial on October 30, 2013, 12:08:02 am
Looks awesome! I'll throw it in active config on my server and report back if there are any problems.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on October 30, 2013, 10:13:50 am
Thanks. :]

Updated playstats to 0.9.16:
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 02, 2013, 09:54:48 am
Updated playstats to 0.9.19:


Updated skill_detect to 0.9.4:
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 03, 2013, 04:54:37 pm
Updated playstats to 0.9.21:


Updated skill_detect to 0.9.5:
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 06, 2013, 05:08:39 pm
updated playstats to 0.9.23 and skill detect to 0.9.7.

Also included a l4d2_skill_detect.inc for coders on my github, with all the details concerning the skill detect forwards.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: fig newtons on November 07, 2013, 11:03:57 pm
(http://i.imgur.com/Y0Cmfhb.gif)
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: 3yebex on November 11, 2013, 01:12:49 pm
This is incredible Tabun. I don't play much on configs but this is definitely an improvement.

That must have been some game though you tested...
Quote
Pause Duration:  56m 5s
Surely, I wouldn't wish that on my worst enemy.

EDIT: Another thing I noticed. There is no "pinned" category.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 15, 2013, 08:43:19 am
updated playstats to 0.9.25 and skill detect to 0.9.8.
Some minor tweaks and bugfixes. Added zombieclass to OnSpecialShoved forward.


About the pause: I'll admit to manually adding that one in for the example. It seemed the appropriate thing to do, considering the average expected pause time in most games!
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 18, 2013, 08:43:56 am
updated playstats to 0.9.26 and skill detect to 0.9.9.
Getting there, I promise.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 22, 2013, 12:27:15 pm
updated skill detect to 0.9.12.

Note take the bunnyhop tracking with a wheelbarrow of salt. I'm considering dropping the whole thing, unless there is a relatively easily implemented tracking mechanism possible that doesn't result in false positives, etc. Currently it's not really working well.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: stabs on November 22, 2013, 04:49:58 pm
Skill-detect is really neat! gj
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on November 24, 2013, 07:25:33 pm
<3 stabs.

skill_detect > 0.9.15.
Fixed some printing problems (rock skeet report no longer gives away who's tank; all car alarm prints work now).

Don't use the bhop detection, it's still lame and I haven't touched it (yet).

Unless someone finds a serious bug, I'm probably going to keep this stable for a while; got other fish to fry.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: bd on January 04, 2014, 09:54:24 am
Hi.
I loooked around before asking but i am confused anyway.
I was fashineted by the Survivor MVP first and this plugin later but i have some questions.
1) May i use this without confogol or not? For now i am using but i do not know if the presence or not confogol do some difference.
2) May i use the Survivors MVP and L4D2 Playing Stats tougheter? I have done but i see percetage abnormal from one to other
I think i cannot live without this plugins.
Thnks.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on January 04, 2014, 10:17:44 am
1) Yes, you can use this on vanilla servers -- all you need is sourcemod. Playstats will even work without Skill Detect (though it will not report/display all stats then, of course). Note that with some game modes and other mods it might not work very well. I know, without testing it, that Playstats will not work properly with 10v10 setups and such.

2) Although there is no technical reason why Survivor MVP and Playstats cannot be used together, don't do it. Playstats replaces Survivor MVP entirely. There is one bug that can result in 'abnormal' percentages, and it will be/is fixed in the next release (if survivors kill no common in a round, the percentage becomes a huge negative number).
There should be no other 'abnormal' values. Playstats has more sensible common % too; I think Survivor MVP showed the % of total common that died, whereas Playstats shows the % of common that were killed by survivors. If you have any concrete examples of things going 'weird', show me them with detailed information, if you can!
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: bd on January 05, 2014, 03:25:54 am
Hi. Not sure what is a vanilla server but i assume that it means that a server with no confogl like the mine is a vanilla server. Good.
My first interest is to use in survival mode. My server have 4 default slot for players and 4 slot for spectators (by l4dTollz).
It is very interesting to know the skill of all players. 8)

Although there is no technical reason why Survivor MVP and Playstats cannot be used together

This is exactly what i did to compare the results.

don't do it.

Sorry. But they interfere the one with the other or simply they do a redundant task?

Here example of what i have seen at end of 3 different round.

Round1
Sorry i cutted bad so i add the first screenshot to complete the info.
Here this plugin in the console have (nothing to display) but in chat you have some report and this happened some other times.
http://cloud-4.steampowered.com/ugc/450657989561313616/A17B864EAB3CC3A80A6D96B4238624542B937B74/ (http://cloud-4.steampowered.com/ugc/450657989561313616/A17B864EAB3CC3A80A6D96B4238624542B937B74/)
http://cloud-3.steampowered.com/ugc/450657989561293715/709396249A63FC28AB0D585A3803F1E3D4C2E04C/ (http://cloud-3.steampowered.com/ugc/450657989561293715/709396249A63FC28AB0D585A3803F1E3D4C2E04C/)

Round2
Here in the chat are listed "whis" that is a player that disconnected before the round start
http://cloud-4.steampowered.com/ugc/450657989546116203/1D3D896850E90E5C2BDD968F49B7317056DED429/ (http://cloud-4.steampowered.com/ugc/450657989546116203/1D3D896850E90E5C2BDD968F49B7317056DED429/)

Round3
Here is reported a "Tank fight duration: 40 min 33 sec" but the round ended at 20 min.
http://cloud-2.steampowered.com/ugc/450657989546101140/F45F8B28D8184044161B6E808BE333EBF0681F5E/ (http://cloud-2.steampowered.com/ugc/450657989546101140/F45F8B28D8184044161B6E808BE333EBF0681F5E/)

In all rounds the percentage and the count of kill/damage from the 2 plugins are very different.
This is only because they use 2 differents way to count or they interfere?
And last i am trying to be sure that on a next round the counts are cleared because sometimes i have seen so many difference from some players ( or a bad count.........or a bad player.........).

The server in on CentOS 5.9
meta list:
SourceMod (1.6.0-dev+3938) by AlliedModders LLC
L4DToolZ (1.0.0.9h-2-g7465d71b-dirty) by Ivailosp
Stripper (1.2.2) by BAILOPAN
SDK Hooks (1.6.0-dev+3938) by AlliedModders LLC
SDK Tools (1.6.0-dev+3938) by AlliedModders LLC
Left 4 Downtown 2 Extension (0.5.4.2) by Igor "Downtown1" Smirnov / Andrew "XBetaAlpha" Burrows / AtomicStryker / Michael "ProdigySim" Busby   (this version. https://forums.alliedmods.net/showpost.php?p=1985302&postcount=453 (https://forums.alliedmods.net/showpost.php?p=1985302&postcount=453)  The other was not working for me)

This are my setting in the server.cfg for the SurvivorMVP and i have not changed after installed this plugin. Not sure for that.
sm_survivor_mvp_enabled 1 //Enable display of MVP at end of round
sm_survivor_mvp_counttank 1 //Damage on tank counts towards MVP-selection if enabled
//sm_survivor_mvp_countwitch 0 //Damage on witch counts towards MVP-selection if enabled
sm_survivor_mvp_showff 1 //Track Friendly-fire stat
sm_survivor_mvp_brevity 0 //Flags for setting brevity of MVP report (hide 1:SI, 2:CI, 4:FF, 8:rank, 32:perc, 64:abs)

Thanks.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on January 05, 2014, 06:51:49 am
Ah. Scavenge.
It comes back to bite me in the ass once again.

I'm not 100% sure, but I think it's safe to assume that Playstats doesn't handle scavenge well (or at least not perfectly). The main reason for this is because I loathe scavenge, never play it -- so it didn't even cross my mind when writing plugins like this one. I write my stuff for the competitive community playing versus-based game modes. Playstats has campaign mode support (which is imperfect, but adequate); it does not have scavenge support.

You're probably best off using the old Survivor MVP then, until I find the time and will to make Playstats work well with scavenge. I'm pretty busy, so I don't think that would be anytime soon. If you want to do it yourself, or know someone that might, just direct them to the source code. I will happily integrate a fix from someone that's more experienced in writing plugins for scavenge mode.


Quote
But they interfere the one with the other or simply they do a redundant task?
Redundant task. They do not interfere.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: bd on January 05, 2014, 08:49:08 am
ok. no problem.
I need only specify like i have already written that i play usualy "survival" and not scavenge like you have written.
But probably this make no difference.
I'll look for update.
Many thanks for your time.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on January 05, 2014, 10:10:32 am
I do apologize, I meant survival and scavenge (or rather: anything but versus or campaign mode). I glanced too quickly at the screenshots and thought I was looking at scavenge. Happily -- and unhappily -- the same thing goes for survival mode: I never play it and don't think that either plugin will behave very well with survival mode either.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: bd on January 10, 2014, 02:56:45 am
Hi.
I renew my congratulations for your work.
Now i use a plugin (l4d_gamemode_scripts) that allow  to load different config and plugins for different game mode so i may use in versus this plugin and in survival the survivor MVP.
Great! :)
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on February 01, 2014, 07:09:36 am
Small heads-up:
Updated version numbers in this thread to match some of the more recent changes to this. Minor stuff, but important if you (for some reason) are using the file-writing option to store stats. If you don't care about that, no worries, nothing else's been changed since the last time you checked here.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: sethrow on February 08, 2014, 08:36:16 am
Is this fixed?
end of round MVP chat prints: doesn't show your rank
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Sir on February 08, 2014, 08:41:09 am
Is this fixed?
end of round MVP chat prints: doesn't show your rank

sm_survivor_mvp_brevity
legacy-named cvar for configuring the way MVP chat prints will look.
Sum of flags in the following list:

BREV_SI                 1       // hide SI damage
BREV_CI                 2       // hide commons killed
BREV_FF                 4       // hide friendly fire damage
BREV_RANK               8       // hide "your rank" line
BREV_PERCENT            32      // hide percentage values (only shows absolutes)
BREV_ABSOLUTE           64      // hide absolute values (only shows percentages)

Check the value of the cvar, it's hiding "your rank" in your configs.
I've seen it on a few other American servers too, so I guess it comes in default.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: sethrow on February 08, 2014, 08:49:19 am
It was  todo in source. Man this is gonna take some time to find where to put the colors in...
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: sethrow on February 08, 2014, 09:17:53 pm
Uh.. Don't understand this, print at round end... 0 kills [-2147483648%])
I guess it doesn't print right if it's 0 kills.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Tabun on February 09, 2014, 05:06:53 am
That's a known issue. Keep forgetting to fix / find time to fix it. Try not to wipe in the first attack for now. ;]
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Rei on August 02, 2014, 06:24:08 am
Hi. At first, i want to said a lot of thanx to the plugin developer! It's amazing. But i have a little question, maybe it's not for this thread, but anyway...
I have a info stats at the end of the round, but at some servers, i see a messages, while someone skeeted|quick kill boomer|somthing like it while a game, not only at the end of a round. This plugin provide this functionality or its something other? Sorry for my english. Thanx.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Sir on August 02, 2014, 06:50:57 am
Hi. At first, i want to said a lot of thanx to the plugin developer! It's amazing. But i have a little question, maybe it's not for this thread, but anyway...
I have a info stats at the end of the round, but at some servers, i see a messages, while someone skeeted|quick kill boomer|somthing like it while a game, not only at the end of a round. This plugin provide this functionality or its something other? Sorry for my english. Thanx.

This is a revised version from Griffin's L4D1 version, has nothing to do with the MVP Version. :)
HyperV uses it and the US Servers have their own version of it.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Rei on August 02, 2014, 07:00:30 am
This is a revised version from Griffin's L4D1 version, has nothing to do with the MVP Version. :)
HyperV uses it and the US Servers have their own version of it.
Ok, Sir. Thanx for a reply. And can i somehow get this plugin? Can't find anything. I try to configure a public servers, and make a game more pretty for players (already something done, servers are 100-tick now, but not fully tested yet).
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Sir on August 02, 2014, 07:14:20 am
Ok, Sir. Thanx for a reply. And can i somehow get this plugin? Can't find anything. I try to configure a public servers, and make a game more pretty for players (already something done, servers are 100-tick now, but not fully tested yet).


I have the plugin laying around, I'm not sure where I left off though, I believe it's without the "Stars" that indicate how hard something was to pull off and it could be missing certain colors. If you're into that kind of stuff, you could just ask Visor for the full version. xD

Source (http://codepad.org/97qA0yB3) / Plugin (https://www.mediafire.com/?6qu36h1w915xmu8)
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: Rei on August 02, 2014, 10:33:25 am
I have the plugin laying around, I'm not sure where I left off though, I believe it's without the "Stars" that indicate how hard something was to pull off and it could be missing certain colors. If you're into that kind of stuff, you could just ask Visor for the full version. xD

Source ([url]http://codepad.org/97qA0yB3[/url]) / Plugin ([url]https://www.mediafire.com/?6qu36h1w915xmu8[/url])

Thanx. Tested it, nice plugin, but colors what a see on other servers more "pretty" :-) i'll try to get full version of this plugin from Visor.
Also, i find a little "strange" (for me) bug with l4d2_playstats and l4d_gamemode_scripts. If i try to load plugin only for versus game type, in versus.cfg:
Code: [Select]
...
sm plugins load optional/l4d2_playstats.smx
...
It will cause a server crash while trying to connect from versus-lobby. If i put this string to server.cfg, or just put the .smx file to plugins directory it's work perfectly.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: marcusj on October 01, 2014, 04:42:30 am
I've set sm_survivor_mvp_brevity to 0 but it doesn't print "Your Rank"
Do I've to change any other CVAR?
sm_survivor_mvp_brevity
legacy-named cvar for configuring the way MVP chat prints will look.
Sum of flags in the following list:

BREV_SI                 1       // hide SI damage
BREV_CI                 2       // hide commons killed
BREV_FF                 4       // hide friendly fire damage
BREV_RANK               8       // hide "your rank" line
BREV_PERCENT            32      // hide percentage values (only shows absolutes)
BREV_ABSOLUTE           64      // hide absolute values (only shows percentages)

Check the value of the cvar, it's hiding "your rank" in your configs.
I've seen it on a few other American servers too, so I guess it comes in default.
Title: Re: Plugin: L4D2 Playing Stats - Much improved version/replacement of Survivor MVP
Post by: larrybrains on March 21, 2017, 07:03:33 pm
Sorry for the necro on this thread, but figured this would be the best place to ask.

Would it be possible to show an end of round in chat MVP stat for most boomers popped and if so, how do I do it?

Any help on this would be much appreciated.