From f7db34a402298ed2b899ddb75072731dd4869e6a Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 13 Aug 2021 16:25:19 +0100 Subject: [PATCH] dont pass working path to BotParser - not used copy changes --- Generator/Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Generator/Program.cs b/Generator/Program.cs index 9953aa6..b586706 100644 --- a/Generator/Program.cs +++ b/Generator/Program.cs @@ -6,18 +6,19 @@ namespace Generator { static void Main(string[] args) { + //TODO: pass these into functions to act as whitelist string[] botTypes = { "assault", "marksman", "pmcbot", "bossbully", "bosskilla" }; // Read raw bot dumps from live and turn into c# objects var workingPath = Directory.GetCurrentDirectory(); var dumpPath = $"{workingPath}//dumps"; - var botParser = new BotParser(workingPath, dumpPath, botTypes); + var botParser = new BotParser(dumpPath, botTypes); var parsedBots = botParser.Parse(); if (parsedBots.Count == 0) { Helpers.LoggingHelpers.LogToConsole("no bots found, unable to continue"); - Helpers.LoggingHelpers.LogToConsole("Check your dumps are in 'Generator\\bin\\Debug\\netcoreapp3.1\\dumps' and start with 'resp.' NOT 'req'"); + Helpers.LoggingHelpers.LogToConsole("Check your dumps are in 'Generator\\bin\\Debug\\netcoreapp3.1\\dumps' and start with 'resp.' NOT 'req.'"); return; }