Raised This Month: $ Target: $400
 0% 

[L4D2] Can't stop server hibernation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
danielmyst777
AlliedModders Donor
Join Date: Aug 2010
Location: Virginia
Old 04-22-2014 , 21:43   [L4D2] Can't stop server hibernation
Reply With Quote #1

I'm trying to disable server hibernation by adding either/both in the server.cfg:
1) (sm_cvar) sv_hibernate_when_empty 0
2) sb_all_bot_team 1

None of these command make the server not hibernate when empty so I'm wondering if Valve decided to always make servers hibernate when empty now? I rent a server so I checked the start up command line and existing server.cfg cvars to see if there were any contradictions and I found none.
__________________
danielmyst777 is offline
danielmyst777
AlliedModders Donor
Join Date: Aug 2010
Location: Virginia
Old 04-22-2014 , 23:24   Re: [L4D2] Can't stop server hibernation
Reply With Quote #2

Quote:
Originally Posted by danielmyst777 View Post
I'm trying to disable server hibernation by adding either/both in the server.cfg:
1) (sm_cvar) sv_hibernate_when_empty 0
2) sb_all_bot_team 1

None of these command make the server not hibernate when empty so I'm wondering if Valve decided to always make servers hibernate when empty now? I rent a server so I checked the start up command line and existing server.cfg cvars to see if there were any contradictions and I found none.
Figured it out! When you first start the server, this cvar will not kick in. Only after a map change after initial start will this disable hibernation.

edit edit:
I also appears that when the server empties from the changed map the "sv_hibernate_when_empty" cvar reverts back to "1". I'm not sure why it does this?
__________________

Last edited by danielmyst777; 04-22-2014 at 23:37.
danielmyst777 is offline
marcintojatak
BANNED
Join Date: Sep 2010
Location: PL
Old 04-23-2014 , 04:05   Re: [L4D2] Can't stop server hibernation
Reply With Quote #3

Quote:
Originally Posted by danielmyst777 View Post
Figured it out! When you first start the server, this cvar will not kick in. Only after a map change after initial start will this disable hibernation.

edit edit:
I also appears that when the server empties from the changed map the "sv_hibernate_when_empty" cvar reverts back to "1". I'm not sure why it does this?
i use to cs go

maybe on yours game will be ok

i got 2 example to fix yours problem

1)
/cfg/autoexec.cfg create file

sv_hibernate_when_empty "0"
sv_hibernate_postgame_delay "0"
sv_allow_lobby_connect_only "0"
host_info_show "2"
host_players_show "2"

on map change command on autoexec will be executed

2)
/cfg/sourcemod/sourcemod.cfg

sv_hibernate_when_empty "0"
sv_hibernate_postgame_delay "0"
sv_allow_lobby_connect_only "0"
host_info_show "2"
host_players_show "2"

sv_max_queries_sec "5.0"
marcintojatak 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 22:06.


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