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

[TF2] Working AFK Plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 05-23-2013 , 21:52   Re: [TF2] Working AFK Plugin?
Reply With Quote #11

Quote:
Originally Posted by ddhoward View Post
If you can't get either of those two working, consider this one:

http://forlix.org/gameaddons/afkmanager.shtml

Rather than compare eye-angles or player positions, it solely checks for input. That is, whenever a player uses a server command or a "+" button (+attack, +duck, etc.), it resets that player's afk timer. The only issues that I have with it are that you cannot customize the interval between AFK checks (.2 seconds), and that it seems to not recognize "say" or "say_team" as commands.
It seems to work in moving AFK players to spectate, but it doesn't seem to kick at all.
__________________

mycologist is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 05-24-2013 , 01:44   Re: [TF2] Working AFK Plugin?
Reply With Quote #12

There you go:
"AFK Manager" (3.4.3) by Rothgar

But 3.5.0 seems to be working fine for us too.. at least no one complained yet :-) I'm not sure it is kicking players.

Have you looked at the afkmanager log file? Is it logging that it would kick someone but it doesn't happen? or isn't it even trying to kick/move someone?
/tf/addons/sourcemod/logs/afkm_2013XXXX.log
Attached Files
File Type: sp Get Plugin or Get Source (afk_manager.sp - 204 views - 70.3 KB)
File Type: txt afk_manager.phrases.txt (7.6 KB, 104 views)
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 05-24-2013 at 01:48.
Sillium is offline
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 05-24-2013 , 03:31   Re: [TF2] Working AFK Plugin?
Reply With Quote #13

Quote:
Originally Posted by Sillium View Post
There you go:
"AFK Manager" (3.4.3) by Rothgar

But 3.5.0 seems to be working fine for us too.. at least no one complained yet :-) I'm not sure it is kicking players.

Have you looked at the afkmanager log file? Is it logging that it would kick someone but it doesn't happen? or isn't it even trying to kick/move someone?
/tf/addons/sourcemod/logs/afkm_2013XXXX.log
Thanks, I'll try that old version out. As for the logs, it's turning on/off based on player count but performing no actions at all.
Code:
L 05/23/2013 - 18:09:19: [afk_manager.smx] Minimum player count for AFK move has not been reached, feature is now disabled: sm_afk_move_min_players = 1 Current Players = 0
L 05/23/2013 - 18:09:29: [afk_manager.smx] Minimum player count for AFK move is reached, feature is now enabled: sm_afk_move_min_players = 1 Current Players = 1
L 05/23/2013 - 18:13:05: [afk_manager.smx] Minimum player count for AFK kick is reached, feature is now enabled: sm_afk_kick_min_players = 24 Current Players = 24
L 05/23/2013 - 18:14:10: [afk_manager.smx] Minimum player count for AFK kick has not been reached, feature is now disabled: sm_afk_kick_min_players = 24 Current Players = 23
__________________

mycologist is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 05-24-2013 , 04:17   Re: [TF2] Working AFK Plugin?
Reply With Quote #14

I think you have to activate the logging of the actions:
Quote:
// How many days should we keep AFK manager log files. [0 = INFINITE, DEFAULT: 0]
// -
// Default: "0"
sm_afk_log_days "30"

// Should the AFK manager log client kicks. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_kicks "1"

// Should the AFK manager log client moves. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_moves "1"

// Should the AFK manager log plugin warning messages. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_warnings "1"
Quote:
L 05/23/2013 - 23:09:06: [afk_manager.smx] Minimum player count for AFK move is reached, feature is now enabled: sm_afk_move_min_players = 1 Current Players = 1
L 05/23/2013 - 23:09:06: [afk_manager.smx] Minimum player count for AFK kick is reached, feature is now enabled: sm_afk_kick_min_players = 1 Current Players = 1
L 05/23/2013 - 23:119: [afk_manager.smx] XXXX<143><STEAM_XXXX><> was moved to spectate for being AFK too long.
L 05/23/2013 - 23:11:41: [afk_manager.smx] XXXX<3><STEAM_XXXX><> was moved to spectate for being AFK too long.
L 05/23/2013 - 23:17:49: [afk_manager.smx] XXXX<143><STEAM_XXXX><> was kicked for being AFK too long.
L 05/23/2013 - 232:56: [afk_manager.smx] Minimum player count for AFK move has not been reached, feature is now disabled: sm_afk_move_min_players = 1 Current Players = 0
L 05/23/2013 - 232:56: [afk_manager.smx] Minimum player count for AFK kick has not been reached, feature is now disabled: sm_afk_kick_min_players = 1 Current Players = 0
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de

Last edited by Sillium; 05-24-2013 at 04:18.
Sillium is offline
mycologist
SourceMod Donor
Join Date: Sep 2008
Location: Sep 2008
Old 05-24-2013 , 14:59   Re: [TF2] Working AFK Plugin?
Reply With Quote #15

Quote:
Originally Posted by Sillium View Post
I think you have to activate the logging of the actions:
Had all the logging actions on, it just wasn't doing anything.

However, version 3.4.3 is working great!
Code:
L 05/24/2013 - 11:56:10: [afk_manager.smx] Dood32<1148><STEAM_0:0:34466481><> was moved to spectate for being AFK too long.
L 05/24/2013 - 11:57:10: [afk_manager.smx] Dood32<1148><STEAM_0:0:34466481><> was kicked for being AFK too long.
Thanks for posting it.
__________________

mycologist is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 05-28-2013 , 02:06   Re: [TF2] Working AFK Plugin?
Reply With Quote #16

You're welcome
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-29-2013 , 10:18   Re: [TF2] Working AFK Plugin?
Reply With Quote #17

I think i used this a long time ago: http://forlix.org/gameaddons/afkmanager.shtml
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 06-01-2013 , 14:58   Re: [TF2] Working AFK Plugin?
Reply With Quote #18

I have run into one an issue with AFK Manager plugin. It works fine for a while, then after a while just stops moving people to spectator.

I suspect its an issue with the length of time the map is running. On my primary TF2 server, I run basically one map continuously (23+ hours) - except for daily restarts (or crashes).

Perhaps it's exceeding some timer-related function's ability to track something.

I have resorted to scheduling Server Crontab job every hour that does this:
Code:
sm plugins reload afk_manager
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter

Last edited by Weasel; 06-01-2013 at 14:59.
Weasel 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 19:23.


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