From 84189cf136d7a437537ad347bf694b7312945508 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 31 Oct 2020 09:18:37 -0500 Subject: [PATCH] fix issue with T5 status response parsing --- DeploymentFiles/deployment-pipeline.yml | 4 +++- Plugins/ScriptPlugins/ParserRektT5M.js | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DeploymentFiles/deployment-pipeline.yml b/DeploymentFiles/deployment-pipeline.yml index 042c957da..b9391784b 100644 --- a/DeploymentFiles/deployment-pipeline.yml +++ b/DeploymentFiles/deployment-pipeline.yml @@ -18,6 +18,7 @@ variables: outputFolder: '$(Build.ArtifactStagingDirectory)\Publish\$(buildConfiguration)' releaseType: verified buildConfiguration: Stable + isPreRelease: false steps: - task: PowerShell@2 @@ -28,6 +29,7 @@ steps: script: | echo '##vso[task.setvariable variable=releaseType]prerelease' echo '##vso[task.setvariable variable=buildConfiguration]Prerelease' + echo '##vso[task.setvariable variable=isPreRelease]true' failOnStderr: true - task: NuGetCommand@2 @@ -178,7 +180,7 @@ steps: tag: '$(Build.BuildNumber)-$(releaseType)' title: 'IW4MAdmin $(Build.BuildNumber) ($(releaseType))' assets: '$(Build.ArtifactStagingDirectory)/*.zip' - isPreRelease: eq(variables['Build.SourceBranch'], 'refs/heads/release/pre') + isPreRelease: $(isPreRelease) releaseNotesSource: 'inline' releaseNotesInline: 'todo' changeLogCompareToRelease: 'lastNonDraftRelease' diff --git a/Plugins/ScriptPlugins/ParserRektT5M.js b/Plugins/ScriptPlugins/ParserRektT5M.js index aa1e441a3..a9ce84ec4 100644 --- a/Plugins/ScriptPlugins/ParserRektT5M.js +++ b/Plugins/ScriptPlugins/ParserRektT5M.js @@ -3,7 +3,7 @@ var eventParser; var plugin = { author: 'RaidMax', - version: 0.2, + version: 0.3, name: 'RektT5m Parser', isParser: true, @@ -16,7 +16,7 @@ var plugin = { eventParser.Configuration.GameDirectory = 'data'; - rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xff\x01print'; + rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xff\x01print\n'; rconParser.Configuration.CommandPrefixes.Tell = 'tell {0} {1}'; rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined;