From 52cc5a30e6f9c4c3a9c793648c59554e14a6b40e Mon Sep 17 00:00:00 2001 From: RaidMax Date: Mon, 26 Feb 2018 22:24:19 -0600 Subject: [PATCH] kick clients with default name or an inuse name fixed regular expression not being escaped when matching names fixed reset stats fixed duplicate kills --- Admin/Application.csproj | 4 +- Admin/Server.cs | 27 +++++- Plugins/EventAPI/EventAPI.csproj | 2 +- Plugins/EventAPI/Plugin.cs | 60 +----------- Plugins/SimpleStats/Cheat/Detection.cs | 91 +++++++++++++++++++ Plugins/SimpleStats/Cheat/Thresholds.cs | 37 ++++++++ Plugins/SimpleStats/Commands/ResetStats.cs | 2 +- Plugins/SimpleStats/Helpers/ServerStats.cs | 6 +- Plugins/SimpleStats/Helpers/StatManager.cs | 20 +++- Plugins/SimpleStats/Plugin.cs | 6 +- Plugins/SimpleStats/StatsPlugin.csproj | 2 + SharedLibrary/Commands/NativeCommands.cs | 1 - .../PublishProfiles/FolderProfile.pubxml | 4 +- WebfrontCore/WebfrontCore.csproj | 4 + 14 files changed, 190 insertions(+), 76 deletions(-) create mode 100644 Plugins/SimpleStats/Cheat/Detection.cs create mode 100644 Plugins/SimpleStats/Cheat/Thresholds.cs diff --git a/Admin/Application.csproj b/Admin/Application.csproj index 17914b731..3077fb01e 100644 --- a/Admin/Application.csproj +++ b/Admin/Application.csproj @@ -405,7 +405,6 @@ copy /Y "$(SolutionDir)_customcallbacks.gsc" "$(SolutionDir)BUILD\userraw\script copy /Y "$(TargetDir)$(TargetName).exe" "$(SolutionDir)BUILD" copy /Y "$(TargetDir)IW4MAdmin.exe.config" "$(SolutionDir)BUILD" -copy /Y "$(ProjectDir)lib\Kayak.dll" "$(SolutionDir)BUILD\lib" xcopy /Y /I /E "$(SolutionDir)SharedLibrary\$(OutDir)*" "$(SolutionDir)Admin\Lib" xcopy /Y /I /E "$(ProjectDir)webfront\*" "$(SolutionDir)BUILD\Webfront" @@ -418,7 +417,8 @@ if $(ConfigurationName) == Release-Stable powershell.exe -file "$(SolutionDir)DE - xcopy /Y "$(SolutionDir)BUILD\Plugins" "$(TargetDir)Plugins\" + +