sp-tarkov-bot
bb625f76aa
Format Style Fixes
2025-09-02 13:28:01 +00:00
Chomp
e5d0af3890
Formatting and naming consistency changes
2025-09-02 14:27:10 +01:00
sp-tarkov-bot
db8af3c88f
Format Style Fixes
2025-08-28 13:33:02 +00:00
Archangel
7e2e3db3fd
Change property naming to be more consistent ( #578 )
2025-08-28 15:32:02 +02:00
sp-tarkov-bot
ab114352ea
Format Style Fixes
2025-08-16 23:31:11 +00: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
Lacyway
d468848b0c
Improve MongoIds ( #537 )
...
* Mongoid improvements pt1
* Format Style Fixes
* Fix incorrect string
* Fix != comparison
---------
Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com >
2025-08-09 11:50:49 +01:00
Chomp
f35d56e5f0
Improved logic inside IsWeaponValid()
...
made use of lookup table to improve performance
Skip checking mods with 0 required slots
2025-08-06 21:18:47 +01:00
sp-tarkov-bot
b14b74bf24
Format Style Fixes
2025-07-28 19:39:29 +00:00
Chomp
2c5420f3db
list to ienumerable
2025-07-24 16:05:14 +01:00
Chomp
a1e0dadd08
Part 2 of list to ienumerable
2025-07-23 15:55:28 +01:00
Chomp
1320f7d0ab
Ienumerable changes
2025-07-23 13:06:48 +01:00
Chomp
db34eaa501
Updated various methods to accept IEnumerable instead of List
2025-07-23 10:57:49 +01:00
Chomp
80e0637b26
string to mongoid conversion
...
Removed unnecessary nulls
Cleaned up access levels for methods in `BotGenerator`
2025-07-20 11:33:25 +01:00
Chomp
5142f6b689
Reduce allocations inside AddAmmoToSecureContainer
2025-07-19 22:51:21 +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
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
Chomp
5c26f47e2f
Use correct new MongoId() instead of hashutil
2025-07-02 10:56:10 +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
6baf8a9118
Fixed FilterModsByBlacklist not filtering before returning results
2025-06-30 14:11:20 +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
Chomp
da5644cfa2
made properties readonly
2025-06-28 12:53:21 +01:00
refringe
6e01428b2b
.NET Format Style Fixes
2025-06-18 17:09:20 +00:00
Chomp
1d5162c761
Various changes and fixes for things that have been bugging me
...
Removed/flagged unused props
Typo fixes
Use `FirstOrDefault` over direct index access
Log stacktrace on exception inside `CreateWeaponItems`
2025-06-08 10:40:40 +01: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
6fdabc8fd7
Fix bot ubgl gen error
2025-04-11 17:47:30 +01:00
clodan
270f095413
renamed projects and namespaces
2025-03-07 13:16:43 +00:00