Raised This Month: $51 Target: $400
 12% 

Rage Quit


Post New Thread Reply   
 
Thread Tools Display Modes
lexantis
Senior Member
Join Date: Jun 2009
Location: CZ
Old 07-18-2010 , 20:17   Re: Rage Quit
Reply With Quote #41

this plugin is completely broken at the moment, it doesnt do anything, and i installed it as i was supposed, looked at the source... tried to recode but unsucesfull

this check is just wrong, but i dont know why

if (g_fLastDeathTime[client] > 0.0 && (GetEngineTime() - g_fLastDeathTime[client]) > GetConVarFloat(g_hCvarTime))
lexantis is offline
Send a message via ICQ to lexantis
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 11-24-2010 , 15:50   Re: Rage Quit
Reply With Quote #42

Quote:
Originally Posted by lexantis View Post
this plugin is completely broken at the moment, it doesnt do anything, and i installed it as i was supposed, looked at the source... tried to recode but unsucesfull

this check is just wrong, but i dont know why

if (g_fLastDeathTime[client] > 0.0 && (GetEngineTime() - g_fLastDeathTime[client]) > GetConVarFloat(g_hCvarTime))
Not sure why it's not working for you (I know you posted this months ago), but I've had this working on my servers since it was released.....and still is working.
SmackDaddy is offline
realdreams
Senior Member
Join Date: Feb 2010
Old 04-20-2011 , 22:56   Re: Rage Quit
Reply With Quote #43

This does not work with l4d2. It will prevent players from entering the game.
realdreams is offline
-M-Jon
Member
Join Date: Dec 2009
Old 07-13-2011 , 01:02   Re: Rage Quit
Reply With Quote #44

Confirmed, this plugin does not work as advertised. I have set the timer to 10 seconds (changed it in the SP and made sure the config was 10), but players can leave 30 seconds after death and it still plays the message. I have tested it in my pub server with 12 other people. Killing someone and having them disconnect immediately did nothing.

Request: Add a convar to only execute the ragequit if a player was killed by another player. Thanks!
-M-Jon is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-13-2011 , 12:41   Re: Rage Quit
Reply With Quote #45

This plugin uses GetEngineTime(). From what I can tell, GetEngineTime() is only supposed to be used for profiling purposes.

Here's a version built with GetTime() instead of GetEngineTime(). I also changed all the floats to normal numbers, as GetTime doesn't return a float.

Note: I have no way of testing this right now, as I'm at work. It compiles in SourceMod with no errors or warnings, so I assume it works.

I also stepped on bl4nk's toes and changed the version number to 1.0.1a. If he kills me for it, I'm going to RageQuit!
Attached Files
File Type: sp Get Plugin or Get Source (ragequit.sp - 361 views - 2.0 KB)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-13-2011 at 12:44.
Powerlord is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 08-26-2011 , 04:57   Re: Rage Quit
Reply With Quote #46

I tried Powerlord's version and it still isn't working as intended.

Last edited by sipster19; 08-28-2011 at 20:07.
sipster19 is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 08-26-2011 , 16:29   Re: Rage Quit
Reply With Quote #47

I'd also like to comment that if you kill someone and they get disconnected due to kick/ban/high ping within 10 seconds, it prints the rage message. Should be fixed.
sipster19 is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 08-26-2011 , 18:06   Re: Rage Quit
Reply With Quote #48

  • Removed sounds and only prints messages.
  • Only prints the message if the user has disconnected on his own accord.
Attached Files
File Type: sp Get Plugin or Get Source (ragequit.sp - 330 views - 2.1 KB)

Last edited by sipster19; 08-28-2011 at 08:42.
sipster19 is offline
sipster19
Senior Member
Join Date: Mar 2011
Old 08-28-2011 , 08:43   Re: Rage Quit
Reply With Quote #49

Updated the PrintToChatAll so it's not using Goldeneye: Source HUD colors.
sipster19 is offline
SmackDaddy
Veteran Member
Join Date: Oct 2009
Old 08-28-2011 , 16:41   Re: Rage Quit
Reply With Quote #50

Quote:
Originally Posted by sipster19 View Post
  • Removed sounds and only prints messages.
  • Only prints the message if the user has disconnected on his own accord.
Does this version have the option to continue using the sounds? We've been using this for close to a year with no issues....
SmackDaddy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode