Commit Graph

2284 Commits

Author SHA1 Message Date
Chomp fee5a1f4dc Fixed AddStashRowsBonusToProfile due to inverted null check fixes #360 2025-06-05 15:10:33 +01:00
Chomp 2eb7b798c3 Fixed issues with ReplaceBotHostility 2025-06-05 15:04:52 +01:00
Chomp 304adab743 Clean up vars 2025-06-05 14:48:53 +01:00
Chomp ab148beae0 Fixed veryspooky SPT command throwing error #359 due to error in getting location name inside AddEventBossesToMaps 2025-06-05 14:47:19 +01:00
Chomp 8023aff959 Improved how OnUpdate is handled 2025-06-05 14:21:28 +01:00
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
Chomp df16088a73 Merge pull request #356 from sp-tarkov/static-pmctypes
Set PMC types statically
2025-06-05 08:17:11 +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 417201767d Include reference to Reflection in .Server (#354) 2025-06-04 18:00:21 +01:00
Archangel 674b86656a Include reference to Reflection in .Server 2025-06-04 18:56:33 +02: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
Chomp b836ce4bf1 Removed fody dep 2025-06-04 13:58:50 +01:00
Chomp 1bb75d3c34 Merge pull request #349 from sp-tarkov/json-extension-tool
Json extension tool
2025-06-03 21:06:19 +01:00
Alex 6d87c79b0f Remove fody weaver project in favor of source generation 2025-06-03 20:34:08 +01:00
Alex e3aaf63162 Added tool to add JsonExtensionData annotation to all model classes 2025-06-03 20:24:48 +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 3fe8072604 Added checks.dat build script (#343)
Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-06-02 17:56:06 +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
clodanSPT ecf16b1921 Added ignore for protected properties that can be turned private (#341)
Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-06-02 12:31:10 +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