Chomp
45237693f8
Fixed issue with GenerateExtraPropertiesForItem not returning Upd object
2025-09-14 16:39:47 +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
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
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
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
Archangel
6dacfde715
Change prop method naming to be more consistent
2025-08-28 15:38:36 +02:00
sp-tarkov-bot
db8af3c88f
Format Style Fixes
2025-08-28 13:33:02 +00:00
Archangel
7e2e3db3fd
Change property naming to be more consistent ( #578 )
2025-08-28 15:32:02 +02:00
Chomp
b5ff9106ae
Reduced logging to debug: GetAggressorBonusByDifficulty and GetStandingChangeForKillByDifficulty + improved message text
...
Inverted logic so happy path is first
2025-08-27 14:13:14 +01:00
Chomp
fd7a576b0c
use voiceId value directly when generating a bot + updated type to use mongoid
2025-08-23 18:23:17 +01:00
Chomp
1df80171eb
Added new property to profiles
2025-08-23 14:34:53 +01:00
Chomp
100c3a7b47
Cleaned up SetScavCooldownTimer
2025-08-19 12:04:35 +01:00
Chomp
7eb88646f2
Second attempt at fixing prestige issue #558
2025-08-19 12:04:15 +01:00
Chomp
bb566e32ad
Fixed pscav generation failure during prestige #556
2025-08-19 10:28:50 +01:00
Chomp
8573e6ae02
Use string.empty and MongoId.Empty() where appropriate
2025-08-17 21:35:34 +01:00
sp-tarkov-bot
ab114352ea
Format Style Fixes
2025-08-16 23:31:11 +00:00
Chomp
3c8634edd7
Improved saftey of adjusting values when using randomistionDetails.NighttimeChanges.EquipmentModsModifiers
2025-08-16 14:38:02 +01:00
Chomp
d94490b52f
Added functionality to force PMCs to wear specific armband - default enabled
...
usec = blue
bear = red
2025-08-16 14:37:06 +01:00
Chomp
07504d406e
Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions
2025-08-15 11:24:10 +01:00
Chomp
b061200803
Refactor of how bot loot has its position picked to improve performance ( #548 )
...
* Initial work on moving container space checks into new class
* Updated tests
Wired up service to save item into inventory when space is found
Updated `FillContainerMapWithItem` to return outcome and not throw exception on failure
Add containers to bot when generating bot equipment
Clean bot cache after completion of loot generation
Removed redundant code from `AddItemWithChildrenToEquipmentSlot`
Removed unnecessary Singleton status from `BotInventoryContainerService`
* Clean-up of service
* Add botId xml docs
* Updated documentation for `FillContainerMapWithItem`
* Code review fixes and improvements
* Remove TODO
---------
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-08-13 15:35:57 +00:00
Cj
0964acff8d
Fix bad port from node, fix invalid specific extract requirement
2025-08-12 16:13:39 -04:00
Jesse
60958b3d24
Merge pull request #544 from sp-tarkov/remove-warnings
...
Remove unused dependencies and improve code quality
2025-08-12 19:26:05 +02:00
Cj
e54dcbd4d1
Fix more warnings... ( #543 )
...
* Fix more warnings...
* Fix mistake
2025-08-12 15:28:54 +00:00
Cj
9bd5c2a401
Prefer fallthrough over or and newline
2025-08-11 14:08:59 -04:00
sp-tarkov-bot
1474d2b799
Format Style Fixes
2025-08-11 14:13:49 +00:00
Cj
76e91047d6
More warnings fixes ( #542 )
...
* Fix more warnings, add new exception
* Run formatter
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-08-11 14:13:02 +00:00
Archangel
dd67098734
Remove unnecessary cloning
2025-08-09 16:53:05 +02:00
Lacyway
d468848b0c
Improve MongoIds ( #537 )
...
* Mongoid improvements pt1
* Format Style Fixes
* Fix incorrect string
* Fix != comparison
---------
Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com >
2025-08-09 11:50:49 +01:00
Chomp
2df90e2a1e
Removed unnecessary dupe check from fence base assort generation
2025-08-08 12:35:38 +01:00
Chomp
dea94255e4
Bot generation performance improvements
...
Trader assort generation performance improvements
Removed use of recursion inside `FindAndReturnChildrenByAssort`
Created extension method `CreateParentIdLookupCache`
2025-08-08 12:33:31 +01:00
Chomp
f35d56e5f0
Improved logic inside IsWeaponValid()
...
made use of lookup table to improve performance
Skip checking mods with 0 required slots
2025-08-06 21:18:47 +01:00
Chomp
a8702c9cdf
Improved logic inside GenerateBotLevel
2025-08-06 21:17:12 +01:00
Chomp
6b297adf68
Replaced ProbabilityObjectArray.Draw() with DrawAndRemove Draw
...
Reduced overhead when drawing a large number of elements during loot generation
2025-08-06 17:52:49 +01:00
Chomp
8e961633d4
string > mongoId conversion
2025-08-06 15:22:37 +01:00
Archangel
d78e8af42c
Remove additional cloner
2025-08-06 15:34:21 +02:00
Archangel
8a4f2a297b
Remove loot cloners and make LazyLoad return a new result each request
2025-08-06 15:33:11 +02:00
Chomp
cdc9cd59e2
Replaced Wishlist property in profile with pure dictionary
2025-08-06 12:47:28 +01:00
Chomp
3b4bcaf910
Made use of AddUpd extension
2025-08-05 15:56:23 +01:00
Chomp
e7fd757dce
Improved how bots are generated to be less blocking
...
Updated `GenerateBotWaves` to return empty results when request data is empty
Cleaned up `GenerateBotWave` to not need a manual lock
Improved `botRelativeLevelDelta` value in pmc.config
Updated `MatchBotDetailsCacheService` to store PMCs primary weapon tpl
2025-08-04 13:25:19 +01:00
Chomp
08815da10d
Improved Fake PMC offer count fluctuations #527
...
Added fake PMC offer count index to `RagfairOfferHolder` and made use of it when checking if offer count is over desired count
2025-08-02 11:22:27 +01:00