Raised This Month: $135 Target: $400
 33% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Michauux
Member
Join Date: Nov 2015
Old 04-30-2018 , 08:36   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1941

There is a small bug in the teamswap option, because the player can move from TT to SPEC and then to CT to enter the opposing team. Please, correct the error
Michauux is offline
mewbie222
Junior Member
Join Date: May 2018
Old 05-15-2018 , 15:48   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1942

Is it possible to add a bots check, except for Source-TV. For example Kick bot in 25-30 seconds, or its value or even through an additional CVAR.
Alternatively, there may already be a ready-made plug-in with support for bots checking.

Last edited by mewbie222; 05-15-2018 at 15:49.
mewbie222 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-16-2018 , 09:29   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1943

Quote:
Originally Posted by mewbie222 View Post
Is it possible to add a bots check, except for Source-TV. For example Kick bot in 25-30 seconds, or its value or even through an additional CVAR.
Alternatively, there may already be a ready-made plug-in with support for bots checking.
Why do you want a bot check what is the point of checking bots?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
mewbie222
Junior Member
Join Date: May 2018
Old 05-16-2018 , 12:28   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1944

Quote:
Originally Posted by Rothgar View Post
Why do you want a bot check what is the point of checking bots?
It's just that on my server the bots sometimes stand still, and so that's not what I want them to kick. Just the game is not the CSS, but the DODs and Bots RCBots2. And sometimes they just stand still = they're dying .. That's what I want them to kick, those who stand still.
added:
I just do not know how to correct, as if the add-on to this plugin or a new plug-in to do.
Sorry for bad english.

Last edited by mewbie222; 05-16-2018 at 14:14.
mewbie222 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-18-2018 , 19:21   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1945

You could try change Line 652 to:

bool IsValidClient(int client, bool nobots = false)

That should change the default, I removed most of the bot checking parts of the code a long time ago as I found it fairly pointless.

If it works for your requirements let me know and I can turn that into a variable easy enough.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
mewbie222
Junior Member
Join Date: May 2018
Old 05-19-2018 , 06:48   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1946

Quote:
Originally Posted by Rothgar View Post
You could try change Line 652 to:

bool IsValidClient(int client, bool nobots = false)

That should change the default, I removed most of the bot checking parts of the code a long time ago as I found it fairly pointless.

If it works for your requirements let me know and I can turn that into a variable easy enough.
And with Sourсe-TV, I wonder how it will be? , its like how will it be?
And thanks, I will test.
added:
By the way, in version 3.4.3 there is a setup for working with bots, but I can not understand whether this option works or not. and what value all the same to put, also I can not understand .. "0" or "1". to kicking bots too.
here this parameter :
Quote:
// 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"
I changed the parameter to 0 and 1, zero of emotions, the bots stood still and stood.

Last edited by mewbie222; 05-19-2018 at 09:31.
mewbie222 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-19-2018 , 21:21   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1947

Quote:
Originally Posted by mewbie222 View Post
And with Sourсe-TV, I wonder how it will be? , its like how will it be?
And thanks, I will test.
added:
By the way, in version 3.4.3 there is a setup for working with bots, but I can not understand whether this option works or not. and what value all the same to put, also I can not understand .. "0" or "1". to kicking bots too.
here this parameter :

I changed the parameter to 0 and 1, zero of emotions, the bots stood still and stood.
You'll need to test the change, I'm not going back to 3.4.3, AFAIK SourceTV is checked separately in that IsValidClient() so if you change that to false it should be ok, but you'll need to test it to confirm.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
mewbie222
Junior Member
Join Date: May 2018
Old 05-20-2018 , 04:21   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1948

Yes, it's understandable, you need to check in general .. And even just do not want to put a new version, I'm confused in them. which is better for my game.
added
Plus, will there be new versions on this bundle SM MM (MetaMod: Source v1.10.7-devV, SourceMod v1.7.3-dev + 5280)
Quote:
L 05/20/2018 - 05:51:02: [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
This parameter considers exactly the real players, and then how to make this parameter sm_afk_exclude_bots work?
And it's completely confused with the settings ..

If I correctly understand that this parameter is necessary sm_afk_kick_min_players = 1 and sm_afk_exclude_bots = 1

Last edited by mewbie222; 05-20-2018 at 05:56.
mewbie222 is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-20-2018 , 19:04   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1949

I noticed that this doesn't do CheckMinPlayers() after the min_players cvars change. It probably should, so that the cvar updates happen immediately instead of upon players joining/leaving.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.
FlaminSarge is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 05-21-2018 , 04:34   Re: [ANY] AFK Manager (Version 4.2.4 / Updated April 3rd 2018)
Reply With Quote #1950

Quote:
Originally Posted by FlaminSarge View Post
I noticed that this doesn't do CheckMinPlayers() after the min_players cvars change. It probably should, so that the cvar updates happen immediately instead of upon players joining/leaving.
Sure that makes sense and should be easy enough.

I'll give mewbie222 a couple more days to see if he can test the bot code change I suggested otherwise I'll release that fix separately.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
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 04:07.


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