Skip to content

Commit

Permalink
fix(boiii): reason when kicking (#290)
Browse files Browse the repository at this point in the history
* fix(boiii): reason when kicking

* fix(t7): show kick reason

* maint(t7): update creds

* maint(boiii): update creds

* fix(t4): add custom reason too
  • Loading branch information
diamante0018 committed Apr 15, 2023
1 parent a295d29 commit 8dd4eae
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions Plugins/ScriptPlugins/ParserBOIII.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var eventParser;

var plugin = {
author: 'Diamante',
version: 0.2,
version: 0.3,
name: 'BOIII Parser',
isParser: true,

Expand All @@ -15,9 +15,9 @@ var plugin = {

rconParser.Configuration.Status.Pattern = '^ *([0-9]+) +-?([0-9]+) +((?:[A-Z]+|[0-9]+)) +((?:[a-z]|[0-9]){8,32}|(?:[a-z]|[0-9]){8,32}|bot[0-9]+|(?:[0-9]+)) *(.{0,32}) +(\\d+\\.\\d+\\.\\d+.\\d+\\:-*\\d{1,5}|0+.0+:-*\\d{1,5}|loopback|unknown)(?:\\(\\d+\\))? +(-*[0-9]+) *$';
rconParser.Configuration.StatusHeader.Pattern = 'num +score +ping +xuid +name +address +qport *';
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick_for_reason {0} "{1}"';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick_for_reason {0} "{1}"';
rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick_for_reason {0} "{1}"';
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xff(\1|print) ?';
rconParser.Configuration.GametypeStatus.Pattern = 'Gametype: (.+)';
rconParser.Configuration.MapStatus.Pattern = 'Map: (.+)';
Expand Down
10 changes: 5 additions & 5 deletions Plugins/ScriptPlugins/ParserPlutoniumT4.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
var eventParser;

var plugin = {
author: 'RaidMax, Chase',
version: 0.4,
author: 'RaidMax, Chase, Future',
version: 0.5,
name: 'Plutonium T4 MP Parser',
isParser: true,

Expand All @@ -14,9 +14,9 @@ var plugin = {
rconParser = manager.GenerateDynamicRConParser(this.name);
eventParser = manager.GenerateDynamicEventParser(this.name);

rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0} "{1}"';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0} "{1}"';
rconParser.Configuration.CommandPrefixes.TempBan = 'clientkick {0} "{1}"';
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint\n';
rconParser.Configuration.GuidNumberStyle = 7; // Integer
rconParser.Configuration.DefaultRConPort = 28960;
Expand Down
8 changes: 4 additions & 4 deletions Plugins/ScriptPlugins/ParserT7.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ var rconParser;
var eventParser;

var plugin = {
author: 'RaidMax',
version: 0.5,
author: 'RaidMax, Future',
version: 0.6,
name: 'Black Ops 3 Parser',
isParser: true,

Expand All @@ -16,8 +16,8 @@ var plugin = {

rconParser.Configuration.Status.Pattern = '^ *([0-9]+) +-?([0-9]+) +((?:[A-Z]+|[0-9]+)) +((?:[a-z]|[0-9]){8,32}|(?:[a-z]|[0-9]){8,32}|bot[0-9]+|(?:[0-9]+)) *(.{0,32}) +(\\d+\\.\\d+\\.\\d+.\\d+\\:-*\\d{1,5}|0+.0+:-*\\d{1,5}|loopback|unknown)(?:\\([0-9]+\\)) +(-*[0-9]+) *$';
rconParser.Configuration.StatusHeader.Pattern = 'num +score +ping +xuid +name +address +qport|---------- Live ----------';
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick {0}';
rconParser.Configuration.CommandPrefixes.Kick = 'clientkick_for_reason {0} "{1}"';
rconParser.Configuration.CommandPrefixes.Ban = 'clientkick_for_reason {0} "{1}"';
rconParser.Configuration.CommandPrefixes.TempBan = 'tempbanclient {0}';
rconParser.Configuration.CommandPrefixes.RConCommand = '\xff\xff\xff\xff\x00{0} {1}';
rconParser.Configuration.CommandPrefixes.RConGetDvar = '\xff\xff\xff\xff\x00{0} {1}';
Expand Down

0 comments on commit 8dd4eae

Please sign in to comment.