Commit Graph

171 Commits

Author SHA1 Message Date
Archangel f96172ac60 Always init ExtensionData & fix BaseInteractionRequestData inheritance 2025-08-17 16:20:32 +02:00
Chomp c3a4bb448c Filter down hideout areas prior to processing them in UpdateAreasWithResources
Updated hideout area "type" property to not be nullable
2025-08-13 17:15:52 +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
Jesse 60958b3d24 Merge pull request #544 from sp-tarkov/remove-warnings
Remove unused dependencies and improve code quality
2025-08-12 19:26:05 +02:00
Cj 8b4a81fae7 Make first 3 initial daily quests of differing type (#540)
* Make first 3 initial daily quests of differing type

* add comment
2025-08-10 09:52:00 +01:00
Chomp 809310240c Added TODO 2025-08-07 18:22:28 +01:00
Chomp 2f962ef6dc string to mongoId conversion 2025-08-07 15:08:37 +01:00
Chomp cdc9cd59e2 Replaced Wishlist property in profile with pure dictionary 2025-08-06 12:47:28 +01:00
Chomp 57dde61384 Various code quality improvements 2025-08-06 12:28:56 +01:00
Cj 529fe61f23 Controller house keeping (#532)
* Cleanup BotController.cs

* More controller cleanup

* More dialogue changes
2025-08-05 16:24:59 +01:00
Archangel d5514c6bb4 Only write InvalidOrUnloadableProfile if it's not null 2025-08-05 16:59:45 +02:00
Jesse c7e40deb90 Add support for partially loading invalid profiles (#533)
* Add support for partially loading invalid profiles

* Return early in exception
2025-08-05 15:25:47 +01:00
Chomp 179d072754 Interned more commonly duplicated strings 2025-08-03 21:05:03 +01:00
Chomp fdd6fb023e Added missing properties to objects 2025-08-03 20:49:05 +01:00
Chomp dd7a81b78a string.intern:
ragfair offer user nickname
Quest condition type
2025-08-03 20:48:40 +01:00
Chomp 0ea5269756 Updated profile SkillTypes property to use string to enum converter
Updated surrounding properties to not be null
Updated related code to reflect nullability change
2025-08-03 09:52:18 +01:00
Archangel cec47fefd2 Apply enforced file scoped namespacing 2025-07-31 15:23:32 +02:00
Archangel aec8420d53 Cleanup todos, run VS cleanup & enforce file scoped namespacing 2025-07-31 15:18:20 +02:00
Jesse bf5dedb672 Add currently active client mods in ProfileActivityService (#523)
* Add currently active client mods in ProfileActivityService

* Add method to fetch active client mods on profile
2025-07-28 21:18:38 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp a1b1c6d815 Updated string to mongoId 2025-07-27 13:31:46 +01:00
Chomp bfd616e7c3 Converted rewards data into dictionary - reduced need for reflection
Moved clone outside of `UpdateQuestsForGameEdition`
2025-07-26 12:53:56 +01:00
Chomp 526c3f6c44 string > mongoid
added nullguard
2025-07-25 21:12:37 +01:00
Chomp b1cdf99688 Flagged effects as possibly null 2025-07-25 20:23:39 +01:00
Chomp 24bc16a2f8 Added recipe quest id maps 2025-07-25 13:42:56 +01:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00
Chomp 2c5420f3db list to ienumerable 2025-07-24 16:05:14 +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 6079e282f5 List to ienumerable conversions 2025-07-24 11:36:42 +01:00
Chomp 10ad2dfe9a list to ienumerable changes 2025-07-23 22:07:56 +01:00
Alex 545edfd25f Removed unnecessary annotation 2025-07-23 21:47:20 +01:00
Alex 723f6fc638 Removed check for Enum converter and removed unnecesary converters 2025-07-23 21:32:49 +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 8f4f72dcdd Updated node comments to c# format 2025-07-21 21:09:17 +01:00
Chomp 2700273de1 string to mongoId changes 2025-07-21 15:13:47 +01:00
Chomp 0d7b006081 Don't serialise property and instead set when loaded on server start 2025-07-21 14:51:45 +01:00
Chomp 53cf5f97c8 Must serialise property into profile for player offers 2025-07-21 14:44:22 +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 59d33d2621 Deconstructed dict KvP to improve readabiltiy + string to mongoId conversions 2025-07-20 11:57:15 +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 a80d159545 Fixed prestiging not working after prestige 2
Fixed issues with receiving clothing
2025-07-19 21:16:42 +01:00
Chomp 38fb2454c7 Various micro-optimisations 2025-07-18 16:05:29 +01:00
Chomp b94d625362 string to mongoId + Various small refactors 2025-07-16 21:29:35 +01:00
Chomp 42d2e3f7ea Updated properties to not be nullable + various fixes 2025-07-16 14:57:24 +01:00
Chomp fdfbf66c1b Removed unncessary nulls 2025-07-16 13:26:09 +01:00
Chomp f3482e28d9 Removed unnecessary nulls from Globals class 2025-07-16 12:20:19 +01:00
Chomp 99c14de7af String to Mongo Id conversions
Cleaned up global class null values
2025-07-16 11:40:38 +01:00
Chomp e27b2b91e3 String to MongoId changes + Updated nullability of trader helper methods 2025-07-16 11:16:03 +01:00
Chomp 7b1f73fe7b Reduced brittleness of HealthTreatment + removed use of reflection 2025-07-16 11:15:17 +01:00