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
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
Jesse
c852debf2b
Bundle loader refactor ( #502 )
...
* Bundle loader refactor
- Made async
- Validate if bundle actually exists, if not throw warning into the console
- Updated mod example
* Cleanup unused var
2025-07-22 12:54:06 +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
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
80624ece4d
Improved handling of null location id inside GetRoubleValue
2025-07-18 09:38:13 +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
Chomp
f3482e28d9
Removed unnecessary nulls from Globals class
2025-07-16 12:20:19 +01:00
Chomp
38b1f648ce
Added dictionary extensions
2025-07-16 10:13:33 +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
Jesse
a00b5c51d2
More prestige fixes ( #471 )
...
* Only send message if there's items to be sent
* Update variable name
* Fix up incrementing a null integer
2025-07-11 14:52:33 +01:00
Chomp
9e136fa664
Reset limb max value after a raid
2025-07-08 10:08:36 +01:00
Chomp
7bda1b525f
Updated acceptableFileExtensions to be a frozenSet
...
Removed more boxing
2025-07-07 13:31:39 +01:00
Chomp
61f62f191d
Converted more strings to mongoIds and fixed issue with buying items from pmcs on flea
2025-07-07 11:56:19 +01:00
Cj
090d7b6494
change vars to MongoId, remove underscore from injections, fix bug introduced from last PR
2025-07-06 16:40:08 -04: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
bec75e6a88
Updated StringExtensions.Decode formatting to match Encode
2025-07-05 10:17:29 +01:00
Chomp
01cd251b68
Moved more code into extension methods
2025-07-04 19:29:43 +01:00
Chomp
762d42c009
Corrected+expanded test logic
...
Resolved issues with moving/adding items to inventory containers
2025-07-04 17:59:15 +01:00
Jesse
b3c5d3732e
Begin initial work to make Hideout id's MongoId's ( #447 )
...
* Begin initial work to make Hideout id's MongoId's
* Set template to mongo
* More conversions
2025-07-04 15:51:10 +01:00
Chomp
6b810687f3
Fix issues found by tests
2025-07-04 15:26:15 +01:00
Chomp
8837c26584
Fixed traders purchases not working
2025-07-04 14:10:12 +01:00
Chomp
908635e272
Correctly init 2d array
2025-07-04 10:41:24 +01:00
Chomp
c8b8669546
Cleaned up Inventory helper and improved readability
2025-07-04 09:23:41 +01:00
Chomp
52bb6f3cab
Fixed logic error inside CanItemBePlacedInContainerAtPosition
2025-07-04 09:06:23 +01:00
Chomp
abe290b1eb
Merge pull request #443 from sp-tarkov/locale-fixes
...
Handle ToLower neutrally across all locales (#412 )
2025-07-03 23:05:38 +01:00
Chomp
930ce7d6ad
Fixed incorrect logic inside RowIsFull`
2025-07-03 18:01:51 +01:00
Archangel
79489eadce
Handle ToLower neutrally across all locales ( #412 )
2025-07-03 18:28:36 +02: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
Cj
371c9d58f0
Repeatable quest generation MongoID conversion ( #439 )
...
* Update repeatable quest generation for mongoid, add new server localizations, switch `Traders` to MongoId
* Give error default value
2025-07-02 12:44:49 +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
chompDev
46989aa19e
.NET Format Style Fixes
2025-07-01 09:18:15 +00:00
Lacyway
8e3894e9ad
MongoID improvements ( #437 )
...
* MongoID improvements
- Added extension to check whether a MongoID is valid, 33% faster than old method
- Cut down generation speed by 2/3
* Fix method used
* Add test
2025-07-01 10:17:39 +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
d6b4e3378a
Refactored GetMostRecentPreviousDay to not use while loop
2025-06-30 10:21:37 +01:00
Chomp
81a263b7d0
Fixed incorrect logic in how weekly reset date is picked, choose the most recent previous day, not the closest
2025-06-30 10:12:55 +01:00
Chomp
e6b791179b
Added Boss of the week system
...
Similar to live where a boss is picked at random and will have a guaranteed spawn on a map. This is indicated with a skull on the map selection screen
Configurable via `config/bot.json/weeklyBoss`
2025-06-29 18:58:23 +01:00
Chomp
4d39a4c819
Remove unused profile property VitalityData
2025-06-29 15:55:55 +01:00
Chomp
cb559fdf5c
Reduced complexity of post-raid health transfer
...
Likely fixed issue with effects not transferring over correctly out of raid
2025-06-29 15:48:23 +01:00
Chomp
1c83014ed2
Converted CalculateLevel to extension method
...
Removed `PlayerService`
2025-06-28 17:05:56 +01:00