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

{REQ} TF2 Spectator kicker after x amount of mins?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xYx
Member
Join Date: Jul 2005
Old 10-19-2007 , 02:28   {REQ} TF2 Spectator kicker after x amount of mins?
Reply With Quote #1

lo,

Would someone make an AFK Spectator kicker?

If its not to cpu intensive, could an afker move to spectate be an option as well?

As we often have people afk in spawn that just sit there all map. It would be good to have them move to spec after 3 mins say. Then the spectator kicker can move in after 5 mins and kick them.

This would be super useful
xYx is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 10-19-2007 , 05:10   Re: {REQ} TF2 Spectator kicker after x amount of mins?
Reply With Quote #2

I'll have this added to the AFK manager soon - hopefully over the next couple of days
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
dr1ft3r
Member
Join Date: Aug 2007
Old 10-21-2007 , 16:47   Re: {REQ} TF2 Spectator kicker after x amount of mins?
Reply With Quote #3

there are cvars in tf2 to deal with people that are afk

mp_idledealmethod =
- Deals with Idle Players. 1 = Sends them into Spectator mode then kicks them if they're still idle, 2 = Kicks them out of the game;

mp_idlemaxtime =
- Maximum time a player is allowed to be idle (in minutes)
dr1ft3r is offline
ratty
SourceMod Donor
Join Date: Jan 2006
Old 10-21-2007 , 18:37   Re: {REQ} TF2 Spectator kicker after x amount of mins?
Reply With Quote #4

I did a little testing to see exactly how the built-in TF2 idle kicking works, and here is what I found.

First lets define idle. That means not moving.. If you move the mouse and look around, that does not count, you have to actually change your location.

If you JOIN spectators, you wont get idle kicked ever.

With mp_idledealmethod set to 1, instead of kicking them, it moves them into spectator. Once in spectator, if you don't join a team in mp_idlemaxtime, you will be kicked. Even if you move the mouse around, or change players you are watching. If you are forced into spectator, you will be kicked if you don't join a team.
So if you do idledealmethod 1, whatever you set mp_idlemaxtime to, figure that double that time is how long it will take someone who is AFK to be completely kicked out. And if you want to not get kicked, just join spectators.

And of course a real plugin can do a much better job of this.

Last edited by ratty; 10-21-2007 at 18:40.
ratty is offline
dr1ft3r
Member
Join Date: Aug 2007
Old 10-22-2007 , 13:22   Re: {REQ} TF2 Spectator kicker after x amount of mins?
Reply With Quote #5

I wouldn't say a much better job, the only difference a plugin can do is deal with people who join spectators.

If you are moved to spec by the mp_ method then why would want to sit and watch other players? surely you would join spec to do that, and as you say not be removed.

Also most plugins will deal with afk as no movement at all, so idle is actually a better way of dealing with "afk" as it means people can't sit and do nothing except move their mouse once every 3 mins.

Each to there own, but this works fine on my server as is.
dr1ft3r 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 23:59.


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