update parsers to include game name

prompt to enter log path if game doesn't generate
This commit is contained in:
RaidMax
2019-02-05 18:02:45 -06:00
parent f3290cf066
commit 044991272f
18 changed files with 70 additions and 131 deletions

View File

@ -38,10 +38,15 @@ namespace SharedLibraryCore.Configuration
if (selection.Item1 > 0)
{
RConParserVersion = selection.Item2;
if (!rconParsers[selection.Item1 - 1].CanGenerateLogPath)
{
Console.WriteLine(loc["SETUP_SERVER_NO_LOG"]);
ManualLogPath = Utilities.PromptString(loc["SETUP_SERVER_LOG_PATH"]);
}
}
parserVersions = eventParsers.Select(_parser => _parser.Version).ToArray();
Console.WriteLine($"{IPAddress}:{Port}");
selection = Utilities.PromptSelection($"{loc["SETUP_SERVER_EVENT_PARSER_VERSION"]} ({IPAddress}:{Port})", $"{loc["SETUP_PROMPT_DEFAULT"]} (Call of Duty)", null, parserVersions);
if (selection.Item1 > 0)