4077 Commits

Author SHA1 Message Date
DrakiaXYZ d375879a3a Fix post-raid health (#661)
* Fix post-raid health
- Re-add death penalty for limbs
- Correctly set body part HP to 1 for cursed death only
- Use the server profile body part max HP for calculating penalties
- Never modify the body part max HP on the profile
- Remove ResetMaxLimbHp as it's unnecessary if we never update max HP elsewhere

* Formatting

* Remove unnecessary null coalescing

* Stupid formatting

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-10-26 08:47:40 +00:00
DrakiaXYZ a524dc47dd Merge pull request #658 from DrakiaXYZ/fix-savecontention
Fix potential file access contention in SaveProfileAsync
2025-10-25 21:43:14 +00:00
bubz_dev 7a27ae814f Use local time for server startTime on status page (#657)
Co-authored-by: bubz_ <bubz_dummy@gmail.com>
2025-10-25 18:10:15 +02:00
Chomp a3c537b6f7 Added Tagilla's welding mask - Labyrinth and Chained Labrys to boss items list 2025-10-25 09:25:38 +01:00
Chomp 43fffce216 Reward blacklisted Tagilla's welding mask - Labyrinth 2025-10-25 09:22:42 +01:00
Chomp 120da37573 Merge pull request #655 from tyfon7/develop
Adjust when Dialogue.AttachmentsNew is changed
2025-10-25 07:59:13 +00:00
Cj a608b33f38 Merge branch 'develop' into develop 2025-10-24 19:03:17 -04:00
Tyfon dae5da9399 Adjust when Dialogue.AttachmentsNew is changed 2025-10-24 15:48:00 -07:00
Chomp a46e26725f Hardened GetRandomizedResourceValue when GetPercentOfValuereturns values below 1 2025-10-24 21:59:04 +01:00
Chomp 7bf0ecc78e Remove eft version tag from watermark 2025-10-23 20:23:05 +01:00
sp-tarkov-bot 776f09c470 Format Style Fixes 2025-10-23 16:24:33 +00:00
Archangel 0038e19489 Add new migration 2025-10-23 18:23:19 +02:00
Chomp f702c4f85f Fixed AllExtracts json issue 2025-10-23 14:35:19 +01:00
Archangel f3b2af7ccc Remove dupe unused props 2025-10-23 08:06:32 +02:00
DrakiaXYZ 47089afdd1 Further attempt to resolve profile corruption issues (#650)
* Further attempt to resolve profile corruption issues
- FileUtil now uses File.Replace and does a sync flush
- Add restore capabilities to BackupService
- If loading a profile fails, attempt to restore from the most recent backup
- Trigger a backup creation on raid start, raid end, and game close
- Load profiles before starting the backupService to avoid backing up corrupt profiles

* - Switch async calls to .GetAwaiter().GetResult() for better exception handling

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-10-23 07:49:24 +02:00
Chomp bda2c8757c Added missing achievement icon 2025-10-22 17:20:58 +01:00
Chomp 3636063bd6 Updated item.json conflicting item values 2025-10-22 16:32:18 +01:00
Chomp 9a5545f939 Updated locales 2025-10-22 15:50:43 +01:00
Chomp 020ee1b3dd Updated bot difficulty values using patch 40743 data 2025-10-22 15:27:09 +01:00
Chomp f732fb6afc Fixed typos in en locale 2025-10-21 21:35:28 +01:00
Chomp 88e5e9e748 Improved error handling inside HandleMusclePain() 2025-10-21 19:01:24 +01:00
Chomp 813e00479d Validate filename is mongoId before we load it as profile #648 2025-10-21 16:52:23 +01:00
Chomp 65aa47b0a2 Corrected invalid Count value on bigmap 2025-10-21 10:49:31 +01:00
Chomp b2f0d7c5f1 Duplicated image to fix server error 2025-10-21 10:04:58 +01:00
Chomp c7251e7d22 Merge pull request #647 from DrakiaXYZ/fix-itemservicelocalesanity
Add sanity checks to CustomItemService's AddToLocaleDbs method
2025-10-20 21:51:58 +00:00
DrakiaXYZ aa8911f5aa Add sanity checks to CustomItemService's AddToLocaleDbs method 2025-10-20 12:17:50 -07:00
Chomp 94d2a8d233 Lock existence check to prevent bots being generated without loot 2025-10-20 17:34:06 +01:00
Chomp 19ee334242 Merge pull request #646 from sp-tarkov/deepwiki
Added deepwiki badge
2025-10-20 16:09:07 +00:00
Alex 92d3630b9c Added deepwiki badge 2025-10-20 16:58:46 +01:00
Chomp 6c8fef001c Fixed invalid path in error message #637 2025-10-20 16:49:27 +01:00
Chomp 97a41369d9 Improved comment 2025-10-20 15:37:24 +01:00
CWX 49596fcabf Update Build.props
Update to 4.0.2
2025-10-20 14:54:36 +01:00
sp-tarkov-bot 56318f4294 Format Style Fixes 2025-10-20 12:01:26 +00:00
Chomp d4448da378 Merge pull request #645 from sp-tarkov/disable-gc-requests
Added NoGCRegion feature
2025-10-20 12:00:30 +00:00
Chomp fd4d1583fd Merge branch 'develop' into disable-gc-requests 2025-10-20 11:59:57 +00:00
Chomp 9fa0c51cee Improved how offers are gathered prior to iteration 2025-10-20 12:59:28 +01:00
Alex f572304444 using interlocked 2025-10-20 11:51:35 +01:00
Alex d672130eeb Moved NoGCRegion into middleware service 2025-10-20 11:48:35 +01:00
Chomp 8aa29bf22b Merge branch 'disable-gc-requests' of https://github.com/sp-tarkov/server-csharp into disable-gc-requests 2025-10-20 11:20:39 +01:00
Chomp af9160c94d Use specific exception 2025-10-20 11:20:14 +01:00
clodanSPT 18e6d9174b Merge branch 'develop' into disable-gc-requests 2025-10-20 12:15:16 +02:00
Chomp 353b8f54bb Added functionality to reduce non-damaged limb hp to 20% on pmc death when player is 'cursed' #640 2025-10-20 11:06:29 +01:00
Alex 3972e14840 Added NoGCRegion feature 2025-10-20 11:05:58 +01:00
Chomp dc2579c86d Skip init Offers as its immediately int on the line below 2025-10-20 09:56:32 +01:00
Cj f3f91e37b7 remove unused record 2025-10-20 04:22:49 -04:00
Chomp f1710cfb5c Merge pull request #643 from sp-tarkov/extension-data-patch-setter
Added setter to ExtensionData properties
2025-10-20 08:15:57 +00:00
Alex f935eb82b9 Added setter to ExtensionData properties 2025-10-20 09:09:04 +01:00
ozen-m ab62b070a8 Fix insurance removes stored item and fix drawn element not being removed (#639)
* Exclude items stored inside root item (e.g. armored rigs) when processing regular items

* Remove draw element when whitelist is null

* Simplify null check
2025-10-19 20:23:31 -07:00
CWX 9db19aa730 Update launchSettings.json
Add option for linux in launchSettings.json
2025-10-19 22:32:58 +01:00
Cj 37c900c8aa Always overwrite locales instead of reporting an error if the key exists 2025-10-19 16:40:45 -04:00