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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-24-2014 , 15:53   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1501

Quote:
Originally Posted by -BULL- View Post
Hi, need help
I running a csgo surf server SM 1.6.2 MM 1.10.3

I have now tried all possible settings.
1. I want to only those who are AFK will be kicked after a certain time.
2. I want Spectatre not to be kicked at all.

However, the timer starts when I joins spec from game menu and I get kicked as afk.
I can avoid being kicked (resetting the timer) in the spec if I write something in chat or if I jump between different players whether sm_afk_move_spec "1" or "0"
I put on sm_afk_move_spec "1" and let the plugin move me to spec I do not get kicked.
Is it possible that the plugin can do what I want?
How do I do in that case?
Did you read the variables and descriptions, there is a variable that should do exactly what you want...
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
-BULL-
Member
Join Date: Jul 2010
Location: Sweden
Old 10-24-2014 , 20:18   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1502

Yes I did, if I set it up like this you will be kicked as AFK in spec.

Code:
// This file was auto-generated by SourceMod (v1.6.1)
// 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 "0"

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

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

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

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

// Time in seconds (total) client must be AFK before being kicked. [0 = DISABLED, DEFAULT: 120.0 seconds]
// -
// Default: "120.0"
sm_afk_kick_time "45.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 "7"

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

// Should the AFK manager use a short prefix? [0 = FALSE, 1 = TRUE, DEFAULT: 0]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_prefix_short "0"

// 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 "30.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"
Should it be set to any other way to work as I want?
__________________

Last edited by -BULL-; 10-24-2014 at 20:59.
-BULL- is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-25-2014 , 00:49   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1503

Quote:
Originally Posted by -BULL- View Post
Yes I did, if I set it up like this you will be kicked as AFK in spec.
Should it be set to any other way to work as I want?
That looks like it should be ok, can you get me some more information?

Have you tried compiling a version with Debug and see if it has any more details?

Is Surf doing anything weird with spectators? i.e. you are talking about proper spectators on the spectator team right?

Has CS:GO changed the spectator team number?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
-BULL-
Member
Join Date: Jul 2010
Location: Sweden
Old 10-25-2014 , 10:08   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1504

Quote:
Is Surf doing anything weird with spectators?
i.e. you are talking about proper spectators on the spectator team right?
Has CS:GO changed the spectator team number?
1. I donīt know. But I testing on a regular server with only sm default + afk_manager plugins
2. Yes
3. Look at the log, itīs from I connect to Iīll ben kicked

Code:
L 10/25/2014 - 15:41:56: [afk_manager.smx] InitializePlayer - Initializing client: 2
L 10/25/2014 - 15:41:56: [afk_manager.smx] InitializePlayer - Closing Old AFK timer for client: 2
L 10/25/2014 - 15:41:56: [afk_manager.smx] InitializePlayer - Creating AFK timer for client: 2
L 10/25/2014 - 15:41:56: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 2
L 10/25/2014 - 15:41:56: [afk_manager.smx] Event_PlayerSpawn - Client Spawn Position: 0.000000 42.000000 0.000000
L 10/25/2014 - 15:41:56: [afk_manager.smx] Event_PlayerSpawn - Client spawned: 2
L 10/25/2014 - 15:42:01: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:01: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:01: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:01: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:01: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: 0.175999 42.483997 0.000000
L 10/25/2014 - 15:42:01: [afk_manager.smx] CheckSamePosition - Client: 2 eyes are no longer in Spawn Position
L 10/25/2014 - 15:42:01: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 0.000000 0.000000 0.000000 New Angle: 0.175999 42.483997 0.000000
L 10/25/2014 - 15:42:01: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: 0.000000 0.000000 0.000000 New Position: -533.000000 -754.000000 132.788116
L 10/25/2014 - 15:42:06: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:06: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:06: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:06: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:06: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: 1.099999 43.495998 0.000000
L 10/25/2014 - 15:42:06: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 0.175999 42.483997 0.000000 New Angle: 1.099999 43.495998 0.000000
L 10/25/2014 - 15:42:06: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: -533.000000 -754.000000 132.788116 New Position: -533.000000 -754.000000 132.788116
L 10/25/2014 - 15:42:10: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 9
L 10/25/2014 - 15:42:11: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:11: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:11: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:11: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:11: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: 1.099999 43.495998 0.000000
L 10/25/2014 - 15:42:11: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 1.099999 43.495998 0.000000 New Angle: 1.099999 43.495998 0.000000
L 10/25/2014 - 15:42:11: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: -533.000000 -754.000000 132.788116 New Position: -533.000000 -754.000000 132.788116
L 10/25/2014 - 15:42:11: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:42:11: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 5.000000 AFK Timeleft: 40.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:42:14: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 7
L 10/25/2014 - 15:42:15: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 9
L 10/25/2014 - 15:42:16: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:16: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:16: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:16: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:16: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: 2.771999 44.134002 0.000000
L 10/25/2014 - 15:42:16: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 1.099999 43.495998 0.000000 New Angle: 2.771999 44.134002 0.000000
L 10/25/2014 - 15:42:16: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: -533.000000 -754.000000 132.788116 New Position: -533.000000 -754.000000 132.788116
L 10/25/2014 - 15:42:21: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:21: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:21: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:21: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:21: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: 9.767994 83.030006 0.000000
L 10/25/2014 - 15:42:21: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 2.771999 44.134002 0.000000 New Angle: 9.767994 83.030006 0.000000
L 10/25/2014 - 15:42:21: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: -533.000000 -754.000000 132.788116 New Position: 228.513076 -309.934967 96.437416
L 10/25/2014 - 15:42:26: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 2
L 10/25/2014 - 15:42:26: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:26: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:26: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:26: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:26: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: -0.726001 144.850173 0.000000
L 10/25/2014 - 15:42:26: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 0.000000 0.000000 0.000000 New Angle: -0.726001 144.850173 0.000000
L 10/25/2014 - 15:42:26: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: 228.513076 -309.934967 96.437416 New Position: 200.424987 273.553253 1.350364
L 10/25/2014 - 15:42:29: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 2
L 10/25/2014 - 15:42:31: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:31: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:31: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:31: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:31: [afk_manager.smx] CheckSamePosition - Player Eye Angles: Client: 2 New Angle: 4.839999 177.806213 0.000000
L 10/25/2014 - 15:42:31: [afk_manager.smx] CheckSamePosition - Checking Player Eye Angles: Client: 2 Old Angle: 0.000000 0.000000 0.000000 New Angle: 4.839999 177.806213 0.000000
L 10/25/2014 - 15:42:31: [afk_manager.smx] CheckSamePosition - Checking Player Position: Client: 2 Old Position: 200.424987 273.553253 1.350364 New Position: 183.099594 183.147766 3.999897
L 10/25/2014 - 15:42:34: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 2
L 10/25/2014 - 15:42:34: [afk_manager.smx] Event_PlayerTeamPost - Client 2
L 10/25/2014 - 15:42:34: [afk_manager.smx] Event_PlayerTeamPost - Client: 2 is changing team
L 10/25/2014 - 15:42:34: [afk_manager.smx] Event_PlayerTeamPost - Client 2 previous team: 2
L 10/25/2014 - 15:42:34: [afk_manager.smx] Event_PlayerTeamPost - Client 2 previous team: 2 previous team players: 5
L 10/25/2014 - 15:42:34: [afk_manager.smx] Event_PlayerTeamPost - Client: 2 joined spectator team
L 10/25/2014 - 15:42:34: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 6
L 10/25/2014 - 15:42:36: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:36: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:36: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:36: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:36: [afk_manager.smx] CheckObserverAFK - Observer has changed modes? Old: 1 New: 4 Not AFK?
L 10/25/2014 - 15:42:40: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 7
L 10/25/2014 - 15:42:41: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 4
L 10/25/2014 - 15:42:41: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:41: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:41: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:41: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:41: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:42:41: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 5.000000 AFK Timeleft: 40.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:42:44: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 3
L 10/25/2014 - 15:42:45: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 5
L 10/25/2014 - 15:42:46: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:46: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:46: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:46: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:46: [afk_manager.smx] CheckObserverAFK - Observer looking at new target? Old: 4 New: 3 Not AFK?
L 10/25/2014 - 15:42:46: [afk_manager.smx] CheckObserverAFK - Observer old target is no longer valid as they are dead? Old: 4
L 10/25/2014 - 15:42:46: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:42:46: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 10.000000 AFK Timeleft: 35.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:42:51: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:51: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:51: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:51: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:51: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:42:51: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 15.000000 AFK Timeleft: 30.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:42:51: [afk_manager.smx] CheckForAFK - Checking AFK Time (Kick): Client: 2 Timeleft: 30.000000
L 10/25/2014 - 15:42:52: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 8
L 10/25/2014 - 15:42:55: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 5
L 10/25/2014 - 15:42:56: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:42:56: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:42:56: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:42:56: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:42:56: [afk_manager.smx] CheckObserverAFK - Observer looking at new target? Old: 3 New: 4 Not AFK?
L 10/25/2014 - 15:42:56: [afk_manager.smx] CheckObserverAFK - Observer old target is no longer valid as they are dead? Old: 3
L 10/25/2014 - 15:42:56: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:42:56: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 20.000000 AFK Timeleft: 25.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:42:56: [afk_manager.smx] CheckForAFK - Checking AFK Time (Kick): Client: 2 Timeleft: 25.000000
L 10/25/2014 - 15:43:01: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:43:01: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:43:01: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:43:01: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:43:01: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:43:01: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 25.000000 AFK Timeleft: 20.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:43:01: [afk_manager.smx] CheckForAFK - Checking AFK Time (Kick): Client: 2 Timeleft: 20.000000
L 10/25/2014 - 15:43:02: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 6
L 10/25/2014 - 15:43:05: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 7
L 10/25/2014 - 15:43:06: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:43:06: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:43:06: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:43:06: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:43:06: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:43:06: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 30.000000 AFK Timeleft: 15.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:43:06: [afk_manager.smx] CheckForAFK - Checking AFK Time (Kick): Client: 2 Timeleft: 15.000000
L 10/25/2014 - 15:43:07: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 4
L 10/25/2014 - 15:43:11: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:43:11: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:43:11: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:43:11: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:43:11: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:43:11: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 35.000000 AFK Timeleft: 10.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:43:11: [afk_manager.smx] CheckForAFK - Checking AFK Time (Kick): Client: 2 Timeleft: 10.000000
L 10/25/2014 - 15:43:12: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 5
L 10/25/2014 - 15:43:13: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 4
L 10/25/2014 - 15:43:16: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:43:16: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:43:16: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:43:16: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:43:16: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:43:16: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 40.000000 AFK Timeleft: 5.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:43:16: [afk_manager.smx] CheckForAFK - Checking AFK Time (Kick): Client: 2 Timeleft: 5.000000
L 10/25/2014 - 15:43:21: [afk_manager.smx] Timer_CheckPlayer - Executing Timer Check on Client: 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] CheckPlayerCount - Minimum player count for AFK move is: 1 Current Players: 1
L 10/25/2014 - 15:43:21: [afk_manager.smx] Timer_CheckPlayer - Checking if Client is AFK.
L 10/25/2014 - 15:43:21: [afk_manager.smx] CheckForAFK - CHECKING CLIENT: 2 FOR AFK
L 10/25/2014 - 15:43:21: [afk_manager.smx] CheckForAFK - Not Checking General AFK Move as move is disabled?
L 10/25/2014 - 15:43:21: [afk_manager.smx] Kick Time: 45.000000 AFK Time: 45.000000 AFK Timeleft: 0.000000 AFK Warn Time: 30.000000
L 10/25/2014 - 15:43:21: [afk_manager.smx] BULL<3><STEAM_1:0:10220903><> was kicked for being AFK too long.
L 10/25/2014 - 15:43:21: [afk_manager.smx] KickAFKClient - Kicking player BULL for being AFK.
L 10/25/2014 - 15:43:21: [afk_manager.smx] UnInitializePlayer - Closing AFK timer for client: 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] Event_PlayerTeamPost - Client 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] Event_PlayerTeamPost - Client: 2 is changing team
L 10/25/2014 - 15:43:21: [afk_manager.smx] Event_PlayerTeamPost - Client 2 previous team: 1
L 10/25/2014 - 15:43:21: [afk_manager.smx] Event_PlayerTeamPost - Client 2 previous team: 1 previous team players: 1
L 10/25/2014 - 15:43:21: [afk_manager.smx] Event_PlayerTeamPost - Client: 2 joined team: 0
L 10/25/2014 - 15:43:21: [afk_manager.smx] Event_PlayerTeamPost - Client: 2 joined a team and does not have a valid timer? Re-Initializing client
L 10/25/2014 - 15:43:21: [afk_manager.smx] InitializePlayer - Initializing client: 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] InitializePlayer - Creating AFK timer for client: 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] ResetPlayer - Reseting arrays for index: 2
L 10/25/2014 - 15:43:21: [afk_manager.smx] OnClientDisconnect_Post - Client disconnected: 2
__________________
-BULL- is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 10-25-2014 , 14:06   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1505

Quote:
Originally Posted by Rothgar View Post
That looks like it should be ok, can you get me some more information?

Have you tried compiling a version with Debug and see if it has any more details?

Is Surf doing anything weird with spectators? i.e. you are talking about proper spectators on the spectator team right?

Has CS:GO changed the spectator team number?
I have looked into this to, and seems if the plugin moves you to spec, you wont get kicked, but if you move your self to spec in any way, you will be kicked. Even if its set to not kick spectators.
checkster is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-25-2014 , 14:39   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1506

some real weird stuff goes on with m_LifeState

ChangeClientTeam sux
__________________
Chdata is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-25-2014 , 18:11   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1507

Hmm it has been a while since reviewing the code but I think I may have found a couple of issues:

When players are moved to the spectator team and if the plugin is set to not kick spectators, I think I made it stop the timer.

While this may seem fine, I am thinking if the player re-joins a team there would be no timer for that player anymore... I still need to review to see if that might be the case or if someone wants to test this, might be related to some of the sporadic bugs people have posted.

I'll also look at the immunity code to see if there are other issues.

EDIT:

I think this also reflects in your debug log, I was relying on the move function to stop the timer which would eliminate the kick, there was no code in the kick check to see if spectators were excluded, I'll need to review it.

EDIT #2:

I think I might have a fixed version, if someone wants to test it send me a PM with Steam details.

Last edited by Rothgar; 10-25-2014 at 18:51.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Rothgar
Veteran Member
Join Date: Nov 2007
Old 10-27-2014 , 03:26   Re: AFK Manager (Version 3.5.3 / Updated October 27th 2014)
Reply With Quote #1508

New Version 3.5.3 released.

Added:
New variable to advertise only in local server language.
New variable to disable spectator target change check from resetting AFK status.
Updated support for new Engine Version detection. I have attempted to make this backward compatible for what it's worth.

Changed:
Added new Arena mode checking system based on Powerlord controlpoints.inc
TF2 Arena detection is now forced to use "FakeClientCommand" to fix various issues with VSH Mod. My initial fixes did not seem to be 100%
TF2 now forces a Suicide when moving players to spectator since this is the default when moving manually and also to fix Arena mode issues.
Now required SourceMod version 1.4.0+

Fixed:
Issue with Insurgency using old settings since moving from a Mod to being released as a retail game.
Bugs related to not kicking spectators, old code was incorrectly stopping timers and not checking manual spectator joins.


Thanks for Chdata performing some extensive testing on the Arena mode issues, the unfortunate result is I now need to use FakeClientCommand for Arena mode but seems to have fixed issues, hopefully no side effects.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
t1empO
Senior Member
Join Date: Sep 2014
Location: Сан
Old 11-03-2014 , 19:06   Re: AFK Manager (Version 3.5.3 / Updated October 27th 2014)
Reply With Quote #1509

Do please make it possible to turn off messages about moving the player
t1empO is offline
SanKen
Senior Member
Join Date: Oct 2012
Location: /var/logs
Old 11-04-2014 , 05:04   Re: AFK Manager (Version 3.5.3 / Updated October 27th 2014)
Reply With Quote #1510

Quote:
Originally Posted by t1empO View Post
Do please make it possible to turn off messages about moving the player
I join the request. I always change it yourself alone in the source. But unfortunately it is inconvenient.
__________________
SanKen is offline
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 18:07.


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