update CoD4x parser

tweak handling segmented status response
actually support more than 18 clients LOL
This commit is contained in:
RaidMax
2020-12-02 14:29:49 -06:00
parent bd3f0caf60
commit 6648b75255
6 changed files with 44 additions and 36 deletions

View File

@ -205,7 +205,8 @@ namespace IW4MAdmin.Application.RconParsers
if (match.Success)
{
if (match.Values[Configuration.Status.GroupMapping[ParserRegex.GroupType.RConPing]] == "ZMBI")
if (match.Values[Configuration.Status.GroupMapping[ParserRegex.GroupType.RConPing]] == "ZMBI" ||
match.Values[Configuration.Status.GroupMapping[ParserRegex.GroupType.RConPing]] == "CNCT")
{
_logger.LogDebug("Ignoring detected client {client} because they are zombie state", string.Join(",", match.Values));
continue;