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
Donski
Senior Member
Join Date: Sep 2012
Old 06-04-2014 , 17:45   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1441

Quote:
Originally Posted by Wolfseye View Post
Whats the Flag needed for Admin to not get kicked with this ? Set that to A in the .cfg but I still get kicked. Different flag ? Do I need Z for that ?
It's the very first cvar in the same cfg that you posted 2 blocks up.

Code:
// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag "a"
Also make sure you have the second one correctly configured:

Code:
// 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"
The flag in the cfg that you posted is A, not sure if it's case-sensitive. Try changing it to a small a maybe

Last edited by Donski; 06-04-2014 at 17:58.
Donski is offline
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-05-2014 , 04:36   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1442

Thanks, removed the capitalized A and replaced with a small "a". Hope that was the issue. ;)
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Uweeda.pl
Junior Member
Join Date: Aug 2013
Old 06-12-2014 , 05:11   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1443

autoupdate working for you guys?
__________________
Uweeda.pl is offline
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-24-2014 , 04:43   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1444

Is it possible to make work with just 1 player instead of standard setting from 4 players on ? AFK for me is AFK, no matter if its just 1 player at the time. Any chance that can be changed ?

Also, is there a way to difference spectator and dead player ? In INSURGENCY (Coop) when you're dead, you have to wait until your other team mates are either dead or getting the next Objective before you can respawn. So I guess being dead and watching your team while you have to wait is in a way kinda spectating.

Because I tried to set it so dead players are excluded from being subject from AFK kick. But since in that case dead player equals Spectator in a way, the problem is that also spectating players (regular connected and went to spectator) are not being kicked because I think in this case being dead and spectate are the same. I dont know if that makes any sense what I am trying to explain.

I set it so spectators are being kicked as well, but it wont work. Spectators can stay no matter how long. And since there is no way I know in INS Coop, to disable Spectators, people just can go to Spectator and will not be kicked at all for being AFK.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
TUSK3N1337
SourceMod Donor
Join Date: Dec 2013
Location: Sweden
Old 06-24-2014 , 11:35   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1445

Quote:
Originally Posted by Wolfseye View Post
Is it possible to make work with just 1 player instead of standard setting from 4 players on ? AFK for me is AFK, no matter if its just 1 player at the time. Any chance that can be changed ?
sm_afk_kick_min_players "0"
__________________
TUSK3N1337 is offline
Send a message via Skype™ to TUSK3N1337
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-25-2014 , 07:50   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1446

Tried it today on a non-Coop INSURGENCY (Standalone) Server, just for testing, but wanted to limit it to just kicking Spectators after a certain amount of time. Didn't work at all.

Code:
// 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"
Code:
// Time in seconds (total) client must be AFK before being kicked. [0 = DISABLED, DEFAULT: 120.0 seconds]
// -
// Default: "120.0"
sm_afk_kick_time "60"
Code:
// 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"
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 "1"
Didn't even start up that plugin. Normally on each Server start, the Plugin creates or continues a new/previous logfile. Kinda like that ...

afkm_20140624.log

But it didn't even do that. Works on Coop, but not on PVP. Also no error logs of any kind.

Last edited by Wolfseye; 06-25-2014 at 07:52.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-26-2014 , 06:16   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1447

And about setting the minimum players to enable AFK kick to something lower than standard....

Code:
// Minimum number of connected clients required for AFK kick to be enabled. [DEFAULT: 6]
// -
// Default: "6"
sm_afk_kick_min_players "2"
Thats my setting, set it to 2 instead of 6. And thats the logfiles...

Code:
L 06/26/2014 - 11:11:03: [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 = 1
L 06/26/2014 - 11:11:03: [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 = 1
L 06/26/2014 - 11:11:03: [afk_manager.smx] Minimum player count for AFK move is reached, feature is now enabled: sm_afk_move_min_players = 4 Current Players = 4
The plugin still wants to use 6 as the default and seems not to accept any lower value / number of people on the Server before using the KICK functionality.

I'd say that plugin doesn't work the way I need it.
Could someone please fix that its a value from 1 to .... i can use for that ? Thanks in advance.

Last edited by Wolfseye; 06-26-2014 at 06:17.
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 06-26-2014 , 07:24   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1448

Works like a charm if I set it to 1 (TF2):
Code:
368464-L 06/24/2014 - 21:01:27: [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
368636-L 06/24/2014 - 21:01:27: [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
368808-L 06/24/2014 - 21:01:47: [afk_manager.smx] Minimum player count for AFK move is reached, feature is now enabled: sm_afk_move_min_players = 1 Current Players = 1
368969-L 06/24/2014 - 21:01:47: [afk_manager.smx] Minimum player count for AFK kick is reached, feature is now enabled: sm_afk_kick_min_players = 1 Current Players = 1
369130-L 06/24/2014 - 21:04:20: [afk_manager.smx] PLAYER<> was moved to spectate for being AFK too long.
369254:L 06/24/2014 - 21:12:25: [afk_manager.smx] PLAYER<> was kicked for being AFK too long.
What's the output of "sm_afk_kick_min_players" when you use it in the console?
I'd guess that you set it to 2 and it is set to 6 somewhere else.
__________________
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; 06-26-2014 at 07:26.
Sillium is offline
Wolfseye
Senior Member
Join Date: Apr 2014
Location: Germany
Old 06-26-2014 , 10:58   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1449

Quote:
Originally Posted by Sillium View Post
Works like a charm if I set it to 1 (TF2):
Code:
368464-L 06/24/2014 - 21:01:27: [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
368636-L 06/24/2014 - 21:01:27: [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
368808-L 06/24/2014 - 21:01:47: [afk_manager.smx] Minimum player count for AFK move is reached, feature is now enabled: sm_afk_move_min_players = 1 Current Players = 1
368969-L 06/24/2014 - 21:01:47: [afk_manager.smx] Minimum player count for AFK kick is reached, feature is now enabled: sm_afk_kick_min_players = 1 Current Players = 1
369130-L 06/24/2014 - 21:04:20: [afk_manager.smx] PLAYER<> was moved to spectate for being AFK too long.
369254:L 06/24/2014 - 21:12:25: [afk_manager.smx] PLAYER<> was kicked for being AFK too long.
What's the output of "sm_afk_kick_min_players" when you use it in the console?
I'd guess that you set it to 2 and it is set to 6 somewhere else.
There is no elsewhere. There is only the config file of this Plugin, which the content about that I posted above. There is no elsewhere that this setting can come from. And the fact that it works correctly in TF2 doesn't mean it does with INSURGENCY (Standalone) I'd say.

Besides the fact that it doesn't work at all if I set it to just kick Spectators.

But even more weird is that the command you posted didn't work on the console. Unknown command ???? How can that be if the Plugin is enabled.

AFK Manager Log file:
Code:
L 06/26/2014 - 11:13:53: [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 = 1
L 06/26/2014 - 11:13:53: [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 = 1
L 06/26/2014 - 11:13:53: [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 06/26/2014 - 11:13:53: [afk_manager.smx] Minimum player count for AFK kick is reached, feature is now enabled: sm_afk_kick_min_players = 6 Current Players = 6
And what the hell is it talking about ? There weren't Players except myself on that Server after I restarted my Server. So how can it say it reached the right player count to start with the AFK kick, saying current Players 6. Somewhere this plugin doesn't work with INS.

But here you can see in the SM logs, when I restarted the Server this morning, the Server recognized the Plugin.

Code:
L 06/26/2014 - 11:13:52: [afk_manager.smx] [AFK Manager] Log File: addons\sourcemod\logs\afkm_20140626.log
L 06/26/2014 - 11:13:52: [afk_manager.smx] [AFK Manager] Detected Mod Insurgency
Wolfseye is offline
Send a message via Skype™ to Wolfseye
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 06-27-2014 , 07:31   Re: AFK Manager (Version 3.5.2 / Updated July 13th 2013)
Reply With Quote #1450

I know that it can be different when running another Mod/Game

Can you see the plugin in the plugin list? (sm plugins list)
What's the output sm cvars for that plugin?

Code:
40 "AFK Manager" (3.5.2) by Rothgar

sm cvars 40[SM] Listing 24 convars for: AFK Manager
  [Name]                           [Value]
  sm_afk_admins_flag
  sm_afk_admins_immune             2
  sm_afk_autoupdate                1
  sm_afk_enable                    1
  sm_afk_exclude_bots              0
  sm_afk_exclude_dead              0
  sm_afk_kick_min_players          1
  sm_afk_kick_players              1
  sm_afk_kick_time                 360.0
  sm_afk_kick_warn_time            30.0
  sm_afk_location_threshold        30.0
  sm_afk_log_days                  30
  sm_afk_log_kicks                 1
  sm_afk_log_moves                 1
  sm_afk_log_warnings              1
  sm_afk_move_min_players          1
  sm_afk_move_spec                 1
  sm_afk_move_time                 120.0
  sm_afk_move_warn_time            30.0
  sm_afk_move_warn_unassigned      1
  sm_afk_prefix_short              0
  sm_afk_spawn_time                120.0
  sm_afk_spawn_warn_time           45.0
  sm_afkm_version                  3.5.2
__________________
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
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 16:53.


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