Fix IP parsing bug introduced with IW4Parser
Additional fix for Webfront Index OoB on _ClientActivity
This commit is contained in:
parent
760d3026ce
commit
f1dd4f7c7f
@ -6,7 +6,7 @@
|
|||||||
<RuntimeFrameworkVersion>2.1.5</RuntimeFrameworkVersion>
|
<RuntimeFrameworkVersion>2.1.5</RuntimeFrameworkVersion>
|
||||||
<MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
|
<MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish>
|
||||||
<PackageId>RaidMax.IW4MAdmin.Application</PackageId>
|
<PackageId>RaidMax.IW4MAdmin.Application</PackageId>
|
||||||
<Version>2.2.4.0</Version>
|
<Version>2.2.4.1</Version>
|
||||||
<Authors>RaidMax</Authors>
|
<Authors>RaidMax</Authors>
|
||||||
<Company>Forever None</Company>
|
<Company>Forever None</Company>
|
||||||
<Product>IW4MAdmin</Product>
|
<Product>IW4MAdmin</Product>
|
||||||
@ -31,8 +31,8 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ServerGarbageCollection>true</ServerGarbageCollection>
|
<ServerGarbageCollection>true</ServerGarbageCollection>
|
||||||
<TieredCompilation>true</TieredCompilation>
|
<TieredCompilation>true</TieredCompilation>
|
||||||
<AssemblyVersion>2.2.4.0</AssemblyVersion>
|
<AssemblyVersion>2.2.4.1</AssemblyVersion>
|
||||||
<FileVersion>2.2.4.0</FileVersion>
|
<FileVersion>2.2.4.1</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -34,7 +34,7 @@ namespace IW4MAdmin.Application.RconParsers
|
|||||||
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConPing, 3);
|
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConPing, 3);
|
||||||
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConNetworkId, 4);
|
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConNetworkId, 4);
|
||||||
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConName, 5);
|
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConName, 5);
|
||||||
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConIpAddress, 6);
|
Configuration.Status.GroupMapping.Add(ParserRegex.GroupType.RConIpAddress, 7);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IRConParserConfiguration Configuration { get; set; }
|
public IRConParserConfiguration Configuration { get; set; }
|
||||||
|
@ -482,7 +482,7 @@ namespace SharedLibraryCore
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static bool PromptBool(string question, string description = null, bool defaultValue = true)
|
public static bool PromptBool(string question, string description = null, bool defaultValue = true)
|
||||||
{
|
{
|
||||||
Console.Write($"{question}?{(string.IsNullOrEmpty(description) ? "" : $" ({description}) ")}[y/n]: ");
|
Console.Write($"{question}?{(string.IsNullOrEmpty(description) ? " " : $" ({description}) ")}[y/n]: ");
|
||||||
char response = Console.ReadLine().ToLower().FirstOrDefault();
|
char response = Console.ReadLine().ToLower().FirstOrDefault();
|
||||||
return response != 0 ? response == 'y' : defaultValue;
|
return response != 0 ? response == 'y' : defaultValue;
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ namespace WebfrontCore.ViewComponents
|
|||||||
Level = p.Level.ToLocalizedLevelName(),
|
Level = p.Level.ToLocalizedLevelName(),
|
||||||
LevelInt = (int)p.Level
|
LevelInt = (int)p.Level
|
||||||
}).ToList(),
|
}).ToList(),
|
||||||
ChatHistory = s.ChatHistory,
|
ChatHistory = s.ChatHistory.ToList(),
|
||||||
Online = !s.Throttled
|
Online = !s.Throttled
|
||||||
}).ToList();
|
}).ToList();
|
||||||
return View("_List", serverInfo);
|
return View("_List", serverInfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user