Commit Graph

482 Commits

Author SHA1 Message Date
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
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
09f37d7941 clean up some logic related to tracking stats on player join 2020-11-18 16:28:14 -06:00
RaidMax
103d2726c2 persist say command messages with webfront denotation to chat log
per issue #159
2020-11-18 09:08:24 -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
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
59f1699228 fix issue with button detection 2020-10-17 10:55:29 -05:00
RaidMax
04217e96ee fix anticheat detection type logic 2020-10-17 10:54:54 -05:00
RaidMax
c41fc27a1a fix introduced bug :) 2020-09-30 21:00:40 -05:00
RaidMax
1f1f4de67a anticheat tweaks
- reset recoil state on map change
- refactor config
- remove m21 from chest detection
- allow ignored client ids
2020-09-30 17:15:47 -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
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
2be719d8f9 add website override mapping to tekno parser (_website -> sv_clanWebsite) 2020-08-31 11:58: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
4735864113 remove some left over warnings from deprecated packages 2020-08-19 14:50:49 -05:00
RaidMax
d70d8fd0ae merge 2020-08-18 20:15:46 -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
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
b59504a882 grab gametype from status for T7 2020-08-05 09:43:31 -05:00
RaidMax
f040dd5159 fix mislabled dragunov name in live radar 2020-08-01 18:14:29 -05:00
RaidMax
6c00cceb7a update stats plugin to properly use the new configurable broadcast prefix. 2020-08-01 09:58:23 -05:00
RaidMax
6155493181 prevent action on report from activating on privileged clients 2020-07-27 16:22:07 -05:00
RaidMax
297e2c283f Merge branch '2.4-pr' of https://github.com/RaidMax/IW4M-Admin into 2.4-pr 2020-07-27 11:26:37 -05:00
RaidMax
c288184171 implement action on report plugin for issue #144 2020-07-25 21:15:46 -05:00
RaidMax
021c0244b4 remove old test project 2020-07-15 10:11:37 -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
b8d5495055 include client name in stats info result 2020-05-30 14:14:42 -05:00
RaidMax
30f2f7bf09 [issue #139] client lookup and stats api 2020-05-25 13:04:44 -05:00
RaidMax
5042ea6c91 [issue 135] enhanced search
implement enhanced search for chat messages
2020-05-22 20:29:41 -05:00
RaidMax
bef5ffbd35 update IW5 parser 2020-05-19 11:01:08 -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
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
33712f3d7d update shared library nuget version 2020-04-28 18:19:46 -05:00
RaidMax
58bfd189d0 [issue #126]
implement basic run-as functionality
2020-04-26 21:12:49 -05:00
RaidMax
3645cf53ff update default profanity filters to have something a little more usable 2020-04-26 15:57:51 -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
ff011be8a6 unmeme the build 2020-04-22 21:08:25 -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
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
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
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
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
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
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
a53c2f5c44 small change to detemine valid anticheat log lines
fix new configuration generation bug as result of last pr
2020-01-20 11:49:56 -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
943808562f fix error code page for things over than 404s
allow request token when not logged in
2020-01-14 18:56:23 -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
23c78997ac Fix anticheat issue with needing index casting. IW you seem a little sloppy there... 2020-01-06 18:43:00 -06:00
RaidMax
32e1af0ffb fix live radar directory and a few minimap names 2019-12-28 17:53:41 -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
c9e6ce0bca fix authorize issue on penalty info after upgrading .NET Core runtime targets 2019-12-25 21:05:57 -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
e5d009d87d merge from 2.3 2019-12-09 13:30:50 -06:00
RaidMax
890c419133 Fix color code tag helper not being loaded 2019-12-07 10:49:40 -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
9db38a130c fix stat controller build plugins in correct mode 2019-12-03 16:27:26 -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
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
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
4872e2e8c4 fix issue with top stats query and client evaluation 2019-10-09 18:51:50 -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
068e943fd3 update values for snap and offset
fix some issues from .NET Core 3.0 upgrade
2019-10-07 10:26:07 -05:00
RaidMax
524589717b Update to .NET Core 3.0 2019-09-30 18:35:36 -05:00
RaidMax
88af032736 Update shared GUIDs 2019-09-30 13:00:44 -05:00
RaidMax
37261c9a54 update some anticheat code 2019-09-27 15:53:52 -05:00
RaidMax
082776aca5 prevent "laggy" angles from being tracked 2019-09-10 17:50:23 -05:00
RaidMax
483b7917ac Merge branch '2.3' into 2.4-pr 2019-09-10 17:26:48 -05:00
RaidMax
7f7353c505 only count hits for valid recoil detection 2019-09-10 17:24:32 -05:00
RaidMax
adc73eb7ff merge from 2.3 2019-09-09 17:41:58 -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
148d28eaca Merge branch '2.3' into 2.4-pr 2019-08-30 17:52:35 -05:00
RaidMax
58a73e581f fix rare issues when converting encodings
add readme for AC
2019-08-30 17:24: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
7c0e37cc8e Merge branch '2.3' into 2.4-pr 2019-08-24 20:16:35 -05:00
RaidMax
11d2df1fe8 small stat changes 2019-08-24 20:15:50 -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
c1a825f8f2 Merge branch '2.3' into 2.4-pr 2019-08-23 21:28:09 -05:00
RaidMax
563c73221e actually fix it here 2019-08-23 21:27:36 -05:00
RaidMax
d35001049f Merge branch '2.3' into 2.4-pr 2019-08-23 19:12:28 -05:00
RaidMax
652f3fb86b Fix small issue with saving client kills multithreaded 2019-08-23 19:11:36 -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
8fc85ef4c1 have graph color generated by css so that MS Edge doesn't freak out when using rgba
don't do simple word check on offensive name
2019-08-10 17:35:34 -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
b8a310bb07 prevent flag icon from showing on banned profiles
implement automated penalty info for profanity determent issue #75
2019-08-06 13:36:37 -05:00
RaidMax
d11a5f862b add missing dragunov to the live radar weapons
color code process names in chat context
2019-08-04 21:25:56 -05:00
RaidMax
75378400e7 Add flag icon on client profile 2019-08-04 17:06:07 -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
9f3f344daa add a bit more logged for when live radar fail to update
update killhouse map offsets (it's still wrong though)
2019-07-29 12:08:25 -05:00
RaidMax
ebe85a9ded Merge branch '2.3' into 2.4-pr 2019-07-27 17:50:25 -05:00
RaidMax
06af995202 prevent certain shotguns, and shotgun attachments from being used for no recoil detection 2019-07-27 17:46:48 -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
2b8d8fc4b7 Merge 2.3 into 2.4-pr 2019-07-25 10:01:20 -05:00
RaidMax
ac32034910 optimize index for rating history
update log server to prevent delays or missed information
2019-07-24 19:15:07 -05:00
RaidMax
9665d2d457 fix issue with duplicate js function names for loader
hide flagged status of users on webfront unless logged in (will still show the level if they report someone because cba to update the view component w/out auth status)
add terminal to the radar maps
2019-07-24 10:36:37 -05:00
RaidMax
d73d68d9f4 increase master history to 7 day, up from 1 day 2019-07-21 17:14:44 -05:00
RaidMax
38f1169061 finished server selection for live radar and adding it as button to home screen
only update flag for recent players if country code is available
2019-07-19 10:33:00 -05:00
RaidMax
5c90228320 Move folder structure for radar plugin 2019-07-17 13:26:48 -05:00
RaidMax
4e99046874 merge 2019-07-17 13:09:25 -05:00
RaidMax
64b320614b add images for radar to source control
cleanup some nuget packages
2019-07-17 13:00:30 -05:00
RaidMax
7b5f3e8e83 move some stuff for live radar for compiled views
add chat icon to send messages to servers on server view
2019-07-17 12:38:02 -05:00
RaidMax
748841776f More radar tweaks 2019-07-17 12:38:02 -05:00
RaidMax
edfbb92a3f can you say more radar updates? 2019-07-17 12:38:01 -05:00
RaidMax
1a9a0e48b7 lots more live radar updates 2019-07-17 12:38:00 -05:00
RaidMax
d27f1ded36 tweak initial live radar 2019-07-17 12:38:00 -05:00
RaidMax
e5cd824c99 start work for live radar 2019-07-17 12:37:24 -05:00