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

181 Commits

Author SHA1 Message Date
RaidMax
c24e838bb5 add example module to game interface. convert gi command registration to a iw4madmin request 2023-06-06 12:09:20 -05:00
RaidMax
cc67438b9a implement dynamic command registration through game interface 2023-06-03 22:46:15 -05:00
RaidMax
dfcf6e958c implement initial url request functionality for game interface 2023-06-03 16:48:03 -05:00
RaidMax
f19ca8a813 adjust last seen format in game interface 2023-06-02 16:35:00 -05:00
xerxes-at
d0e39b240a
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
2af03d10d0 Resolved Chat in BOIII Parser (#299) 2023-05-14 22:46:03 -04:00
RaidMax
1231154e9d Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-15 18:07:48 -05:00
Edo
8dd4eae39c
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
d3ac9d53a4 add configuration update callback for script plugins & update plugins to utilize 2023-04-15 14:27:51 -05:00
RaidMax
d3a2209f73 more updates for script plugin helper and corresponding VPNDetection update to properly send user gent 2023-04-13 23:36:29 -05:00
RaidMax
af1778ac7b add smaller version of server banner 2023-04-09 22:20:48 -05:00
RaidMax
5571e9317f server banner tweaks 2023-04-08 15:43:47 -05:00
RaidMax
68cf08f871 fix extra IP lookups in server banner plugin 2023-04-08 12:00:28 -05:00
RaidMax
dafdbec67a add server banner plugin for iframe embeds 2023-04-08 10:10:15 -05:00
RaidMax
cdfcb25072 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-04-05 14:15:46 -05:00
RaidMax
68b92ecc9e fix issue with BanBroadcasting 2023-04-05 14:12:59 -05:00
RaidMax
ebe69a94ad implement new eventing system 2023-04-05 09:54:57 -05:00
RaidMax
d3544b4519 implement PluginV2 for script plugins 2023-04-04 18:24:13 -05:00
Edo
d5186b7645
fix(boiii): workaround the goofiest bug (#284)
* fix(boiii): workaround the goofiest bug
2023-03-23 13:03:54 -05:00
FutureRave
e311c191ef feature(script_plugins): boiii parser 2023-03-16 10:48:14 -05:00
RaidMax
36cca2f93b update vpn detection to script plugin v2 2023-02-11 21:02:20 -06:00
RaidMax
ceb9974ce5 update action on report to script plugin v2 2023-02-11 21:01:47 -06:00
RaidMax
8ceeaf4a48 merge 2023-01-06 13:45:25 -06:00
RaidMax
e8067ac651 update h1 parser for chat localization 2023-01-06 12:25:24 -06:00
RaidMax
733a302c21 update iw6x chat localize text 2023-01-06 10:49:10 -06:00
RaidMax
8a4a294c8c fix for iw6x and s1x parser 2023-01-05 21:43:57 -06:00
Edo
627acecc07 Update H1 parser too based on iw6&s1 experience 2022-11-07 08:48:38 -06:00
FutureRave
76333f5508 fix(ParserIW6x): Filter out say/say_team correctly 2022-11-07 08:48:38 -06:00
RaidMax
4aebc4d829 properly set the localize text char for s1x parser 2022-11-03 20:11:05 -05:00
FutureRave
c6916b38c3 feature(parser): Option to override special localize character 2022-11-03 20:05:59 -05:00
RaidMax
1d6cc670d7 add unban subnet command and subnet list interaction 2022-10-24 18:57:35 -05:00
RaidMax
34cafc4066 create shared integration for performance-based autobalance support 2022-10-23 13:29:01 -05:00
RaidMax
450c8a45da add support for plugin generated pages (interactions). add disallow vpn command 2022-10-17 09:17:43 -05:00
RaidMax
89e6dbf49a fix issue with vpn detection using new interaction 2022-10-13 10:47:25 -05:00
RaidMax
8502ae47aa update interactions to allow building custom forms 2022-10-12 21:06:18 -05:00
RaidMax
054ae71d14 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2022-10-05 09:51:24 -05:00
xerxes-at
447737c117
Game Interface ported to T5. (#254)
* Implement game interface for IW5 and T5
2022-10-05 09:49:00 -05:00
RaidMax
fb54aac7b8 add client tag to default game interface data 2022-09-24 10:06:07 -05:00
RaidMax
b4dde03a34 provide client tag in game interface meta 2022-09-21 13:04:15 -05:00
Amos
2d3761b430
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
a3649124ff fix issue with game interface meta/provide full example 2022-09-11 11:46:13 -05:00
RaidMax
8d8a8d869a implement profile interaction registration through plugins (mute and vpn detection implementation) 2022-09-08 15:03:38 -05:00
RaidMax
4d5d61f3a0 account for trailing color code on long cod4x names 2022-08-27 21:25:42 -05:00
RaidMax
e7dce1ad1d modularize the game integration files and better organize the anticheat folder structure 2022-08-20 10:57:03 -05:00
RaidMax
b4a2761590 map the g_password dvar for T7 parser 2022-08-17 21:57:13 -05:00
RaidMax
806491757c tweak for T6 parser 2022-07-25 09:10:12 -05:00
RaidMax
f78196b063 send correct type to inc/dec meta service in game interface 2022-07-16 17:47:07 -05:00
RaidMax
eaac12fa75 update to game interface/integration for persistent stat data 2022-07-13 16:10:16 -05:00
RaidMax
590189fc11 update pluto t6 parser for unknown ip 2022-07-10 20:09:57 -05:00
RaidMax
c9b33d3097 fix issue with alert on warn in game interface 2022-07-09 14:23:08 -05:00