Chomp
8177093b16
Updated EnsureItemHasValidStackCount to be an extension method
2025-09-08 12:48:06 +01:00
sp-tarkov-bot
6fbbc6f483
Format Style Fixes
2025-08-21 12:16:34 +00:00
Alex
f617fa13f2
Added ObjectExtensions functions to deal with ExtensionData dictionaries within the project
2025-08-21 13:15:44 +01:00
clodanSPT
d14e7cc155
Added ceciler patch to add jsonextensiondata ( #565 )
...
Co-authored-by: Alex <clodanSPT@hotmail.com >
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-08-21 09:45:07 +00: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
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
Chomp
460d359a0d
Added AddUpd extension method
2025-08-05 14:09:54 +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
Archangel
cec47fefd2
Apply enforced file scoped namespacing
2025-07-31 15:23:32 +02:00
Chomp
c89c84dff3
Converted RemoveFiRStatusFromItemsInContainer into extension method
...
Improved performance of method by using breadth-first search to find children instead of loop
Wrote tests for method
2025-07-30 23:13:09 +01:00
sp-tarkov-bot
b14b74bf24
Format Style Fixes
2025-07-28 19:39:29 +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
db34eaa501
Updated various methods to accept IEnumerable instead of List
2025-07-23 10:57:49 +01:00
Chomp
731b79519f
Rename method to GetItemWithChildren
2025-07-22 20:43:08 +01:00
Chomp
9a92440b31
Simplified IsVertical()
2025-07-19 22:33:37 +01:00
Chomp
46638b1197
Refactored FindAndReturnChildrenAsItems method for better performance
2025-07-19 13:03:28 +01:00
Chomp
d7f83e1b7d
Micro-optimisations
...
Moved `GetInventoryItemHash` to extensions and rewrote to make better use of linq
2025-07-19 11:11:59 +01:00
Chomp
38fb2454c7
Various micro-optimisations
2025-07-18 16:05:29 +01:00
Chomp
040be2feaa
More strings to MongoIds
...
Convert constructors into primary constructors
Simplified logic with use of ??, ??= and method groups
Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp
5ef2271a29
Converted collections to their frozen counterparts for improved lookup speed
2025-07-14 19:56:20 +01:00
Chomp
7bda1b525f
Updated acceptableFileExtensions to be a frozenSet
...
Removed more boxing
2025-07-07 13:31:39 +01:00
Chomp
e1c1617c86
Updated RemapRootItemId to return a mongoId
2025-07-05 19:58:04 +01:00
Chomp
fa674d6add
Converted RemapRootItemId into extension method
2025-07-05 17:46:58 +01:00
Chomp
f140e1e106
Converted ReplaceIDs into extension method
2025-07-05 17:25:59 +01:00
Chomp
4f5571c2d4
Converted more ids to MongoId
2025-07-05 12:35:03 +01:00
Chomp
4e2d4dc708
Rewrote container item space system to use 2 dimensional arrays ( #442 )
...
* Rewrote container item space system to use 2 dimensional arrays
* Moved container helper code into extension methods
* Reduced amount of parameters passed into `RowIsFull`
* Skip root trader items
* Remove debug
---------
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-07-03 16:36:13 +01:00
Jesse
54f0d0779c
Convert TemplateItem to MongoId ( #436 )
...
* Convert TemplateItem to MongoId
* Push new extensions
* Handle null mongoid's being passed to regex
* Handle null strings, fixes item events
* Updated loot generation to work with new property `composedKey`
Fixed typo in `SlotId`
* Fix missing method after merge
* Remove duplicately named MongoIDExtensions?
* Fixed location loot generation to handle impending loot json changes
* Updated location JSONs with new properties (excluding lighthouse loose loot)
* Fixed build issue with ItemTplGenerator
* use correct handing for new mongo ids
* Added helper method to improve readability
---------
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-07-02 10:14:04 +01:00
Jesse
6ac747d18d
Begin converting some id's to MongoId ( #435 )
...
* Begin converting some id's to MongoId
* Remove nullability on MongoId's
* Update trader MongoId's
2025-06-30 15:25:47 +01:00
Chomp
42e79c981b
Converted FindAndReturnChildrenAsItems into extension method
2025-06-28 12:38:34 +01:00
chompDev
00610acefe
.NET Format Style Fixes
2025-06-28 11:15:22 +00:00
Jesse
22c71bee5b
Helper methods extensions ( #431 )
...
* Remove unused model
* Start moving methods to extensions, cleanup code
2025-06-28 12:14:50 +01:00
Chomp
a3dbd3176e
Updated FindAndReturnChildrenByItems to be an extension method
2025-06-28 11:58:50 +01:00
Chomp
6126dc2394
Added item extensions
2025-06-28 10:04:52 +01:00