Commit Graph

3147 Commits

Author SHA1 Message Date
Archangel 59fca768be Make lists readonly and do not assign unecessary vars 2025-08-09 14:48:24 +02:00
sp-tarkov-bot 28f84663f8 Format Style Fixes 2025-08-09 12:46:06 +00:00
Archangel 1065c80f48 Remove nodisms from WatermarkLocale 2025-08-09 14:45:19 +02:00
Archangel 96a62c20a7 Make Watermark use primary constructor 2025-08-09 14:38:50 +02:00
Archangel 744bb7af74 Make versionLabel more clear 2025-08-09 14:32:01 +02:00
Archangel 23b3ae443b Format Build.props 2025-08-09 14:26:13 +02:00
Archangel a46cb06ddb Fix up formatting of version tag 2025-08-09 14:26:12 +02:00
Chomp fa112d4b68 Fix handins using from key (#538) 2025-08-09 11:51:39 +00:00
Lacyway 6094449903 Fix handins using from key 2025-08-09 13:49:23 +02:00
Chomp 07ccbaf3ce Fixed repeatable quests not grouping sandbox/sandbox_high together like we do with factory day/night 2025-08-09 12:12:50 +01:00
Chomp 6ad88a3c7a Improved item lookup safety inside FixShotgunDispersions 2025-08-09 11:53:03 +01:00
Chomp 67f7b762e8 Improved profile lookup safety of IsProfileInvalidOrUnloadable 2025-08-09 11:51:47 +01: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
Archangel f3134dec59 Fix up BLEEDING_EDGE not being semver compliant 2025-08-08 22:48:09 +02:00
Alex 59e164b740 Dependency reshuffle 2025-08-08 21:06:39 +01:00
Chomp 67bd1c69f6 Corrected comment 2025-08-08 15:57:49 +01:00
Chomp 0b91250c3d Used single TryGetValue instead of ContainsKey + direct access 2025-08-08 15:57:30 +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 5e05049669 Refactored GetDisplayableAssorts for clarity
Moved slow operations closer to their use inside `IsDisplayableOffer`
2025-08-07 23:24:23 +01:00
Chomp 15023f2e27 Optimised flea searching hotpath 2025-08-07 22:28:36 +01:00
Chomp 809310240c Added TODO 2025-08-07 18:22:28 +01:00
Chomp 162ce3f1d5 Comment and nullguard improvements in HideoutController 2025-08-07 18:22:13 +01:00
Chomp 131f2feeab Added nullguard to RemoveExpiredItemsFromMessage + chagned parameter to MongoId 2025-08-07 18:16:13 +01:00
Chomp 7168e167df Replaced loop with linq inside GetAllTraderSuits + return IEnumerable 2025-08-07 18:15:18 +01:00
Chomp e5be536269 Moved properties closer to their usage inside ItemAllowedInContainer() + improved nullhguard 2025-08-07 18:12:57 +01:00
Chomp 2f452ca2e0 Improved logic of GetTemplatePriceForItems 2025-08-07 18:11:51 +01:00
Chomp 2f962ef6dc string to mongoId conversion 2025-08-07 15:08:37 +01:00
Chomp efe9472f8b Moved trader info lookup outside of loop - StripLockedLoyaltyAssort 2025-08-07 10:54:09 +01:00
Chomp ccfac42814 Improved performance of GetItemWithChildren()
Reduced number of enumerations of `itemWithChildren` inside AddItemWithChildrenToEquipmentSlot()` by converting children to list at start of method
Applied additional filtering to child items collection inside `GetContainerItemsWithChildren()`
2025-08-06 23:14:32 +01:00
Archangel 2530418e5b Re-add BuildType comment 2025-08-06 22:43:59 +02:00
Archangel 3ba47c92dd Set proper SPT version across all projects in build.props 2025-08-06 22:41:16 +02: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
Archangel c57533a07f Update csproj 2025-08-06 21:39:32 +02:00
Archangel fdb11ec506 Update csproj 2025-08-06 21:23:42 +02:00
Archangel ae828726dd Add into target 2025-08-06 21:11:06 +02:00
Chomp a0013fceca Updated nuget packages 2025-08-06 19:22:49 +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 3f405fc67e Reduced scope of lock used in GetExpiredOfferItems() 2025-08-06 17:04:49 +01:00
Chomp 654fd63355 Removed unnecessary casts to double 2025-08-06 15:23:11 +01:00
Chomp 8e961633d4 string > mongoId conversion 2025-08-06 15:22:37 +01:00
Chomp caafec6ab0 use correct nomenclature for fields in RandomUtil + made private methods protected 2025-08-06 15:22:09 +01:00
Chomp 5cd5ed1f42 Refactored logic of ragfairServer.update()
typo fixes
2025-08-06 15:17:34 +01:00
Chomp 98a186ff2f Refactored logic of GetPmcNicknameOfMaxLength() 2025-08-06 15:15:58 +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 40fe4dbd89 Removed unncessary check now the id is a MongoId 2025-08-06 12:47:53 +01:00
Chomp cdc9cd59e2 Replaced Wishlist property in profile with pure dictionary 2025-08-06 12:47:28 +01:00
Chomp 7ece60ac54 Improved logic 2025-08-06 12:35:02 +01:00