Commit Graph

453 Commits

Author SHA1 Message Date
RaidMax
1595c1fa99 Initial implementation of configuration support for script plugins 2021-05-14 21:52:55 -05:00
LelieL91
21a9eb8716 Update DefaultSettings.json (T4, IW5, S1x) (#202)
* Update DefaultSettings.json
2021-04-30 12:35:38 -05:00
efinst0rm
e6d149736a Added T4 weapon names. (#198) 2021-04-16 13:47:58 -05:00
RaidMax
34e7d69110 Add RCon support for S1x 2021-04-16 13:35:51 -05:00
RaidMax
e777a68105 properly pass game name to game string config finder.
add weapon prefix to weapon name parser for (iw5).
add some iw3 game strings
2021-03-23 21:42:26 -05:00
Sparker
33371a6d28 Added iw6 aliases (#184) 2021-03-23 21:42:26 -05:00
RaidMax
e2ed57f674 prevent autoflag from running player has been manually unflagged 2021-03-23 10:34:44 -05:00
RaidMax
a8b331a5e5 prevent missing config from causing stats error
small advanced stats fixes
2021-03-23 10:16:27 -05:00
Sparker
802ec8cea5 Added iw6 aliases (#184) 2021-03-23 08:14:07 -05:00
RaidMax
2313c4357b add removal of obsolete plugins 2021-03-22 11:46:32 -05:00
RaidMax
c5375b661b huge commit for advanced stats feature.
broke data out into its own library.
may be breaking changes with existing plugins
2021-03-22 11:09:25 -05:00
RaidMax
c4f19e94ef implement custom tag (descriptor) feature
allow override of level names through configuration
few small fixes/improvements
2021-01-24 11:47:19 -06:00
RaidMax
c419d80b57 preemptive checks 2021-01-17 22:12:18 -06:00
RaidMax
23a33ba489 implement more robust command api and login
improve web console command response reliability and consistency
2021-01-17 21:58:18 -06:00
RaidMax
dd3ebf6b34 increase buffer size for rcon connection 2021-01-17 20:04:32 -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
f03626c3ae Another tweak for CoD4x rcon parsing. 2020-12-12 21:43:27 -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
bd3f0caf60 fix memory leak issue related to AddDbContext not working as expected 2020-11-29 16:01:52 -06:00
RaidMax
b2d282d412 include ; for timeout string 2020-11-27 22:08:13 -06:00
RaidMax
36a02b3d7b update for database provider specific migrations
fix issues with live radar
2020-11-27 21:52:52 -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
d58b24b5b2 add shortcut for rules in penalty reasons for issue #159 2020-11-18 18:48:51 -06:00
RaidMax
941d9cea73 more consistent/enhanced game penalty messages per issue #171 2020-11-17 18:24:54 -06:00
RaidMax
a574fb0d4b update index for ratings/prune old entries
small stat tweaks to add players on first kill/damage event
(instead of on connect which causes issues with slow writes)
2020-11-14 18:24:51 -06:00
RaidMax
664eb32587 fix small logging issue with loading plugins
add minigun turret to list of ignored ac weapons
2020-11-14 10:53:01 -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
e997b94b3b update unit tests 2020-11-12 19:46:17 -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
08676f1d1e implement remote assembly loading 2020-10-24 15:02:38 -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
2ab0cfa9be implement pm admins command for issue #170 2020-09-26 17:17:21 -05:00
RaidMax
a4a65a486a update GenerateGuidFromString to resolve to a stable hash code.
fix bots not showing up on live radar
2020-09-21 15:30:42 -05:00
RaidMax
cce6482541 allow tracking of "zombie" clients to support stat tracking in zm 2020-08-31 12:13:20 -05:00
RaidMax
8a8dec8bbd remove hard coded paths to make it easier for building in debug mode
auto copy script plugins/localization for local builds
2020-08-26 09:54:56 -05:00
RaidMax
2b3e21d4ba fix most played formatting issue
prevent reverse proxy to 127.0.0.1 from counting as IW4MAdmin client
copy humanizer support lib to output dir
2020-08-21 18:12:00 -05:00
RaidMax
c783a04a52 hide chat for password protected servers for issue #162 2020-08-20 10:38:11 -05:00
RaidMax
778e339a61 QOL updates for profile meta
implement filterable meta for issue #158
update translations and use humanizer lib with datetime/timespan for issue #80
2020-08-18 16:35:21 -05:00
RaidMax
1ef2ba5344 fix misaligned kick button with long names on webfront 2020-08-18 16:35:21 -05:00
RaidMax
b59504a882 grab gametype from status for T7 2020-08-05 09:43:31 -05:00
RaidMax
04a95aa58a add configurable command and broadcast command prefix for issue #149 2020-07-31 20:40:03 -05:00
RaidMax
c288184171 implement action on report plugin for issue #144 2020-07-25 21:15:46 -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
ba77e0149c disable standard console in if it has been redirected 2020-06-03 19:45:06 -05:00
RaidMax
fa79f4af73 fix issue with registering multiple script commands in command configuration 2020-05-30 14:06:04 -05:00
RaidMax
30f2f7bf09 [issue #139] client lookup and stats api 2020-05-25 13:04:44 -05:00
RaidMax
1241ac459e re-enable claims permission add/remove 2020-05-22 21:38:38 -05:00
RaidMax
6aa6af526a fix issue with counting plugin tasks causing them to be executed. why ms? 2020-05-17 17:01:13 -05:00
RaidMax
0cabf6f8a3 only fix double forward slash characters (instead of single) when sending messages
retry kicks on banned players if they're banned from webfront, but don't actually get kicked because the game doesn't process the command (looking at you T6)
allow capturing chat messages for names spoofed to an empty string
make sure mostkills uses days not month for cutoff
2020-05-16 20:55:18 -05:00
RaidMax
d3d1f31ee0 bugfixes/enhancements
prevent users from trying to set the console's level to owner
fix issue with setting multiple owners
update/improve unit tests
2020-05-16 11:54:01 -05:00
RaidMax
2bd895e99d implement script plugin command registration - issue #132 2020-05-11 16:20:25 -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
b49592d666 fix latent issue with password login due to not retreiving password/salt
set semaphore count properly for event execution throttling
2020-04-29 17:05:36 -05:00
RaidMax
c82139b88c small tweak to hopefully prevent too many events executing simultaneously 2020-04-29 16:27:24 -05:00
RaidMax
7715113b56 implement audit log view in webfront 2020-04-28 16:48:06 -05:00
RaidMax
58bfd189d0 [issue #126]
implement basic run-as functionality
2020-04-26 21:12:49 -05:00
RaidMax
8a98ed7c50 small tweak for preconnect events 2020-04-26 12:32:41 -05:00
RaidMax
5529858edd [misc bug fixes]
properly hide broadcast failure messages if ignore connection lost is turned on
fix concurent issue for update stats history that happened with new event processing
make get/set additional property thread safe
add ellipse to truncated chat messages on home
2020-04-25 19:01:26 -05:00
RaidMax
b41c4c6245 include some of the changes meant for previous build 2020-04-22 20:51:04 -05:00
RaidMax
92a26600af actually fix the session score concurrency issue
fix rare bug with shared guid kicker plugin
allow hiding of the connection lost notification
2020-04-22 18:46:41 -05:00
RaidMax
9e74dac5ed fix stat issue with concurrent threads
fix potential lost penalty if server does not response to kick request
make sure that broadcast only shows one custom say name
add unit tests
2020-04-21 17:34:00 -05:00
RaidMax
3ae2e42718 properly implement sv_sayName for custom say name
prevent trying to register live radar page for every server (oops)
optimize event processing to prevent slow plugins from affecting command processing
enable database connection resilency
trim extra characters from T7 reassembled response
2020-04-20 10:45:58 -05:00
RaidMax
0b643b2099 unmeme a dvar check 2020-04-18 17:48:49 -05:00
RaidMax
ee087f1c85 fix T7 extra null bytes in status response
fix regression bug with info response on T6
2020-04-18 10:46:55 -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
5bc1ad5926 fix regression issue with wine drive name mangling 2020-04-14 15:46:14 -05:00
RaidMax
8539223a15 add server categorization feature (issue #77) 2020-04-13 20:26:13 -05:00
RaidMax
fca47cbce0 fix regression issue with log paths oops 2020-04-13 18:15:46 -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
36af673fc7 add ability to register custom event generators for event parsers / truncate long client names fix 2020-04-04 12:40:23 -05:00
RaidMax
9fdf4bad9c fix for runaway regular expression on linux
explicitly set string dvars in quotes to allow setting empty dvars
allow piping in input from command line (#114)
update the distribution for top stats elo
prevent game log file rotation from stopping event parsing
2020-04-01 14:11:56 -05:00
RaidMax
02a784ad09 allow prompt string to have an empty/default value
upgrade some project dependencies
don't try to run events on parsers
update top players rank distribution
2020-02-17 10:05:31 -06:00
RaidMax
2e5ffe91fc fix a small bug with new line truncation missing 2020-02-12 15:11:43 -06:00
RaidMax
f430dab3a7 allow toggle of automated penalties display on the webfront
issue #112
fix small issue with script plugin loading
2020-02-12 13:13:59 -06:00
RaidMax
c3c21a7749 refactor a good bit of stuff for better dependency injection
fix regular expression for T6 log parsing
2020-02-11 16:44:06 -06:00
RaidMax
33494197e3 re-kick working as expected now 2020-02-07 11:15:21 -06:00
RaidMax
1dd88cdacb fix disconnect event being cancelled 2020-02-06 21:05:50 -06:00
RaidMax
fe380ca331 Use game time from log to ignore potential false disconnect lines - Fix for latent linking issues with multiple ips - Anticheat fix for T6 - retry kick on update if they're not allowed to connect 2020-02-06 18:35:30 -06:00
RaidMax
15e2170100 just a small fix that I forgot to include in the last build. 2020-02-03 08:21:42 -06:00
RaidMax
60ff33834e make sure we have an empty command config during initial startup, oops. 2020-02-01 13:28:05 -06:00
RaidMax
06cdaef8a4 allow Kekno to run with sv_running not returning anything :upside_down:
make sure script plugins output correct errors instead of being swallowed
prevent webfront error when webfront tab is left open on a server no longer being modified
2020-02-01 12:27:14 -06:00
RaidMax
31c259f966 merge dev changes 2020-01-31 20:22:59 -06:00
RaidMax
318a23ae5b Finish implementation of configuable command permissions 2020-01-31 20:15:07 -06:00
RaidMax
11ae91281f start work to allow customizing command properties via configuration 2020-01-26 18:06:50 -06:00
RaidMax
1fd31beb05 fix another meme 2020-01-26 15:40:00 -06:00
RaidMax
451072276d fix nuget package version for scriptcommands
fix only one server being added during setup
2020-01-26 14:08:53 -06: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
697a752be0 make the version name match the actual name for FTP deployment
fix rare issue with summing session scores
copy font to expected wwwroot dir in debug mode so we get pretty icons when developing
upgrade some packages

pretty much reworked the entire server web config to support better validation and stuff.. not really a small fix

finish web configuration changes (I think)

finish up configuration changes and update shared library nuget
2020-01-20 10:23:23 -06:00
RaidMax
7e3f632399 fix issue with PT6 guid parsing in log file 2020-01-15 18:43:52 -06:00
RaidMax
8afdb6df6f remove detailed version from csproj to hopefully force compile time set 2020-01-15 14:32:57 -06:00
RaidMax
ec994d51be fix restart command (thanks .net upgrade)
reworking a little bit of stuff to allow depedency injection to start creeping in... it's coming
2020-01-13 20:06:57 -06:00
RaidMax
cd387ca08b implement feedback from issue #91 when sv_running is off
clean up a trying to abort thread which doesn't actually work with .net core
don't log event tasks cancelled as error, because it's not
2020-01-13 16:51:16 -06:00
RaidMax
8a42239f36 updates to support new master versioning
make sure game files are copied correctly in build output
2020-01-11 20:32:27 -06:00
RaidMax
7cdfe618a2 Add missing active columns with migration 2020-01-06 11:04:36 -06:00
RaidMax
7bfadca84d fix issue accessing the wrong logger 2019-12-29 17:07:00 -06:00
RaidMax
1e1a03c9d8 fix retarded method that wasn't returning when it should have 2019-12-28 15:40:55 -06:00
RaidMax
4d3f7da48e re-enable API events 2019-12-28 10:07:37 -06:00
RaidMax
2b26b9a707 fix javascript libraries not being loaded because the stupid CDN change. MICROSOFT, IF YOU'RE LISTENING, FIX YOUR INTEGRATION WITH CDNJS THANK YOU
force demo record and increase max demos saved for IW4x
fix issue with disconnect on a not fully connected client
2019-12-27 20:37:50 -06:00
RaidMax
b251ef00c4 potential fix for a invalid operation exception on client update
change client library cdn provider as cdnjs seems broken at the moment
2019-12-27 12:10:20 -06:00
RaidMax
042fde971e (potentially) fixed object disposed issue with semaphore
fix random issue where we were trying to reset a session for a player that has not fully connected
2019-12-26 18:17:49 -06:00
RaidMax
3a06b3862d Update projects to .NET Core 3.0
Increase max sv_hostname length on master
2019-12-24 15:23:43 -06:00
RaidMax
f37e954e2f third time's the charm? 2019-12-07 20:20:44 -06:00
RaidMax
98c4a700a2 merge 2019-12-02 15:56:30 -06:00
RaidMax
3defd3f486 move all the deployment setup into 2.4 pr (#85)
* don't run build commands in release

* fix test file

* Set up CI with Azure Pipelines

[skip ci]

* Include fonts and fix automessage hidden command

* more project changes

* migration from bower to libman

* more lib man changes

* project update for sneaky commands

* add missing canvas.js dep
update projects not to have stupid extra dlls

include in previous

* update pipeline file

* update post publish script and pipeline definition

* fix broken yaml

* move encoding conversion to seperate script

* remove extra uneeded rank icons
remove garbage language files being created
remove frontend lib when done

* fix publish script path

* grab localizations through powershell

* fix broken batch 🤷

* actually fixed

* only include runtime compilation in debug mode for webfront

* don't deploy un minified css
use full jquery version

* add step to download the scss for open iconic
change the font path

* update mkdir for iconic path

* don't include old iconic css

* correct font path for real now

* copy script plugins

* lots of changes for deployment

* build the projects

* use projectdir instead of solution dir

* nerf script commands plugin
fix live radar left over command

* actually kill script command post build

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* fix the font file copy (I think)

* maybe fix delete folder issue

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines

* Update azure-pipelines.yml for Azure Pipelines
2019-12-02 15:52:36 -06: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
56008e80c7 update mapname from status query 2019-11-18 14:02:35 -06:00
RaidMax
d1886fdd20 Fix small issue with query optimization missing a FK set
Fix accidentally rename of controller method
2019-11-18 08:08:09 -06:00
RaidMax
161b27e2f2 fix alias command sending message to origin instead of target
(hopefully) fix an issue with banned players causing exception if they create events before they are kicked out
fix issues with sometimes wrong error message for timeout
show most recent IP address at top of alias list
optimization to some sql queries
2019-11-15 14:50:20 -06:00
RaidMax
f31ce6b001 allow enabling of only specific detection types
allow override of anticheat for tmw3
fix invalid cast if E.Extra is not a command
add a delay after map rotation before getting the the server info. (hopefully prevents increased lost connection notification frequency)
2019-10-23 10:40:24 -05:00
RaidMax
96e434213f refactor some event handling
add concept of blocking events
2019-10-18 13:39:21 -05:00
RaidMax
b992f4d910 add unlink command
fix parsing names with colors codes enabled
2019-10-11 15:26:13 -05:00
RaidMax
a37524c726 fix small exit exceptions
fix the live radar tab switching for .net core 3.0
change events to use "sequential" but still parallel
update the publish scripts
2019-10-09 15:51:02 -05:00
RaidMax
6cd3879bac Merge 2019-10-08 17:02:22 -05:00
RaidMax
c630f65317 update the project files even though the culprit was actually the publish file 2019-10-08 16:47:36 -05:00
RaidMax
76cfe30c0f update version number 2019-10-07 17:39:17 -05:00
RaidMax
a7872aaffd ensure that demoted clients are logged out from the webfront 2019-10-07 17:35:37 -05:00
RaidMax
c4e0b0272c update packages 2019-10-02 18:58:23 -05:00
RaidMax
524589717b Update to .NET Core 3.0 2019-09-30 18:35:36 -05:00
RaidMax
37261c9a54 update some anticheat code 2019-09-27 15:53:52 -05:00
RaidMax
f7cbf73c44 Merge branch '2.3' into 2.4-pr 2019-09-26 16:11:58 -05:00
RaidMax
1e9a87d6fa prevent penalties from being lost in edge case alias linkage
small optimization with tasks
2019-09-26 16:08:49 -05:00
RaidMax
c18be20899 add snap metric to anticheat
update various small code bits
2019-09-09 17:40:04 -05:00
RaidMax
198f596ab3 small updates to stat handling
various little tweaks
2019-09-09 17:37:57 -05:00
RaidMax
2d9b6b8394 prevent privileged client from being flagged when reported
fix issue with enum parsing on finding client
2019-08-30 13:31:23 -05:00
RaidMax
aa9dd7ac6d Merge branch '2.3' into 2.4-pr 2019-08-30 11:50:48 -05:00
RaidMax
47d5df1aa1 bump application version 2019-08-30 09:29:19 -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
7c0e37cc8e Merge branch '2.3' into 2.4-pr 2019-08-24 20:16:35 -05:00
RaidMax
a820929582 another fix because I'm retarded
bump version up
2019-08-24 14:06:23 -05:00
RaidMax
dcd1c97d37 Merge branch '2.3' into 2.4-pr 2019-08-24 11:10:43 -05:00
RaidMax
6726217354 Make stats update after 10 kills so we don't wait quite as long
Gracefully disconnect clients on shutting down again
2019-08-24 10:02:53 -05:00
RaidMax
f877ba73a9 Merge branch '2.3' into 2.4-pr 2019-08-23 18:36:28 -05:00
RaidMax
91078eec0f Update to some stat stuff to fix some latent issues 2019-08-23 18:34:31 -05:00
RaidMax
85d88815f1 top stats info is per server instead of total when selecting each tab
fix issue with ingame name failing to match when using color codes
only show live radar for servers that support it
2019-08-10 09:08:26 -05:00
RaidMax
3051d44b0d show trigger regex for profanity determent plugin 2019-08-08 15:30:06 -05:00
RaidMax
08d250156c fix login issue
strip colors for logging
feature implementation for issue #76
2019-08-04 20:38:55 -05:00
RaidMax
bb42861a92 finish color code support (I think) 2019-08-02 18:04:34 -05:00
RaidMax
dfecb99d07 Merge branch '2.3' into 2.4-pr 2019-08-01 19:45:44 -05:00
RaidMax
1c66ac9117 fix issue with log reader
fix issue with searching names on webfront that could be parsed to hex
2019-08-01 19:42:44 -05:00
RaidMax
55fb36863c fix copy paste error in penalty loader
start allowing color codes from ingame
2019-08-01 09:37:33 -05:00
RaidMax
034d887abd modify how reading from file works to prevent accidental overreads 2019-07-31 20:15:29 -05:00