mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-12 15:10:44 -05:00
![Chomp](/assets/img/avatar_default.png)
BSG added a new handler that's called when a new quest is added to the quest list, this handler results in the first quest in a trader's task list being selected whenever a new quest is added. This has the negative effect of breaking replacing dailies for a trader with a daily from that same trader, due to the selection happening _before_ the daily is removed. Essentially resulting in a race condition where the code to remove the old daily tries to remove the trader's first quest instead. We can work around it by conditioning the call to `AutoSelectQuest` in QuestAddedHandler. This does cause a change in behaviour from live, but fixes the client freezing when getting a new daily from the trader you're replacing the daily on. Note: While this fixes a BSG bug, we can't avoid fixing it, because it causes the UI to freeze when replacing daily quests We can retire this patch once BSG fixes the underlying bug.
Modules
BepInEx plugins to alter Escape From Tarkov's behaviour
Project | Function |
---|---|
SPT.Build | Build script |
SPT.Bundles | External bundle loader |
SPT.Common | Common utilities used across projects |
SPT.Core | Required patches to start the game |
SPT.Custom | SPT enhancements to EFT |
SPT.Debugging | Debug utilities (disabled in release builds) |
SPT.Reflection | Reflection utilities used across the project |
SPT.SinglePlayer | Simulating online game while offline |
Privacy
SPT is an open source project. Your commit credentials as author of a commit will be visible by anyone. Please make sure you understand this before submitting a PR. Feel free to use a "fake" username and email on your commits by using the following commands:
git config --local user.name "USERNAME"
git config --local user.email "USERNAME@SOMETHING.com"
Requirements
- Escape From Tarkov 33420
- Visual Studio Code -OR- Visual Studio 2022
- .NET 6 SDK
- PowerShell v7
- Can also be installed via:
dotnet tool update --global PowerShell
- Can also be installed via:
Project Setup
Copy-paste Live EFT's EscapeFromTarkov_Data/Managed/
folder to into this project's Project/Shared/Managed/
folder
Build (VS Code)
- File > Open Workspace > Modules.code-workspace
- Terminal > Run Build Task...
- Copy contents of
/Build
into SPT game folder and overwrite
Build (VS 2022)
- Open solution
- Restore nuget packages
- Build solution
- Copy contents of
/Build
into SPT game folder and overwrite
Game Setup
- Copy Live EFT files into a separate directory (from now on this will be referred to as the "SPT directory")
- Download BepInEx 5.4.23.2 x64 (BepInEx Releases - GitHub)
- Extract contents of the BepInEx zip into the root SPT directory
- Build Modules, Server and Launcher
- Copy the contents of each project's
Build
folder into the root SPT directory - (Optional, but recommended) Download the BepInEx5 version of ConfigurationManager (ConfigurationManager Releases - GitHub) and extract the contents of the zip into the root SPT directory. The default keybind for opening the menu will be
F1
- (Optional) Edit the BepInEx config (
\BepInEx\config\BepInEx.cfg
) and appendDebug
to theLogLevels
setting. Example:LogLevels = Fatal, Error, Warning, Message, Info, Debug
Description
Languages
C#
99.5%
PowerShell
0.5%