Commit Graph

29 Commits

Author SHA1 Message Date
Chomp c40439d04f Updated core difficulty code to use JsonElement 2025-08-23 10:30:26 +01:00
sp-tarkov-bot 48b00a2814 Format Style Fixes 2025-08-21 09:46:00 +00: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 7102711ef8 Improved comment 2025-08-19 10:30:57 +01:00
Chomp bb566e32ad Fixed pscav generation failure during prestige #556 2025-08-19 10:28:50 +01:00
Archangel e4a80f1f42 Make main database properties immutable 2025-08-17 17:57:58 +02:00
Archangel f96172ac60 Always init ExtensionData & fix BaseInteractionRequestData inheritance 2025-08-17 16:20:32 +02: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
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 1f6231ce6b Improved readability of GetRelativePmcBotLevelRange 2025-07-24 18:16:13 +01: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 a1e0dadd08 Part 2 of list to ienumerable 2025-07-23 15:55:28 +01:00
Chomp 4b12fb98f3 Removed some null props 2025-07-20 22:53:11 +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 2639504471 String to MongoId conversions
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +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 d99416a5a4 Removed use of reflection inside RemoveChristmasItemsFromBotInventory
Replaced more strings with mongoIds
2025-07-14 17:32:09 +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 8253215410 Converted strings into MongoId type 2025-07-05 11:03:09 +01:00
Jesse ebe8f9ded5 Mongoid changes (#440)
* Remove old IsValidMongoId and Regex

* Convert more configs to MongoId, as well as BaseClasses

* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +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
Chomp df0e3e5ce6 Updated ExtensionData to be nullable 2025-06-25 15:16:38 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 30b8a318ae Added ExtensionData to DTOs 2025-06-04 14:49:37 +01:00
Jesse ff1dfa54ae Do a small pass on SPT's config's to reduce warnings and cleanup (#348)
* Do a small pass on SPT's config's to reduce warnings and cleanup

* Revert

* Revert EFT models

* Set list as null
2025-06-04 14:46:52 +01:00
hulkhan22 b519da3e48 Make BotDetailsForChatMessages a record 2025-04-29 12:54:56 +02:00
hulkhan22 bbae435498 Refactor Bot chat messages at raid end 2025-04-28 21:58:45 +02:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00