[L4D/L4D2] Rage Counter v2.1
33 Attachment(s)
It's recommended you delete data/maxrages.txt (or just run all the reset commands) when updating to v1.8. If you don't, sm_ragetime will produce VERY skewed results, since it will divide the time by the total # of rages, and most of those won't have had their times recorded.
Description: First: This plugin is 100% FOR FUN! If you do not like the idea of every disconnect being called a "rage", do not use this plugin! A "rage", in this plugin, is defined as a user disconnecting from a game by their own hand. Kicks, crashes, and timeouts are not counted as rage. This is based on CUatTHEFINISH's idea, which he made into a plugin, then requested it to be removed (here). The basic idea for this plugin is his, but this plugin is 100% my work. This plugin adds 1 to the number of "rages", and prints a message like this to the chat every time someone disconnects: Quote:
It also contains some nifty stat tracking for (rage) quits. Commands: ==Client Commands== sm_rages (or say !rages, /rages) - Prints the number of rages to your chat sm_maxrages (or say !maxrages, /maxrages) - Prints the highest number of rages in a game to your chat sm_avgrages (or say !avgrags, /avgrages) - Prints the average number of rages per versus campaign to your chat sm_totalrages -(or say...) - Prints the total number of rages on the server (or all forked servers). sm_totalgames - (or say...) - Prints the total number of games played on the server (or all forked servers) sm_ragetime - (or say...) - Prints the average connection time for people who rage quit. ==Admin Commands== (Require kick flag) sm_rage_reset - Resets number of rages sm_rage_resettotal - Resets total number of rages sm_rage_resetgames - Resets total number of games sm_rage_resetmax - Resets max rage quit count sm_exemptrage - Exempts the next quit from being a rage sm_rage_resettimes - Resets average rage time Cvars: sm_rage_version - Shows the version sm_rage_enable - Enable (1) or disable (0) the plugin sm_rage_versuscheck - If 1, plugin will disable itself if mp_gamemode is NOT versus, and enable itself if mp_gamemode IS versus sm_rage_autoreset: 0 = Don't reset 1 = Use configs/ragemaps.txt 2 = Reset on maps with 01_ in their names (m1_ in l4d2) 3 = Use configs/ragemaps.txt AND maps with 01_ in their names (m1_ in l4d2) Installation: ==Required Steps== 1) Download and place ragecounter.smx into addons/sourcemod/plugins 2) Change the map or run "sm plugins load ragecounter" 3) Edit cfg/sourcemod/plugin.rage.cfg to your needs ==Optional Steps== 3) Open addons/sourcemod/configs/ragemaps.txt (auto generated) 4) Add names of maps you want rages to reset on, one per line. First map of each campaign is recommended Changelog: Code:
Left 4 Dead 2 Changelog |
Re: [L4D] Rage Counter
Looks like a cool plugin, thanks.
I'm currently working on a plugin, it is designed to shock the hell out of their daddy parts when they rage quit. :mrgreen: |
Re: [L4D] Rage Counter
It would be more accurate to say that it counts quits... since you don't really care if they are quitting because the score is to high, just got steamrolled, etc. :)
|
Re: [L4D] Rage Counter
Does it keep the number, or does it reset every game?
*edit nvm |
Re: [L4D] Rage Counter
Quote:
@Antithasys, yeah but that's no fun. :D |
Re: [L4D] Rage Counter
It doesn't reset, but it counts them leaving twice.
|
Re: [L4D] Rage Counter
Quote:
Well, it should reset, so I'll fix that. |
Re: [L4D] Rage Counter
It does it like...
[Rage Counter] There have been 2 rage quits. <Player> has left the server. [Rage Counter] There have been 3 rage quits. I actually like it not resetting though, but that's just me. |
Re: [L4D] Rage Counter
it doesn't count them twice well not that i noticed if they are kicked it counts it (by admin or vote) and doesn't reset at end of game
|
Re: [L4D] Rage Counter
Quote:
|
All times are GMT -4. The time now is 17:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.