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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-27-2014 , 07:37   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1451

This ...

Code:
Command (8): sm cvars 07
Response (8): [SM] Listing 24 convars for: AFK Manager
  [Name]                           [Value]
  sm_afk_admins_flag               a
  sm_afk_admins_immune             1
  sm_afk_autoupdate                1
  sm_afk_enable                    1
  sm_afk_exclude_bots              1
  sm_afk_exclude_dead              1
  sm_afk_kick_min_players          2
  sm_afk_kick_players              1
  sm_afk_kick_time                 300
  sm_afk_kick_warn_time            30.0
  sm_afk_location_threshold        30.0
  sm_afk_log_days                  0
  sm_afk_log_kicks                 1
  sm_afk_log_moves                 0
  sm_afk_log_warnings              0
  sm_afk_move_min_players          4
  sm_afk_move_spec                 0
  sm_afk_move_time                 60.0
  sm_afk_move_warn_time            30.0
  sm_afk_move_warn_unassigned      0
  sm_afk_prefix_short              0
  sm_afk_spawn_time                0
  sm_afk_spawn_warn_time           60
  sm_afkm_version                  3.5.2
L 06/27/2014 - 12:36:11: rcon from "xxx.xxx.xxx.xxx:1xxx": command "sm cvars 07"
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Rothgar
Veteran Member
Join Date: Nov 2007
Old 06-29-2014 , 05:41   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1452

I take it this is with the new Insurgency? Since it's now a pay mod I cannot perform any testing on it but that does seem very strange behavior.

Have you tried compiling with Debug enabled?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-29-2014 , 07:34   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1453

Quote:
Originally Posted by Rothgar View Post
I take it this is with the new Insurgency? Since it's now a pay mod I cannot perform any testing on it but that does seem very strange behavior.

Have you tried compiling with Debug enabled?
No I havent tried that, and yes, its the new INS. But I will try that later.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 07-01-2014 , 02:22   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1454

Sorry I was not around the last few days.

I hope you and Rothgar can figure it out!
__________________
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
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 07-01-2014 , 03:24   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1455

Debugging.

Code:
L 07/01/2014 - 08:14:52: [afk_manager.smx] BuildLogFilePath - AFK Log Path: addons\sourcemod\logs\afkm_20140701.log
L 07/01/2014 - 08:14:52: [afk_manager.smx] BuildLogFilePath - Log file has been rotated
L 07/01/2014 - 08:14:52: [afk_manager.smx] AFK Plugin Started!
L 07/01/2014 - 08:14:52: [afk_manager.smx] Running RegisterCvars()
L 07/01/2014 - 08:14:52: [afk_manager.smx] Running RegisterHooks()
L 07/01/2014 - 08:14:52: [afk_manager.smx] RegisterHooks - Hooked Version variable.
L 07/01/2014 - 08:14:52: [afk_manager.smx] RegisterHooks - Hooked Enable variable.
L 07/01/2014 - 08:14:52: [afk_manager.smx] RegisterHooks - Hooked Warnings variable.
L 07/01/2014 - 08:14:52: [afk_manager.smx] RegisterHooks - Hooked Exclude Bots variable.
L 07/01/2014 - 08:14:52: [afk_manager.smx] Running RegisterCmds()
L 07/01/2014 - 08:14:53: [afk_manager.smx] BuildLogFilePath - AFK Log Path: addons\sourcemod\logs\afkm_20140701.log
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 1
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 2
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 3
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 4
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 5
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 6
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 7
L 07/01/2014 - 08:14:53: [afk_manager.smx] OnClientPutInServer - Client put in server: 8
L 07/01/2014 - 08:14:53: [afk_manager.smx] CvarChange_Enabled - Enable cvar has been changed. Old value: 0 New value: 1
L 07/01/2014 - 08:14:53: [afk_manager.smx] CvarChange_Enabled - Enabled (Hooking Events).
L 07/01/2014 - 08:14:53: [afk_manager.smx] EnablePlugin - Hooked Player Team Event.
L 07/01/2014 - 08:14:53: [afk_manager.smx] EnablePlugin - Hooked Player Spawn Event.
L 07/01/2014 - 08:14:53: [afk_manager.smx] EnablePlugin - Hooked Player Death Event.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - AFK Plugin Starting!
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 1 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 2 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 3 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 4 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 5 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 6 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 7 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Client 8 is in the game.
L 07/01/2014 - 08:14:53: [afk_manager.smx] AFK_Start - Finished Reseting Clients!
L 07/01/2014 - 08:14:53: [afk_manager.smx] CvarChange_ExcludeBots - Exclude Bots cvar has been changed. Old value: 0 New value: 1
L 07/01/2014 - 08:14:53: [afk_manager.smx] CvarChange_ExcludeBots - Exclude Bots Enabled.
L 07/01/2014 - 08:18:41: [afk_manager.smx] OnClientPutInServer - Client put in server: 9
L 07/01/2014 - 08:18:41: [afk_manager.smx] OnClientPutInServer - Players: 1
L 07/01/2014 - 08:18:41: [afk_manager.smx] OnClientPutInServer - Team: 0
L 07/01/2014 - 08:18:41: [afk_manager.smx] Event_PlayerTeamPost - Client 9
L 07/01/2014 - 08:18:41: [afk_manager.smx] Event_PlayerTeamPost - Client: 9 is changing team
L 07/01/2014 - 08:18:41: [afk_manager.smx] Event_PlayerTeamPost - Client 9 previous team: 0
L 07/01/2014 - 08:18:41: [afk_manager.smx] Event_PlayerTeamPost - Client 9 previous team: 0 previous team players: 1
L 07/01/2014 - 08:19:51: [afk_manager.smx] OnClientPutInServer - Client put in server: 10
L 07/01/2014 - 08:19:51: [afk_manager.smx] OnClientPutInServer - Players: 2
L 07/01/2014 - 08:19:51: [afk_manager.smx] OnClientPutInServer - Team: 0
L 07/01/2014 - 08:19:51: [afk_manager.smx] Event_PlayerTeamPost - Client 10
L 07/01/2014 - 08:19:51: [afk_manager.smx] Event_PlayerTeamPost - Client: 10 is changing team
L 07/01/2014 - 08:19:51: [afk_manager.smx] Event_PlayerTeamPost - Client 10 previous team: 0
L 07/01/2014 - 08:19:51: [afk_manager.smx] Event_PlayerTeamPost - Client 10 previous team: 0 previous team players: 1
Ok, I got kicked after the set amount of time. But, when I tried to only kick spectators that didn't work at all. Regular kick works, but not Spectators.

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


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

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

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

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

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

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

Last edited by Wolfseye; 07-01-2014 at 03:45.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Rothgar
Veteran Member
Join Date: Nov 2007
Old 07-01-2014 , 05:06   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1456

I know what the problem is now, sorry my mistake a lot has been going on. Insurgency used to be a lot different before it went to a full release. Current Released Plugin has Spectator as Team 3.

In the current Insurgency team 3 is probably never used. If you can send me a message via PM with Steam ID I can try and work with someone to test the new build so I can release.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 07-01-2014 , 05:12   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1457

Quote:
Originally Posted by Rothgar View Post
I know what the problem is now, sorry my mistake a lot has been going on. Insurgency used to be a lot different before it went to a full release. Current Released Plugin has Spectator as Team 3.

In the current Insurgency team 3 is probably never used. If you can send me a message via PM with Steam ID I can try and work with someone to test the new build so I can release.
PM send. Thank you. ;)
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Bigsplash
Senior Member
Join Date: Mar 2009
Old 07-24-2014 , 20:06   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1458

Help don't think this is working for me

07/24/2014 - 17:22:07: [SM] Displaying call stack trace for plugin "afk_manager-compat.smx":
L 07/24/2014 - 17:22:07: [SM] [0] Line 269, afk_manager-compat.sp::UnInitializePlayer()
L 07/24/2014 - 17:22:07: [SM] [1] Line 312, afk_manager-compat.sp::OnClientDisconnect()
3)
Bigsplash is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 07-25-2014 , 07:51   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1459

@Bigsplash - wrong plugin thread - he does not make the 'compat' version. (that I know of.. )
hamilton5 is offline
Bigsplash
Senior Member
Join Date: Mar 2009
Old 07-25-2014 , 09:38   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1460

Oops! Silly fat fingers.
Bigsplash 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 21:35.


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