mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Rcon Console Output Changes
- changed the progress callback to false for RCON connect/disconnect messages.
This commit is contained in:
parent
48f9824146
commit
32956b18f0
2 changed files with 6 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue