Commit Graph

2131 Commits

Author SHA1 Message Date
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
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
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
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