mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -05:00
modify iw6x parser to default game log vars temporarily, small amount of code cleanup to git rid of warnings
This commit is contained in:
@ -128,7 +128,17 @@ namespace IW4MAdmin.Application.RCon
|
||||
|
||||
byte[][] response = null;
|
||||
|
||||
retrySend:
|
||||
retrySend:
|
||||
if (connectionState.ConnectionAttempts > 1)
|
||||
{
|
||||
using (LogContext.PushProperty("Server", Endpoint.ToString()))
|
||||
{
|
||||
_log.LogInformation(
|
||||
"Retrying RCon message ({connectionAttempts}/{allowedConnectionFailures} attempts) with parameters {payload}",
|
||||
connectionState.ConnectionAttempts,
|
||||
StaticHelpers.AllowedConnectionFails, parameters);
|
||||
}
|
||||
}
|
||||
using (var socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)
|
||||
{
|
||||
DontFragment = true,
|
||||
|
Reference in New Issue
Block a user