From 9758e72f6ba5dbf8a823fac028b6d542545ed645 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 3 Oct 2017 18:17:35 -0500 Subject: [PATCH] fixed misc issues and added stats page to webfront --- Admin/Application.csproj | 13 +- Admin/Kayak.cs | 12 +- Admin/Server.cs | 10 +- Admin/WebService.cs | 22 +- Admin/lib/SharedLibrary.dll | Bin 107008 -> 109056 bytes Admin/version.txt | 3 +- Admin/webfront/images/minimap_mp_rust.png | Bin 0 -> 187613 bytes Admin/webfront/images/minimap_mp_terminal.png | Bin 0 -> 113072 bytes Admin/webfront/main.css | 38 +++- Admin/webfront/stats.html | 134 ++++++++++++ Plugins/FastRestart/Plugin.cs | 4 +- Plugins/MessageBoard/Forum.cs | 2 +- Plugins/SimpleStats/IW4Info.cs | 10 +- Plugins/SimpleStats/MinimapConfig.cs | 70 +++++++ Plugins/SimpleStats/Plugin.cs | 195 +++++++++++++++--- Plugins/SimpleStats/StatsPage.cs | 67 ++++++ Plugins/SimpleStats/StatsPlugin.csproj | 3 +- Plugins/Tests/Plugin.cs | 9 +- Plugins/Welcome/WelcomePlugin.csproj | 4 +- SharedLibrary/Helpers/ParseEnum.cs | 24 +++ SharedLibrary/Helpers/ThreadSafe.cs | 48 +++++ SharedLibrary/Helpers/Vector3.cs | 44 ++++ SharedLibrary/Player.cs | 5 - SharedLibrary/SharedLibrary.csproj | 2 + SharedLibrary/Utilities.cs | 24 ++- SharedLibrary/WebService.cs | 3 +- 26 files changed, 677 insertions(+), 69 deletions(-) create mode 100644 Admin/webfront/images/minimap_mp_rust.png create mode 100644 Admin/webfront/images/minimap_mp_terminal.png create mode 100644 Admin/webfront/stats.html create mode 100644 Plugins/SimpleStats/MinimapConfig.cs create mode 100644 Plugins/SimpleStats/StatsPage.cs create mode 100644 SharedLibrary/Helpers/ParseEnum.cs create mode 100644 SharedLibrary/Helpers/ThreadSafe.cs create mode 100644 SharedLibrary/Helpers/Vector3.cs diff --git a/Admin/Application.csproj b/Admin/Application.csproj index ee6fbf3c3..6790dae91 100644 --- a/Admin/Application.csproj +++ b/Admin/Application.csproj @@ -156,6 +156,15 @@ + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + @@ -351,11 +360,11 @@ copy /Y "$(ProjectDir)lib\Kayak.dll" "$(SolutionDir)BUILD\lib" xcopy /Y /I /E "$(ProjectDir)webfront\*" "$(SolutionDir)BUILD\Webfront" -if $(ConfigurationName) == Release powershell.exe -file "$(SolutionDir)DEPLOY\publish_nightly.ps1" 1.4 +if $(ConfigurationName) == Release-Nightly powershell.exe -file "$(SolutionDir)DEPLOY\publish_nightly.ps1" 1.4 if $(ConfigurationName) == Release-Stable powershell.exe -file "$(SolutionDir)DEPLOY\publish_stable.ps1" 1.4 - xcopy "$(SolutionDir)BUILD\plugins" "$(TargetDir)plugins" /Y + xcopy /Y "$(SolutionDir)BUILD\Plugins" "$(TargetDir)Plugins\"