AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   [CS:GO] Blank map in server browser with GOTV+hibernation (https://forums.alliedmods.net/showthread.php?t=289234)

sneaK 10-17-2016 13:48

[CS:GO] Blank map in server browser with GOTV+hibernation
 
Hi guys, with an empty server, GOTV enabled, and sv_hibernate_when_empty set to 1, in the server browser, the current map shows as blank.

This is what it looks like in the server browser:

http://i.imgur.com/gzAO9ja.jpg

Is there a fix for this, besides disabling hibernation? I like the benefits of using hibernation.

Steps to reproduce the issue:

sv_hibernate_when_empty 1
tv_enable 1
0 players.

1. Start server, GOTV generally is there.
2. Player joins, then leaves.
3. Server is now stuck at empty invisible map, with 0 players.

Maxximou5 10-17-2016 13:57

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
I too would like to know, as the only solution currently, as you've stated is to disable hibernation.
The host information remains the same in all areas when in and out of hibernation.
PHP Code:

"host_info_show" "2" def"1" ) - How server info gets disclosed in server queriesquery disabledshow only general infoshow full info 
"host_map" "de_dust2.bsp" def"" ) - Current map name.
"host_name_store" "1" Whether hostname is recorded in game events and GOTV.
"host_players_show" "2" def"1" ) - How players are disclosed in server queriesquery disabledshow only max players countshow all players 


hamilton5 10-18-2016 07:28

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
a bug that goes so far back. valve please fix.

Aymeric VII 11-01-2016 17:18

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
Quote:

Originally Posted by hamilton5 (Post 2463099)
a bug that goes so far back. valve please fix.

Email them, or post it on http://csgo-servers.1073505.n5.nabble.com/
Your voice can be heard there, i doubt they'll look here.

GoD-Tony 11-06-2016 01:34

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
2 Attachment(s)
Someone want to give this fix a try? I'll move it into a new thread if it works.

Edit: It might require a map change if you late-load it mid map.

Maxximou5 11-06-2016 03:51

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
Quote:

Originally Posted by GoD-Tony (Post 2468021)
Someone want to give this fix a try? I'll move it into a new thread if it works.

Edit: It might require a map change if you late-load it mid map.

You have done it!
Test it on Linux (Debian 8) and it is working as intended.
The map remains in the listing and the server is in hibernation.
Spoiler

Thank you:bacon!:

root88 11-08-2016 06:06

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
This can be done with a plugin:

PHP Code:

#include <sourcemod>
#pragma semicolon 1

new String:mapname[64];
new 
MapIsReloading;

public 
Plugin:myinfo =
{
    
name "Punting bot fix",
    
author "root",
    
description "Fixes some s*it",
    
version "1.0.1",
    
url "http://uwujka.pl"
}
public 
OnMapStart()
{
    
HookEvent("player_disconnect"PlayerDisconnected,EventHookMode_Post);
    
GetCurrentMap(mapnamesizeof(mapname));
    
MapIsReloading 0;
}

public 
Action:PlayerDisconnected(Handle:event, const String:name[], bool:dontBroadcast)
{
    
decl String:s_reason[256];
    
GetEventString(event,"reason"s_reasonsizeof(s_reason));
    if(
StrContains(s_reason"Punting bot"false) != -1)
    {
        if(
GetClientCount() < && MapIsReloading == 0)
        {
            
ForceChangeLevel(mapname,"Restarting map");
            
LogMessage("Restarting map");
            
MapIsReloading 1;
        }
    }
    return 
Plugin_Continue;


I'm using this on CSGO servers with GOTV, bots and hibernation disabled. Without this plugin, when last real player disconnected, server was hibernating, kicking bots which gives blank map name.

8guawong 11-08-2016 07:52

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
what are the benefits of hibernating

hamilton5 11-08-2016 08:20

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
Quote:

Originally Posted by 8guawong (Post 2468657)
what are the benefits of hibernating

why do people hibernate their home computers? are you really asking that question in this thread?:bee:

8guawong 11-08-2016 10:44

Re: [CS:GO] Blank map in server browser with GOTV+hibernation
 
Quote:

Originally Posted by hamilton5 (Post 2468667)
why do people hibernate their home computers? are you really asking that question in this thread?:bee:

is there that much difference in power saved? just wondering....


All times are GMT -4. The time now is 19:19.

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