Commit Graph

1277 Commits

Author SHA1 Message Date
Archangel 7024b77d88 Handle error in response 2025-09-18 18:17:52 +02:00
Archangel 7184b4e5db Stop execution of invalid profiles on game start 2025-09-18 18:09:41 +02:00
Chomp f7e8aa9e77 Added GetItemRarityMultiplier 2025-09-18 16:31:35 +01:00
Chomp fb175d4341 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-09-18 14:03:39 +01:00
Chomp e8897886d2 Added an item type price multiplier override to GetFleaBasePriceMultiplier
All keycards now use a `2.5` multiplier, not just the red keycard
2025-09-18 14:03:28 +01:00
Archangel 1cc1d2e95d Remove unused record 2025-09-17 20:49:10 +02:00
Archangel 6a4efe9e53 Set correct type on global LocationInfection 2025-09-17 20:47:24 +02:00
Chomp 1ef9ebd88a Added system to generate item flea base prices based on handbook value 2025-09-16 22:24:35 +01:00
Chomp 3fa72b5064 Code lint 2025-09-14 16:40:05 +01:00
Chomp 45237693f8 Fixed issue with GenerateExtraPropertiesForItem not returning Upd object 2025-09-14 16:39:47 +01:00
Chomp 7bbb76d755 Removed unused import 2025-09-14 16:03:06 +01:00
Chomp d0a24db828 Removed recursion from GeneratePool
Reduced use of locks
2025-09-14 15:44:04 +01:00
Chomp 60271229f9 Performance/locking/name improvements to GeneratePool 2025-09-14 15:07:20 +01:00
Chomp 11ec6f66da Fixed issue with 0 valued maxhpresource items causing errors 2025-09-14 11:07:54 +01:00
Chomp ee1cca6330 Force StackObjectCount property to be added to:
Bot equipment
Bot loot
Player scav additional loot items

Emulates what we see in live data
2025-09-14 10:20:24 +01:00
Chomp 0c68d56ee1 Improved GetRandomizedResourceValue + GenerateExtraPropertiesForItem handling of values
Explicit handling of value == 1
Prevent returned value being below 1
Allow caller to force `StackObjectsCount` property
Renamed returned object
2025-09-14 10:17:49 +01:00
Cj 11ae50875a Custom quest service (#589)
* Initial work

* add todo

* Fix up errors

* More work on CustomQuestService

* Fix mistake

* Remove cloning work, its cancer

* clean-up

* Use TryAdd as a guard

* localize errors

* remove unused exception

* fix using

* fix not passing logging params
2025-09-14 09:20:25 +01:00
Chomp eae750a0c7 Improved property comments 2025-09-13 20:43:38 +01:00
Chomp d38c9358fe Adjusted PMC difficulty values based on values BSG uses for their PMCs as a base 2025-09-13 17:26:11 +01:00
Chomp 5348059301 JSON updates 2025-09-12 13:35:53 +01:00
Archangel 4659de97bc Update core bot settings 2025-09-12 12:38:56 +02:00
Archangel bd9e569a89 Update bot global settings 2025-09-12 12:28:30 +02:00
Chomp e26662ff13 Improved empty check for difficulty values inside GetAllBotDifficulties 2025-09-12 11:06:09 +01:00
Archangel ba47cc3a53 Update libraries 2025-09-10 18:37:29 +02:00
Cj 3596a12a19 Rename parameter for clarity 2025-09-10 12:04:54 -04:00
Cj d9c5c70c46 Remove legacy modloader code 2025-09-10 11:06:29 -04:00
Cj 6ae1d6f52b Implement ModItemCacheService (#587)
* Implement `ModItemCacheService`

* Fix file name

* Return early

* Make AI happy
2025-09-09 15:29:00 +00:00
Chomp 508e7f44b0 Removed unused methods 2025-09-08 19:30:10 +01:00
sp-tarkov-bot a61738b7f3 Format Style Fixes 2025-09-08 15:42:24 +00:00
Chomp 3af494317c Reduced number of params throughout bot generation process 2025-09-08 16:41:25 +01:00
Chomp 4830f1e2b2 Removed filledContainerIds system as its handled by botInventoryContainerService 2025-09-08 15:52:36 +01:00
Chomp b66bf0fecd Use GetValueOrDefault instead of GetGetValue 2025-09-08 15:39:29 +01:00
Chomp 4a3387bd50 Store tpls in config as MongoIds 2025-09-08 15:39:01 +01:00
Chomp 49b58b6c8a Check for key using ContainsKey instead of TryGet 2025-09-08 15:37:16 +01:00
Chomp f8de9c795e Small perf improvement inside HandlePreRaidInventoryChecks 2025-09-08 13:12:45 +01:00
Chomp 7ec29e1e12 Converted FlagCultistCircleCraftAsComplete into extension method 2025-09-08 13:08:10 +01:00
Chomp 5d93d1cd6d Converted GetSkillBonusMultipliedBySkillLevel into extension method 2025-09-08 13:04:11 +01:00
Chomp 0b2843cff6 Converted ProfileMeetsTraderLoyaltyLevelToBuyOffer to extension method 2025-09-08 12:56:14 +01:00
Chomp 8177093b16 Updated EnsureItemHasValidStackCount to be an extension method 2025-09-08 12:48:06 +01:00
Chomp 19b26c25b9 RagfairOfferHolder lock improvements (#586)
* `RagfairOfferHolder` lock improvements

* Perf improvement for debug logging inside `RemoveExpiredOffers`

* Replaced ConcurrentBag with ConcurrentDictionary to maintain previous behaviour

* Removed unnecessary debug logging

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-09-08 12:12:19 +01:00
Chomp 01570a1621 Improved locking inside RagfairRequiredItemsService
Comment and name improvements
2025-09-08 10:58:08 +01:00
sp-tarkov-bot 49ec6c2b9a Format Style Fixes 2025-09-06 18:06:50 +00:00
Chomp 495660bec3 Expanded UBGL ammo placement to try pockets if rig placement fails - fixes partisan not having any ubgl ammo 2025-09-06 19:05:54 +01:00
Chomp bf60770aa5 Comment improvements + deconstructed dictionary loop 2025-09-05 10:08:46 +01:00
Cj fafbfeb291 Remove load order/sorting from ModLoader (#584)
* - Remove modloader sorting
- remove order.json
- remove LoadBefore and
LoadAfter
- Remove unused var
- Remove unused locals
- Rename vars
- localize new warnings

* revert test change
2025-09-05 09:03:02 +00:00
Chomp 8197e5c124 Made numbers larger so anime trader music mods can all fit in 2025-09-04 20:07:30 +01:00
Chomp 2e773eb4ca Expanded OnLoadOrder values 2025-09-04 20:04:31 +01:00
sp-tarkov-bot bb625f76aa Format Style Fixes 2025-09-02 13:28:01 +00:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Chomp b563bf1feb Improved method comments
Small type improvements
2025-09-02 11:01:16 +01:00