mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
RCON Player List Fixes
- fixed player list for EPIC players.
This commit is contained in:
parent
b19626ecd4
commit
1a45d85ff6
8 changed files with 81 additions and 304 deletions
|
|
@ -332,21 +332,25 @@ namespace ServerManagerTool.Lib
|
|||
// This is bound to the UI thread
|
||||
private List<string> HandleListPlayersCommand(IEnumerable<string> commandLines)
|
||||
{
|
||||
/*
|
||||
> listplayers
|
||||
0. Bletch, 76561197991984752 <- steam
|
||||
0. Bletch, 7171521174456260817 <- epic
|
||||
*/
|
||||
var output = new List<string>();
|
||||
var onlinePlayers = new List<PlayerInfo>();
|
||||
|
||||
var playerLines = commandLines?.ToList() ?? new List<string>();
|
||||
|
||||
if (playerLines.Count > 0)
|
||||
{
|
||||
|
||||
foreach (var line in playerLines)
|
||||
{
|
||||
var elements = line.Split(',');
|
||||
if (elements.Length != 2)
|
||||
var elements = line.Split(',', '.');
|
||||
if (elements.Length != 3)
|
||||
// Invalid data. Ignore it.
|
||||
continue;
|
||||
|
||||
var id = elements[1]?.Trim();
|
||||
var id = elements[2].Trim();
|
||||
|
||||
if (onlinePlayers.FirstOrDefault(p => p.PlayerId.Equals(id, StringComparison.OrdinalIgnoreCase)) != null)
|
||||
// Duplicate data. Ignore it.
|
||||
|
|
@ -355,7 +359,7 @@ namespace ServerManagerTool.Lib
|
|||
var newPlayer = new PlayerInfo()
|
||||
{
|
||||
PlayerId = id,
|
||||
PlayerName = elements[0].Substring(elements[0].IndexOf('.') + 1).Trim(),
|
||||
PlayerName = elements[1].Trim(),
|
||||
IsOnline = true,
|
||||
};
|
||||
onlinePlayers.Add(newPlayer);
|
||||
|
|
|
|||
|
|
@ -124,7 +124,8 @@ namespace ServerManagerTool.Lib.ViewModel.RCON
|
|||
if (playerData == null)
|
||||
return;
|
||||
|
||||
playerData.PlayerName = PlayerData?.PlayerName;
|
||||
if (PlayerData?.PlayerName != null)
|
||||
playerData.PlayerName = PlayerData.PlayerName;
|
||||
playerData.LastPlatformUpdateUtc = PlayerData?.LastPlatformUpdateUtc ?? DateTime.MinValue;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,30 @@
|
|||
<title>Ark Server Manager Version Feed</title>
|
||||
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
||||
<link href="http://arkservermanager.freeforums.net/" />
|
||||
<updated>2022-05-07T00:00:00Z</updated>
|
||||
<updated>2022-05-09T00:00:00Z</updated>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:632DF17A-04C7-4A74-8C82-0106D0770393</id>
|
||||
<title>1.1.426 (1.1.426.1)</title>
|
||||
<summary>1.1.426.1</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-09T00: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>Rcon Player List - fixed a bug when displaying the player details for Epic Players.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:2C48A585-72D2-43FB-8987-6B5F0B3E460F</id>
|
||||
|
|
|
|||
|
|
@ -5,161 +5,21 @@
|
|||
<title>Ark Server Manager Version Feed</title>
|
||||
<subtitle>This is the Ark Server Manager beta version feed.</subtitle>
|
||||
<link href="http://arkservermanager.freeforums.net/" />
|
||||
<updated>2022-05-08T00:00:00Z</updated>
|
||||
<updated>2022-05-09T00:00:00Z</updated>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:6F7A6BDA-891F-4446-B889-3FC218D207D6</id>
|
||||
<title>1.1.425 (1.1.425.7)</title>
|
||||
<summary>1.1.425.7</summary>
|
||||
<id>urn:uuid:632DF17A-04C7-4A74-8C82-0106D0770393</id>
|
||||
<title>1.1.426 (1.1.426.1)</title>
|
||||
<summary>1.1.426.1</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-08T00:00:00Z</updated>
|
||||
<updated>2022-05-09T00: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>Fixed an issue with the path normalization, where it would add extra '\' characters to the end of the path, when the path was a Unc path.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:973E001F-223C-4B57-89F7-8B8040900A7C</id>
|
||||
<title>1.1.425 (1.1.425.6)</title>
|
||||
<summary>1.1.425.6</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-08T00: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>World Save Backup - fixed the backup of the files.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:CEA21F86-5943-46F9-8807-604695E42A25</id>
|
||||
<title>1.1.425 (1.1.425.5)</title>
|
||||
<summary>1.1.425.5</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-08T00: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;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Rcon Window - minor changes to the player list, online player count and server status.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:358E0063-27AE-4D5F-BDA5-BD9723EE353E</id>
|
||||
<title>1.1.425 (1.1.425.4)</title>
|
||||
<summary>1.1.425.4</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-07T00: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;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Global Backup Settings - added option to include/exclude the SaveGames folder in the worldsave backup (default exclude).</li>
|
||||
<li>Global Alert Settings - added new textbox allowing the formatting of the ipaddress and port in the server startup message (default {ipaddress}:{port}).</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:606BA376-9AB5-46D9-8533-0BEBF841934E</id>
|
||||
<title>1.1.425 (1.1.425.3)</title>
|
||||
<summary>1.1.425.3</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-06T00: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;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Security Protocol Changes - updated the security protocols to use TLS12 and TLS13.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:E6701920-FF1E-48B7-B70A-18B9BC3592F7</id>
|
||||
<title>1.1.425 (1.1.425.2)</title>
|
||||
<summary>1.1.425.2</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-06T00: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;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Auto Backup Settings - added RCON broadcast mode droplist, so backup processes can send messages via RCON using this mode.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
</content>
|
||||
<author>
|
||||
<name>bletch</name>
|
||||
<email>bletch1971@hotmail.com</email>
|
||||
</author>
|
||||
</entry>
|
||||
|
||||
<entry>
|
||||
<id>urn:uuid:2C48A585-72D2-43FB-8987-6B5F0B3E460F</id>
|
||||
<title>1.1.425 (1.1.425.1)</title>
|
||||
<summary>1.1.425.1</summary>
|
||||
<link href="" />
|
||||
<updated>2022-05-06T00: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;">CHANGE</u>
|
||||
<br/>
|
||||
<ul>
|
||||
<li>Global Settings - added RCON broadcast mode droplist, so auto processes can send messages via RCON using this mode.</li>
|
||||
<li>Auto Processes - changed the message broadcast to use the new config setting, not a hardcoded value.</li>
|
||||
<li>Rcon Player List - fixed a bug when displaying the player details for Epic Players.</li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue