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

feat(pt5): fully support game log on T5 out of the box

This commit is contained in:
Edo 2023-12-21 17:19:24 +01:00 committed by GitHub
parent 321ac5558f
commit 220e46fb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ var plugin = {
onLoadAsync: function (manager) { onLoadAsync: function (manager) {
rconParser = manager.GenerateDynamicRConParser(this.name); rconParser = manager.GenerateDynamicRConParser(this.name);
eventParser = manager.GenerateDynamicEventParser(this.name); eventParser = manager.GenerateDynamicEventParser(this.name);
eventParser.Configuration.GameDirectory = '';
rconParser.Configuration.DefaultInstallationDirectoryHint = '{LocalAppData}/Plutonium/storage/t5'; rconParser.Configuration.DefaultInstallationDirectoryHint = '{LocalAppData}/Plutonium/storage/t5';
rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint\n'; rconParser.Configuration.CommandPrefixes.RConResponse = '\xff\xff\xff\xffprint\n';
@ -21,6 +22,7 @@ var plugin = {
rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined; rconParser.Configuration.CommandPrefixes.RConGetInfo = undefined;
rconParser.Configuration.GuidNumberStyle = 7; // Integer rconParser.Configuration.GuidNumberStyle = 7; // Integer
rconParser.Configuration.DefaultRConPort = 3074; rconParser.Configuration.DefaultRConPort = 3074;
rconParser.Configuration.OverrideDvarNameMapping.Add('fs_homepath', 'fs_basegame');
rconParser.Configuration.CanGenerateLogPath = false; rconParser.Configuration.CanGenerateLogPath = false;
rconParser.Configuration.OverrideCommandTimeouts.Clear(); rconParser.Configuration.OverrideCommandTimeouts.Clear();