fix(boiii): workaround the goofiest bug (#284)

* fix(boiii): workaround the goofiest bug
This commit is contained in:
Edo 2023-03-23 18:03:54 +00:00 committed by GitHub
parent 782201b086
commit b258d51863

View File

@ -3,7 +3,7 @@ var eventParser;
var plugin = { var plugin = {
author: 'Diamante', author: 'Diamante',
version: 0.1, version: 0.2,
name: 'BOIII Parser', name: 'BOIII Parser',
isParser: true, isParser: true,
@ -18,7 +18,7 @@ var plugin = {
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0}'; rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0}'; rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick {0}'; rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint '; rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xff(\1|print) ?';
rconParser.Configuration.GametypeStatus.Pattern = 'Gametype: (.+)'; rconParser.Configuration.GametypeStatus.Pattern = 'Gametype: (.+)';
rconParser.Configuration.MapStatus.Pattern = 'Map: (.+)'; rconParser.Configuration.MapStatus.Pattern = 'Map: (.+)';
rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined; // disables this, because it's useless on T7/BOIII rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined; // disables this, because it's useless on T7/BOIII