[CS1.6] HLTV is not listed in the master server
It seems that the problem concerns only CS 1.6, because if we look in the “Speсtate” tab in the server browser, for example, for the game Сondition Zero or Half-Life, we will get several working HLTVs. For CS 1.6, this tab is empty, but this does not mean that no one has HLTV running, I myself host a HLTV server and it is not displayed in the master server.
@shawns-valve HLTV not listable for Counter-Strike in master server, because HLTV sends version 1.1.2.6 to the master server, but CS 1.6 requires at least version 1.1.2.7. This can be checked by steamapi endpoint:
https://api.steampowered.com/ISteamApps/UpToDateCheck/v1/?appid=10&version=1126&format=xml
This can be fixed inside the Master::RunFrame function:
void __usercall Master::RunFrame(int a1@<eax>)
{
...
(unsigned __int8)SteamGameServer_Init(_byteswap_ulong(*(_DWORD *)(v44 + 4)), 0, 0, 0xFFFF, 1, "1.1.2.6")
...
}
Just change version 1.1.2.6 to 1.1.2.7 and the problem will be solved.