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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 10-17-2016 , 13:48   [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #1

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:



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.
__________________

Last edited by sneaK; 10-19-2016 at 00:30.
sneaK is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-17-2016 , 13:57   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #2

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 

Last edited by Maxximou5; 10-17-2016 at 14:03. Reason: console output ende...
Maxximou5 is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 10-18-2016 , 07:28   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #3

a bug that goes so far back. valve please fix.
hamilton5 is offline
Aymeric VII
BANNED
Join Date: Jun 2016
Location: Hiding under my sheets
Old 11-01-2016 , 17:18   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #4

Quote:
Originally Posted by hamilton5 View Post
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.

Last edited by Aymeric VII; 11-01-2016 at 17:19.
Aymeric VII is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 11-06-2016 , 01:34   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #5

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.
Attached Files
File Type: zip blankmapfix.zip (105.8 KB, 488 views)
File Type: zip blankmapfix-src.zip (4.1 KB, 376 views)
__________________

Last edited by GoD-Tony; 11-06-2016 at 01:45.
GoD-Tony is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 11-06-2016 , 03:51   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #6

Quote:
Originally Posted by GoD-Tony View Post
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!:

Last edited by Maxximou5; 11-06-2016 at 03:51.
Maxximou5 is offline
root88
Senior Member
Join Date: May 2016
Old 11-08-2016 , 06:06   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #7

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.
__________________

Last edited by root88; 11-08-2016 at 06:12.
root88 is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-08-2016 , 07:52   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #8

what are the benefits of hibernating
__________________
8guawong is offline
hamilton5
Veteran Member
Join Date: Oct 2012
Location: USA
Old 11-08-2016 , 08:20   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #9

Quote:
Originally Posted by 8guawong View Post
what are the benefits of hibernating
why do people hibernate their home computers? are you really asking that question in this thread?
hamilton5 is offline
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 11-08-2016 , 10:44   Re: [CS:GO] Blank map in server browser with GOTV+hibernation
Reply With Quote #10

Quote:
Originally Posted by hamilton5 View Post
why do people hibernate their home computers? are you really asking that question in this thread?
is there that much difference in power saved? just wondering....
__________________

Last edited by 8guawong; 11-08-2016 at 10:45.
8guawong is offline
Reply


Thread Tools
Display Modes

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 07:16.


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