Raised This Month: $319 Target: $400
 79%   Almost there!

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


Post New Thread Reply   
 
Thread Tools Display Modes
Stropy
Senior Member
Join Date: Feb 2016
Old 03-05-2021 , 06:44   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2051

Hello,
players who are using +forward and +left in TF2 are not being moved/kicked. Probably related to above issue with +/- left in the console. Is there any way to fix it?
Stropy is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 03-05-2021 , 08:09   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2052

Quote:
Originally Posted by Stropy View Post
Hello,
players who are using +forward and +left in TF2 are not being moved/kicked. Probably related to above issue with +/- left in the console. Is there any way to fix it?
Exactly, as I mentioned above. I tested it thoroughly and if it uses +/- left the plugin does not move it to spec or kicka

Another point that I realized is that during heating the plugin does not work, would that be correct? Any way to make it work even while warming up?

[EDIT1]
Correction, in CSGO after the first round ends he starts to detect, even if the player is using +/- left.
__________________

Last edited by paulo_crash; 03-05-2021 at 08:11.
paulo_crash is offline
hoyxen
Member
Join Date: Mar 2021
Location: Portugal, Azores
Old 03-05-2021 , 08:13   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2053

nice.
__________________
hoyxen is offline
`666
AlliedModders Donor
Join Date: Jan 2006
Old 03-06-2021 , 05:47   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2054

In insurgency (coop mode) when players join a server they get automatically assigned to a team, so if the plugin set to ignore dead players then the plugin never detects an afk. I added to check if player joined a squad, if not then the player is afk.
Attached Files
File Type: sp Get Plugin or Get Source (afk_manager4.sp - 86 views - 80.9 KB)

Last edited by `666; 03-16-2021 at 13:19.
`666 is offline
digin
Member
Join Date: Nov 2019
Old 03-27-2021 , 07:18   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2055

does this not work in retakes by splewis? on my server seems like it doesn't work and it takes a long time to detect whether the player is afk or not.
digin is offline
fantsypants
Junior Member
Join Date: Nov 2019
Old 04-08-2021 , 15:12   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2056

Quote:
Originally Posted by digin View Post
does this not work in retakes by splewis? on my server seems like it doesn't work and it takes a long time to detect whether the player is afk or not.
yeah trying this with my retakes server too and it seems it doesnt work. The plugin is loaded etc. Maybe its to do with the bomb being planted...
fantsypants is offline
pToxic
New Member
Join Date: Mar 2020
Old 05-17-2021 , 15:51   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2057

Quote:
Originally Posted by Rothgar View Post
I don't run any CS Servers so if I don't have replication steps it will be hard.

Are you able to compile a manual version changing that to Plugin_Continue and run it for a while see if that resolves the issues?

If it does I'll update it.
I just tested it and it resolved the issue.
pToxic is offline
BorealBlizzard
New Member
Join Date: Jun 2021
Location: Missouri, MO
Old 06-11-2021 , 23:58   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2058

Im having issues setting move time and kick time. I have it set up to move at 300sec and kick at 600sec but it moves people in like 15 seconds of being afk.

here is my afk_manager.cfg
PHP Code:
// This file was auto-generated by SourceMod (v1.10.0.6503)
// ConVars for plugin "afk_manager4.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 "2"

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

// How many button changes should the AFK Manager track before resetting AFK status? [0 = DISABLED, DEFAULT: 5]
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "30.000000"
sm_afk_buttons "5"

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

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

// Should the AFK Manager force all message language to the server default? [0 = DISABLED, 1 = ENABLED, DEFAULT: 0]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_force_language "0"

// Should the AFK Manager announce AFK kicks to the server? [0 = DISABLED, 1 = EVERYONE, 2 = ADMINS ONLY, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_afk_kick_announce "1"

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

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

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

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

// Should the AFK Manager announce AFK moves to the server? [0 = DISABLED, 1 = EVERYONE, 2 = ADMINS ONLY, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_afk_move_announce "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]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_spec "1"

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

// 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 "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" 
BorealBlizzard is offline
Et3rnity
Member
Join Date: Sep 2018
Location: Romania
Old 06-12-2021 , 00:24   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2059

You have to set spawn afk time aswell sm_afk_spawn_time
__________________
Et3rnity is offline
BorealBlizzard
New Member
Join Date: Jun 2021
Location: Missouri, MO
Old 06-12-2021 , 00:59   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2060

Quote:
Originally Posted by Et3rnity View Post
You have to set spawn afk time aswell sm_afk_spawn_time
Thank you that seemed to fix it!
__________________
BorealBlizzard 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 07:08.


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