Raised This Month: $32 Target: $400
 8% 

Generic AFK Kicker


Post New Thread Reply   
 
Thread Tools Display Modes
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 08-22-2009 , 09:52   Re: Generic AFK Kicker
Reply With Quote #81

I know it says it doesn't kick afkers if they are dead but what's the point in that? If someone is dead, and they are AFK, they aren't playing. Which then is still taking a slot. Is there a way to make it so it also kicks dead players that are AFK? Because i dont see the point of it not kicking dead players as it's just wasting slots.

EDIT: I've looked at other plugins but they are just so complicated. This plugin is perfect for my needs i just need dead players kicked too as people can still be AFK when they dead but this plugin explains they won't be kicked if they are dead. Or am i being stupid.
__________________
Thanks,
Terrum.



Last edited by terrum; 11-28-2009 at 18:03.
terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
terrum
AlliedModders Donor
Join Date: Apr 2006
Location: United Kingdom
Old 11-28-2009 , 18:02   Re: Generic AFK Kicker
Reply With Quote #82

Works well with The Specialists though to stop those annoying Money farmers will test with Team Fortress Classic when my problem is fixed that it WILL kick dead people.

EDIT: Ahh, never mind. I edited the script and made it work by remonving "is_player_alive" or something
__________________
Thanks,
Terrum.



Last edited by terrum; 11-28-2009 at 18:14.
terrum is offline
Send a message via AIM to terrum Send a message via MSN to terrum Send a message via Skype™ to terrum
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 05-22-2012 , 07:30   Re: Generic AFK Kicker
Reply With Quote #83

I made slightly improved version. Changes are:
Quote:
- change: converting cvars to pcvars that is faster
- change: CVAR names are CHANGED from mp_* to amx_* to distinguish them from the HLDS ones
- change: checking of players now is performed only if at least X players (defined by 'amx_afkminplayers' CVAR) are on server
- new: logging of kicked players are disabled by default. To enable log set 'amx_afklog' CVAR to 1
- changed: 1 less forward to reset afktime for slot. Carefully it wasn't be tested (!) but should work properly.
Attached Files
File Type: sma Get Plugin or Get Source (afkkicker.sma - 1140 views - 3.9 KB)
__________________

Last edited by isotonic; 05-22-2012 at 07:31.
isotonic is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 06-03-2013 , 19:16   Re: Generic AFK Kicker
Reply With Quote #84

Is it possible to add a detection for the exact same movement?

ex. A player is running around in a summetric circles
jingojang is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 06-04-2013 , 19:33   Re: Generic AFK Kicker
Reply With Quote #85

Ofc yes, it is. It is possible to check angles too. But it is generic AFK kicker with basic functions.
__________________

Last edited by isotonic; 06-04-2013 at 19:33.
isotonic is offline
wAyz
Senior Member
Join Date: Feb 2010
Location: Germany
Old 11-15-2013 , 04:59   Re: Generic AFK Kicker
Reply With Quote #86

Imo still the best AFK-Kicker out there. Thumbs up!
wAyz is offline
petyrkpetrov
Junior Member
Join Date: Jan 2017
Old 05-22-2017 , 12:43   Re: Generic AFK Kicker
Reply With Quote #87

@isotonic nice, but can u add a protection for ADMINS with flag "A"?
__________________
petyrkpetrov is offline
Send a message via Skype™ to petyrkpetrov
Reply


Thread Tools
Display Modes

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 05:51.


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