1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-07 21:58:06 -05:00

chore: fix T5 parser for the upcoming update (#358) (#360)

* chore: fix T5 parser for the upcoming update

* chore: add credits

* chore: fix credits for consistency elsewhere...

Since I'm already here

* fix credits here

* andn here

Co-authored-by: Diamante <iw4x-sp@proton.me>
This commit is contained in:
RaidMax 2025-03-22 09:34:08 -05:00 committed by GitHub
parent 1da28803da
commit 2fe1c8f42a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 16 deletions

View File

@ -2,7 +2,7 @@ var rconParser;
var eventParser;
var plugin = {
author: 'Diamante',
author: 'diamante0018',
version: 0.3,
name: 'BOIII Parser',
isParser: true,

View File

@ -2,7 +2,7 @@ var rconParser;
var eventParser;
var plugin = {
author: 'fed, diamante',
author: 'alice, diamante0018',
version: 0.2,
name: 'H1-Mod Parser',
isParser: true,

View File

@ -2,7 +2,7 @@ var rconParser;
var eventParser;
var plugin = {
author: "fed, diamante",
author: "alice, diamante0018",
version: 0.2,
name: "H2M-Mod Parser",
isParser: true,

View File

@ -2,9 +2,9 @@ var rconParser;
var eventParser;
var plugin = {
author: 'RaidMax',
version: 0.2,
name: 'Plutonium T5 Parser',
author: 'RaidMax, diamante0018, ineedbots',
version: 0.3,
name: 'Plutonium T5 Parser (2025)',
isParser: true,
onEventAsync: function (gameEvent, server) {
@ -13,22 +13,14 @@ var plugin = {
onLoadAsync: function (manager) {
rconParser = manager.GenerateDynamicRConParser(this.name);
eventParser = manager.GenerateDynamicEventParser(this.name);
eventParser.Configuration.GameDirectory = '';
eventParser.Configuration.GameDirectory = 'main';
rconParser.Configuration.DefaultInstallationDirectoryHint = '{LocalAppData}/Plutonium/storage/t5';
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint\n';
rconParser.Configuration.Dvar.Pattern = '^(?:\\^7)?\\"(.+)\\" is: \\"(.+)?\\" default: \\"(.+)?\\"\\n?(?:latched: \\"(.+)?\\"\\n)?\\w*(.+)*$';
rconParser.Configuration.CommandPrefixes.Tell = 'tell {0} {1}';
rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined;
rconParser.Configuration.GuidNumberStyle = 7; // Integer
rconParser.Configuration.DefaultRConPort = 3074;
rconParser.Configuration.OverrideDvarNameMapping.Add('fs_homepath', 'fs_basegame');
rconParser.Configuration.CanGenerateLogPath = false;
rconParser.Configuration.OverrideCommandTimeouts.Clear();
rconParser.Configuration.OverrideCommandTimeouts.Add('map', 0);
rconParser.Configuration.OverrideCommandTimeouts.Add('map_rotate', 0);
rconParser.Configuration.OverrideCommandTimeouts.Add('fast_restart', 0);
rconParser.Configuration.DefaultRConPort = 28960;
rconParser.Version = 'Call of Duty Multiplayer - Ship COD_T5_S MP build 7.0.189 CL(1022875) CODPCAB-V64 CEG Wed Nov 02 18:02:23 2011 win-x86';
rconParser.GameName = 6; // T5