Merge pull request #32 from Lacoi/source

Fix AutoBackup RCON message
This commit is contained in:
Brett Hewitson 2024-01-20 13:35:12 +10:00 committed by GitHub
commit 8fd7d38099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 51 additions and 2 deletions

View file

@ -2859,12 +2859,15 @@ namespace ServerManagerTool.Lib
private bool SendMessage(string message, CancellationToken token)
{
if (!SendShutdownMessages)
return false;
return SendMessage(Config.Default.RCON_MessageCommand, message, token);
}
private bool SendMessage(string mode, string message, CancellationToken token)
{
if (string.IsNullOrWhiteSpace(message) || !SendShutdownMessages)
if (string.IsNullOrWhiteSpace(message))
return false;
var sent = SendCommand($"{GetRconMessageCommand(mode)} {message}", token);

View file

@ -5,7 +5,30 @@
<title>Ark Server Manager Version Feed</title>
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
<link href="https://arkservermanager.freeforums.net/" />
<updated>2023-11-16T00:00:00Z</updated>
<updated>2024-01-01T00:00:00Z</updated>
<entry>
<id></id>
<title>1.1.445 (1.1.445.2)</title>
<summary>1.1.445.2</summary>
<link href="" />
<updated>2024-01-01T00:00:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
<p>
<u style="font-size: .9em;">BUGFIX</u>
<br/>
<ul>
<li>AutoBackup - fix RCON message wasn't send</li>
</ul>
</p>
</div>
</content>
<author>
<name>Lacoi</name>
<email></email>
</author>
</entry>
<entry>
<id>urn:uuid:D776BB39-92F0-4C80-A57C-468B80DEB086</id>

View file

@ -7,6 +7,29 @@
<link href="https://arkservermanager.freeforums.net/" />
<updated>2023-11-16T00:00:00Z</updated>
<entry>
<id></id>
<title>1.1.445 (1.1.445.2)</title>
<summary>1.1.445.2</summary>
<link href="" />
<updated>2024-01-01T00:00:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
<p>
<u style="font-size: .9em;">BUGFIX</u>
<br/>
<ul>
<li>AutoBackup - fix RCON message wasn't send</li>
</ul>
</p>
</div>
</content>
<author>
<name>Lacoi</name>
<email></email>
</author>
</entry>
<entry>
<id>urn:uuid:D776BB39-92F0-4C80-A57C-468B80DEB086</id>
<title>1.1.445 (1.1.445.1)</title>