Open Extract 1.5.1

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

This mod enhances game extracts: accessible from any spawn side, adjusts random extract chance, enables payment for CO-OP extracts, allows backpacks for no-backpack extracts, simplifies cliff extracts with gear changes, and imposes max hold time.

Open Extract

Features:

  • Make extracts available no matter what side of the map you spawned.
  • Updates the percentage that random extracts are available.
  • Updates CO-OP extracts to be useable via payment (like cars).
  • Updates no-backpack extracts to be useable with backpacks.
  • Updates cliff extracts to be useable without a paracord, red rebel, and with an armored rig.
  • Sets a maximum hold time for extracts.
  • Ability to update payment extract currency and amount.
  • Ability to reset payment extract timers when the player leaves the extract area and returns later.

Known Issues:

  • Anything handled client-side can not currently be changed by this mod. Examples:
    • All scav extracts.
    • Green flare requirement for the Klimov Street extract on Streets of Tarkov.

To Install:

  1. Decompress the contents of the download into your root SPT directory.
  2. Open the OpenExtracts/config/config.json5 file to adjust configuration options.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it!
  3. Leave a review and let me know what you think.

Having Issues?

  • Version 1.5.1

    Updates:

    • Fixes a bug where the mod did not apply changes to the high-level Ground Zero map extracts.
      Thank you to paprikaspice for the PR.

    Notes:

    • This version should be compatible with any SPT v3.9 release.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it!

    Issues?

  • Version 1.5.0

    Updates:

    • SPT 3.9.0 Compatibility

    Notes:

    • This version should be compatible with any SPT v3.9 release.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it!

    Issues?

  • Version 1.4.2

    Updates:

    • New configuration option for resetting a payment extract (car/co-op) if you leave the extract area and return.
      Huge shout-out to BlackDeathGER for finding the original issue and helping test the new feature.

    Notes:

    • This version should be compatible with any SPT v3.8 release.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it.

    Issues?

  • Version 1.4.1

    Updates:

    • Adds the ability to adjust vehicle payment items and amounts.
    • Fixes the Climber's Trail extract from failing the isCliffExtract check. Thanks HB53!
    • Adjusts default coop extract payment to be 75 dollars.
    • Removes the Rock Passage and CCP Temporary extracts from the config file as they're no longer used.

    Notes:

    • This version should be compatible with any SPT v3.8 release.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it.

    Issues?

  • Version 1.4.0

    Updates:

    • Updated for SPT 3.8.0 compatibility.
    • Adds support for Ground Zero extracts.
    • Removes the Fence reputation gain configuration option.

    Notes:

    • This version should be compatible with any SPT v3.8 release.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it.

    Issues?

  • Version 1.3.1

    Updates:

    SPT has begun to move co-op extract features already present in this mod into the core codebase. SPT v3.7.1 includes Fence gifts, so that feature has been removed from this version of the mod. The next hotfix version of SPT will likely include the Fence reputation gain feature. With that in mind, this version has been pinned to require SPT v3.7.1 exactly. An update will be required for the next SPT hotfix release.

    • Made updates for SPT v3.7.1 compatibility.
    • The configuration file has been updated to remove the sendFenceGifts option.
    • Updated npm dependencies to be in-line with SPT core.

    Notes:

    • This version is only compatible with the SPT v3.7.1 release.
    • The configuration file is in JSON5 format. The file extension is not a mistake. Do not rename it.

    Issues?

  • Version 1.3.0

    Updates:

    • Made updates for SPT v3.7.0 compatibility.
    • More Fence gifts are buffed. Now medical uses, face shield hits, food and drink resources, and key uses, should now be like-new.
    • Updates the build script with fixes for Windows compatibility.

    Notes:

    • This version is only compatible with the SPT v3.7.0 release.

    Issues?

  • Version 1.2.0

    Updates:

    • Adds an option to adjust Fence reputation on a successful cooperation extract (like live).
    • Adds an option to receive a Fence gift on a successful cooperation extract (like live).
    • Updates the default cooperation extract payment to 7500 rubles.
    • Updates initialization back to the synchronous methods so load order is enforced.
    • Updates build script to use the Ignore library for better ignore file support.
    • Updates build script to run copy operations in parallel.
    • Updates custom configuration validation to instead use the AJV library to enforce JSON schema compliance.
    • Updates the method in which the configuration file is loaded into the mod.
    • Updates the method in which extract database edits are made.
    • Adds a npm postInstall script to handle TSyringe conflicts when running within SPT project directory.
    • Project now enforces double-quotes to be compatible with parent SPT project.

    Notes:

    • The new configuration options must be present for the mod to run. If updating, copy your old configuration values into the new configuration file, or the new configuration options in your old configuration file.

    Issues?

  • Version 1.1.0

    Updates:

    • Full rewrite.
    • Fixed issue with a number of extracts not being updated properly.
    • Configuration file is now validated.

    Notes:

    • The configuration file is now in json5 format and has a slightly different structure. You're encouraged to start fresh.

    This version should be compatible with any SPT v3.6 release.
    If you experience any problems, please submit a detailed bug report.

  • Version 1.0.5

    Updates:

    • Resolved an issue that would randomly cause all extracts to close.
      Huge props to RHST and AHuman for reporting the issue.
    • Updated the configuration file to include options for each of the chance based extracts.
    • Updated the configuration file to disable changes by default.

    Notes:

    • The green flare requirement for the Klimov Street extract on Streets of Tarkov is confirmed server-side and will remain required.

    If you experience any problems, please submit a detailed bug report.

  • Version 1.5.1 of this mod should be compatible with any hotfix version of SPT v3.9. If you notice an issue, please submit a bug report.

    Thumbs Up 2
  • if I'm reading the config file correctly everything this mod does is disabled by default?

    I only want the changes to the coop extract, so that's the only thing I need to turn on?

  • thanks, i was only curious if someone made a mod for coop extracts, but i also used your mod for reducing vehicle time, always hated that it needed 60 seconds

    i kept other settings as default, because it would feel too easy to just extract anywhere

    Thumbs Up 1
  • Will this allow me to reactivate the Safe Room Exfil? I've been stuck inside that room after closing the door because AI uses the extract but doesn't close the door and there's no way of knowing...

  • I've encountered a bug

    The application had a critical error and failed to run

    Exception produced: Error


    Stacktrace:

    Error: Cannot find module 'fast-uri'

    Require stack:

    - \user\mods\refringe-openextracts\node_modules\ajv\dist\runtime\uri.js

    - \user\mods\refringe-openextracts\node_modules\ajv\dist\core.js

    - \user\mods\refringe-openextracts\node_modules\ajv\dist\ajv.js

    - \user\mods\refringe-openextracts\src\servers\ConfigServer.js

    - \user\mods\refringe-openextracts\src\OpenExtracts.js

    - C:\snapshot\project\obj\loaders\PreSptModLoader.js

    - C:\snapshot\project\obj\controllers\GameController.js

    - C:\snapshot\project\obj\callbacks\GameCallbacks.js

    - C:\snapshot\project\obj\di\Container.js

    - C:\snapshot\project\obj\Program.js

    - C:\snapshot\project\obj\ide\ReleaseEntry.js

    1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)

    at Function._resolveFilename (pkg/prelude/bootstrap.js:1955:46)

    at Function.Module._load (node:internal/modules/cjs/loader:985:27)

    at Module.require (node:internal/modules/cjs/loader:1235:19)

    at Module.require (pkg/prelude/bootstrap.js:1851:31)

    at require (node:internal/modules/helpers:176:18)

    at Object.<anonymous> (\user\mods\refringe-openextracts\node_modules\ajv\lib\runtime\uri.ts:1:1)

    at Module._compile (node:internal/modules/cjs/loader:1376:14)

    at Module._compile (pkg/prelude/bootstrap.js:1894:32)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

    • Please hold.

    • I've snuck a small fix in the 1.5.1 release and re-uploaded the file. Can you re-download it and try again?

      Thumbs Up 1
    • thx

    • It's settled now ^^

      Thumbs Up 1
  • Seems that this mod is not affecting Ground Zero lvl21+, probably just needs to be added to the mod since it's a separate map.

    • I figured out a quick fix until the author updates the download. Go into user/mods/refringe-openextracts/src/adjusters you can open the files "ExtractAdjuster.js" and "ExtractAdjuster.ts" with VScode and use ctrl+f to find all instances of the word "sandbox", just below the first result you can add sandbox_high: { config: "groundZeroHigh", human: "Ground Zero High" },

      and below the second result add "sandbox_high",. I did this in both the .js and .ts files because I don't know which one is used. This seems to be all the author needs to do as well to fix it because it works perfectly after I added those lines, hope this helps someone!

      Thumbs Up 1
    • This is resolved in v1.5.1.

  • Ran into an issue last night where extracts on ground zero high were unaffected while all other maps functioned (no paid co-op extract, only extracts on the opposite side of the map. also, raid timers were unaffected with the raid times mod, again only on 21+ ground zero). I would submit a bug report but honestly I can't be sure it's open extract and not any of the other 30 mods i've got running, and I don't have the space to set up a fresh install to check. My first thought was that it might not account for the new version of ground zero in 3.9, but I wanted to know if anyone else was running into this issue. Either way, thank you so much for the update and the great mod !

    • I just died on Ground Zero. Same thing.

      First raid in high lvl ground zero. 100kg og loot, ran to a closed Emercom.

      I think this map needs added somewhere it isn't.

    • This is resolved in v1.5.1.

  • How do i edit the config file?

    • open the file with vscode or notepad++

  • Thank you for updating this mod (and Custom Raid Times!) to 3.9.0 so quickly after release. Much appreciated!

    Heart 1
  • Just wanted to point out that coop exits doesn't work, only for scavs & only if its set to money.
    Is there something I'm overseeing?
    I've been through the settings & also set the money used to Rubles instead as well to make it easier.
    But even if its set to not be money none of it will function.
    I have no conflicting mods btw, as this is the only extract mod I have.

    And yes I'm using 3.8.0.
    Any idea?

    Edit: I modified this mod to work with a modified version of Alter Extracts so the two mods can work together.
    Now I have the coop exit feature as intended & it works without having to use currency in game & it also works with both PMC & Scavs as this didn't work with yours alone.

  • I think I've encountered a bug, but I am not 100% sure if it's this mod. Whenever I use the coop extract I get a TypeError: "Cannot read properties of undefined (reading 'min')


    the reason why I think it's this mod is because the error is (among others) in LootGenerator.createRandomLoot, MatchCallbacks.endOffLineRaid and IncomingMessage.<anonymous>.


    Since I don't get any rewards from fence, I think that the error is tied to that. Seems not causing any issues beyond red text, just wanted to share.

  • Is there a way to use the mod without all the stuff from node_modules folder?


    I mean, there is a lot of stuff there and many urls inside the files


    The last time I used this mod it only required the json5 folder and I removed all the urls.


    I'm not trying implying anything by asking this.

    • No, the node_modules directories are required. They are NPM dependencies that the main mod uses. There are zero external connection attempts made when using this mod. It's open source if you want to see exactly what it's doing.

  • I have an idea to expand on this mod, is there any ways you could reach out to me and see if this is something that could even be done.

    • Feel free to post it here or catch me on Discord.

    • Well, I was thinking about, I know you can change the config so that extracts cost nothing, or even trade particular items to pay for an extract, but would there be a way to trade items found in raid to pay for the price of the extract? Example, I go to Shoreline, I forget to take money in with me, and during the raid, I end up finding no rup. Happens from time to time. But I did find other things like a CPU, CPU Fan, gold necklace, and various other items, I got a full backpack. What if we could trade items with the value of up to the cost of the extract? Let's say the extract is 15K RUP. I trade 2 CPUs with a value of 5k each, 2 gold necklaces at 1.5k each, and a guitar pick at 2k each. I understand there are a LOT of items in the game that would need prices set, that's why only particular items would be accepted such as electronics, and jewelry. Idk, it may be a dumb idea, but I thought it would be pretty cool and a way to further immerse ourself in the world of Tarkov.

  • <3 Thanks, man! Will test today!

  • So how is this different from just using the profile / SVM editor? Just for lazy people?

    • Why would this be for lazy people?


      While most of this mod's features are now available in SVM, some of them are not, like being able to choose which currency/item the co-op extract accepts, or changing the chance that chance-based extracts are available. If SVM ever adds these options in the same level of detail then I'll likely discontinue this mod, but in the meantime...

      Thumbs Up 1
    • No problem, wasn't having a go at you for making the mod. I still think it's a good idea just wasn't sure of the difference.

  • I have 'ignoreCliffRequirements' set to true, but the Shoreline Climbers Trail extract was still requiring a RR, Paracord and not to have armour equipped. I haven't had a chance to test other Cliff Extracts.


    Should it be set to true to ignore the requirements? Or should it be set to false, as it is when default.


    Wanted to check here first, before proceeding with a bug report.

    • The value of true should remove the restriction. Please create an issue for this so I can look into it later this evening.

    • Alright will put a Bug Report in on your git.


      Thank you Refringe!

  • Should this mod still work with 3.8.0? Will be trying soon, but wanted to find out if anyone else has tried.

    • This very clearly states what version it currently supports. 🤨

    • lol blame the other mod developers who keep old version tags when their mods work with updated versions of SPT-AKI


      I'll use SVM unless I see this gets updated. Thanks for the quick reply!

    • No, we'll keep laying the blame where it belongs, with the people that are too dim-witted to understand that mods that state they are for an older version ARE FOR AN OLDER VERSION.

      If it doesn't say 3.8.0 then DO NOT USE IT WITH 3.8.0. There were DRAMATIC changes between 3.7.6 and 3.8.0, using outdated mods can cause any number of issues.

      Heart 2
    • There's a SIGNIFICANT number of mods that continue to work on 3.8.0 DESPITE not being updated by the authors either in the package.json or the mod page tag. HOWEVER mod authors can rightly choose not to provide support for mismatching SPT-AKI versions, and USERS CAN CHOOSE TO PROCEED AT THEIR OWN RISKS assuming they can debug their own issues or forego support from other members of the community.


      Calling a bunch of adults dim-witted for doing something that may or may not work because of potential issues that you yourself won't even have to deal with is condescending, ignorant, and ironically, dim-witted. Plenty of people might try and fail and can be easily ignored, but those who end up succeeding contribute to a better open-source/modding community.

    • At any rate... It's been updated.

      Heart 1
  • The one factory coop extract on factory doesn't work.

    • There isn’t a co-op extract on Factory.

    • i meant woods mb

    • What version of SPT are you using?

    • Im using newest. I walk up and i just can't leave

    • > Im using newest.


      Come on man... "This version is only compatible with the SPT v3.7.1 release."

      Thumbs Up 1
  • does this work with 3.7.6?

  • is there a limit on how much you can make car extracts go low to?

    i set to 400 rubles and it kept the default 7950 rub payment
    its slowly going down due to scav karma but i just want it to be like 400 rubles

  • MAKE IT SO WE DONT NEED A KEY TO ESCAPE FACTORY

    • At a technical level, the exits on Factory are all open already, they're just behind a locked door. I would highly recommend the Backdoor Bandit mod to change how locked doors are handled. Or you can find a Factory Exit key.

  • Is it possible to do kind of the opposite: make a free extract to require Rubles like for cars?

    • Great question! I haven't experimented with this yet.

  • I get the error CONFIG_LOAD_ERROR - Could not load configuration after changeing the config i did not rename it i just saved the file after changing i always get the error after editing the file if i put the defualt file from the download it works but like i said after editing i get the error.

    sorry for my english its not my native language, thanks in advance.

    • Sorry, for the delay. The file extension is being changed. Ensure that you change the extension type to *.* instead of *.txt, like this:

      6uVJA0x.png

  • hello how do i put the mod to work?

    i just extract the paste and drag it to the folder game for the spt where is located

  • So, about that 3.7.3 update... :)

  • Another must have mod, its so stupid that i have to walk for 20 minutes to get to an extract ._.



    thank you very much for solving shitikas game.

    Heart 1
  • will this mod allow you to extract at any location are do we need to go into the config and but them to true???


    thanks for the help!!!

    :)

    • Yes, you will need to review the config and make some changes...


      extracts.ignoreEntryPoint = true

      extracts.ignoreCliffRequirements = true

      extracts.ignoreBackpackRequirements = true

      extracts.random.chances.MAP-NAME.EXTRACT = 100 // Each one! extracts.cooperation.convertToPayment = true

  • can you add "ignoreEntryPoint" for SCAV too? And big thx for your work! Great mod!

    • Check out the known issues on the overview page. This is impossible without a client-side companion mod, which is above my pay grade. Sorry.

    • oh, missed this string in overview

  • i start up the server but i have this show up as error OpenExtracts: CONFIG_LOAD_ERROR - Could not load configuration, any help would be amazing

    • It can't find the `config/config.json5` file. Did you rename it or delete it?

    • nope its still named config, its file type is still json5

    • Did you modify the configuration file in any way? If so, remove the mod, redownload it, and try it without modifying anything to see if it works. Also, confirm which versions you're using.

    • so im using 1.3.0, i redownloaded and ran it without modifying it and it worked.


      Edit, so ive sorted it now, thanks for the quick response!

    • Great! I'm curious what the issue was?

  • Hey im having an issue and getting a ----- Mod (refringe-openextracts-1.3.0) is missing package.json ---- Error in the server settings. Im not sure if i did something wrong on the download. When i pull up the .json file It only asks if i want to open or save it, and Im not able to open it.

    • Fixed it, I had to manually change the .json file into a notepad file by right clicking and opening using notepad, then i saved as in the OG's file's spot.

    • Thanks for reporting this. I’ll upload a fixed copy tomorrow. 👍

    • Radical, thank you!

      I also did another install and download and now it has the correct JSON5 file. So decent chance I downloaded it wrong.

    • Yeah, I was unable to reproduce this issue with this version. Let me know if you run into any other troubles.