Commit Graph

2790 Commits

Author SHA1 Message Date
Chomp 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
chompDev c8faa33b51 .NET Format Style Fixes 2025-07-14 21:30:15 +00: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
Chomp 26afa19387 made use of primary constructor inside Router.cs 2025-07-14 20:03:11 +01:00
Chomp 6f3ce60cec Simplified calls to .Remove() 2025-07-14 20:02:46 +01:00
Chomp 5ef2271a29 Converted collections to their frozen counterparts for improved lookup speed 2025-07-14 19:56:20 +01:00
Chomp 3aa13dd46b Removed reflection from AdjustBotAppearanceValues
More string to MongoId conversions
2025-07-14 18:42:42 +01:00
Chomp 0ec5aeab91 Removed FilterBlacklistedGear, same functionality can be done via editing the equipment's weighting to 0 2025-07-14 17:57:32 +01:00
Chomp 4d1ef0d326 Improved FilterBlacklistedGear logic 2025-07-14 17:41:25 +01:00
Chomp d99416a5a4 Removed use of reflection inside RemoveChristmasItemsFromBotInventory
Replaced more strings with mongoIds
2025-07-14 17:32:09 +01:00
Chomp e148f5a998 Flag RandomisedResourceDetails as nullable 2025-07-14 16:03:35 +01:00
Chomp 585a91afcc Removed reflection from GetBotEquipmentSettingFromConfig 2025-07-14 15:54:54 +01:00
Chomp fba084639c Add back incorrectly removed properties that are accessed via reflection + improved dictionary access 2025-07-14 15:42:50 +01:00
Chomp 04ffbce106 Improved InsuranceController.Cost handling of duplicate Ids + made use of MongoIDs 2025-07-14 14:57:01 +01:00
Refringe 7cb286c659 Updates ModID property to ModGuid (#480)
* Updates `ModID` property to `ModGuid`

This will better align with what it's referred to elsewhere.

* Updated `ModGuid` Docblock

Updated the `ModGuid` docblock to reference the ideal use of reverse domain name notation.

* Updated `summary` to use `see` tag for reference link

* Updated `summary` to include line break

* Updated `summary` to include HTML line break
2025-07-13 19:38:50 +01:00
Chomp d6613e6dbb Updated items with pve items data #479 2025-07-12 19:02:13 +01:00
Chomp e5362bbe82 Merge pull request #476 from sp-tarkov/improve-migration-handling
Improve character voice migration
2025-07-12 15:10:53 +01:00
Chomp 31a904224e Remove unused properties from configs, cleanup nullability (#475) 2025-07-12 14:56:48 +01:00
R3ality e31b6a4981 Merge pull request #474 from R3ality/blacklist-labyrinth-keys
Blacklist Labyrinth spawn chamber puzzle keys
2025-07-12 14:55:40 +01:00
Archangel 2da3142d61 Improve character voice migration 2025-07-12 14:48:20 +02:00
Archangel 73269806cc Remove unused properties from configs, cleanup nullability 2025-07-12 14:24:21 +02:00
Chomp 5eaf177f67 use correct Ids 2025-07-12 12:13:43 +01:00
Chomp 2d56fdbf85 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-07-12 10:58:43 +01:00
Chomp 64e6817e50 Added prestige dogtag 3 + 4 to reward blacklist 2025-07-12 10:54:25 +01:00
Chomp 951a1f510f Merge pull request #473 from sp-tarkov/fix-sort-by-rating
Fix sort by rating (#467)
2025-07-11 18:23:03 +01:00
Archangel 8be5b2845a Fix sort by rating (#467) 2025-07-11 18:00:31 +02:00
Chomp eefc9de330 Merge pull request #472 from sp-tarkov/wipe-match-live
Restore lifetime data on profile wipe / prestige to match live
2025-07-11 15:56:17 +01:00
Archangel d535dd338e Restore lifetime data on profile wipe / prestige to match live 2025-07-11 16:23:40 +02:00
Jesse a00b5c51d2 More prestige fixes (#471)
* Only send message if there's items to be sent

* Update variable name

* Fix up incrementing a null integer
2025-07-11 14:52:33 +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
Jesse 12699d799f Prestige fixes (#470)
* Add profile back to SaveServer earlier to avoid null issues

* Set proper index of prestige
2025-07-11 13:09:58 +01:00
Chomp ebb5d15a0d Moved Voice property to customization 2025-07-11 12:42:50 +01:00
Chomp ae5ee943bb Updated location JSONs 2025-07-11 11:45:36 +01:00
Chomp 499b5f8b71 Updated ModId to be string to allow compat with client mods 2025-07-10 20:20:29 +01:00
Chomp 504a0e7e99 Added ModId property to AbstractModMetadata 2025-07-10 20:15:46 +01:00
Chomp f43e2575d7 Updated item.json 2025-07-10 14:01:47 +01:00
Chomp baab05a43f Added additional prestige images 2025-07-09 23:23:59 +01:00
Chomp e17580846b Added new prestige images 2025-07-09 19:19:46 +01:00
Chomp 5d9a97ce5b Converted customisations ids to mongoIds 2025-07-09 17:24:12 +01:00
Chomp 4ba9a9f0d4 Correctly supply ID of voice not name of voice when generating bot 2025-07-09 17:16:17 +01:00
Chomp 736057e892 Fix wrong value being saved 2025-07-09 17:06:43 +01:00
Chomp d5fc9be339 Removed Voice from profile.info
Added 'voice' to `profile.Customisation`
2025-07-09 17:02:31 +01:00
Chomp a3d8eb2b81 Updated JSONs for 37972 2025-07-09 16:51:11 +01:00
Chomp a5c7f3265f 37972 2025-07-09 15:39:48 +01:00
chompDev 6852bd1e84 .NET Format Style Fixes 2025-07-09 09:33:55 +00:00
Chomp bdddb8830b Update enum (#465) 2025-07-09 10:33:25 +01:00
Lacyway 9de020c7e5 Update enum 2025-07-09 11:21:09 +02:00
Lacyway 5ddef9bebd Stop generating LaunchSettings (#464)
* Update csproj

* Add other projects
2025-07-09 08:34:23 +01:00
chompDev b5e9f9cb14 .NET Format Style Fixes 2025-07-08 20:45:46 +00:00
Chomp 77129ab229 Update chatbots (#463) 2025-07-08 21:45:16 +01:00