Commit Graph

184 Commits

Author SHA1 Message Date
RaidMax
bcb063730c fix game interface bus issue and limit dynamic script command reload to owner 2023-06-08 16:26:26 -05:00
RaidMax
f79ba6466c tweak game interface bus mode 2023-06-07 16:15:54 -05:00
RaidMax
871f8d75df implement bus mode for game interface to allow files for bus data transfer 2023-06-06 17:56:12 -05:00
RaidMax
ad89ecb39d add example module to game interface. convert gi command registration to a iw4madmin request 2023-06-06 12:09:20 -05:00
RaidMax
3f0bdfe3a9 implement dynamic command registration through game interface 2023-06-03 22:46:15 -05:00
RaidMax
2fcbab9a37 implement initial url request functionality for game interface 2023-06-03 16:48:03 -05:00
RaidMax
e843f839f5 adjust last seen format in game interface 2023-06-02 16:35:00 -05:00
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
Amos
ce054c173e Resolved Chat in BOIII Parser (#299) 2023-05-14 22:46:03 -04:00
RaidMax
c53e0de7d0 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-15 18:07:48 -05:00
Edo
29d0686f73 fix(boiii): reason when kicking (#290)
* fix(boiii): reason when kicking

* fix(t7): show kick reason

* maint(t7): update creds

* maint(boiii): update creds

* fix(t4): add custom reason too
2023-04-15 18:06:54 -05:00
RaidMax
bb8f3fbe5b add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
RaidMax
c3be7f7de5 more updates for script plugin helper and corresponding VPNDetection update to properly send user gent 2023-04-13 23:36:29 -05:00
RaidMax
5490d6b358 add smaller version of server banner 2023-04-09 22:20:48 -05:00
RaidMax
d8c0cd47f5 server banner tweaks 2023-04-08 15:43:47 -05:00
RaidMax
1f77d10eed fix extra IP lookups in server banner plugin 2023-04-08 12:00:28 -05:00
RaidMax
8c48151ab6 add server banner plugin for iframe embeds 2023-04-08 10:10:15 -05:00
RaidMax
e558d912cf Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-05 14:15:46 -05:00
RaidMax
2e6a1efb47 fix issue with BanBroadcasting 2023-04-05 14:12:59 -05:00
RaidMax
f41ce39180 implement new eventing system 2023-04-05 09:54:57 -05:00
RaidMax
fab3cf95d6 implement PluginV2 for script plugins 2023-04-04 18:24:13 -05:00
Edo
b258d51863 fix(boiii): workaround the goofiest bug (#284)
* fix(boiii): workaround the goofiest bug
2023-03-23 13:03:54 -05:00
FutureRave
782201b086 feature(script_plugins): boiii parser 2023-03-16 10:48:14 -05:00
RaidMax
5e32536821 update vpn detection to script plugin v2 2023-02-11 21:02:20 -06:00
RaidMax
59e3813fa7 update action on report to script plugin v2 2023-02-11 21:01:47 -06:00
RaidMax
74e792bfdc merge 2023-01-06 13:45:25 -06:00
RaidMax
31e3e98d06 update h1 parser for chat localization 2023-01-06 12:25:24 -06:00
RaidMax
9ef189d303 update iw6x chat localize text 2023-01-06 10:49:10 -06:00
RaidMax
ae101f1c3a fix for iw6x and s1x parser 2023-01-05 21:43:57 -06:00
Edo
8bcc9354fd Update H1 parser too based on iw6&s1 experience 2022-11-07 08:48:38 -06:00
FutureRave
0674ef800b fix(ParserIW6x): Filter out say/say_team correctly 2022-11-07 08:48:38 -06:00
RaidMax
1349cf84b7 properly set the localize text char for s1x parser 2022-11-03 20:11:05 -05:00
FutureRave
b311ecefc2 feature(parser): Option to override special localize character 2022-11-03 20:05:59 -05:00
RaidMax
dbca3675ba add unban subnet command and subnet list interaction 2022-10-24 18:57:35 -05:00
RaidMax
565f22b42e create shared integration for performance-based autobalance support 2022-10-23 13:29:01 -05:00
RaidMax
3367c5c22f add support for plugin generated pages (interactions). add disallow vpn command 2022-10-17 09:17:43 -05:00
RaidMax
a15da15d3e fix issue with vpn detection using new interaction 2022-10-13 10:47:25 -05:00
RaidMax
24d91f228b update interactions to allow building custom forms 2022-10-12 21:06:18 -05:00
RaidMax
bdb5a1c5f8 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2022-10-05 09:51:24 -05:00
xerxes-at
5d9e2b3bf1 Game Interface ported to T5. (#254)
* Implement game interface for IW5 and T5
2022-10-05 09:49:00 -05:00
RaidMax
12da0f463b add client tag to default game interface data 2022-09-24 10:06:07 -05:00
RaidMax
e88071684d provide client tag in game interface meta 2022-09-21 13:04:15 -05:00
Amos
d5cf4451a2 NoClip Fix - Removed NoClipOff - Toggle Hide (#263)
* Usage of Hide is now consistent with NoClip; toggleable
Removed obsolete !NoClipOff
2022-09-11 11:51:10 -05:00
RaidMax
1e1e8bbe7b fix issue with game interface meta/provide full example 2022-09-11 11:46:13 -05:00
RaidMax
2380f23dbe implement profile interaction registration through plugins (mute and vpn detection implementation) 2022-09-08 15:03:38 -05:00
RaidMax
809cb0b7f4 account for trailing color code on long cod4x names 2022-08-27 21:25:42 -05:00
RaidMax
6f086ac565 modularize the game integration files and better organize the anticheat folder structure 2022-08-20 10:57:03 -05:00
RaidMax
3efafa24ff map the g_password dvar for T7 parser 2022-08-17 21:57:13 -05:00
RaidMax
841bcf6156 tweak for T6 parser 2022-07-25 09:10:12 -05:00
RaidMax
f97e266c24 send correct type to inc/dec meta service in game interface 2022-07-16 17:47:07 -05:00