Commit Graph

171 Commits

Author SHA1 Message Date
xerxes-at
1700b7da91 PlutoIW5 support for the Game Interface and improvements to the GSC part of it. (#242)
* Improvements to the GSC part of the Game Interface
* Adds compatibility with PlutoIW5 with minimal changes.
* Fixes issues when commands are called from the web interface when the used profile is not on the server.
    * New Debug output when the target or origin of a command is sent by IW4MAdmin but not found in-game.
    * Commands that can be run on the context of the target are now run in it.
* Simplifies the command registration and execution.
    * Got rid of the huge switch block.
    * Introduced AddClientCommand to register new commands for example
        * `AddClientCommand("SwitchTeams",  true,  ::TeamSwitchImpl);`
        * `AddClientCommand("Hide",         false, ::HideImpl);`
    * Callbacks are called with the full event object and the parsed data as parameters to allow maximum flexibility.
* Introduced level.eventBus.gamename to know which game we are to add minor changes.
* Changes - noclip/lockcontrols/playertome
Additional changes to support other games' functions

Co-Authored-By: Amos <4959320+MrAmos123@users.noreply.github.com>
2022-05-19 17:04:34 -05:00
RaidMax
ff0d22c142 fix rcon issue 2022-04-25 15:39:30 -05:00
RaidMax
0175425708 fix subnet ban and vpn detection persistence 2022-04-20 10:45:30 -05:00
RaidMax
dc97956bc3 add searching by partial ip address 2022-04-04 14:27:22 -05:00
RaidMax
89fdc00f9b add subnet ban command 2022-03-30 22:15:29 -05:00
RaidMax
eafd7cb530 add join team and map change events to CSGO parser 2022-03-28 18:05:18 -05:00
RaidMax
7be096e0b6 add vpn whitelist command 2022-03-23 13:34:04 -05:00
RaidMax
b46b1eb5e7 fix update on report to penalize flagged users 2022-03-23 08:22:23 -05:00
RaidMax
42313b7816 update action on report to use level enum string 2022-03-07 20:00:05 -06:00
RaidMax
9f4d06c265 refactor some game interface plugin approach 2022-03-07 19:59:34 -06:00
RaidMax
55b0caf900 tweak game interface values again 2022-03-02 08:28:41 -06:00
RaidMax
ec0f59cdb1 add set spectator command for game interface 2022-03-01 12:45:39 -06:00
RaidMax
2e531c4a50 validate game interface commands to ensure it's enabled before trying to execute 2022-02-18 10:15:11 -06:00
RaidMax
9a6d7c6a20 game interface improvements 2022-02-15 20:05:50 -06:00
RaidMax
037fac5786 game interface improvements 2022-02-13 21:38:40 -06:00
RaidMax
3640d1df54 small updates for game interface 2022-02-12 21:54:21 -06:00
RaidMax
f3c6b10a35 add network game log reader ex: net.tcp://ip:port 2022-02-11 15:33:05 -06:00
RaidMax
c9cf7be341 add set client meta and inc/dec to framework 2022-02-10 16:50:45 -06:00
RaidMax
aa6ae0ab8d more integration tweaks 2022-02-09 14:45:28 -06:00
RaidMax
12dfd8c558 more integration tweaks
add configurable flood protect interval for rcon
2022-02-08 12:03:55 -06:00
RaidMax
07f675eadc fix issue with plugin registration 2022-02-07 22:02:50 -06:00
RaidMax
576d7015fa increase poll rate for reasonable response times 2022-02-07 18:47:16 -06:00
RaidMax
b1a1aae6c0 initial framework for gsc + iw4madmin integration
improvements to script plugin capabilities and error feedback
2022-02-07 18:43:36 -06:00
RaidMax
092ca5f9bd Update plutonium t4 MP parser 2022-01-26 15:20:10 -06:00
RaidMax
3f0b1b892a Add Plutonium T4 Co-Op/Zombies support 2022-01-26 15:20:10 -06:00
RaidMax
e739c91b52 add color code mapping for CSGO 2022-01-26 15:20:10 -06:00
RaidMax
4a89744ee9 abstract engine color codes to use (Color::<Color>) format to make codes more.
see pt6 parser and configs for example usages
2022-01-26 15:20:10 -06:00
RaidMax
ce3119425f try renable FTP publish 2022-01-26 15:20:10 -06:00
RaidMax
08bcd23cbc add default port and rcon password hint during setup 2022-01-26 15:20:10 -06:00
xerxes-at
e267bd95da Update IW6x parser to automatically find the log file. (#216)
* Update ParserIW6x.js
2021-09-05 10:45:28 -05:00
RaidMax
02e5e78f67 update iw5 parser to work around filesytem dvar limitation 2021-08-28 17:56:41 -05:00
RaidMax
27e9ecfd9d support homepath in pluto t6 2021-08-27 20:47:06 -05:00
RaidMax
5ef00d6dae tweak headshot detection for CSGO 2021-07-11 09:58:02 -05:00
RaidMax
5921098dce detect headshots for CSGO on advanced stats
track say_team events for CSGO
2021-07-10 21:37:51 -05:00
RaidMax
af4630ecb9 Additional CSGO compatibility improvements 2021-06-16 08:53:50 -05:00
RaidMax
e628ac0e9e improve CS:GO compatibility 2021-06-11 11:52:30 -05:00
RaidMax
3a1e8359c2 add one log indicator for games (Pluto IW5) that don't log to mods folder even when fs_game is specified. 2021-06-07 16:58:36 -05:00
RaidMax
c397fd5479 update pluto iw5 parser for new version
fix issue with finding players with color codes in name
2021-06-06 13:40:58 -05:00
RaidMax
b09ce46ff9 Merge branch 'release/pre' of https://github.com/RaidMax/IW4M-Admin into release/pre 2021-06-03 10:51:19 -05:00
RaidMax
be08d49f0a add initial CS:GO support 2021-06-03 10:51:03 -05:00
Chase
b9fb274db6 Update ParserPT6.js (#206) 2021-05-15 09:22:34 -05:00
RaidMax
9488f754d4 Fix stupid idiot things 2021-05-15 09:20:49 -05:00
RaidMax
1595c1fa99 Initial implementation of configuration support for script plugins 2021-05-14 21:52:55 -05:00
RaidMax
a034394610 Merge branch 'release/pre' of https://github.com/RaidMax/IW4M-Admin into release/pre 2021-04-16 13:38:34 -05:00
RaidMax
34e7d69110 Add RCon support for S1x 2021-04-16 13:35:51 -05:00
Chase
4b686e5fdd Update Plutonium T4 Parser [v0.2]
Static version string
2021-04-08 09:36:32 -05:00
Chase
0428453426 Update Pluto T4 Parser
Uses new static version string.
2021-04-08 09:36:32 -05:00
RaidMax
e80e5d6a70 remove test code 2021-04-07 09:53:32 -05:00
RaidMax
22cf3081e1 update parser for Plutonium T4 2021-04-07 09:50:41 -05:00
RaidMax
76a18d9797 add parser support for Plutonium T4 2021-04-07 09:33:49 -05:00
RaidMax
fc13363c9c add user agent header for vpn detection issue #195 2021-04-07 08:47:42 -05:00
Edo
d164ef2eab Removed tempbanclient (#187)
Removed tempbanclient because Tekno has "weird" internal DB that manages temp bans it it would interfere with iw4m
2021-03-23 10:36:33 -05:00
RaidMax
843c01061d update 'uptime' output
use translations for certain webfront page meta that was neglected
update plutonium parsers to not use new line in notices as it is not supported
2021-01-08 19:21:23 -06:00
RaidMax
4afc478076 fix issue with view stats and reset stats failing
fix issue with set level returning wrong error message if setting a client to the same level they're currently at
update CoD4x parser version
update nuget packages
2020-12-16 13:11:30 -06:00
RaidMax
928cbef845 resolve bot guid issue with T5
remove unneeded check for CNCT state
2020-12-14 21:10:50 -06:00
RaidMax
02b910234a add official T4/WaW support for issue #178
CoD4x parser tweak to parse full guid as decimal
2020-12-13 20:33:37 -06:00
RaidMax
6648b75255 update CoD4x parser
tweak handling segmented status response
actually support more than 18 clients LOL
2020-12-02 14:29:49 -06:00
RaidMax
8ef2959f63 make notice line separator configurable for different parsers
(updated tekno's as it doesn't support \n)
2020-11-19 20:48:25 -06:00
RaidMax
6619ce714a modify iw6x parser to default game log vars temporarily, small amount of code cleanup to git rid of warnings 2020-11-12 20:39:56 -06:00
RaidMax
5d9c8f5369 fix introduced issue with map/map_rotate commands 2020-11-11 18:53:23 -06:00
RaidMax
570a228c92 refactor logging in pretty big overhaul 2020-11-11 17:35:55 -06:00
RaidMax
fd7bd7e0da partial support of IW6x until the game log is implemented 2020-11-07 10:40:58 -06:00
RaidMax
84189cf136 fix issue with T5 status response parsing 2020-10-31 09:18:37 -05:00
RaidMax
7f11921757 enhance script plugin features
(support service resolver with generic args)
(support requiresTarget for command)
2020-09-28 20:32:53 -05:00
RaidMax
70cae976a0 implement service resolver for script plugins 2020-09-26 18:13:56 -05:00
RaidMax
2be719d8f9 add website override mapping to tekno parser (_website -> sv_clanWebsite) 2020-08-31 11:58:56 -05:00
RaidMax
0dc4e12d61 another attempt to fix display of long client names/temporary t6 getinfo workaround 2020-08-18 20:11:41 -05:00
RaidMax
b59504a882 grab gametype from status for T7 2020-08-05 09:43:31 -05:00
RaidMax
6155493181 prevent action on report from activating on privileged clients 2020-07-27 16:22:07 -05:00
RaidMax
c288184171 implement action on report plugin for issue #144 2020-07-25 21:15:46 -05:00
RaidMax
88b1f08149 add kick client functionality to webfront home for issue #142 2020-07-14 14:13:40 -05:00
RaidMax
6e95a7b015 support custom master url
refactor api instatation to allow custom master url in config
2020-06-30 16:39:32 -05:00
RaidMax
bb4e51d9c8 adjustments for T6 and tekno (implement mapped dvars and default values) 2020-06-16 17:16:12 -05:00
RaidMax
bef5ffbd35 update IW5 parser 2020-05-19 11:01:08 -05:00
RaidMax
2bd895e99d implement script plugin command registration - issue #132 2020-05-11 16:20:25 -05:00
RaidMax
aff19b9577 [issue #129]
Add most kills command/macro
sneaky fix for tekno parser
2020-05-05 18:49:30 -05:00
RaidMax
267e0b8cbe [tweaks and fixes]
reenable tekno support
address vagrant thread issue
refactor game log reader creation to follow better practices
fix bot issues/address how guids are generated for bots/none provided
2020-05-04 16:50:02 -05:00
RaidMax
0b643b2099 unmeme a dvar check 2020-04-18 17:48:49 -05:00
RaidMax
8c29027b3f partial T7 (BO3) support. includes rcon communication improvements and a small fix for displaying live radar tab 2020-04-17 15:05:16 -05:00
RaidMax
b188e36786 update for new pluto iw5 rcon response 2020-04-13 19:43:24 -05:00
RaidMax
be8041b868 refactor and test log path generation to support pluto IW5 better 2020-04-13 16:16:31 -05:00
RaidMax
b63d2995ed allow auto log filepath generation for pluto iw5 2020-04-12 20:48:03 -05:00
RaidMax
8fb2394130 support for Plutonium IW5 and only show live radar tab if monitoring at least one IW4 serves 2020-04-11 18:05:18 -05:00
RaidMax
9e345752f2 update parser selection menu text during setup
update IW4 script commands gsc and plugin to give base example
fix issue with new account alias linking (I think)
2020-01-21 18:08:18 -06:00
RaidMax
7e3f632399 fix issue with PT6 guid parsing in log file 2020-01-15 18:43:52 -06:00
RaidMax
e5d009d87d merge from 2.3 2019-12-09 13:30:50 -06:00
Xerxes
1d7377f975 Fixed the PT6 parser
Reworked most of the regex.
Fixed the mapping.
This hopefully fixes all issues with it.
2019-12-04 20:08:01 +01:00
RaidMax
b086190ab0 renable weapon name in anticheat snapshot list
update migrations for unique index
fix missing total connection time
include total connection time in get client query
2019-11-25 12:05:12 -06:00
RaidMax
0ac1a4f861 Merge branch '2.3' into 2.4-pr 2019-11-18 13:07:24 -06:00
RaidMax
fb6d20e214 fix regex pattern for PT6 2019-11-18 12:29:37 -06:00
RaidMax
6cd3879bac Merge 2019-10-08 17:02:22 -05:00
RaidMax
88af032736 Update shared GUIDs 2019-09-30 13:00:44 -05:00
RaidMax
db3a20c60b merge from 2.3 2019-08-28 13:47:38 -05:00
RaidMax
27a05ce6db update api controller to support actually filtering events by server
fix up stats manager async semaphore wait
add new shared guids
fix regex parsing with empty name
2019-08-28 13:45:53 -05:00
RaidMax
ab4ce41015 Merge 2.3 into 2.4-pr 2019-07-26 10:25:05 -05:00
RaidMax
f613f0aace finish tweaks to log reader
add some more shared guids
2019-07-26 10:22:02 -05:00
RaidMax
1a9a0e48b7 lots more live radar updates 2019-07-17 12:38:00 -05:00
RaidMax
4645bd84e8 prevent partial client updates from setting things they shouldn't be *cough* mask *cough*
setup shared library for NuGet package
fix a couple things with offset detection calc
get cod4x working again
2019-06-13 19:10:08 -05:00
RaidMax
e86904b11e add a check to make sure we're not breaking EFClient entries when updating
make sure the alias is updated before banning the player as we want to link them together
update CoD4x parser to fix their breaking change
2019-06-11 08:00:14 -05:00
RaidMax
95d64df321 combined Penalty and EFPenalty
moved some classes around
2019-05-29 16:55:35 -05:00