Server is hibernating. [CS:S]

General discussion for off-topic subjects.
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Server is hibernating. [CS:S]

Postby ae2x » Mon Jan 11, 2021 5:22 pm

Hi,

Do anyone got anyidea how to remove Counter Strike: Source server hibernating?

Is there somekind cvar or??

It is dedicated linux debian 10.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Server is hibernating. [CS:S]

Postby Ayuto » Tue Jan 12, 2021 7:11 am

There is a variable, but I'm not sure whether or not it is for CSS:
viewtopic.php?f=20&t=664&p=3642&hilit=Hibernate#p3642
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Re: Server is hibernating. [CS:S]

Postby ae2x » Tue Jan 12, 2021 1:53 pm

That hibernate command is for csgo :S


Ayuto wrote:There is a variable, but I'm not sure whether or not it is for CSS:
viewtopic.php?f=20&t=664&p=3642&hilit=Hibernate#p3642
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Server is hibernating. [CS:S]

Postby L'In20Cible » Tue Jan 12, 2021 9:27 pm

Syntax: Select all

from engines.server import server_game_dll
from memory import get_virtual_function
from memory.hooks import PreHook

@PreHook(get_virtual_function(server_game_dll, 'SetServerHibernation'))
def pre_set_server_hibernation(stack_data):
stack_data[1] = False
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Re: Server is hibernating. [CS:S]

Postby ae2x » Wed Jan 13, 2021 3:02 pm

L'In20Cible wrote:

Syntax: Select all

from engines.server import server_game_dll
from memory import get_virtual_function
from memory.hooks import PreHook

@PreHook(get_virtual_function(server_game_dll, 'SetServerHibernation'))
def pre_set_server_hibernation(stack_data):
stack_data[1] = False



used that as plugin. and server console says:

Dropped dNk. from server (Disconnect by user.)
Server is hibernating.

Also idk is it from hibernating or not .. but when no one on server for (not sure how long 5-10h maybe?) and ill join there server is laggy , changing map or reload same map fixing the lag? so is it hibernate or?
User avatar
L'In20Cible
Project Leader
Posts: 1533
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Server is hibernating. [CS:S]

Postby L'In20Cible » Thu Jan 14, 2021 12:39 am

ae2x wrote:used that as plugin. and server console says:

Dropped dNk. from server (Disconnect by user.)
Server is hibernating.

It's normal that you still see the message. Basically, the game does something like this:

Syntax: Select all

print('Server is hibernating')
server_game_dll.SetServerHibernation(True)
But the hook override the call and change it to:

Syntax: Select all

server_game_dll.SetServerHibernation(False)
So whenever the game attempt to hibernate, the hook prevent it.

ae2x wrote:Also idk is it from hibernating or not .. but when no one on server for (not sure how long 5-10h maybe?) and ill join there server is laggy , changing map or reload same map fixing the lag? so is it hibernate or?
I don't think hibernating is causing such issues. More than likely caused by a plugin or something. Try to rename your addons folder and that will confirms it if the issue is no longer.
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Re: Server is hibernating. [CS:S]

Postby ae2x » Fri Jan 15, 2021 6:13 pm

I tested yesterday that i was whole night on server and at morning it wasnt laggy.. so basicly if server is emptt for a while it starta lagging
cssbestrpg
Senior Member
Posts: 287
Joined: Sun May 17, 2020 7:56 am
Location: Finland
Contact:

Re: Server is hibernating. [CS:S]

Postby cssbestrpg » Sat Jan 16, 2021 9:25 pm

ae2x wrote:used that as plugin. and server console says:

Dropped dNk. from server (Disconnect by user.)
Server is hibernating.

Also idk is it from hibernating or not .. but when no one on server for (not sure how long 5-10h maybe?) and ill join there server is laggy , changing map or reload same map fixing the lag? so is it hibernate or?


Hi, i think the lag is caused by joining and leaving server, so it drops players weapon to cause lag, until round changes.
I have css server, to avoid that lag, i have made sure map changes and round ends
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Re: Server is hibernating. [CS:S]

Postby ae2x » Sun Jan 17, 2021 5:18 pm

cssbestrpg wrote:
ae2x wrote:used that as plugin. and server console says:

Dropped dNk. from server (Disconnect by user.)
Server is hibernating.

Also idk is it from hibernating or not .. but when no one on server for (not sure how long 5-10h maybe?) and ill join there server is laggy , changing map or reload same map fixing the lag? so is it hibernate or?


Hi, i think the lag is caused by joining and leaving server, so it drops players weapon to cause lag, until round changes.
I have css server, to avoid that lag, i have made sure map changes and round ends



Yes, i though that to but its not becouse of weapon drop i have plugin that removes all weapon as soon they drop it .. and its not about plugins either :S that is million dollar question what cause the LAG ..

Return to “Whatever”

Who is online

Users browsing this forum: No registered users and 22 guests