diff --git a/IW4MAdmin.sln b/IW4MAdmin.sln index e46ad4273..fd366adbc 100644 --- a/IW4MAdmin.sln +++ b/IW4MAdmin.sln @@ -53,6 +53,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ScriptPlugins", "ScriptPlug Plugins\ScriptPlugins\ParserPlutoniumT5.js = Plugins\ScriptPlugins\ParserPlutoniumT5.js Plugins\ScriptPlugins\ServerBanner.js = Plugins\ScriptPlugins\ServerBanner.js Plugins\ScriptPlugins\ParserBOIII.js = Plugins\ScriptPlugins\ParserBOIII.js + Plugins\ScriptPlugins\ParserLFD2SM.js = Plugins\ScriptPlugins\ParserLFD2SM.js EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AutomessageFeed", "Plugins\AutomessageFeed\AutomessageFeed.csproj", "{F5815359-CFC7-44B4-9A3B-C04BACAD5836}" diff --git a/Plugins/ScriptPlugins/ParserCSGO.js b/Plugins/ScriptPlugins/ParserCSGO.js index eb63d824a..5573cfe94 100644 --- a/Plugins/ScriptPlugins/ParserCSGO.js +++ b/Plugins/ScriptPlugins/ParserCSGO.js @@ -22,10 +22,10 @@ const plugin = { rconParser.Configuration.MapStatus.AddMapping(111, 1); rconParser.Configuration.HostnameStatus.Pattern = '^hostname: +(.+)$'; - rconParser.Configuration.MapStatus.AddMapping(113, 1); + rconParser.Configuration.HostnameStatus.AddMapping(113, 1); rconParser.Configuration.MaxPlayersStatus.Pattern = '^players *: +\\d+ humans, \\d+ bots \\((\\d+).+'; - rconParser.Configuration.MapStatus.AddMapping(114, 1); + rconParser.Configuration.MaxPlayersStatus.AddMapping(114, 1); rconParser.Configuration.Dvar.Pattern = '^"(.+)" = "(.+)" (?:\\( def. "(.*)" \\))?(?: |\\w)+- (.+)$'; rconParser.Configuration.Dvar.AddMapping(106, 1); diff --git a/Plugins/ScriptPlugins/ParserCSGOSM.js b/Plugins/ScriptPlugins/ParserCSGOSM.js index 950d07b72..67f95df44 100644 --- a/Plugins/ScriptPlugins/ParserCSGOSM.js +++ b/Plugins/ScriptPlugins/ParserCSGOSM.js @@ -3,7 +3,7 @@ let eventParser; const plugin = { author: 'RaidMax', - version: 0.6, + version: 0.7, name: 'CS:GO (SourceMod) Parser', engine: 'Source', isParser: true, @@ -22,10 +22,10 @@ const plugin = { rconParser.Configuration.MapStatus.AddMapping(111, 1); rconParser.Configuration.HostnameStatus.Pattern = '^hostname: +(.+)$'; - rconParser.Configuration.MapStatus.AddMapping(113, 1); + rconParser.Configuration.HostnameStatus.AddMapping(113, 1); rconParser.Configuration.MaxPlayersStatus.Pattern = '^players *: +\\d+ humans, \\d+ bots \\((\\d+).+'; - rconParser.Configuration.MapStatus.AddMapping(114, 1); + rconParser.Configuration.MaxPlayersStatus.AddMapping(114, 1); rconParser.Configuration.Dvar.Pattern = '^"(.+)" = "(.+)" (?:\\( def. "(.*)" \\))?(?: |\\w)+- (.+)$'; rconParser.Configuration.Dvar.AddMapping(106, 1);