Commit Graph

309 Commits

Author SHA1 Message Date
Archangel 53b2e5e429 Fix up requests to endpoints 2025-08-21 21:48:22 +02:00
Archangel d413a6e9c5 Remove TraderStore, use DatabaseService as the source of truth 2025-08-21 16:18:41 +02:00
Chomp b00d6f8d0d Fixed various property mapping issues 2025-08-21 15:14:54 +01:00
Archangel 0f5044527c Make more properties immutable 2025-08-21 15:44:38 +02:00
Chomp b2b1f18f73 Oops 2025-08-21 14:43:02 +01:00
Chomp a0ce834b29 Fixed various property mapping issues 2025-08-21 14:41:56 +01:00
Chomp 93a074f907 Fixed various property mapping issues 2025-08-21 14:05:14 +01:00
Alex e226abc029 Fixed Settings model 2025-08-21 13:39:17 +01:00
Chomp 3397164ac9 Added new properties to trader base.json model 2025-08-21 10:52:00 +01:00
Chomp 600a9c12b1 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-08-21 10:47:57 +01:00
Chomp 86c454645c Fixed incorrect type 2025-08-21 10:47:43 +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 a09f368d11 Updated settings.json properties 2025-08-21 10:38:43 +01:00
Chomp b304944a74 Added new properties to items.json 2025-08-21 10:09:25 +01:00
Archangel e9d76400b2 Further work out dialogue endpoint 2025-08-21 07:25:21 +02:00
Archangel 2387775be0 Fix up new endpoint 2025-08-20 20:17:43 +02:00
Archangel 709d24931a Adjust nullability on ICustomTrader 2025-08-20 16:59:02 +02:00
Chris Adamson 457e7cd36c Fix: Killing the client will no longer save your items (#557)
* alt-f4 is for timmys and rats, not chads like Chomp

* peer review fixes

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-08-19 16:39:20 +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
Chomp 8b0445375b Revert 2025-08-17 20:06:38 +01:00
Chomp c1522c278e Validate profiles on server start, can be disabled via core.config 2025-08-17 19:56:59 +01:00
Archangel ed52b00d22 Keep unused locations nullable and not required 2025-08-17 18:01:04 +02:00
Archangel e4a80f1f42 Make main database properties immutable 2025-08-17 17:57:58 +02:00
Archangel 35568adb0b Handle DB nullability 2025-08-17 17:17:39 +02:00
Archangel f96172ac60 Always init ExtensionData & fix BaseInteractionRequestData inheritance 2025-08-17 16:20:32 +02:00
Chomp d94490b52f Added functionality to force PMCs to wear specific armband - default enabled
usec = blue
bear = red
2025-08-16 14:37:06 +01: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
Cj 4d0eb4d4f3 Change to using builtin SemVer type for AbstractModMetadata and ProgramStatistics.Generated (#536)
* Change to using SemVer builtin type

* Remove SptVersion from config, remove redundant .ToString()

* Update test mod, fix watermark string conversion
2025-08-09 20:40:25 +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
Archangel f3134dec59 Fix up BLEEDING_EDGE not being semver compliant 2025-08-08 22:48:09 +02: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 5cd5ed1f42 Refactored logic of ragfairServer.update()
typo fixes
2025-08-06 15:17:34 +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 9793cd25ed Improved key lookup inside ProcessPostRaidQuests() 2025-08-04 13:38:56 +01: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 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