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

Left 4 Dead: disable all player idle autokick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IcyF
Junior Member
Join Date: May 2017
Old 01-15-2018 , 13:50   Left 4 Dead: disable all player idle autokick
Reply With Quote #1

Hello!
I need plugin that will disable all player idle autokick on Left 4 Dead server. Does it exist?
Every manual mention mp_disable_autokick, but actually this is command that need ID to be specified. Every game.
IcyF is offline
midnight9
Senior Member
Join Date: Nov 2012
Old 01-15-2018 , 17:29   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #2

Maybe sv_spectatoridletime
midnight9 is offline
IcyF
Junior Member
Join Date: May 2017
Old 01-18-2018 , 06:24   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #3

Unfortunately, it does not help, but thanks for the answer.
IcyF is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 01-18-2018 , 06:38   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #4

sb_all_bot_game 1
allow_all_bot_survivor_team 1

will stop server hibernation tho
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
IcyF
Junior Member
Join Date: May 2017
Old 01-20-2018 , 11:32   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #5

sb_all_bot_game relevant to L4D2, in L4D it is sb_all_bot_team
allow_all_bot_survivor_team does not exist in L4D
IcyF is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 01-20-2018 , 13:18   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #6

I guess you found it?
you should mark as solved.
__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-21-2018 , 02:56   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #7

Blocking "go_away_from_keyboard" might do the trick.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
IcyF
Junior Member
Join Date: May 2017
Old 01-27-2018 , 14:39   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #8

Quote:
Originally Posted by Lux View Post
I guess you found it?
you should mark as solved.
After all, I can't find a solution. Thanks for help anyway!

Quote:
Originally Posted by eyal282 View Post
Blocking "go_away_from_keyboard" might do the trick.
This is command, how can I block it?
IcyF is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Cat
Old 01-27-2018 , 17:49   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #9

Try dis should work i guess
PHP Code:
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>

public OnPluginStart()
{
    
AddCommandListener(blockcmd"go_away_from_keyboard");
    
SetConVarString(FindConVar("director_afk_timeout"), "999999");
}

public 
Action:blockcmd(iClient, const String:sCommand[], iArg)
{
    return 
Plugin_Handled;

__________________
Connect
My Plugins: KlickME
[My GitHub]

Commission me for L4D
Lux is offline
IcyF
Junior Member
Join Date: May 2017
Old 02-04-2018 , 11:49   Re: Left 4 Dead: disable all player idle autokick
Reply With Quote #10

Quote:
Originally Posted by Lux View Post
Try dis should work i guess
Compiled this plugin, it does not work too.
IcyF 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 19:33.


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