Commit Graph

26 Commits

Author SHA1 Message Date
Archangel 4c7fdf1471 Set change I made during testing back 2025-08-21 16:21:08 +02:00
Archangel d413a6e9c5 Remove TraderStore, use DatabaseService as the source of truth 2025-08-21 16:18:41 +02:00
Archangel ff3d1091d8 Handle being able to read JSONC files by default 2025-08-16 16:13:13 +02:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Archangel a2ddd7ae17 Converter fixes
- Various nullability warnings removed
- Made CanConvert on a few of them a bit more strict
2025-07-25 16:28:22 +02:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Jesse 533a7356fd Add new service to handle profile migrations (#468)
* Add new service to handle profile migrations

* Handle various null checks

* Remove unecessary assignments

* Further works on this:

- Loads profiles as JObject's initally, so migration can take place on profiles that don't have proper compatability
- Adds prerequisite migrations, and sorts them after one another

* Throw exception if profile can't be deserialized after migration

* Cleanup & use profile version

* Further migrations work, support 3.10 & 3.11 profiles upgrading to 4.0

* Update parameter name
2025-07-11 13:11:02 +01:00
Chomp 01cd251b68 Moved more code into extension methods 2025-07-04 19:29:43 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Jesse 354adf2c0a Add File validation (#344)
* Add file validation

* Revert "Added checks.dat build script (#343)"

This reverts commit 39228f88e705b58858d162256a5b5e10fe99148c.

* Update to use pwsh

* Wrap code in using
2025-06-02 20:21:49 +01:00
hulkhan22 210bdb2d60 Fix for tests randomly failing when run altogether 2025-06-01 02:33:19 +02:00
hulkhan22 18bd0957fd Fix the damn tests 2025-05-31 01:40:47 +02:00
Chomp 6ee32bc257 Merge pull request #315 from sp-tarkov/async-deserialize
Small async changes
2025-05-30 14:53:45 +01:00
Cj f30dda24e3 Json util refactor 2025-05-30 09:10:52 -04:00
Archangel f5c1fe7384 Add async deserialization methods 2025-05-30 14:46:07 +02:00
hulkhan22 21382a1e06 Fix server exception at raid end when client sends bantype data (#257) 2025-05-18 19:38:13 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
Alex 222ca2e274 Replaced Serilog for custom logger 2025-04-24 16:29:36 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 74f755af61 Implemented LogWithColor along side module changes, newtonsoft will always send a string 2025-04-16 13:00:01 +01:00
Chomp 1e409982cf Added type for HandlerDamage 2025-04-12 18:17:05 +01:00
CWX 52d1514f82 Fix repairing Buffs and botgen buffs 2025-04-10 17:44:27 +01:00
Chomp 99dec1c9a3 Updated DeathCase.DeathCause to use enum + same for other properties to match client 2025-04-05 11:15:39 +01:00
Chomp 8c0470df36 Made various methods static + updated private methods to be protected 2025-03-14 19:16:26 +00:00
Archangel 744c14b72c Add basic method to register custom Json converters 2025-03-08 13:34:25 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00