Jesse
2c52012740
Further async changes ( #387 )
...
* Further async changes
- SaveServer & Backup Server are now async
- Anything that ties in with SaveServer saving (Such as callbacks) are now async
- Various async util methods added
- Removed two wrapper methods and switched code over to use the actual method
* Update test
2025-06-09 20:09:12 +01:00
Chomp
8179e5c86b
Localised strings
...
Improved nullguards
2025-06-09 14:45:47 +01:00
Chomp
d9132e5325
made class props readonly
...
Removed unused injections
Removed unnecessary .ToLower()
2025-06-09 11:47:49 +01:00
Chomp
d36ac06eb1
Halloween even improvements
...
All maps have at least 5% infection
Improved dictionary access
2025-06-09 11:47:12 +01:00
Chomp
57c9ff477e
Localised various error messages
2025-06-09 09:35:47 +01:00
Chomp
445c7c2c1e
Fixed seasonal event quests not appearing
2025-06-08 21:28:20 +01:00
Chomp
1d5162c761
Various changes and fixes for things that have been bugging me
...
Removed/flagged unused props
Typo fixes
Use `FirstOrDefault` over direct index access
Log stacktrace on exception inside `CreateWeaponItems`
2025-06-08 10:40:40 +01:00
Chomp
89106d5448
Refactored how skills are parsed, fixes issues with bot generation and end of raid profile parsing
2025-06-08 09:39:14 +01:00
Chomp
a56033ecae
Merge pull request #372 from hulkhan22/feat/configurable-btr-delivery-time
...
feat: Configurable BTR delivery time
2025-06-07 23:09:14 +01:00
Chomp
3a2f68a232
Fixed issues relating to gift codes with profile modifications
...
Updated enums to match client formatting and ids
Added `SkillClass` enum
#368
2025-06-07 23:08:21 +01:00
hulkhan22
ef7fb0e4a5
Merge branch 'develop' into feat/configurable-btr-delivery-time
2025-06-07 17:53:57 +02:00
hulkhan22
bc61f120d7
Configurable BTR delivery time
2025-06-07 17:53:12 +02:00
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