Commit Graph

1377 Commits

Author SHA1 Message Date
RaidMax
84ed9c8d8f optimize player history retrieval 2023-05-30 18:12:57 -05:00
RaidMax
81e2a2f6d4 tweak script plugin web request concurrency 2023-05-30 15:01:01 -05:00
RaidMax
088f7a51be remove some old web components, add command line args for no-confirm (skip unreachable server prompt) and kestrel request settings 2023-05-30 14:58:17 -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
SwordSWD
c26489d71f T5ZM Gametype and Maps 2023-05-28 20:11:10 -05:00
Amos
7f4eb230be Resolves issue where muted player would be unmuted when flag penalty was removed (#303)
* resolves issue where muted player would be unmuted when flag penalty was removed

* Revert accidental code format
2023-05-28 11:38:57 -05:00
RaidMax
003945c241 update filter on assembly resolver 2023-05-28 11:38:57 -05:00
RaidMax
ba911f26ec add assembly resolver to help with more permissive plugin references to iw4madmin libraries 2023-05-28 11:38:57 -05:00
RaidMax
d6d2717771 possible fix for remotely loaded plugins 2023-05-28 11:38:57 -05:00
RaidMax
35f9eb5933 fix rule spacing on about page 2023-05-28 11:38:57 -05:00
RaidMax
4233aab1ee add command to set log level and develop mode dynamically 2023-05-28 11:38:57 -05:00
Amos
cdf9485903 Resolves issue where muted player would be unmuted when flag penalty was removed (#303)
* resolves issue where muted player would be unmuted when flag penalty was removed

* Revert accidental code format
2023-05-28 11:37:27 -05:00
RaidMax
108dddb5cc update filter on assembly resolver 2023-05-27 14:09:57 -05:00
RaidMax
399e082b61 add assembly resolver to help with more permissive plugin references to iw4madmin libraries 2023-05-27 14:01:16 -05:00
RaidMax
35c4bbd2d5 possible fix for remotely loaded plugins 2023-05-27 12:15:22 -05:00
RaidMax
cae77357ca fix rule spacing on about page 2023-05-27 11:02:57 -05:00
RaidMax
f186e3ae4d add command to set log level and develop mode dynamically 2023-05-26 21:14:49 -05:00
RaidMax
1e88f5bac0 fix issue with alert manager concurrency 2023-05-14 22:46:03 -04:00
Amos
ce054c173e Resolved Chat in BOIII Parser (#299) 2023-05-14 22:46:03 -04:00
RaidMax
740df7c3ee fix issue with help page not showing v2 commands 2023-05-14 22:46:03 -04:00
RaidMax
466ae96874 Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre 2023-05-01 21:41:08 -05:00
Edo
6ae15261c9 BaseEvent: Deal with all sorts of special characters sent by the engine (#298)
* BaseEvent: Deal with all sorts of special characters sent by the engine
2023-05-01 21:40:12 -05:00
RaidMax
72df5c9902 implement GameScriptEvent trigger 2023-05-01 21:38:58 -05:00
RaidMax
994dbe142e fix clipping of context menu hovers 2023-05-01 21:37:51 -05:00
Sword
ed3f9f750f fixed spelling mistake with Moon (#294) 2023-04-22 20:17:20 -05:00
RaidMax
9b56ff520f update to cod rcon parser for windows socket quirk with UDP WSAECONNRESET 2023-04-21 20:43:33 -05:00
RaidMax
123d84088f provide more informative error if webfront fails to start (typical socket binding) 2023-04-21 20:40:20 -05:00
RaidMax
ddfcf6e138 fix issue with cancellation token on shutdown state sync 2023-04-19 22:46:46 -05:00
RaidMax
92992dfb13 update top level client count stats to support filtering per game 2023-04-19 19:55:33 -05: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
HGM
caddc06c70 Added Missing T4ZM Zombie Maps (#289) 2023-04-15 18:06:16 -05:00
RaidMax
75b93bb972 maybe fix for an issue that should not exist 2023-04-15 16:49:34 -05:00
RaidMax
b022b08bc7 clean up game server properties update implementation 2023-04-15 14:30:13 -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
520a76a15e add additional overloads for script plugin web request helper 2023-04-13 21:36:21 -05:00
RaidMax
e8ab56cd9b apply cod4 rcon fix for waw too 2023-04-10 14:44:58 -05:00
RaidMax
5490d6b358 add smaller version of server banner 2023-04-09 22:20:48 -05:00
RaidMax
5d53c2559b update/rename notifyafterdelay to ExecuteAfterDelay 2023-04-09 14:07:50 -05:00
RaidMax
22af762a9d add ServerCommandRequestExecuteEvent implementation 2023-04-09 14:07:30 -05:00
RaidMax
c550d424dd fix startup issue with no config 2023-04-09 09:59:10 -05:00
RaidMax
f4ded4cc1f fix profanity determent on chat enabled check 2023-04-08 16:11:22 -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
222f2ba5f8 add ServerBanner.js to solution 2023-04-08 10:10:56 -05:00
RaidMax
8c48151ab6 add server banner plugin for iframe embeds 2023-04-08 10:10:15 -05:00
RaidMax
c5a283a02e improve login plugin structure and fix load issue 2023-04-08 09:43:33 -05:00
RaidMax
d0911b7b8a add server game group collapse to advanced stats 2023-04-07 21:38:41 -05:00
RaidMax
388434133b fix issue with profanity plugin enabled check and add KickOnInfringingName setting 2023-04-07 21:21:18 -05:00