Chomp
fb31786ee2
Updated profile templates to be a dictionary, cleaned up all uses of it throughout code
...
Added `profileHelper.GetProfileTemplateForSide`
2025-06-07 12:17:28 +01:00
Chomp
855c5e39c0
Minor code improvement to ReturnUnsoldPlayerOffer
2025-06-06 12:37:53 +01:00
Chomp
c264b87c30
Created CreateRagfairNewRatingNotification and show when player offer fails and is returned
2025-06-06 12:27:50 +01:00
Chomp
60cdc39463
Added BACKPACK_MYSTERY_RANCH_TERRAFRAME_BACKPACK_CHRISTMAS_EDITION
2025-06-06 09:29:40 +01:00
Chomp
c52a189557
Added BARTER_SHYSHKA_CHRISTMAS_TREE_LIFE_EXTENDER and BACKPACK_MYSTERY_RANCH_TERRAFRAME_BACKPACK_CHRISTMAS_EDITION to christmas items
2025-06-06 09:27:27 +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
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
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
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
2165e407eb
Added missing locks + improved comments
...
Made use of `nameof` instead of `toString`
2025-06-02 12:27:39 +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
GrooveypenguinX
f4428deccf
fixed missing import for customitemservice, added bundle loading sequence in the program.cs ( #333 )
...
* Added missing import for reflection /bonk
* Implemented bundles.json loading directly into program.cs
`IsBundleMod` is now read from all loaded mods metadata, and if set to true the bundles.json is read from the mod directory.
* re-assign the sorted valid mods to the loadedMods list
since ValidateMods returns the sortedLoadedMods, this is the list of mods we should be passing to our other spots
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-06-01 15:34:14 +01:00
Chomp
2357fd4a4f
Fixed build
2025-06-01 15:29:05 +01:00
GrooveypenguinX
3e9c557a89
Fixed overrideproperties not applying in customitemservice
...
Swapped out the old method with new logic that sets the properties using reflection, and can also handle fields.
(cherry picked from commit 026c8dec5fa5cffd09de438e43d74e18a480d907)
2025-06-01 14:26:52 +01:00
Archangel
4e3c755e90
Remove AppContext, store profile related data in ProfileActivityService
2025-05-30 19:36:23 +02:00
Chomp
88c9f71f8c
Fixed AdjustWeighting not correctly ignoring items in the edit list not found at the destination
...
Added nullguards
Added missing comment
Simplified if statement
2025-05-30 12:47:01 +01:00
Chomp
4f01dc54bd
Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop
2025-05-30 12:36:46 +01:00
Chomp
866a5fd24c
Minor bot equipment code changes
...
Assume player is level 1, not 0
Nullcheck bot equipment config prior to using it
2025-05-30 12:35:23 +01:00
clodanSPT
ee51e1fcab
Refactored pre spt mod loader to user IOnLoad, moved Watermark to IOnLoad as well ( #313 )
...
Co-authored-by: Alex <alex@dm-me-for-questions.com >
2025-05-30 11:03:08 +01:00
Archangel
c930197942
Cleanup AppContext
2025-05-29 23:50:06 +02:00
clodanSPT
1968afccba
Fixes and logs ( #301 )
...
* Added safety checks around dictionary lookups for Areas Stages
* Added lots of debug logs for websocket handling
* Removed debug comments
---------
Co-authored-by: Alex <alex@dm-me-for-questions.com >
2025-05-29 11:06:32 +01:00
hulkhan22
44d881b793
Fix unordered enumerable
2025-05-28 23:12:59 +02:00
Chris Adamson
df5750cf09
fixes for my previous pr based on peer feedback
2025-05-28 15:01:10 -05:00
Chomp
972dd997fc
Fixed null being thrown when searching for an item that has no offers requiring it
2025-05-28 18:25:14 +01:00
Chomp
387970890d
Fixed flea categories not showing when performing a 'required' search
2025-05-28 18:24:34 +01:00
Chomp
a7412384cd
Fixed Linked Search not working for caratridges
2025-05-28 17:04:57 +01:00
Chomp
c110783269
Minor cleanup of post-raid fence standing calculations inside HandlePostRaidPlayerScav
2025-05-28 12:37:07 +01:00
Chomp
a3c3cad825
Fixed scav runs not setting loot to non-FIR after runthrough #279
2025-05-28 12:28:02 +01:00
Chomp
da42c2803a
Comment improvements
2025-05-28 12:04:27 +01:00
Chomp
8a382f5d63
Replaced concurrent dictionary with manual locks inside PMCLootGenerator
2025-05-28 11:06:16 +01:00
Chomp
158cf76dc8
Merge pull request #278 from CJ-SPT/collection-ittr-fix
...
Fix collection modification exception
2025-05-28 08:41:45 +01:00
Chomp
c074dcc905
Merge pull request #275 from cp89gamedev/fix-cultist-circle-blue-intel
...
fixed issue where cultist circle is always giving bluen intel folder
2025-05-28 08:39:55 +01:00
Cj
4777aab95c
Fix collection modification exception
2025-05-27 19:05:06 -04:00
Chris Adamson
d441dc5db9
fixed issue where cultist circle is always giving bluen intel folder
2025-05-27 17:03:06 -05:00
Chomp
f97b8b6f4f
Fixed inverted logic check
2025-05-27 17:16:40 +01:00
hulkhan22
aef3a4202f
Fix presentation of messages with items (rewards & insurance returns) ( #265 )
2025-05-21 22:29:34 +01:00
Chomp
bdde7d7454
Updated UpdateFenceAssorts() to add a upd object when missing
...
Updated various methods to use library functionality
Improved string compare inside `RandomiseArmorInsertsDurabilities()`
Comment improvements
2025-05-21 12:02:12 +01:00
Chomp
c9e28e05bb
Moved in-game reward check even further up chain into ApplyQuestReward()
...
Replaced magic strings with string consts inside `IngameTraders` collection
Various comment improvements
2025-05-21 10:42:13 +01:00
hulkhan22
320e6adb84
Minor cleanup
2025-05-17 13:04:34 +02:00