1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-08 14:18:20 -05:00

24 Commits

Author SHA1 Message Date
RaidMax
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
RaidMax
ebe69a94ad implement new eventing system 2023-04-05 09:54:57 -05:00
RaidMax
b422e72c71 support per-command override of rcon timeouts / update t5 parser to reflect 2022-07-01 09:59:11 -05:00
RaidMax
4181bf1da7 fix intermittent issue with game interface during connection loss with servers 2022-06-01 11:25:11 -05:00
RaidMax
1b59941ab2 only unload plugins once at shutdown
clean up some doc warnings
2022-03-24 11:34:32 -05:00
RaidMax
57558f6223 add cancellation token for rcon connection to allow more granular control 2022-02-28 20:44:30 -06:00
RaidMax
6f6dd035ee Initial .net 6 upgrades 2022-01-26 15:26:25 -06:00
RaidMax
d309565350 add one log indicator for games (Pluto IW5) that don't log to mods folder even when fs_game is specified. 2021-06-07 16:58:36 -05:00
RaidMax
7e01dc3fc2 add initial CS:GO support 2021-06-03 10:51:03 -05:00
RaidMax
3e1db4b00a fix introduced issue with map/map_rotate commands 2020-11-11 18:53:23 -06:00
RaidMax
a749185468 grab gametype from status for T7 2020-08-05 09:43:31 -05:00
RaidMax
e0cbdf76d5 adjustments for T6 and tekno (implement mapped dvars and default values) 2020-06-16 17:16:12 -05:00
RaidMax
c7005c7ac0 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
af380d3744 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
c17ee0a352 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
89b690938a update mapname from status query 2019-11-18 14:02:35 -06:00
RaidMax
39d31dbe3c combined Penalty and EFPenalty
moved some classes around
2019-05-29 16:55:35 -05:00
RaidMax
f79d9d8469 update parsers to include game name
prompt to enter log path if game doesn't generate
2019-02-05 18:02:45 -06:00
RaidMax
0860ce6f62 Add commenting for parsers
rename IW4*Parser to Base*Parser
2019-02-02 19:40:37 -06:00
RaidMax
67aa9953c0 Finish preliminary parser for TeknoMW3 2019-02-02 18:54:30 -06:00
RaidMax
88992d1a7b Fix bug with webfront spamming issues when running
Remove IW5 parser
Begin implementation of dynamic parsers
2019-01-26 20:33:37 -06:00
RaidMax
a320389736 started work on getting the restart functionality in the gamelogserver
fix bug with unbanned players still showing as banned via lock icon
move player based stuff into client class
finally renamed Player to EFClient via partial class
don't try to run this build because it's in between stages
2018-11-05 21:01:29 -06:00
RaidMax
b9c11d48c2 abstracting rcon parsing and event parsing
changed Event to GameEvent
finally fixed the stats NaN
check ip for bans
consolidated console, profile, and logout into dropdown
make sure game is iw4 before using :^ in say
fix pm not showing from name if in web console
show time left of temban on profile
2018-04-13 01:32:30 -05:00
RaidMax
15372d0726 fixed loader offset
some stat stuff still not working
made seperate parsers
2018-04-11 17:24:21 -05:00