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

Solved Kicked by Console : All players idle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Gold Fish
Senior Member
Join Date: Mar 2020
Old 02-16-2022 , 08:00   Kicked by Console : All players idle
Reply With Quote #1

If the last player is left on the server, he will be kicked soon, bypassing cvar director_afk_timeout. is there a way to increase the time to kick?
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");


Last edited by Gold Fish; 02-17-2022 at 02:16.
Gold Fish is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-16-2022 , 12:22   Re: Kicked by Console : All players idle
Reply With Quote #2

Could you tell us, differently, other way, what you exactly want ?
__________________
Do not Private Message @me
Bacardi is online now
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-16-2022 , 16:25   Re: Kicked by Console : All players idle
Reply With Quote #3

on L4D series, by default, if you all players become "idle"/"afk" for a while the server automatically closes.

check this related post: https://forums.alliedmods.net/showthread.php?t=331736

Quote:
Originally Posted by Dragokas View Post
Code:
sm_cvar sb_all_bot_team "1"
sm_cvar sv_hibernate_when_empty "0"
And this one too: https://forums.alliedmods.net/showthread.php?t=304448
__________________

Last edited by Marttt; 02-16-2022 at 16:27.
Marttt is offline
Gold Fish
Senior Member
Join Date: Mar 2020
Old 02-17-2022 , 02:16   Re: Kicked by Console : All players idle
Reply With Quote #4

Quote:
Originally Posted by Marttt View Post
on L4D series, by default, if you all players become "idle"/"afk" for a while the server automatically closes.

check this related post: https://forums.alliedmods.net/showthread.php?t=331736



And this one too: https://forums.alliedmods.net/showthread.php?t=304448
Thank you for advice. Enabling bots helped solve the problem.
__________________
-

PHP Code:
public OnClientConnect(int Client) {
    
KickClient(Client"sorry");

Gold Fish is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 07-09-2022 , 06:57   Re: Kicked by Console : All players idle
Reply With Quote #5

Quote:
Originally Posted by Gold Fish View Post
Thank you for advice. Enabling bots helped solve the problem.
If you use "sm_cvar sb_all_bot_team 1",You will encounter a new problem. When players load the game, they will always stop on the progress bar
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing 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:57.


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