allow prompt string to have an empty/default value

upgrade some project dependencies
don't try to run events on parsers
update top players rank distribution
This commit is contained in:
RaidMax
2020-02-17 10:05:31 -06:00
parent 2e5ffe91fc
commit 02a784ad09
7 changed files with 30 additions and 16 deletions

View File

@ -22,8 +22,9 @@ namespace WebfrontCore.Controllers.API
[HttpGet("{networkId}")]
public IActionResult ClientInfo(string networkId)
{
long decimalNetworkId = networkId.ConvertGuidToLong(System.Globalization.NumberStyles.HexNumber);
var clientInfo = Manager.GetActiveClients()
.FirstOrDefault(c => c.NetworkId == networkId.ConvertGuidToLong(System.Globalization.NumberStyles.HexNumber));
.FirstOrDefault(c => c.NetworkId == decimalNetworkId);
if (clientInfo != null)
{