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

[ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)


Post New Thread Reply   
 
Thread Tools Display Modes
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 11-07-2012 , 23:15   Re: AFK Manager (Version 3.4.3 / Updated June 3rd 2011)
Reply With Quote #1201

great job Rothgar
looking forward to release
hamilton5 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-08-2012 , 07:51   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1202

Ok, AFK Manager 3.5.0 Uploaded.

Thanks to those who helped with the AFK Manager testing. Enjoy the new release.

A few sizable changes so let me know if any bugs arise.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
srvmil
Senior Member
Join Date: Oct 2010
Old 11-09-2012 , 22:21   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1203

Tested with latest version, not working properly for CS:GO.

The AFK Manager kicks all dead client, but in setting it is set to false.
sm_afk_exclude_dead "0"

So, if the round took to long and not finish the objective why does it kick everybody being AFK as dead client when waiting for new round to start again?

Here is the log from the folder;
Quote:
L 11/10/2012 - 14:032: [afk_manager.smx] Jgnbunuh<183><STEAM_1:1:43375190><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:032: [afk_manager.smx] Yoon-Ji !<219><STEAM_1:0:12770132><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:032: [afk_manager.smx] v|c<206><STEAM_1:0:6366429><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:037: [afk_manager.smx] Replica<186><STEAM_1:1:2570724><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:037: [afk_manager.smx] Appa<222><STEAM_1:07412760><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:03:47: [afk_manager.smx] MAS<213><STEAM_1:1:19604205><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:03:52: [afk_manager.smx] t 3 0<220><STEAM_1:0:7225309><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:03:52: [afk_manager.smx] Tazz<178><STEAM_1:1:4048758><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:04:07: [afk_manager.smx] Alf Stewart<227><STEAM_1:1:828311><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:04:20: [afk_manager.smx] F a l a C h e n<156><STEAM_1:1:54622771><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:042: [afk_manager.smx] Yoon-Ji !<219><STEAM_1:0:12770132><> was kicked for being AFK too long.
L 11/10/2012 - 14:05:15: [afk_manager.smx] Ksamoht<171><STEAM_1:0:57578745><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:05:25: [afk_manager.smx] Zassaliss<223><STEAM_1:1:11323728><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:05:45: [afk_manager.smx] [ctfo]-igotthis-<113><STEAM_1:1:55120990><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:05:47: [afk_manager.smx] Appa<222><STEAM_1:07412760><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:05:50: [afk_manager.smx] JyD<197><STEAM_1:0:15322589><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:00: [afk_manager.smx] Yawnie<221><STEAM_1:0:24859457><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:00: [afk_manager.smx] Meo94<207><STEAM_1:1:54312090><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:05: [afk_manager.smx] Bt<195><STEAM_1:1:5333981><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:11: [afk_manager.smx] Monam1e<229><STEAM_1:1:51251838><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:15: [afk_manager.smx] NhungAnh<224><STEAM_1:0:7886175><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:15: [afk_manager.smx] Saturnine F<94><STEAM_1:0:55608740><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:20: [afk_manager.smx] CountArach<190><STEAM_1:0:24295103><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:25: [afk_manager.smx] F a l a C h e n<156><STEAM_1:1:54622771><> was kicked for being AFK too long.
L 11/10/2012 - 14:06:25: [afk_manager.smx] Zassaliss<223><STEAM_1:1:11323728><> was kicked for being AFK too long.
L 11/10/2012 - 14:060: [afk_manager.smx] `fr0stbyte™©<191><STEAM_1:1:7215392><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:40: [afk_manager.smx] HoboJoe<216><STEAM_1:0:14491220><> was moved to spectate for being AFK too long.
L 11/10/2012 - 14:06:40: [afk_manager.smx] Minimum player count for AFK move has not been reached, feature is now disabled: sm_afk_move_min_players = 4 Current Players = 0
L 11/10/2012 - 14:06:40: [afk_manager.smx] Minimum player count for AFK kick has not been reached, feature is now disabled: sm_afk_kick_min_players = 6 Current Players = 0
L 11/10/2012 - 14:06:47: [afk_manager.smx] Minimum player count for AFK move is reached, feature is now enabled: sm_afk_move_min_players = 4 Current Players = 4
L 11/10/2012 - 14:06:47: [afk_manager.smx] Minimum player count for AFK kick is reached, feature is now enabled: sm_afk_kick_min_players = 4 Current Players = 4
L 11/10/2012 - 14:08:49: [afk_manager.smx] Tazz<178><STEAM_1:1:4048758><> was kicked for being AFK too long.
L 11/10/2012 - 14:08:55: [afk_manager.smx] JyD<197><STEAM_1:0:15322589><> was kicked for being AFK too long.
L 11/10/2012 - 14:11:25: [afk_manager.smx] SexPanther<212><STEAM_1:15220524><> was kicked for being AFK too long.
L 11/10/2012 - 14:11:25: [afk_manager.smx] Yoon-Ji !<237><STEAM_1:0:12770132><> was kicked for being AFK too long.
L 11/10/2012 - 14:11:45: [afk_manager.smx] Appa<222><STEAM_1:07412760><> was kicked for being AFK too long.
L 11/10/2012 - 14:11:50: [afk_manager.smx] Saturnine F<94><STEAM_1:0:55608740><> was kicked for being AFK too long.
L 11/10/2012 - 14:11:50: [afk_manager.smx] Monam1e<229><STEAM_1:1:51251838><> was kicked for being AFK too long.
L 11/10/2012 - 14:12:00: [afk_manager.smx] `fr0stbyte™©<191><STEAM_1:1:7215392><> was kicked for being AFK too long.
L 11/10/2012 - 14:12:05: [afk_manager.smx] Meo94<207><STEAM_1:1:54312090><> was kicked for being AFK too long.
L 11/10/2012 - 14:12:05: [afk_manager.smx] Remote Access<170><STEAM_1:0:17058530><> was kicked for being AFK too long.
L 11/10/2012 - 14:12:10: [afk_manager.smx] MAS<213><STEAM_1:1:19604205><> was kicked for being AFK too long.
Also, I did not put the afk to be moved to spectator, this is a bug. I change it to kick all, not move them to spectator, and the warning messages didn't show up in chat before it kick us all (dead client) :/ Any news to fix this?
srvmil is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 11-10-2012 , 06:57   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1204

so you DO want to exclude_dead... TRUE
hamilton5 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-10-2012 , 07:16   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1205

Quote:
Originally Posted by srvmil View Post
Also, I did not put the afk to be moved to spectator, this is a bug. I change it to kick all, not move them to spectator, and the warning messages didn't show up in chat before it kick us all (dead client) :/ Any news to fix this?
Post your full config. I'd need to see if you actually did this properly.

As hamilton said if you do not want dead players checked then the exclude variable should be 1.

I get a number of people confusing this, maybe the word exclude is complicated to translate. I might change the variable name in a future release to make it hopefully clearer.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
srvmil
Senior Member
Join Date: Oct 2010
Old 11-10-2012 , 11:01   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1206

afk_manager.cfg
Code:
// This file was auto-generated by SourceMod (v1.5.0-dev+3664)
// ConVars for plugin "afk_manager.smx"


// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag ""

// Should admins be immune to the AFK Manager? [0 = DISABLED, 1 = COMPLETE IMMUNITY, 2 = KICK IMMUNITY, 3 = MOVE IMMUNITY]
// -
// Default: "1"
sm_afk_admins_immune "1"

// Is the AFK manager automatic plugin update enabled or disabled? (Requires SourceMod Autoupdate plugin) [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_autoupdate "1"

// Is the AFK manager enabled or disabled? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_enable "1"

// Should the AFK manager exclude counting bots in player counts? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_exclude_bots "0"

// Should the AFK manager exclude checking dead players? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_exclude_dead "0"

// Minimum number of connected clients required for AFK kick to be enabled. [DEFAULT: 6]
// -
// Default: "6"
sm_afk_kick_min_players "4"

// Should the AFK Manager kick AFK clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "1"

// Time in seconds (total) client must be AFK before being kicked. [0 = DISABLED, DEFAULT: 120.0 seconds]
// -
// Default: "120.0"
sm_afk_kick_time "120.0"

// Time in seconds remaining, player should be warned before being kicked for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_kick_warn_time "30.0"

// Threshold for amount of movement required to mark a player as AFK. [0 = NONE, DEFAULT: 30.0]
// -
// Default: "30.0"
sm_afk_location_threshold "30.0"

// How many days should we keep AFK manager log files. [0 = INFINITE, DEFAULT: 0]
// -
// Default: "0"
sm_afk_log_days "0"

// 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"

// Minimum number of connected clients required for AFK move to be enabled. [DEFAULT: 4]
// -
// Default: "4"
sm_afk_move_min_players "4"

// Should the AFK Manager move AFK clients to spectator team? [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_spec "0"

// Time in seconds (total) client must be AFK before being moved to spectator. [0 = DISABLED, DEFAULT: 60.0 seconds]
// -
// Default: "60.0"
sm_afk_move_time "60.0"

// Time in seconds remaining, player should be warned before being moved for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_move_warn_time "30.0"

// Should the AFK manager warn team 0 (Usually unassigned) players? (Disabling may not work for some games) [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_warn_unassigned "1"

// Time in seconds (total) that player should have moved from their spawn position. [0 = DISABLED, DEFAULT: 20.0 seconds]
// -
// Default: "20.0"
sm_afk_spawn_time "20.0"

// Time in seconds remaining, player should be warned for being AFK in spawn. [DEFAULT: 15.0 seconds]
// -
// Default: "15.0"
sm_afk_spawn_warn_time "15.0"
srvmil is offline
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 11-10-2012 , 11:20   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1207

Code:
// Should the AFK manager exclude checking dead players? [0 = FALSE, 1 = TRUE]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_exclude_dead "0"
Change sm_afk_exclude_dead "0" to "1"
Lucky_luck is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 11-10-2012 , 17:11   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1208

So you have sm_afk_move_spec to 0 and the AFK Manager is still moving them to Spectator?

Can you reproduce this? When does it happen? Because from what I can see checking the code this should not be possible as long at that variable is 0...
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
srvmil
Senior Member
Join Date: Oct 2010
Old 11-10-2012 , 19:40   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1209

Quote:
Originally Posted by Rothgar View Post
So you have sm_afk_move_spec to 0 and the AFK Manager is still moving them to Spectator?

Can you reproduce this? When does it happen? Because from what I can see checking the code this should not be possible as long at that variable is 0...
I will try again and let you know once I get any afk

EDIT:
Just letting you know that everything works fine here now, it kick them straight away instead of moving to spectator which I wanted. Also changed sm_afk_exclude_dead "0" to "1", this resolves my problem. Thank you very much for providing this plugin.

Last edited by srvmil; 11-10-2012 at 20:50.
srvmil is offline
ZuCChiNi
Junior Member
Join Date: Apr 2012
Location: Turkey
Old 11-13-2012 , 17:26   Re: AFK Manager (Version 3.5.0 / Updated November 8th 2012)
Reply With Quote #1210

Turkish translation.
Attached Files
File Type: txt afk_manager.phrases.txt (10.2 KB, 144 views)
ZuCChiNi is offline
Send a message via ICQ to ZuCChiNi Send a message via AIM to ZuCChiNi Send a message via MSN to ZuCChiNi Send a message via Yahoo to ZuCChiNi Send a message via Skype™ to ZuCChiNi
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 13:44.


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