Commit Graph

3152 Commits

Author SHA1 Message Date
Archangel d78e8af42c Remove additional cloner 2025-08-06 15:34:21 +02:00
Archangel 8a4f2a297b Remove loot cloners and make LazyLoad return a new result each request 2025-08-06 15:33:11 +02:00
Chomp 40fe4dbd89 Removed unncessary check now the id is a MongoId 2025-08-06 12:47:53 +01:00
Chomp cdc9cd59e2 Replaced Wishlist property in profile with pure dictionary 2025-08-06 12:47:28 +01:00
Chomp 7ece60ac54 Improved logic 2025-08-06 12:35:02 +01:00
Chomp 57dde61384 Various code quality improvements 2025-08-06 12:28:56 +01:00
Chomp 85a562d1e5 Improved GetRewardProductionMatch logic to make use of saved QuestId property we generate for crafts 2025-08-06 12:27:50 +01:00
Chomp 83408c76fc Reduced complexity of GetCompatibleTplFromArray()
Flagged ItemHelper as singleton due to number of frozensets
2025-08-05 23:55:13 +01:00
Chomp ec2cc78b2a Inventory code cleanup 2025-08-05 23:48:10 +01:00
Chomp 8abb25f508 Improved AddItemsToStash
Create Add item request once and reassign `ItemWithModsToAdd` inside loop
2025-08-05 23:20:00 +01:00
Archangel 78766760f2 Escape dotnet build command 2025-08-05 22:16:18 +02:00
Archangel bd2337ff00 Update comment 2025-08-05 22:06:00 +02:00
Archangel 237a829e5d Update to CoreCompile & Include file for compiliation 2025-08-05 22:04:34 +02:00
Archangel e86949c361 Keep ProgramStatics commited, but also ignored so git doesn't keep tracking it's changes 2025-08-05 21:47:49 +02:00
Cj a8016d85bb Update README.md 2025-08-05 15:31:26 -04:00
Archangel 23389b48c4 Make ProgramStatics non nullable, add auto generated header & add getters 2025-08-05 20:33:23 +02:00
Archangel 58ca43de49 Handle InvalidOrUnloadableProfile in GameController 2025-08-05 17:33:04 +02:00
Chomp c2a4877989 Cleaned up mergeItems() logic 2025-08-05 16:30:53 +01:00
Chomp 02b80888ec Improved dictionary access inside GetItemName to prevent issues where now-removed modded items are checked 2025-08-05 16:27:35 +01:00
Cj 529fe61f23 Controller house keeping (#532)
* Cleanup BotController.cs

* More controller cleanup

* More dialogue changes
2025-08-05 16:24:59 +01:00
Archangel c3b36f4c7d Handle invalid profiles on all IOnUpdate 2025-08-05 17:20:49 +02:00
Archangel d5514c6bb4 Only write InvalidOrUnloadableProfile if it's not null 2025-08-05 16:59:45 +02:00
Archangel 36984aed91 Disable 'Missing XML Comment' warnings 2025-08-05 16:59:04 +02:00
Chomp 984e10ae76 Added GetMinutesAsSeconds method
Removed magic number
2025-08-05 15:57:06 +01:00
Chomp 3b4bcaf910 Made use of AddUpd extension 2025-08-05 15:56:23 +01:00
Jesse c7e40deb90 Add support for partially loading invalid profiles (#533)
* Add support for partially loading invalid profiles

* Return early in exception
2025-08-05 15:25:47 +01:00
Chomp 460d359a0d Added AddUpd extension method 2025-08-05 14:09:54 +01:00
Chomp 98eae09034 Simplified logic inside ContainsActiveProfile and added comments 2025-08-05 13:53:17 +01:00
Archangel 11384c9b3f Fix null checks for profile 2025-08-05 14:28:29 +02:00
Cj db28f0bc43 Fix MongoIdTplGenerator quest key 2025-08-05 04:01:22 -04:00
Archangel ffb7c72abc Re-add summary to sort method 2025-08-05 04:15:56 +02:00
Archangel be289d590d Remove unecessary casting, handle sorting migrations in extension 2025-08-05 04:10:13 +02:00
Archangel 0b250161be If profile can't be loaded log the exception and throw 2025-08-05 03:51:18 +02:00
Chomp cc8bdde37d Updated nuget packages
Converted DI project to `Microsoft.NET.Sdk`
2025-08-04 19:58:00 +01:00
Chomp 3276c45e57 Hideout slot size check safety improvements 2025-08-04 19:17:26 +01:00
Chomp 443878e75a Cleaned up CheckForOrphanedModdedItems
Now deletes modded child items
Fixed values not being logged correctly
Only log error message once instead of for every invalid item, players don't read it anyway
2025-08-04 19:16:35 +01:00
Chomp f4210a3d15 Fixed Collection was modified exception inside CheckForOrphanedModdedItems 2025-08-04 17:55:19 +01:00
Archangel 236a61840f Convert node's InsuranceTIme to int32 2025-08-04 16:22:43 +02:00
Archangel 4c66cbef36 Handle failed non restartable quests better 2025-08-04 16:22:12 +02:00
Chomp 9793cd25ed Improved key lookup inside ProcessPostRaidQuests() 2025-08-04 13:38:56 +01:00
sp-tarkov-bot c215a52bc7 Format Style Fixes 2025-08-04 12:26:11 +00:00
Chomp e7fd757dce Improved how bots are generated to be less blocking
Updated `GenerateBotWaves` to return empty results when request data is empty

Cleaned up `GenerateBotWave` to not need a manual lock
Improved `botRelativeLevelDelta` value in pmc.config

Updated `MatchBotDetailsCacheService` to store PMCs primary weapon tpl
2025-08-04 13:25:19 +01:00
Chomp cf99d9d824 Use mongoId type instead of string 2025-08-03 22:00:25 +01:00
Chomp 179d072754 Interned more commonly duplicated strings 2025-08-03 21:05:03 +01:00
Chomp fdd6fb023e Added missing properties to objects 2025-08-03 20:49:05 +01:00
Chomp dd7a81b78a string.intern:
ragfair offer user nickname
Quest condition type
2025-08-03 20:48:40 +01:00
Chomp 2693369dec Merge pull request #531 from CJ-SPT/ragfair-controller-return-fix
RagfairController return fix
2025-08-03 19:13:31 +00:00
Cj 2d1bdec854 return when error 2025-08-03 14:57:19 -04:00
Chomp 0ea5269756 Updated profile SkillTypes property to use string to enum converter
Updated surrounding properties to not be null
Updated related code to reflect nullability change
2025-08-03 09:52:18 +01:00
Chomp d41691d358 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-08-03 09:35:09 +01:00