1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00
Commit Graph

1475 Commits

Author SHA1 Message Date
a1a69242f7 Fix conditional logic for parsing ignored events
The conditional statement in the event parsing logic was incorrect, causing all events to be parsed regardless of the ignore flag. This change corrects the logic to ensure that only non-ignored events are parsed.
2024-09-06 19:18:40 -05:00
e956ab4d1a support hot reload of plugin code in debug configuration 2024-08-27 10:10:58 -05:00
ac9c26817d Remove debug-only Razor runtime compilation setup (#340)
Resolves issues with new environment deployment for runtime namespace resolution failure.
2024-08-19 23:28:21 +01:00
f4876bf910 Check before installing Excubo.WebCompiler (#341)
Checks if it's installed and its version before trying to install/update it. Current behaviour reinstalls the tool on each rebuild. Reduces build time from 53s to 17s in testing.
2024-08-19 00:43:45 +01:00
2f03d4dc82 Include H2M Game enum for Data 2024.8.16.1-prerelease 2024-08-16 08:52:46 -05:00
88d05f5a8a H2M-Mod Support (#337)
* feat: add h2m support

* fix: remove unneeded comma
2024-08-12 20:05:25 -05:00
4d1e7c2692 Refactor PromptClientInput to accept string array for prompt (#336)
* Refactor PromptClientInput to accept string array for prompt

Updated the `PromptClientInput` method to accept a string array instead of a single string. This change ensures that multiple prompts can be handled, improving input flexibility and client communication. Additionally, modified related method calls to maintain consistency with the new input type.

* Refactor PromptClientInput to support parsed result and errors

Updated PromptClientInput to handle parsed input results and return error messages instead of raw strings. Introduced ParsedInputResult<TResult> class to encapsulate parsing results and errors, enhancing client validation and feedback mechanism.
2024-08-05 16:09:50 +01:00
83f80b4fd2 fix persistent id parsing for low bits with leading 0s 2024-08-02 13:54:27 -05:00
27a9a2eebf Using Humaniser instead of fixed string... (#335)
Update tooltip text generation in MetaRegistration

The tooltip text generation in MetaRegistration.cs is updated to use Humanizer's 'HumanizeForCurrentCulture' method with 'TimeUnit.Hour' as maxUnit. This change leverages the Humanizer library to provide more precise and localized time formatting.
2024-07-24 18:52:02 +01:00
5dca8717b9 Using IRemoteCommandService to handle redirect for Command Execution via API (#333) 2024-07-23 00:38:55 +01:00
b1810b0517 Add a tooltip for client profile total playtime for hours (#334) 2024-07-23 00:38:43 +01:00
bc3bd5b0f2 Using TellAsync instead of Tell to prevent Event flooding. (#332) 2024-07-22 20:43:54 +01:00
95523885b8 support for loading minimum permission level from config for script commands 2024-07-14 11:21:47 -05:00
a34ac7d224 prevent auto parsing of base gamescript and anticheat events to mitigate unneeded processing time 2024.7.13.1-prerelease 2024-07-12 22:19:42 -05:00
135fc98e1c use correct EFClient return time for ScriptPluginExtensions and provide IPAddress on game interface data 2024-07-12 22:08:23 -05:00
ee0b40d657 Improve cancellation token handling in Utilities.cs (#331)
A using statement was added to ensure proper disposal of the CancellationTokenSource. Additional error handling was also included to catch an OperationCanceledException and prevent it from causing unintended side effects. The client response is now properly disposed in the finally block.
2024-07-06 19:30:40 -05:00
036a467bd0 Add PromptClientInput method in Utilities.cs
A new utility method named 'PromptClientInput' has been added in the Utilities.cs file. This method accepts client, prompt, and validator as inputs and allows taking action based on client responses. Included subscription and unsubscription to the 'ClientMessaged' game event, and handling of cancellation token to control the execution flow.
2024-07-06 16:47:55 -05:00
78c5b43ed4 fix issue with game interface and increase debug logging 2024.7.6.1-prerelease 2024-07-06 15:16:50 -05:00
d6112840e6 Revert commented out Utilities CancellationToken timeout for debug environments. 2024-07-05 23:10:21 +01:00
16c0ba7c20 Update .NET download in README.md 2024-07-04 15:02:16 -05:00
6a2ac5ad82 update T7 retail parser version to prevent conflict with boiii parser 2024.7.4.1-prerelease 2024-07-04 11:02:04 -05:00
cc8a6df463 remove md5 check for windows update script as content-md5 header no longer appears to be transmitted 2024-07-04 11:02:04 -05:00
f4946a9e76 tweak team regex for kill/damage 2024-07-04 11:02:04 -05:00
3857c48bd2 update for BOIII parsing 2024-07-04 11:02:04 -05:00
eac9b8f150 remove some build warnings 2024-07-04 11:02:04 -05:00
24276d8057 use wget instead of curl for geolocation download 2024-07-04 11:02:04 -05:00
19e5e06d5d remove unneeded xml documentation file in build 2024-07-04 11:02:04 -05:00
b911a67287 add automatic download of newest geolocation database to build action 2024-07-04 11:02:04 -05:00
5c3b792f17 update nuget revision generation 2024-07-04 11:02:04 -05:00
2674245910 copy missing update scripts in build action 2024-07-04 11:02:04 -05:00
54abc45d28 trigger workflow 2024-06-30 21:19:39 -05:00
4996220222 fix artifact path 2024-06-30 21:15:15 -05:00
f14479d317 Merge branch 'develop' into release/pre 2024-06-30 21:10:29 -05:00
462dbb6f8b fix T7 status IP parsing 2024.7.1.1-prerelease 2024-06-30 20:46:40 -05:00
e168bbf055 fix artifact zip path 2024-06-30 20:46:23 -05:00
71136bf3b4 update readme .NET version 2024-06-30 20:21:10 -05:00
4236ae5a6e Merge branch 'develop' into release/pre 2024-06-30 12:09:13 -05:00
8e11c89b6e update build action 2024.6.30.1-prerelease 2024-06-30 12:07:46 -05:00
966a297132 update build pipeline for official release 2024-06-30 11:53:05 -05:00
5a33567c73 tweak game interface plugin for consistency 2024-06-30 11:52:31 -05:00
a24aaf10d4 use cache method for build revision 2024-06-29 22:46:00 -05:00
57143b1acf update build pipeline for sequential revision #s 2024-06-29 22:33:16 -05:00
b2c2ab03f3 fix issue with manual log path input on initial configuration 2024-06-29 22:17:18 -05:00
ba633be034 Refactor MuteManager constructor and clean up code (#329)
The MuteManager constructor within the Mute plugin has been refactored for better dependency injection. This change simplifies the class construction by directly initializing fields in the constructor parameters. Additionally, several minor code improvements have been made, including spelling corrections and replacing some conditional checks for readability. Other arrays or methods in the plugin are also revised for better maintainability and readability of the code.
2024-06-29 21:50:00 -05:00
40f912542b only run local build script in debug 2024-06-29 17:01:59 -05:00
451b25ffb2 simplify build script for local builds 2024-06-29 16:54:06 -05:00
74ad200b8e test generate sequential build number 2024-06-29 15:09:22 -05:00
accf5ba043 fix missing quotes 2024-06-29 14:40:22 -05:00
bcad270aaa update nuget action to require approval and set specific suffix depending on pr or push 2024-06-29 14:38:06 -05:00
63e1f31c21 fix remote plugin loading 2024-06-29 11:14:09 -05:00