From ce054c173e62c2fb4383c9adc671863c7820d0a1 Mon Sep 17 00:00:00 2001 From: Amos Date: Mon, 8 May 2023 02:00:19 +0100 Subject: [PATCH] Resolved Chat in BOIII Parser (#299) --- IW4MAdmin.sln | 1 + Plugins/ScriptPlugins/ParserBOIII.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/IW4MAdmin.sln b/IW4MAdmin.sln index 71ea2134b..7d0cae409 100644 --- a/IW4MAdmin.sln +++ b/IW4MAdmin.sln @@ -52,6 +52,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScriptPlugins", "ScriptPlug Plugins\ScriptPlugins\ParserH1MOD.js = Plugins\ScriptPlugins\ParserH1MOD.js Plugins\ScriptPlugins\ParserPlutoniumT5.js = Plugins\ScriptPlugins\ParserPlutoniumT5.js Plugins\ScriptPlugins\ServerBanner.js = Plugins\ScriptPlugins\ServerBanner.js + Plugins\ScriptPlugins\ParserBOIII.js = Plugins\ScriptPlugins\ParserBOIII.js EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutomessageFeed", "Plugins\AutomessageFeed\AutomessageFeed.csproj", "{F5815359-CFC7-44B4-9A3B-C04BACAD5836}" diff --git a/Plugins/ScriptPlugins/ParserBOIII.js b/Plugins/ScriptPlugins/ParserBOIII.js index 8b724f71c..47ab96940 100644 --- a/Plugins/ScriptPlugins/ParserBOIII.js +++ b/Plugins/ScriptPlugins/ParserBOIII.js @@ -43,7 +43,7 @@ var plugin = { eventParser.Version = '[local] ship win64 CODBUILD8-764 (3421987) Mon Dec 16 10:44:20 2019 10d27bef'; eventParser.GameName = 8; // BO3 eventParser.Configuration.GameDirectory = 'usermaps'; - eventParser.Configuration.Say.Pattern = '^(chat|chatteam);(?:[0-9]+);([0-9]+);([0-9]+);(.+);(.*)$'; + eventParser.Configuration.Say.Pattern = '^(chat|chatteam);(?:[0-9]+);([a-f0-9]+);([0-9]+);(.+);(.*)$'; }, onUnloadAsync: function() {},