Commit Graph

1441 Commits

Author SHA1 Message Date
Chomp 2be1310c64 Revert "Updated nuget packages"
This reverts commit f6d9d461a6.
2025-10-31 18:37:02 +00:00
Archangel 73d299830a Remove unused record 2025-10-31 19:26:38 +01:00
Chomp b92aedbc0c Fixed player scav not having correct HP values on limbs #642 2025-10-31 18:24:30 +00:00
Chomp f6d9d461a6 Updated nuget packages 2025-10-31 16:36:46 +00:00
Chomp 421ab55c23 Post raid effect fixes:
When exiting raid with severe muscle pain, prevent client instructing server to add mild muscle pain
When exiting a raid with effect that has a timer, decrease timer value by amount of time spent in raid
2025-10-31 16:29:55 +00:00
Archangel e5bb62cf62 Default assign IEnumerable 2025-10-31 17:05:13 +01:00
Archangel ae15dc1bee Add migration for invalid pockets 2025-10-31 16:53:15 +01:00
Chomp 4070f866fa Added halloween event bosses to april event 2025-10-31 13:45:06 +00:00
Chomp c1c9b2a53f Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-10-30 22:14:52 +00:00
Chomp ab882617d7 Generate weapon/armor price based on the child item price total 2025-10-30 22:13:53 +00:00
Tyfon cac81f417d Account for compound items in DialogHelper.GetMessageItemContents 2025-10-30 11:03:24 -07:00
Chomp df068fb8bd ProfileDataService changes:
Added `ClearProfileData()`
Replaced filepath access with `Path.Combine`
Reduced various sources of duplication
2025-10-30 10:45:22 +00:00
DrakiaXYZ ef18c902dc Addd a new ReleaseCheckService to notify users of updates (#670)
* Addd a new ReleaseCheckService to notify users of updates
- Pulls the latest release from GitHub API to compare the tag against the users current SPT version
- Runs at the very end of the startup process to avoid being pushed off screen by mod logging
- Only notifies of patch version increments, not major or minor increments
- Links the release notes so users can Ctrl+Click to open directly to the upgrade page
- Is run on its own thread, and discards all errors, so as to not impact users without an internet connection or ability to access GitHub

* Formatting

* Use record for the ReleaseInformation class

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-10-30 09:05:34 +00:00
Chomp b6b67e0ecc Enabled Night of The Cult bosses to spawn 2025-10-29 23:23:24 +00:00
Chomp 2aebb3643b Fixed incorrect logic 2025-10-29 23:19:37 +00:00
Chomp 15fbe958c9 Don't apply hostility changes to maps without zombies during halloween
`ReplaceBotHostiltiy` has optional map whitelist param
2025-10-29 17:01:57 +00:00
sp-tarkov-bot 3da3ea1098 Format Style Fixes 2025-10-28 17:03:57 +00:00
CWX abb844c9ce formatting and add Wipe Endpoint to V2 2025-10-28 17:02:55 +00:00
CWX 9ce50c697a Add wipe Response model 2025-10-28 17:02:33 +00:00
CWX 2d5535c0c8 Remove unused using 2025-10-28 17:01:12 +00:00
Chomp 17c8572bed Added comment 2025-10-27 13:34:22 +00:00
Chomp 88037291d9 Change BTR skin to tarcola during Christmas event 2025-10-27 13:32:46 +00:00
DrakiaXYZ 7039731e67 Fix exception sometimes thrown on save
- Switch back from File.Rename to File.Move, as Rename is throwing exceptions on some users systems
2025-10-26 23:04:30 -07:00
DrakiaXYZ 60acb23d72 Move cooldown check inside the lock for better thread safety (#663)
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-10-26 17:27:30 +00:00
DrakiaXYZ 4e73778920 Fix multiple backups running at once
- Backups now have a cooldown, default of 30 seconds
- Backups now have a lock, in the event of a TOC/TOU race condition, the lock will stop duplicate backups
2025-10-26 10:17:26 -07:00
sp-tarkov-bot aa3bda6578 Format Style Fixes 2025-10-26 08:50:45 +00:00
GrooveypenguinX 07aa4c8977 Implemented Modded Trader Customization Services (#660)
Co-authored-by: GrooveypenguinX <jakechase2110@gmail.comX>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-10-26 08:49:39 +00:00
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
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 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
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 97a41369d9 Improved comment 2025-10-20 15:37:24 +01: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
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