From e267bd95dabafb055a782f417660b69693f4017c Mon Sep 17 00:00:00 2001 From: xerxes-at <5236639+xerxes-at@users.noreply.github.com> Date: Sun, 5 Sep 2021 17:45:28 +0200 Subject: [PATCH] Update IW6x parser to automatically find the log file. (#216) * Update ParserIW6x.js --- Plugins/ScriptPlugins/ParserIW6x.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Plugins/ScriptPlugins/ParserIW6x.js b/Plugins/ScriptPlugins/ParserIW6x.js index 5f8ce15fb..bd0bf2fb8 100644 --- a/Plugins/ScriptPlugins/ParserIW6x.js +++ b/Plugins/ScriptPlugins/ParserIW6x.js @@ -2,8 +2,8 @@ var rconParser; var eventParser; var plugin = { - author: 'Xerxes, RaidMax', - version: 0.2, + author: 'Xerxes, RaidMax, st0rm', + version: 0.3, name: 'IW6x Parser', isParser: true, @@ -27,14 +27,12 @@ var plugin = { rconParser.Configuration.Status.AddMapping(102, 4); rconParser.Configuration.Status.AddMapping(103, 5); rconParser.Configuration.Status.AddMapping(104, 6); - rconParser.Configuration.DefaultDvarValues.Add('g_log', 'games_mp.log'); // todo: remove this once proper log support is implemented - rconParser.Configuration.DefaultDvarValues.Add('g_logsync', '1'); // todo: remove this once proper log support is implemented rconParser.Version = 'IW6 MP 3.15 build 2 Sat Sep 14 2013 03:58:30PM win64'; rconParser.GameName = 4; // IW6 eventParser.Version = 'IW6 MP 3.15 build 2 Sat Sep 14 2013 03:58:30PM win64'; eventParser.GameName = 4; // IW6 - eventParser.Configuration.GameDirectory = 'iw6x'; + eventParser.Configuration.GameDirectory = ''; }, onUnloadAsync: function () {