add most played command

hopefully fixed thread lock?
started work on elo rating
This commit is contained in:
RaidMax
2018-05-15 23:57:37 -05:00
parent 699c19cd4b
commit 4006c09045
20 changed files with 714 additions and 88 deletions

View File

@ -250,7 +250,7 @@ namespace SharedLibraryCore.RCon
if (FailedReceives >= 4)
{
throw new NetworkException($"{Utilities.CurrentLocalization.LocalizationIndex["SERVER_ERROR_COMMUNICATION"]} {socketConnection.RemoteEndPoint}");
throw new NetworkException($"{Utilities.CurrentLocalization.LocalizationIndex["SERVER_ERROR_COMMUNICATION"]} {socketConnection.RemoteEndPoint.ToString()}");
}
}
@ -258,7 +258,7 @@ namespace SharedLibraryCore.RCon
{
if (FailedReceives >= 4)
{
Log.WriteVerbose($"Resumed receive RCon connection from {socketConnection.RemoteEndPoint}");
Log.WriteVerbose($"Resumed receive RCon connection from {socketConnection.RemoteEndPoint.ToString()}");
FailedReceives = 0;
}
}