IW4M-Admin/Plugins/ScriptPlugins
xerxes-at 7d436ac0c5 Fix Game Interface / AC Callbacks + support for T5ZM, T6MP and T6ZM for the Game Interface. (#288)
* Fix trying to write to a struct before its initialized.

Same issue on IW4, IW5 and T5 game modules.

* Fix path issues in the scripts + add support for t5zm.

* Fix deploy.bat
* Change paths inside the gsc scripts used to call functions in other scripts
* Remove mp includes from base gsc file.
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;
* Define GetXuid as overrideMethod as t5zm doesn't have it.
* Define GetPlayerFromClientNum as getting all players is slightly different on t5zm.

* Remove the precompiled gsc file for T6 as PlutoT6 can load uncompiled GSC now.

* Fix _customcallbacks.gsc for T6

* Add T6 support to the game interface.

* Update _integration_base.gsc

use camelCase for functionName

* Make sure the Setup functions are always called in the right order.

Base -> shared -> game
Otherwise we might write to structs before they are created.

* Move functions interacting with the game from _base to _shared

GetPlayerFromClientNum
OnPlayerJoinedTeam
OnPlayerJoinedSpectators
GenerateJoinTeamString
PlayerTrackingOnInterval
SaveTrackingMetrics

* Block execution until game specific setup is done

Block _shared execution until the game specific file finished.
This allows the game specific file to override the events in _shared.

* Fix setup event flow

Move check of sv_iw4madmin_integration_enabled dvar after waittill in _shared so _base has a chance to set it to 1.
Move check of sv_iw4madmin_autobalance dvar to OnPlayerConnect in _shared so the game specific script has a chance to set the dvar.

* ignore bots

* add more spaces
2023-05-28 20:15:52 -05:00
..
ActionOnReport.js add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
BanBroadcasting.js add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
GameInterface.js Fix Game Interface / AC Callbacks + support for T5ZM, T6MP and T6ZM for the Game Interface. (#288) 2023-05-28 20:15:52 -05:00
ParserBOIII.js Resolved Chat in BOIII Parser (#299) 2023-05-14 22:46:03 -04:00
ParserCoD4x.js account for trailing color code on long cod4x names 2022-08-27 21:25:42 -05:00
ParserCSGO.js add join team and map change events to CSGO parser 2022-03-28 18:05:18 -05:00
ParserCSGOSM.js add join team and map change events to CSGO parser 2022-03-28 18:05:18 -05:00
ParserH1MOD.js update h1 parser for chat localization 2023-01-06 12:25:24 -06:00
ParserIW4x.js more integration tweaks 2022-02-09 14:45:28 -06:00
ParserIW6x.js merge 2023-01-06 13:45:25 -06:00
ParserPIW5.js add default port and rcon password hint during setup 2022-01-26 15:20:10 -06:00
ParserPlutoniumT4.js fix(boiii): reason when kicking (#290) 2023-04-15 18:06:54 -05:00
ParserPlutoniumT4COZM.js Add Plutonium T4 Co-Op/Zombies support 2022-01-26 15:20:10 -06:00
ParserPlutoniumT5.js support per-command override of rcon timeouts / update t5 parser to reflect 2022-07-01 09:59:11 -05:00
ParserPT6.js update pluto t6 parser for unknown ip 2022-07-10 20:09:57 -05:00
ParserRektT5M.js add default port and rcon password hint during setup 2022-01-26 15:20:10 -06:00
ParserS1x.js merge 2023-01-06 13:45:25 -06:00
ParserT4.js set the rcon parser game name for retail WaW 2022-06-14 15:12:19 -05:00
ParserT7.js fix(boiii): reason when kicking (#290) 2023-04-15 18:06:54 -05:00
ParserTeknoMW3.js add default port and rcon password hint during setup 2022-01-26 15:20:10 -06:00
ServerBanner.js add smaller version of server banner 2023-04-09 22:20:48 -05:00
SubnetBan.js implement PluginV2 for script plugins 2023-04-04 18:24:13 -05:00
VPNDetection.js add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00