Commit Graph

1445 Commits

Author SHA1 Message Date
Chomp 09211c78ee Updated OnUpdate to return task<bool> 2025-06-05 14:12:10 +01:00
Chomp 969e94975e Fixed hideout OnUpdate not triggering correctly 2025-06-05 13:52:27 +01:00
Chomp 82b8c7d2da Fixed ragfair offers not being processed Fixes #358 2025-06-05 13:41:40 +01:00
Chomp 2019e7d182 Renamed variable for clarity 2025-06-05 12:06:45 +01:00
Chomp 4890bc9caf Resolved purchased PMC offers on flea getting set to 'expired' instead of being removed, Resolves #357
Renamed `ReturnPlayerOffer` to `ReturnUnsoldPlayerOffer`
Added comments
Renamed variables for better clarity

Small cleanup of `RagfairOfferService`
2025-06-05 11:31:45 +01:00
Chomp 9dd62471e8 Fixed typo 2025-06-05 09:51:30 +01:00
Chomp f1d4a098d2 Added PMCs to labyrinth
4x PMCs on raid start, 2 more 6~ minutes into raid

Resolves #350
2025-06-05 09:33:51 +01:00
Chomp 4b3d9a57a9 Further improvements to GetAllPropsAsDict
Return the props of `ExtensionData`
2025-06-05 09:19:02 +01:00
Chomp ecad23cd31 Improved ExtensionData checks, moved closer to source 2025-06-05 08:28:13 +01:00
Archangel 3fc3ecc0fc Set PMC types statically 2025-06-05 07:31:05 +02:00
Chomp 37bd3a433c Handle various locations where ExtendedData causes issues 2025-06-04 21:28:29 +01:00
Jesse 787752b555 Async task OnUpdate (#355)
* Make OnUpdate a task instead a void, handle OnUpdate better by running it in it's own task

* Make helper transient, resolve mod loading issues
2025-06-04 20:53:39 +01:00
Chomp a92994e50b Changed Error handling request to critical 2025-06-04 19:58:04 +01:00
Chomp 6377d92d47 Updated ref assort data 2025-06-04 19:21:10 +01:00
Chomp 112afd3391 Fixed flea logic that prevented offers being listed for complex items (items /w children)
`GetItemsToListOnFleaFromInventory` would not keep the root item at index 0, client requires this

`FindAndReturnChildrenAsItems` now inserts root item at index 0
`CreateMultiOffer` now looks for root item by its id

Updated `CreateSingleOffer` to not choose first inventory item as root, search for it instead

Fixes #318
2025-06-04 17:30:26 +01:00
Chomp adf65f497c Fixed quests not failing other quests #345 2025-06-04 15:53:12 +01:00
Chomp 838e72ff3c Cleanup of weavers xsd 2025-06-04 14:51:47 +01:00
Chomp 30b8a318ae Added ExtensionData to DTOs 2025-06-04 14:49:37 +01:00
Jesse ff1dfa54ae Do a small pass on SPT's config's to reduce warnings and cleanup (#348)
* Do a small pass on SPT's config's to reduce warnings and cleanup

* Revert

* Revert EFT models

* Set list as null
2025-06-04 14:46:52 +01:00
Alex 6d87c79b0f Remove fody weaver project in favor of source generation 2025-06-03 20:34:08 +01:00
Chomp b7d5970073 Gunsmith part 11 change 2025-06-03 13:20:51 +01:00
Chomp e5d57db3c8 Updated ref quests: Easy Money - Part 2,Balancing - Part 1,Balancing - Part 2,To Great Heights - Part 1
Updated `Thirsty-Secrets`
Updated `Easy Money - part 1`
Updated `gunsmith - part 4`
Updated `Living High is Not a Crime - Part 1`
Updated `Energy Crisis`
Updated `Corporate Secrets`
2025-06-03 13:16:46 +01:00
Jesse c822977931 Build hashfile only in release mode (#346)
* Update README to include Powershell requirement

* Build hashfile only in release, only check hashes in release mode

* Remove duplicate README
2025-06-03 08:38:06 +01:00
Chomp 8b01da4c26 Added quests: Never Too Late To Learn, Get a Foothold, Profit Retention, A Life Lesson, Consolation Prize
Updated `Thirsty - Secrets`
2025-06-02 22:56:36 +01:00
Chomp f9de4d77fc Fixed ExtensionData change breaking new profiles 2025-06-02 21:41:35 +01:00
Jesse 354adf2c0a Add File validation (#344)
* Add file validation

* Revert "Added checks.dat build script (#343)"

This reverts commit 39228f88e705b58858d162256a5b5e10fe99148c.

* Update to use pwsh

* Wrap code in using
2025-06-02 20:21:49 +01:00
clodanSPT 2ba11fc789 Added rolling log files features based on file size (#342)
* Added rolling log files features based on file size

* made properties readonly

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-06-02 17:40:40 +01:00
Chomp ccb55bd025 Expanded GetGenerationWeights scope to reduce code verbosity
Improved `InitCacheForBotRole`

Removed unnecessary code from `AddItemsToPool`
2025-06-02 17:20:54 +01:00
Chomp a5d9a54c7f made use of FilterItemPool helper method to reduce code verbosity
Fixed inverted trygetvalue check
2025-06-02 16:59:53 +01:00
Chomp 74bdac7d9b Fixed bug in AddLootToCache that was causing combined pool to not be hydrated 2025-06-02 16:41:27 +01:00
Chomp 2cb720ab94 Added early return when result is 0 items
Added early return when 'type' of loot is unknown
2025-06-02 16:23:45 +01:00
Chomp 2ae91b4c38 Added safer dictionary access inside GetLootFromCache 2025-06-02 16:09:39 +01:00
Chomp 0577b119ca Reduced times combined Loot Pool is iterate over inside AddLootToCache() 2025-06-02 12:50:02 +01:00
Chomp dfc8afa741 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-06-02 12:27:47 +01:00
Chomp 2165e407eb Added missing locks + improved comments
Made use of `nameof` instead of `toString`
2025-06-02 12:27:39 +01:00
clodanSPT cab8fa82a2 Json extension data fody (#340)
* Added a new Fody plugin to add to every model class the JsonExtensionData attribute

* retargeted fody plugin to netstandard for msbuild runtime

* Fixed runtime issue

* Fixed property check for new extension data properties

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-06-02 12:15:44 +01:00
Chomp 54fe3cf7c5 Added todo for reward type we dont currently handle 2025-06-02 11:59:21 +01:00
Chomp 8ae5aaa0ee FIxed reward-type_not_handled error message not showing ID value 2025-06-02 11:55:05 +01:00
Chomp c7b6868092 Allow bot generation without raid config data 2025-06-02 11:42:48 +01:00
Chomp d5df140d58 Created GetGenerationWeights helper to reduce dupication 2025-06-02 11:39:30 +01:00
Chomp fd3b0c0ead Replaced direct key access with TryAdd 2025-06-02 11:28:58 +01:00
Chomp d7d0463c94 Replaced direct key access with TryAdd 2025-06-02 11:26:20 +01:00
Chomp 24cc70b225 Improved containerType secure container string compare
Split out kvp into variables
2025-06-02 11:12:50 +01:00
Chomp 9ec9c0beb7 Fixed concurrency issues with pmc loot generation 2025-06-02 10:24:32 +01:00
Chomp d3e1b6ddca Removed incorrect mod_equipment_001 from item_equipment_helmet_team_wendy_exfil on usec/bear PMC json data 2025-06-02 09:46:53 +01:00
Chomp c42449b150 Added handling of SHOOTING_RANGE_MARK to AddHideoutCustomisationUnlock() Resolves #339 2025-06-02 09:43:03 +01:00
CWX 360a59a585 only return dialogues that have messages, and on new dialogues, return empty object as does live 2025-06-01 23:43:50 +01:00
CWX f9eb5cd136 change for lastOrDefault, return null 2025-06-01 23:43:11 +01:00
CWX 1b82d0641e change the invariantCulture on factory 2025-06-01 21:35:28 +01:00
CWX cc6f116e18 Value is now not an object, give it straight to it and no double to string to double shenanigans 2025-06-01 21:35:10 +01:00