Skip to content

Commit

Permalink
update pluto t6 parser for unknown ip
Browse files Browse the repository at this point in the history
  • Loading branch information
RaidMax committed Jul 11, 2022
1 parent 7972c75 commit 590189f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Plugins/ScriptPlugins/ParserPT6.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var eventParser;

var plugin = {
author: 'RaidMax, Xerxes',
version: 1.3,
version: 1.4,
name: 'Plutonium T6 Parser',
isParser: true,

Expand Down Expand Up @@ -32,7 +32,7 @@ var plugin = {
rconParser.Configuration.ShouldRemoveDiacritics = true;

rconParser.Configuration.StatusHeader.Pattern = 'num +score +bot +ping +guid +name +lastmsg +address +qport +rate *';
rconParser.Configuration.Status.Pattern = '^ *([0-9]+) +([0-9]+) +(?:[0-1]{1}) +([0-9]+) +([A-F0-9]+|0) +(.+?) +(?:[0-9]+) +(\\d+\\.\\d+\\.\\d+\\.\\d+\\:-?\\d{1,5}|0+\\.0+:-?\\d{1,5}|loopback) +(?:-?[0-9]+) +(?:[0-9]+) *$';
rconParser.Configuration.Status.Pattern = '^ *([0-9]+) +([0-9]+) +(?:[0-1]{1}) +([0-9]+) +([A-F0-9]+|0) +(.+?) +(?:[0-9]+) +(\\d+\\.\\d+\\.\\d+\\.\\d+\\:-?\\d{1,5}|0+\\.0+:-?\\d{1,5}|loopback|unknown) +(?:-?[0-9]+) +(?:[0-9]+) *$';
rconParser.Configuration.Status.AddMapping(100, 1);
rconParser.Configuration.Status.AddMapping(101, 2);
rconParser.Configuration.Status.AddMapping(102, 3);
Expand Down

0 comments on commit 590189f

Please sign in to comment.