1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00
Commit Graph

28 Commits

Author SHA1 Message Date
edd81d903b add T6 to list of games requiring delay before reading rcon response 2024-11-28 20:53:21 -06:00
34af7a332c Update projects to .net 8 (#326)
* Update codebase to target .NET 8.0 and improve JSON serialization

This commit switches our target framework from .NET 6.0 to .NET 8.0 and replaces Newtonsoft.Json with System.Text.Json for serialization. The JsonConverter classes have been updated to support the new JSON model and some enhancements were applied to the codebase such as fixing a command property and updating various package references.

* Align with Develop

* Update SharedLibraryCore package version

The version of the SharedLibraryCore package reference has been updated across multiple projects from '2024.2.4.85' to '2024.2.5.9'. Meanwhile, version within SharedLibraryCore.csproj has been changed from '2024.02.04.085' to '2024.01.01.1'. Changes also include removal of .NET 8 requirement notice and reenabling of status upload to master communicator.

* Update properties in IRConParser and IRConParserConfiguration to be settable

The properties in the `IRConParser` and `IRConParserConfiguration` interfaces were updated to include setters. Previously, the properties in these interfaces were read-only. This change allows for the modifications and extensions of properties defined, thereby bolstering flexibility for the handling of games and parsers.

* Replace RestEase with Refit in API usage

Refit has been implemented as a replacement for RestEase in all API calls. As such, all related code, parameters and imports have been adjusted to function with Refit. Logic has also been added to handle certain Refit-specific behaviours. Occurrences of the RestEase package have been removed from the project.

* Enable auto-redirect in HttpClient

The HttpClient instance used in Application/Main.cs has been modified to automatically follow redirect responses. This was accomplished by adding "AllowAutoRedirect = true" to the HttpClientHandler used when creating the HttpClient.

---------

Co-authored-by: Amos <amos2580@hotmail.co.uk>
2024-06-22 10:19:06 -05:00
c9dee27a0c remove unneeded constructor param for crypto provider 2023-07-30 14:30:16 -05:00
a2c9825a55 implement secure rcon for IW4x 2023-07-28 15:34:27 -05:00
039e37be1f fix issue with CS:GO connector 2023-06-11 17:30:06 -05:00
c24e838bb5 add example module to game interface. convert gi command registration to a iw4madmin request 2023-06-06 12:09:20 -05:00
256616cef5 update to cod rcon parser for windows socket quirk with UDP WSAECONNRESET 2023-04-21 20:43:33 -05:00
d64ab1ad0e apply cod4 rcon fix for waw too 2023-04-10 14:44:58 -05:00
59acaadb92 cleanup and simplify the CoD RCon implementation 2022-10-23 14:03:57 -05:00
9cc3733db7 possible improvements for game interface rcon operations 2022-10-13 13:53:28 -05:00
f01f9d3292 fix rcon issue on restart 2022-07-09 20:57:00 -05:00
b422e72c71 support per-command override of rcon timeouts / update t5 parser to reflect 2022-07-01 09:59:11 -05:00
b1b206585e update for pluto t5 rcon issue 2022-06-03 17:01:58 -05:00
d12c15253e fix rcon issue 2022-04-25 15:39:30 -05:00
5ec924ba05 tweak cod rcon connection and fix max health for hide integration command 2022-03-05 13:13:00 -06:00
760a85c9f8 more cod rcon tweaks 2022-03-03 08:54:17 -06:00
da991a1867 hopefully fix some issues with rcon socket 2022-03-02 18:21:08 -06:00
73d20a5408 tweak rcon timeout for script calls 2022-03-01 12:46:01 -06:00
57558f6223 add cancellation token for rcon connection to allow more granular control 2022-02-28 20:44:30 -06:00
cf2245a874 more integration tweaks
add configurable flood protect interval for rcon
2022-02-08 12:03:55 -06:00
04b5bd0e73 small optimizations 2022-02-02 16:21:08 -06:00
6f6dd035ee Initial .net 6 upgrades 2022-01-26 15:26:25 -06:00
1f0ff71b7b improve connection resets in CSGO 2022-01-26 15:20:10 -06:00
dfd5a3fae8 make connection attempts for CoD configurable as "ServerConnectionAttempts" 2021-09-18 18:25:02 -05:00
19b5c456a5 support hostnames for server config 2021-07-11 17:26:30 -05:00
bf4234b2c6 Additional CSGO compatibility improvements 2021-06-16 08:53:50 -05:00
d314d7ba2c improve CS:GO compatibility 2021-06-11 11:52:30 -05:00
7e01dc3fc2 add initial CS:GO support 2021-06-03 10:51:03 -05:00