Raised This Month: $51 Target: $400
 12% 

Service hibernating


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
3D-GRAF
Member
Join Date: Jun 2008
Old 06-20-2012 , 10:53   Service hibernating
Reply With Quote #1

Hello!

In CS:GO servers (or maybe earlier) appeared feature called hibernating. When there are no players on the server, it stops all processing until someone connects. So all plugins also stop working.

Is there any way to disable this feature? Maybe console command?
3D-GRAF is offline
3D-GRAF
Member
Join Date: Jun 2008
Old 06-20-2012 , 11:08   Re: Service hibernating
Reply With Quote #2

There is no sv_hibernate_when_empty in cs:go server
3D-GRAF is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 06-20-2012 , 11:08   Re: Service hibernating
Reply With Quote #3

I haven't tried but the cvars are valid and do work in L4D 2.

sm_cvar sv_hibernate_when_empty 0 // defualt 1.

If this has no effect, try setting sm_cvar sv_hibernate_postgame_delay to 999999, -1 or 0. It's how long the server should wait before hibernating after the last player has disconnected from
your server.

Quote:
Originally Posted by 3D-GRAF View Post
There is no sv_hibernate_when_empty in cs:go server
It's a hidden cvar, just like it being a hidden cvar in l4d2. I found it using sm_cvar infront.

Last edited by Visual77; 06-20-2012 at 11:12.
Visual77 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-20-2012 , 11:13   Re: Service hibernating
Reply With Quote #4

To validate Visual77's post:

sm_cvar sv_hibernate_postgame_delay
[SM] Value of cvar "sv_hibernate_postgame_delay": "5"
sm_cvar sv_hibernate_when_empty
[SM] Value of cvar "sv_hibernate_when_empty": "1"

I've updated mine to:
sm_cvar sv_hibernate_postgame_delay 3600
[SM] Changed cvar "sv_hibernate_postgame_delay" to "3600".
L 06/20/2012 - 08:17:11: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "sv_hi
bernate_postgame_delay") (value "3600")
sm_cvar sv_hibernate_when_empty
[SM] Value of cvar "sv_hibernate_when_empty": "1"
sm_cvar sv_hibernate_postgame_delay
[SM] Value of cvar "sv_hibernate_postgame_delay": "3600"
__________________
View my Plugins | Donate

Last edited by TnTSCS; 06-20-2012 at 11:16.
TnTSCS is offline
3D-GRAF
Member
Join Date: Jun 2008
Old 06-20-2012 , 13:17   Re: Service hibernating
Reply With Quote #5

thank you!

adding sm_cvar sv_hibernate_when_empty 0 to sourcemod.cfg was enough
3D-GRAF is offline
Stinkyfax
BANNED
Join Date: Aug 2007
Old 06-23-2012 , 08:16   Re: Service hibernating
Reply With Quote #6

brilliant, gonna use it too
Stinkyfax 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 18:30.


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