Commit Graph

216 Commits

Author SHA1 Message Date
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
Archangel aec8420d53 Cleanup todos, run VS cleanup & enforce file scoped namespacing 2025-07-31 15:18:20 +02:00
sp-tarkov-bot 05c097e044 Format Style Fixes 2025-07-30 15:56:15 +00:00
Chomp fcf7a6d40f Removed unused side_plate weights from config
Reduced code duplication in `FilterPlateModsForSlotByLevel`
2025-07-30 16:55:26 +01:00
Chomp 2a56f3811c Updated LocationLootGenerator ctor parameter formatting 2025-07-28 23:02:35 +01:00
Chomp a72860e33a Small cleanup to loop inside GenerateStaticContainers 2025-07-28 22:24:27 +01:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 9db4f65002 forgot a file 2025-07-28 15:11:05 +01:00
Chomp 623fce1484 Added id generation for BaseClasses, updated references 2025-07-27 17:40:27 +01:00
Chomp 85b47f494e Made ammo not require Found in Raid for daily quests #401 2025-07-27 16:31:29 +01:00
Chomp 83cb707551 Updated comment styles 2025-07-27 12:56:09 +01:00
Chomp bfd616e7c3 Converted rewards data into dictionary - reduced need for reflection
Moved clone outside of `UpdateQuestsForGameEdition`
2025-07-26 12:53:56 +01:00
Chomp b1aa8f0942 Removed unnecessary ?? 2025-07-25 20:09:07 +01:00
Chomp ab770e795f Improved stale offer processing
Pass offer creation info into methods for quicker checking

Removed unused methods
2025-07-25 12:41:41 +01:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00
Archangel 384381f57e Make ItemLacksSlotsCartridgesAndChambers more robust, migrate to extension 2025-07-24 22:46:23 +02:00
Chomp 1f6231ce6b Improved readability of GetRelativePmcBotLevelRange 2025-07-24 18:16:13 +01:00
sp-tarkov-bot 68f95db26a .NET Format Style Fixes 2025-07-24 15:05:49 +00:00
Chomp 2c5420f3db list to ienumerable 2025-07-24 16:05:14 +01:00
sp-tarkov-bot 99a4b7cbba .NET Format Style Fixes 2025-07-24 12:27:13 +00:00
Chomp f562c634a7 Converted lists to hashsets where appropriate
Removed unnecessary uses of  ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Chomp 6079e282f5 List to ienumerable conversions 2025-07-24 11:36:42 +01:00
sp-tarkov-bot 95420acd3d .NET Format Style Fixes 2025-07-24 08:40:50 +00:00
Chomp e77e910cd4 Cleaned up ItemFilterService:
Removed dupe methods
Removed use of clone
Added `AddItemToBlacklistCache` and `AddItemToLootableBlacklistCache`
2025-07-24 09:40:17 +01:00
Chomp 10ad2dfe9a list to ienumerable changes 2025-07-23 22:07:56 +01:00
sp-tarkov-bot cc68af0511 .NET Format Style Fixes 2025-07-23 14:56:02 +00:00
Chomp a1e0dadd08 Part 2 of list to ienumerable 2025-07-23 15:55:28 +01:00
sp-tarkov-bot 0faa65a560 .NET Format Style Fixes 2025-07-23 12:07:24 +00:00
Chomp 1320f7d0ab Ienumerable changes 2025-07-23 13:06:48 +01:00
Chomp db34eaa501 Updated various methods to accept IEnumerable instead of List 2025-07-23 10:57:49 +01:00
Chomp 829f227579 Improved null check against mongoId 2025-07-23 08:51:38 +01:00
Chomp 731b79519f Rename method to GetItemWithChildren 2025-07-22 20:43:08 +01:00
Alex 5bbf671acd Refactored unit tests to use NUnit and added DI usage 2025-07-22 19:41:34 +01:00
Chomp 02b0c23cba Created CreateFleaOfferDetails 2025-07-21 14:38:00 +01:00
Chomp 3901a91f45 Improved how ragfair offer creator status is checked - store creator type in offer
Converted `IsTraderOffer` into extension method
string to mongoid conversions
2025-07-21 13:36:51 +01:00
Chomp 776c5454ad Fixed pmc loot overrides from bear/usec.json not applying correctly 2025-07-20 11:35:07 +01:00
Chomp 80e0637b26 string to mongoid conversion
Removed unnecessary nulls

Cleaned up access levels for methods in `BotGenerator`
2025-07-20 11:33:25 +01:00
Chomp 737776c99d Made use of Math.Clamp to simplify logic across server
Made all fence rep clamping use min/max values from config instead of magic values
2025-07-20 10:29:34 +01:00
Chomp d7f7d6c3c6 Renamed variable to ensure consistency 2025-07-19 23:08:46 +01:00
Chomp 5142f6b689 Reduce allocations inside AddAmmoToSecureContainer 2025-07-19 22:51:21 +01:00
Chomp 02d079985f Updated pmc dogtag generation systems to use weights + prestige tags 2025-07-19 22:26:22 +01:00
Chomp 43cc325da2 Removed unnecessary clone of db when generating flea offers 2025-07-19 14:08:29 +01:00
Chomp 0e72f9e21c Generate player scav items using "assault" randomisation settings 2025-07-18 16:21:54 +01:00
chompDev 67b886127c .NET Format Style Fixes 2025-07-18 15:06:05 +00:00
Chomp 38fb2454c7 Various micro-optimisations 2025-07-18 16:05:29 +01:00
Chomp 50f684537d Expanded max loot in pmc container systems
Now allows for per-map multipliers + pocket + vest loot uses same level-based value as backpack

labs multiplier = 2
labyrinth = 4

Removed nullability from some properties
2025-07-17 18:25:31 +01:00