Commit Graph

2221 Commits

Author SHA1 Message Date
Archangel f96172ac60 Always init ExtensionData & fix BaseInteractionRequestData inheritance 2025-08-17 16:20:32 +02:00
Chomp 24397b0439 Fix logging messages 2025-08-17 09:23:17 +01:00
sp-tarkov-bot ab114352ea Format Style Fixes 2025-08-16 23:31:11 +00:00
Cj a4e3fc7c4e Fix error placed in the wrong spot 2025-08-16 19:30:12 -04:00
Archangel ff3d1091d8 Handle being able to read JSONC files by default 2025-08-16 16:13:13 +02:00
Chomp 90a5b9dbc1 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-08-16 14:38:54 +01:00
Chomp 3c8634edd7 Improved saftey of adjusting values when using randomistionDetails.NighttimeChanges.EquipmentModsModifiers 2025-08-16 14:38:02 +01:00
sp-tarkov-bot afd95052e0 Format Style Fixes 2025-08-16 13:37:51 +00: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
Cj bb649e6748 Warning fixes and ProfileValidatorHelper cleanup (#551)
* Fix warnings in ProfileHelper.cs

* Refactor ProfileValidatorHelper.cs

* reduce nesting
2025-08-15 11:29:46 +00:00
Chomp 07504d406e Renamed TryFillContainerMapWithItem and changed output to better follow c# conventions 2025-08-15 11:24:10 +01:00
Cj b1a3a36832 Warning fixes continued (#550)
* More warning fixes

* Revert ModHelper change
2025-08-14 14:00:36 +01:00
sp-tarkov-bot c32b4dc5a7 Format Style Fixes 2025-08-14 08:48:00 +00:00
Chomp 8601d1cbc1 Added Unlocked equipment crate (BattlePass 0) loot generation 2025-08-14 09:47:05 +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
Chomp 2d780eb791 Fixed GetLootFromCache filtering out valid loot items 2025-08-13 12:41:29 +01:00
Cj 726e4fccd5 Fix doc, remove unused using 2025-08-13 03:49:38 -04:00
Cj 21e075af2f ItemHelper warning fixes (#546)
* - ItemHelper warning fixes
- Fix Fast panel id replacement
- Disable resharper enumeration highlighting

* Use suggestion
2025-08-13 08:28:06 +01:00
Cj 0964acff8d Fix bad port from node, fix invalid specific extract requirement 2025-08-12 16:13:39 -04:00
Cj 021e5f8239 Log errors before throwing exceptions 2025-08-12 15:49:26 -04:00
Cj 628a31f07f Helper warning fixes (#545)
* Helper warning fixes

* Make AI happy
2025-08-12 19:06:46 +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
Archangel a8f43a70f7 Update docs 2025-08-12 18:34:26 +02:00
Cj d705b6119a Fix incomplete error text 2025-08-12 11:52:33 -04:00
Cj e54dcbd4d1 Fix more warnings... (#543)
* Fix more warnings...

* Fix mistake
2025-08-12 15:28:54 +00:00
Chomp 4a081a7ac3 Updated class param formatting 2025-08-11 21:08:55 +01:00
Cj 2704998768 Change missed switch to fallthrough over or 2025-08-11 14:12:44 -04:00
Cj 9bd5c2a401 Prefer fallthrough over or and newline 2025-08-11 14:08:59 -04:00
sp-tarkov-bot 1474d2b799 Format Style Fixes 2025-08-11 14:13:49 +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
Archangel 860daee674 Improve prestige quest handling if quest does not exist 2025-08-11 15:41:49 +02:00
Chomp e7376a7cf3 Updated server locales 2025-08-10 17:02:59 +01:00
Chomp 982878cd95 Removed unused helper method 2025-08-10 12:17:05 +01:00
Chomp 8bc25ca4eb Fix most warnings inside ItemHelper.cs (#541) 2025-08-10 11:15:06 +00: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 4b02b6de7d Fix most warnings inside ItemHelper.cs 2025-08-10 00:09:44 -04:00
sp-tarkov-bot a4995b7318 Format Style Fixes 2025-08-09 20:41:17 +00: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
Archangel dd67098734 Remove unnecessary cloning 2025-08-09 16:53:05 +02:00
Archangel fbb0e6cd6a Add configurable build text colors 2025-08-09 14:57:07 +02:00
sp-tarkov-bot 39118c9d56 Format Style Fixes 2025-08-09 12:49:25 +00:00
Archangel 59fca768be Make lists readonly and do not assign unecessary vars 2025-08-09 14:48:24 +02:00
sp-tarkov-bot 28f84663f8 Format Style Fixes 2025-08-09 12:46:06 +00:00
Archangel 1065c80f48 Remove nodisms from WatermarkLocale 2025-08-09 14:45:19 +02:00
Archangel 96a62c20a7 Make Watermark use primary constructor 2025-08-09 14:38:50 +02:00
Archangel 744bb7af74 Make versionLabel more clear 2025-08-09 14:32:01 +02:00
Archangel a46cb06ddb Fix up formatting of version tag 2025-08-09 14:26:12 +02:00
Lacyway 6094449903 Fix handins using from key 2025-08-09 13:49:23 +02:00
Chomp 07ccbaf3ce Fixed repeatable quests not grouping sandbox/sandbox_high together like we do with factory day/night 2025-08-09 12:12:50 +01:00