1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

stats tweaked to scale SPM based on team size

invalid client id results in 404 rather than exception page
performance based on traditional elo rating
fixed @ (broadcast commands)
added reports to penalty list and profile
This commit is contained in:
RaidMax
2018-05-24 14:48:57 -05:00
parent 8ac75ec63a
commit eb3b208e4f
12 changed files with 108 additions and 47 deletions

View File

@ -127,19 +127,9 @@ namespace Application.RconParsers
}
// this happens if status is requested while map is rotating
if (Status.Contains("Server Initialization"))
{
throw new ServerException("Server is rotating map");
}
if (Status.Length > 5 && validMatches == 0)
{
IW4MAdmin.Application.Program.ServerManager.Logger.WriteError("BAD STATUS!");
foreach (var s in Status)
{
IW4MAdmin.Application.Program.ServerManager.Logger.WriteDebug(s);
}
throw new ServerException("Bad status received");
throw new ServerException("Server is rotating map");
}
return StatusPlayers;