30 Commits

Author SHA1 Message Date
Chomp ee1cca6330 Force StackObjectCount property to be added to:
Bot equipment
Bot loot
Player scav additional loot items

Emulates what we see in live data
2025-09-14 10:20:24 +01:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Chomp 1df80171eb Added new property to profiles 2025-08-23 14:34:53 +01:00
Chomp 100c3a7b47 Cleaned up SetScavCooldownTimer 2025-08-19 12:04:35 +01:00
Chomp 7eb88646f2 Second attempt at fixing prestige issue #558 2025-08-19 12:04:15 +01:00
Chomp bb566e32ad Fixed pscav generation failure during prestige #556 2025-08-19 10:28:50 +01: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 cdc9cd59e2 Replaced Wishlist property in profile with pure dictionary 2025-08-06 12:47:28 +01:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 0e72f9e21c Generate player scav items using "assault" randomisation settings 2025-07-18 16:21:54 +01:00
Chomp f3482e28d9 Removed unnecessary nulls from Globals class 2025-07-16 12:20:19 +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 266b6bcc10 Fixed build 2025-07-07 09:50:41 +01:00
Cj 448c258600 update mongoIds, remove underscores from injections in generators (#460) 2025-07-07 09:46:51 +01:00
Chomp 3d11031dc6 Converted sessionIds from strings to MongoId struct 2025-07-07 09:34:43 +01:00
Archangel 79489eadce Handle ToLower neutrally across all locales (#412) 2025-07-03 18:28:36 +02:00
Chomp 86295b68fb Added MongoId type to various places 2025-07-02 19:07:58 +01:00
Chomp a8308248d6 Replaced hashutil.generate with new MongoId() 2025-07-02 12:47:00 +01:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
Chomp fed9f3dd46 Made GetScavSkills an extension method and made more generic 2025-06-28 11:53:05 +01:00
Chomp 0a28dc4657 Moved GetScavKarmaLevel to extension method 2025-06-28 11:47:29 +01:00
Chomp 38e4cc2570 Refactored AdjustBotTemplateWithKarmaSpecificSettings
Modularised code into smaller chunks
Improved loops for better readability
Removed reflection
2025-06-25 13:35:11 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 5886320bb6 change to seconds not ms 2025-04-20 14:33:14 +01:00
Chomp fac25740c6 Hydrate MainProfileNickname in player scav on generation 2025-04-02 10:14:46 +01:00
Chomp 33c56e0730 Updated values to be consts where possible 2025-03-08 09:33:04 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00