Commit Graph

231 Commits

Author SHA1 Message Date
DrakiaXYZ d2e2f04c93 Merge 4.0.3 changes to main (#674)
* Fix exception sometimes thrown on save
- Switch back from File.Rename to File.Move, as Rename is throwing exceptions on some users systems

* Change BTR skin to tarcola during Christmas event

* Added comment

* Remove unused using

* Add wipe Response model

* formatting and add Wipe Endpoint to V2

* Format Style Fixes

* Merge pull request #669 from sp-tarkov/Assembly-ref-validation

Validate core assembly reference when loading mods

* removed zombies from customs and interchange + increased infection across other maps that have zombie kill quests

* Don't apply hostility changes to maps without zombies during halloween

`ReplaceBotHostiltiy` has optional map whitelist param

* Updated hostility values for maps with infection:
bosses = hostile to player not to pmc bots
followers = hostile to player not to pmc bots
pmcs = hostile to player + always hostile to scavs
scavs = hostile to player and pmc bots
raiders = hostile to player and pmc bots

Adjusted infection rates to just maps with zombie kill quests

* Format Style Fixes

* Added missing values for event bosses

* Format Style Fixes

* Added missing values for `ravangezryachiyevent`
Fixed preset typo `bossTagillaAgro`

* Format Style Fixes

* Flagged `Night of The Cult` as halloween quest

* Fixed incorrect logic

* Enabled `Night of The Cult` bosses to spawn

* Format Style Fixes

* 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>

* ProfileDataService changes:

Added `ClearProfileData()`
Replaced filepath access with `Path.Combine`
Reduced various sources of duplication

* Adjusted `Goons` spawn chance to 20% across `Customs/Lighthouse/Woods/Shoreline`

* Account for compound items in DialogHelper.GetMessageItemContents

* Generate weapon/armor price based on the child item price total

* Added halloween event bosses to april event

* Flagged infected spawns as `ForceSpawn` and ``

* Add migration for invalid pockets

* Default assign IEnumerable

* 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

* Updated nuget packages

* Fixed player scav not having correct HP values on limbs #642

* Remove unused record

* Revert "Updated nuget packages"

This reverts commit f6d9d461a6.

* Added `IMP mine detector` to reward and flea blacklist

* Fixed weapon builds not overwriting existing #654

Cleaned up `SaveWeaponBuild` and `SaveEquipmentBuild`

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
Co-authored-by: CWX <CWXDEV@outlook.com>
Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com>
Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Co-authored-by: Tyfon <29051038+tyfon7@users.noreply.github.com>
Co-authored-by: Archangel <jesse@archangel.wtf>
2025-10-31 14:55:07 -07: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
Chomp e9a6b5953d Flagged BotLocationModifier.AdditionalHostilitySettings as nullable 2025-10-16 21:09:34 +01:00
Archangel 4cf3279f97 Add handler for PointsEarnedDuringSession overflow 2025-10-13 16:27:21 +02:00
DrakiaXYZ e00dcc719c Fix examining item in hideout upgrade panel exception 2025-10-11 21:19:32 -07:00
DrakiaXYZ 4b421b6f47 Fix incorrect workout classes 2025-10-10 23:15:25 -07:00
Chomp 4b03f39e60 Updated CountPVE property 2025-10-09 21:10:25 +01:00
Archangel 9baa1236d4 Make StaticLoot IEnumerable 2025-10-09 20:19:36 +02:00
Chomp a09e8bf3fa Added customFlags <string/bool> dict property to profile templates 2025-10-07 11:21:46 +01:00
Chomp ba4e8d9c14 Removed password from profiles
Added migration to remove password property from profiles
2025-10-02 09:56:51 +01:00
Cj 7a08fd4e16 Merge branch 'develop' into repeatable-quest-tuning 2025-10-01 03:16:37 -04:00
Cj e57f03bd28 - Add min extract requirement property
- Fix warnings
- Convert string to mongoId
2025-10-01 01:51:57 -04:00
Chomp cc745f4c46 Corrected ProcessBuyTradeRequestData transactionId to be Mongoid, updated associated code
Also moved TransactionId in `InsuranceRequestData` to be MongoId, updated associated code
2025-09-30 22:38:42 +01:00
Chomp 836112dc50 Weather refactor (#596)
* First pass at Weather generation refactor

* Moved generation logic around

* Added seasonal variability support

* Expanded weather generation to use DI system and allow easier modding

* Updated weather weight values

Converted records into classes

* Added fallback when generator isn't found

* Fixed colliding lambda

Added method comments

* Cleanup of weather code

* Adjusted `weatherPresetWeight` values

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-09-30 12:23:46 +00:00
Cj 36b247d92e Move HideoutAreas to the Models.Enums.Hideout namespace 2025-09-29 18:14:59 -04:00
Chomp ecc0ba8406 Cleanup of warnings 2025-09-26 13:38:47 +01:00
Archangel 5fc7761b4c Send InvalidOrUnloadableProfile to launcher 2025-09-18 19:56:26 +02:00
Archangel 1cc1d2e95d Remove unused record 2025-09-17 20:49:10 +02:00
Archangel 6a4efe9e53 Set correct type on global LocationInfection 2025-09-17 20:47:24 +02:00
Chomp eae750a0c7 Improved property comments 2025-09-13 20:43:38 +01:00
Chomp d38c9358fe Adjusted PMC difficulty values based on values BSG uses for their PMCs as a base 2025-09-13 17:26:11 +01:00
Chomp 5348059301 JSON updates 2025-09-12 13:35:53 +01:00
Archangel 4659de97bc Update core bot settings 2025-09-12 12:38:56 +02:00
Archangel bd9e569a89 Update bot global settings 2025-09-12 12:28:30 +02:00
Chomp 561cb81c03 string to mongoID conversion 2025-09-02 10:45:10 +01:00
Archangel dd6b06fda1 Update 'proto' to be fully typed out 2025-08-30 20:57:36 +02:00
Archangel 776d8fb307 Update models 2025-08-30 19:04:37 +02:00
Chomp 26dd047d6f Manually fixed infected bots having incorrect values
Adjusted model property to be string
2025-08-30 17:15:11 +01:00
Chomp 735b5956e6 Fixed BTR drive service issues #580 2025-08-30 16:55:04 +01:00
Chomp e769d43a5f Fixed odd bot behaviour when determining friend/foe 2025-08-30 16:54:17 +01:00
Chomp 4c80ca242c Updated various enums with values from live 2025-08-30 15:42:48 +01:00
Chomp d3f95de546 Wired up notification alert reward - untested #576 2025-08-28 22:43:08 +01:00
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +02:00
Archangel f9708c00aa Update missing type in model (Fixes #572) 2025-08-27 13:17:25 +02:00
Chomp a7a1aa4bad Added missing reward property 2025-08-26 15:15:35 +01:00
Chomp be84b40a71 Added missing property to Quest 2025-08-26 13:02:24 +01:00
DrakiaXYZ 18aca7d514 Store data passed back from SaveDialogueState call (#568)
* Store data passed back from SaveDialogueState call
This makes the rest area game playable, though variables still don't save

* Woops, bad casing

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-08-24 08:58:08 +01:00
Archangel dce403c10e More nullable in models 2025-08-23 22:51:32 +02:00
sp-tarkov-bot 59d82cab29 Format Style Fixes 2025-08-23 20:40:09 +00:00
Archangel 19de072dd1 Update bot globalsetting models 2025-08-23 22:39:06 +02:00
Chomp 0df0d95363 First pass at rest area hideout changes 2025-08-23 21:02:24 +01:00
Chomp fd7a576b0c use voiceId value directly when generating a bot + updated type to use mongoid 2025-08-23 18:23:17 +01:00
Archangel 9dec5e8dc7 Update bot jsons 2025-08-23 19:16:52 +02:00
Archangel 7415436efa Update models 2025-08-23 18:14:53 +02:00
Archangel 646211ef04 Push global bot settings models, breaks server 2025-08-23 17:44:17 +02:00
Chomp 1df80171eb Added new property to profiles 2025-08-23 14:34:53 +01:00
Chomp 3312a5f28c Fixed Server serializing difficulty values incorrectly 2025-08-23 10:14:04 +01:00
Archangel 53b2e5e429 Fix up requests to endpoints 2025-08-21 21:48:22 +02:00
Chomp b00d6f8d0d Fixed various property mapping issues 2025-08-21 15:14:54 +01:00