Jump to content

0.5.0 g_serverinfo


clan DIABOLIK

Recommended Posts

Hello silEnT team

 

Is it possible to have the information of uptime server ?

Maybe a value of g_serverinfo does it ?

 

Thanks in advance

*|BO|*figo

 

PS: when I was running jaymod+enhmod+omnibot, server was crashing from times to times, and so I was watching carefully the information "server uptime" (really sad :when it happens, you loose half or more players who dont re-connect)

Edited by blackops
Link to comment
Share on other sites

g_serverinfo's cvars arent updates every frame i think.

You can chack that with !update command, or just make simple LUA script which will be loging uptime per 1,2,3min or per map etc.

Edited by sol
Link to comment
Share on other sites

function et_InitGame( levelTime, randomSeed, restart )
   et.trap_SendConsoleCommand(et.EXEC_NOW,"sets sv_uptime "..et.trap_Cvar_Get( "uptime" ) )
end

but it's a string, and it will refresh every map

Edited by sol
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...