Commit Graph

1266 Commits

Author SHA1 Message Date
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
Chomp 0983748201 Improved safety of accessing static loot dictionary inside GetPossibleLootItemsForContainer
Moved code around for tiny optimisation
2025-09-02 10:50:00 +01:00
Chomp 561cb81c03 string to mongoID conversion 2025-09-02 10:45:10 +01:00
Chomp 440b63a5e0 Updated property nullability inside GenerateStaticMagazineItem 2025-09-02 10:39:58 +01:00
Chomp c4297aa30c MongoId conversion for GetPossibleLootItemsForContainer 2025-09-02 10:39:15 +01:00
Chomp 2c28b4b0bf Fixed bad logging text in RollForDelete 2025-09-02 10:36:47 +01:00
Archangel dd6b06fda1 Update 'proto' to be fully typed out 2025-08-30 20:57:36 +02:00
Archangel ea7cf20dec I hate VS 2025-08-30 19:37:48 +02:00
Archangel d51f598185 Remove unecessary if statement 2025-08-30 19:36:24 +02:00
Archangel 776d8fb307 Update models 2025-08-30 19:04:37 +02:00
Archangel e5b24589bc Update bot configs 2025-08-30 18:53:24 +02:00
Chomp 26dd047d6f Manually fixed infected bots having incorrect values
Adjusted model property to be string
2025-08-30 17:15:11 +01:00