Commit Graph

19 Commits

Author SHA1 Message Date
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +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
Cj 76e91047d6 More warnings fixes (#542)
* Fix more warnings, add new exception

* Run formatter

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-08-11 14:13:02 +00:00
Chomp e1e3ed0bb3 Fixed bots sometimes spawning with 0 stack sized ammo in their pockets/vests #529 2025-08-03 09:34:50 +01:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 623fce1484 Added id generation for BaseClasses, updated references 2025-07-27 17:40:27 +01:00
Chomp 2c5420f3db list to ienumerable 2025-07-24 16:05:14 +01:00
Chomp 1320f7d0ab Ienumerable changes 2025-07-23 13:06:48 +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
Cj 3817d6cca4 Helpers Mongoid conversion + cleanup (#458)
* Start converting helper method ids to mongoids and remove underscore from injections...

* Finish helper mongoIds
2025-07-06 17:31:59 +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
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 11c52b81da Converted GetWeaponsDefaultMagazineTpl into extension method 2025-06-28 15:49:27 +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
Chomp df8ffa2b16 Replaced various instances of dictionaries and hashsets with their frozen counterparts 2025-03-09 17:12:07 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00