Thread: Rage Quit
View Single Post
Cptrmaker
Junior Member
Join Date: Aug 2008
Old 12-05-2009 , 01:44   Re: Rage Quit
Reply With Quote #6

Quote:
Originally Posted by bl4nk View Post
RageQuit
by bl4nk

About:
Plays a sound if a client leaves 'x' seconds after being killed, also leaving a message to the other players about their ragequit.

CVars:
sm_ragequit_max_delay "10.0" - Time in seconds a player has to leave in to be considered a ragequitter
sm_ragequit_sound "ragequit/ragequit.mp3" - Path to the sound file to play (relative to the "sound" folder)


Installation:
  1. Click the Get Plugin button below to download the compiled plugin file and place it in your ~/addons/sourcemod/plugins/ folder (alternatively click the Get Source button to download the source code and compile it yourself).
  2. Also download the ragequit.phrases.txt file and place that in your ~/addons/sourcemod/translations/ folder.
  3. Configure the CVars listed above (in server.cfg or any other executed config file).
  4. Type sm plugins refresh into your server console (or via rcon) to load the plugin (alternatively change the map or restart the server).
Notes:
This plugin is a port from the ES Rage Quit addon by ojii, requested by StrikerMan780 here.


Changelog:
  • 1.0.0
    • Initial release


I'm getting this error using the program.

[SM] Native "VFormat" reported: Client index 779384400 is invalid
L 12/05/2009 - 01:21:43: [SM] Displaying call stack trace for plugin "ragequit.smx":
L 12/05/2009 - 01:21:43: [SM] [0] Line 280, /groups/sourcemod/compiler-1.2/include/halflife.inc:rintToChatAll()
L 12/05/2009 - 01:21:43: [SM] [1] Line 61, /home/groups/alliedmodders/forums/files/2/8/8/5/0/54603.attach::OnClientDisconnect()
L 12/05/2009 - 017:01: [SM] Native "VFormat" reported: Client index 1684943451 is invalid
L 12/05/2009 - 017:01: [SM] Displaying call stack trace for plugin "ragequit.smx":
L 12/05/2009 - 017:01: [SM] [0] Line 280, /groups/sourcemod/compiler-1.2/include/halflife.inc:rintToChatAll()
L 12/05/2009 - 017:01: [SM] [1] Line 61, /home/groups/alliedmodders/forums/files/2/8/8/5/0/54603.attach::OnClientDisconnect()
L 12/05/2009 - 017:02: Error log file session closed
Cptrmaker is offline