Commit Graph

2807 Commits

Author SHA1 Message Date
Chomp f3482e28d9 Removed unnecessary nulls from Globals class 2025-07-16 12:20:19 +01:00
Chomp 8dce055acf Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-07-16 11:40:49 +01:00
Chomp 99c14de7af String to Mongo Id conversions
Cleaned up global class null values
2025-07-16 11:40:38 +01:00
chompDev 58068f7c6a .NET Format Style Fixes 2025-07-16 10:34:34 +00:00
Lacyway 32510bd67f Add SendMessageToAll method (#484)
* Fix typo

* Add SendMessageToAll method
2025-07-16 11:34:05 +01:00
Chomp e27b2b91e3 String to MongoId changes + Updated nullability of trader helper methods 2025-07-16 11:16:03 +01:00
Chomp 7b1f73fe7b Reduced brittleness of HealthTreatment + removed use of reflection 2025-07-16 11:15:17 +01:00
Chomp e9f6a402f7 Fixed nullref issue when healing post-raid 2025-07-16 10:43:17 +01:00
Chomp e4569395c2 Updated PayMoney
Reduced code duplication
Corrected currency key type
2025-07-16 10:14:47 +01:00
Chomp 38b1f648ce Added dictionary extensions 2025-07-16 10:13:33 +01:00
Chomp a268050c8d Updated lighthouse loose loot 2025-07-15 21:52:53 +01:00
Chomp 8691837229 Updated standard account encyclopedia values 2025-07-15 18:45:23 +01:00
Chomp dbce1dfee7 Fixed casting issue when crafting
Renamed variable to improve readability

Code cleanup of `GetCustomSptHoursCraftingTaskConditionCounter`
2025-07-15 18:01:47 +01:00
Chomp e506ffba4f use correct types inside AdjustWeighting() 2025-07-15 17:31:27 +01:00
Chomp e42e53e492 Fixed profile creation issue 2025-07-15 17:19:47 +01:00
Chomp 88e6db3342 Fixed flea offer count 2025-07-15 17:19:31 +01:00
chompDev 1b2b2c04f9 .NET Format Style Fixes 2025-07-15 09:38:23 +00:00
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