Commit Graph

2114 Commits

Author SHA1 Message Date
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
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
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
Chomp e1e3ed0bb3 Fixed bots sometimes spawning with 0 stack sized ammo in their pockets/vests #529 2025-08-03 09:34:50 +01:00
Cj 03d8ce2e5a Add patch cache 2025-08-03 02:15:16 -04:00
Chomp 08815da10d Improved Fake PMC offer count fluctuations #527
Added fake PMC offer count index to `RagfairOfferHolder` and made use of it when checking if offer count is over desired count
2025-08-02 11:22:27 +01:00
CWX 0f1bea6151 Generate Docs for nuget 2025-08-02 01:52:18 +01:00
Archangel cec47fefd2 Apply enforced file scoped namespacing 2025-07-31 15:23:32 +02:00
Archangel aec8420d53 Cleanup todos, run VS cleanup & enforce file scoped namespacing 2025-07-31 15:18:20 +02:00
Jesse fc7660b6c8 Slight bundle & fileutil refactor: (#524)
- Actually load the bundle cache file now
- Don't read file as string with StreamReader, instead read with ReadAllTextAsync
- Slight refactor to bundle hashing

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-30 22:23:29 +00:00
Chomp c89c84dff3 Converted RemoveFiRStatusFromItemsInContainer into extension method
Improved performance of method by using breadth-first search to find children instead of loop
Wrote tests for method
2025-07-30 23:13:09 +01:00
Chomp 503967935b Improved declaration of _deathStates 2025-07-30 17:31:14 +01:00
Chomp 357c2f5dac Created EndRaidResultExtensions 2025-07-30 17:30:50 +01:00
sp-tarkov-bot 05c097e044 Format Style Fixes 2025-07-30 15:56:15 +00:00
Chomp fcf7a6d40f Removed unused side_plate weights from config
Reduced code duplication in `FilterPlateModsForSlotByLevel`
2025-07-30 16:55:26 +01:00
Chomp 2a56f3811c Updated LocationLootGenerator ctor parameter formatting 2025-07-28 23:02:35 +01:00
Chomp a72860e33a Small cleanup to loop inside GenerateStaticContainers 2025-07-28 22:24:27 +01:00
sp-tarkov-bot 418d121cf1 Format Style Fixes 2025-07-28 21:19:26 +00:00
Jesse bf5dedb672 Add currently active client mods in ProfileActivityService (#523)
* Add currently active client mods in ProfileActivityService

* Add method to fetch active client mods on profile
2025-07-28 21:18:38 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 9db4f65002 forgot a file 2025-07-28 15:11:05 +01:00
Chomp 623fce1484 Added id generation for BaseClasses, updated references 2025-07-27 17:40:27 +01:00
Chomp 85b47f494e Made ammo not require Found in Raid for daily quests #401 2025-07-27 16:31:29 +01:00
Chomp b1fb8ab57a Updated MongoId to implement IComparable<MongoId> 2025-07-27 14:19:38 +01:00
Chomp a1b1c6d815 Updated string to mongoId 2025-07-27 13:31:46 +01:00
Chomp 7711af53f4 Remove unnecessary conversion to mongoid 2025-07-27 12:57:51 +01:00
Chomp 680ab40499 Inverted if check to reduce nesting 2025-07-27 12:56:45 +01:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
R3ality a5c2fb08e6 Style: Satisfy csharpier 2025-07-27 13:54:54 +03:00
R3ality 82efbfc7db Refactor Json key name to offerCurrencyChancePercent 2025-07-27 13:36:38 +03:00