Commit Graph

3187 Commits

Author SHA1 Message Date
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 1839e0b965 Merge pull request #549 from sp-tarkov/fix-unnecessary-logging
Fixed unnecessary debug logging when processing hideout areas with resources
2025-08-13 16:20:37 +00: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 965d503021 Merge pull request #547 from sp-tarkov/fix-pmc-loot-filtering
Fix pmc loot filtering removing valid loot items from pool
2025-08-13 11:45:14 +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
Refringe bea7ab62e8 Update CHANGELOG.md 2025-08-12 13:52:08 -04: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
Refringe 2076ac79a8 Create CHANGELOG.md 2025-08-12 12:53:04 -04: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 f66a982f09 Merge remote-tracking branch 'upstream/develop' into develop-upstream
# Conflicts:
#	Libraries/SPTarkov.Server.Core/Helpers/DurabilityLimitsHelper.cs
2025-08-11 14:13:06 -04:00
Cj 2704998768 Change missed switch to fallthrough over or 2025-08-11 14:12:44 -04:00
sp-tarkov-bot 5b608cda4d Format Style Fixes 2025-08-11 18:09:52 +00: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
Cj 7321c9911b Disable CA1822 "Member does not access instance data and can be made static" 2025-08-09 23:13:14 -04:00
Cj cc244f1e0d Fix test 2025-08-09 21:57:45 -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
Cj c16c988fda Merge pull request #539 from CJ-SPT/test-mod
Intoduce test mod and restructure test suites into their own solution folder
2025-08-09 19:26:06 +00:00
Archangel dd67098734 Remove unnecessary cloning 2025-08-09 16:53:05 +02:00
Archangel 131651a9c3 Reset build.props back to default 2025-08-09 15:01:18 +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 23b3ae443b Format Build.props 2025-08-09 14:26:13 +02:00
Archangel a46cb06ddb Fix up formatting of version tag 2025-08-09 14:26:12 +02:00
Chomp fa112d4b68 Fix handins using from key (#538) 2025-08-09 11:51:39 +00: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