From 32956b18f02d4a501e54aa35d7c482d0eb3fe77a Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Sun, 15 May 2022 21:58:29 +1000 Subject: [PATCH] Rcon Console Output Changes - changed the progress callback to false for RCON connect/disconnect messages. --- src/ARKServerManager/Lib/ServerApp.cs | 6 +++--- src/ConanServerManager/Lib/ServerApp.cs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ARKServerManager/Lib/ServerApp.cs b/src/ARKServerManager/Lib/ServerApp.cs index 6720234b..24790303 100644 --- a/src/ARKServerManager/Lib/ServerApp.cs +++ b/src/ARKServerManager/Lib/ServerApp.cs @@ -2780,7 +2780,7 @@ namespace ServerManagerTool.Lib { if (_rconConsole != null) { - LogProfileMessage($"Closing RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort})."); + LogProfileMessage($"Closing RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort}).", false); _rconConsole.Dispose(); _rconConsole = null; @@ -2799,7 +2799,7 @@ namespace ServerManagerTool.Lib try { LogProfileMessage(""); - LogProfileMessage($"Creating RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort})."); + LogProfileMessage($"Creating RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort}).", false); var endPoint = new IPEndPoint(_profile.ServerIPAddress, _profile.RCONPort); var server = QueryMaster.ServerQuery.GetServerInstance(QueryMaster.EngineType.Source, endPoint, sendTimeOut: 10000, receiveTimeOut: 10000); @@ -2813,7 +2813,7 @@ namespace ServerManagerTool.Lib Task.Delay(1000).Wait(); - LogProfileMessage($"Opening RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort})."); + LogProfileMessage($"Opening RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort}).", false); _rconConsole = server.GetControl(_profile.RCONPassword); if (_rconConsole == null) diff --git a/src/ConanServerManager/Lib/ServerApp.cs b/src/ConanServerManager/Lib/ServerApp.cs index f4ddf5a3..21b4ab81 100644 --- a/src/ConanServerManager/Lib/ServerApp.cs +++ b/src/ConanServerManager/Lib/ServerApp.cs @@ -2677,7 +2677,7 @@ namespace ServerManagerTool.Lib { if (_rconConsole != null) { - LogProfileMessage($"Closing RCON connection to server ({_profile.ServerIPAddress}:{_profile.RconPort})."); + LogProfileMessage($"Closing RCON connection to server ({_profile.ServerIPAddress}:{_profile.RconPort}).", false); _rconConsole.Dispose(); _rconConsole = null; @@ -2696,7 +2696,7 @@ namespace ServerManagerTool.Lib try { LogProfileMessage(""); - LogProfileMessage($"Creating RCON connection to server ({_profile.ServerIPAddress}:{_profile.RconPort})."); + LogProfileMessage($"Creating RCON connection to server ({_profile.ServerIPAddress}:{_profile.RconPort}).", false); var endPoint = new IPEndPoint(_profile.ServerIPAddress, _profile.RconPort); var server = QueryMaster.ServerQuery.GetServerInstance(QueryMaster.EngineType.Source, endPoint, sendTimeOut: 10000, receiveTimeOut: 10000); @@ -2710,7 +2710,7 @@ namespace ServerManagerTool.Lib Task.Delay(1000).Wait(); - LogProfileMessage($"Opening RCON connection to server ({_profile.ServerIPAddress}:{_profile.RconPort})."); + LogProfileMessage($"Opening RCON connection to server ({_profile.ServerIPAddress}:{_profile.RconPort}).", false); _rconConsole = server.GetControl(_profile.RconPassword); if (_rconConsole == null)