Mod Details

Alter Extracts

Alter Extracts 2.0.3

Created by  Jiblet

6.9K Downloads

SPT 3.8.3 Compatible

Open up coop (friendly Scav), paid (vehicle extract), red rebel and backpack-less type extracts to make them behave as normal extracts.

Latest Version 2.0.3
SPT 3.8.3

Updated Apr 4, 2024 at 1:43 PM

Version Notes

Update for 3.8.0.

No functionality changes.

Tested across a handful of maps, including the vehicle extract quest that Skier gives you in Ground Zero. Using this mod does not conflict with that quest and you are able to complete it without handing over 5000R

Let me know here if you do see any issues with it and I’ll try to take a look.

This download is externally hosted.
Always scan for viruses.

This mod can change all extracts that usually require you to either:

  • have a friendly Scav with you (impossible in Single Player),
  • require payment (cash always vanished from my pockets when I need it),
  • need you to drop your backpack, or
  • need you to have a red rebel and paracord

Into normal extracts that require none of those things.

The probability of the extract being active, and the time taken to extract from are configurable in the config file. See below.

⚠️ Warnings

  • Some types of extracts are not affected by default (red rebel and backpack-less ones). You’ll need to turn them on in the config.json.
  • May interfere with, or be interfered with by, other mods that modify extracts. Rename to zzzz-AlterExtracts if you need to.

📝 Config

Please see https://github.com/Jiblet/AlterExtracts#readme for info on the config file. Or check the Readme in the download.

Update:
Verified on 3.7.6 but shout if you find any issues.

Version 2.0.3
Download Mod Version
SPT 3.8.3
Latest Compatible SPT Version

2.1K Downloads

Created Apr 4, 2024 at 1:43 PM

Updated Apr 4, 2024 at 1:43 PM

Virus Total Results

Update for 3.8.0.

No functionality changes.

Tested across a handful of maps, including the vehicle extract quest that Skier gives you in Ground Zero. Using this mod does not conflict with that quest and you are able to complete it without handing over 5000R

Let me know here if you do see any issues with it and I’ll try to take a look.

Version 2.0.2
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

2.5K Downloads

Created Feb 19, 2023 at 9:58 PM

Updated Feb 19, 2023 at 9:58 PM

Virus Total Results

Updated for 2.0.2

Version 2.0.1
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

502 Downloads

Created Jan 21, 2023 at 10:07 PM

Updated Jan 21, 2023 at 10:07 PM

Virus Total Results

Ported to TypeScript for the newer versions of SPT AKI.

No functionality changes; the config file works as before.

Version 1.3.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

731 Downloads

Created Mar 2, 2022 at 3:39 PM

Updated Mar 2, 2022 at 3:39 PM

Virus Total Results

Updated to include Red Rebel extracts and those where you need to remove your backpack.

Options galore now, so please check out the config.json.

Warnings:

  • Red Rebel and Backpack type extracts are not affected by default.
    You’ll need to turn them on in the config.json.

  • May interfere with, or be interfered with by, other mods that modify extracts.
    Rename to zzzz-AlterExtracts if you need to.

Version 1.2.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

580 Downloads

Created Feb 24, 2022 at 11:06 PM

Updated Feb 24, 2022 at 11:06 PM

Virus Total Results

Now with bonus config file:

“Logging”: true, - Turns logging ot the console on and off. Default on. “ScavCoopEnabled”: true, - Enables the changing of Scav Cooperation extracts. “PaidEnabled”: true, - Enables the changing of Paid extracts. “Chance” : 66, - Set the probability off the extract being open. “ExfiltrationTime” : 8 - Set the time taken to exit.

Version 1.1.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

140 Downloads

Created Feb 24, 2022 at 10:06 PM

Updated Feb 24, 2022 at 10:06 PM

Virus Total Results

Turns out I’m a lazy idiot.

Thanks for bringing it to my attention Mamoru.

You should also now see in the console at server start that it is altering the correct exits:

[INFO] AlterExtracts : Altering extract: 0 : UN Roadblock [INFO] AlterExtracts : Altering extract: 2 : PP Exfil [INFO] AlterExtracts : Altering extract: 5 : Interchange Cooperation [INFO] AlterExtracts : Altering extract: 2 : tunnel_shared [INFO] AlterExtracts : Altering extract: 6 : V-Ex_light [INFO] AlterExtracts : Altering extract: 2 : EXFIL_ScavCooperation [INFO] AlterExtracts : Altering extract: 5 : South V-Ex [INFO] AlterExtracts : Altering extract: 6 : Factory Gate

KohTao

Works for me in spt 3.11, yes in 3.11!, works in 3.10 as well.

Just update the package.json file from “akiVersion”: “3.8.x”,

to

“sptVersion”: “3.11”, or “sptVersion”: “3.10.*”, and it will work.

0 Likes
LeeNelson

Interested in doing a version or 2nd mod where all the extracts are opened?
Refringes “Open Extract” mod has long gone dusty…

0 Likes
Jiblet

How do you mean?

If you just want all extracts, no matter what type, the normal probability, or your spawn point, you can do that with Server Value Modifier.

Or am I missing something?

0 Likes
hb

Seems to be throwing the below error when using a coop or vehicle extract. I’ve not actually seen any issues occur and my fence rep is going up. I just thought I would let you know. Tried a raid with AlterExtracts removed, extracted through a vehicle extract and no error came up. I’ve got nothing else controlling extracts or rep.

[2024-04-10T09:16:58.776Z] info: [Client Request] /singleplayer/settings/raid/endstate [2024-04-10T09:16:59.870Z] info: [Client Request] /client/match/offline/end [2024-04-10T09:16:59.895Z] error: TypeError: Cannot read properties of undefined (reading ‘min’) [2024-04-10T09:16:59.870Z] debug: Old vs new fence standing: 1.4, 1.65 [2024-04-10T09:16:59.896Z] error: TypeError: Cannot read properties of undefined (reading ‘min’) [2024-04-10T09:16:59.896Z] error: TypeError: Cannot read properties of undefined (reading ‘min’) at LootGenerator.createRandomLoot (C:\snapshot\src\generators\LootGenerator.ts:116:39) at MatchController.sendCoopTakenFenceMessage (C:\snapshot\src\controllers\MatchController.ts:200:41) at MatchController.endOfflineRaid (C:\snapshot\src\controllers\MatchController.ts:177:18) at MatchCallbacks.endOfflineRaid (C:\snapshot\src\callbacks\MatchCallbacks.ts:202:30) at RouteAction.action (C:\snapshot\src\routers\static\MatchStaticRouter.ts:130:48) at MatchStaticRouter.handleStatic (C:\snapshot\src\di\Router.ts:47:63) at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:79:62) at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:44:30) at AkiHttpListener.getResponse (C:\snapshot\src\servers\http\AkiHttpListener.ts:150:38) at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\AkiHttpListener.ts:75:43) [2024-04-10T09:16:59.896Z] error: TypeError: Cannot read properties of undefined (reading ‘min’) at LootGenerator.createRandomLoot (C:\snapshot\src\generators\LootGenerator.ts:116:39) at MatchController.sendCoopTakenFenceMessage (C:\snapshot\src\controllers\MatchController.ts:200:41) at MatchController.endOfflineRaid (C:\snapshot\src\controllers\MatchController.ts:177:18) at MatchCallbacks.endOfflineRaid (C:\snapshot\src\callbacks\MatchCallbacks.ts:202:30) at RouteAction.action (C:\snapshot\src\routers\static\MatchStaticRouter.ts:130:48) at MatchStaticRouter.handleStatic (C:\snapshot\src\di\Router.ts:47:63) at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:79:62) at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:44:30) at AkiHttpListener.getResponse (C:\snapshot\src\servers\http\AkiHttpListener.ts:150:38) at IncomingMessage.<anonymous> (C:\snapshot\src\servers\http\AkiHttpListener.ts:75:43) [2024-04-10T09:16:59.933Z] info: [Client Request] /raid/profile/save [2024-04-10T09:16:59.935Z] debug: Raid outcome: survived

0 Likes
Jiblet

Thanks, do you mean youre extracting ok, but youre seeing this error in the server console at the point of extraction?

0 Likes
hb

Yep the extracts work fine, I do not see any issue. It is just that error that shows in console after extract.

I forgot to mention that that error repeats its self even while not in raid until the server has been restarted.

0 Likes
Jiblet

Righto, i’ll have a look. I’ve not paid any attention to the console other than at the point of loading, so didn’t notice anything.

I’ve a feeling this is going to be a rabbit hole…

0 Likes
hb

If you can’t seem to get the error as well then I might have to do a re-read of my mods to see if something is conflicting. Should this be the case then I am sorry. I am fairly certain none of my current mods will/should conflict with this.

1 Like
Jiblet

Ok, vehicle extracts seem to work fine for me, no console errors.

I do see the same error as you with SCAV extracts though!

What I cvan’t do though is figure out if its actaully my code causing it, or just triggering it becauuse now you can take a coop extract, whereas without this they don’t work at all. For all I know you might get the same error without my mod if you could take a coop extract. Perhaps the core code simply doesnt cope with it neatly.

More investigation required

(Or a note in the readme telling users not to worry about the errror :D)

0 Likes
hb

I’ve just done a little bit extra testing. Installed a fresh SPT version, on a fresh profile. Only installed GamePanelHud and SVM, to enable COOP extracts, and I’ve gotten the same error so it is defiantly just to do with COOP extracts and not your mod.

I previously only noticed the error after I had done a vehicle extract, but a raid or 2 before I took a COOP and just put both together.

I am assuming the error is caused because you are meant to get rewards when using a COOP extract but I assume its not fully implemented in SPT?

0 Likes
Jiblet

I am assuming the error is caused because you are meant to get rewards when using a COOP extract but I assume its not fully implemented in SPT?

Yeah that’s what I’m thinking. Still looking at it, and wilkl ask on teh Discord because at this point I’m out of my depth in the core code.

This is a key part of my message/investigation:

Looking at https://dev.sp-tarkov.com/SPT-AKI/Server/src/branch/master/project/src/generators/LootGenerator.ts
I see:

114 // Filter default presets to just weapons
115 const randomisedWeaponPresetCount = this.randomUtil.getInt(
116 options.weaponPresetCount.min,
117 options.weaponPresetCount.max,

The call to that lootgenerator comes from the MatchController, here:

199 // Generate reward for taking coop extract
200 const loot = this.lootGenerator.createRandomLoot(this.traderConfig.fence.coopExtractGift);

I *think* what’s going on is that:
https://dev.sp-tarkov.com/SPT-AKI/Server/src/branch/master/project/src/models/spt/config/ITraderConfig.ts
Is maybe missing a “min” attribute in the gift that Fence is supposed to give out? “CoopExtractReward”
Absolute guess there though, I’m probably wrong as I’m out of my depth at this point.

0 Likes
Jiblet

Good news (for me!), it’s a bug in the core code.

Better news: It’s already fixed: https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/610

So I guess you could look too make that same change to Aki_Data\Server\configs\trader.json and see if that works… or just wait for the next release of SPT AKI.

Thanks for raising it, it was fun digging around out of my depth!

2 Likes
hb

Just glad it didn’t actually cause any issues. Was great to see that it is something that has already been addressed by the dev team. Was keeping an eye on the Dev channel lol.

Keep up the great work Jiblet.

0 Likes
Jiblet

Thanks. I also found that SVM now has extraction changes (that also have this same issue!) so might end up discontinuing this mod. But hey, it’s a bit of fun.

0 Likes
Jiblet

Final bit of news on this is that I can confirm that if you make the changes listed on the commit here:

https://dev.sp-tarkov.com/SPT-AKI/Server/commit/49f4eda90a3a2a62e0c88526478fab860033c51b

To your <SPT Folder>\Aki_Data\Server\configs\trader.json file, it does solve the issue and you get Fence’s presents again.

Though word of warning: if you try setting min and max to 1 like I did to see if it would gift me guns and armour, it breaks the code in a related, but different way. Seems a bit of a cheaty way to get toys anyway so I’m leaving it alone now

1 Like
Tinyteeth

Does this work when playing as a scav and taking a coop extract?

I have enabled scav extract and set chance to 100% but have been unable to extract as a scav, this is happening on Reserve.

0 Likes
Jiblet

I’ve just returned from a long hiatus and updated the mod to 3.8.0 (no actual functional changes needed). Coop extracts work just fine as a scav.

I tested Interchange, Ground Zero and Reserve: https://imgur.com/c8fRXmm

0 Likes

That’s excellent, thanks for letting me know. Appreciate your work and hope you’re enjoying your time back!

1 Like
buoybuoy

Hey Jiblet,

Very helpful mod! You might want to update the instructions and README to explain what enabling each extract type does. I figured it out, but was confused at first:

For ExtractTypesEnabled config, what does true/false do? ie. does setting Scav_Coop_Extract to true mean I’ll need a scav with me or does true mean the mod overrides the default extract requirements? Does false mean the extract is disabled, like it’s never available?

Something as simple as “Enabling each extract type will override that type’s requirements, making it a normal extraction point, using the extraction time and chance from the config file. Setting it to false will not alter that extract type”

Cheers

0 Likes
Jiblet

Added your text to the readme for 2.0.1

0 Likes
sackstonhail420

installed the mod and successfully used co-op extract once (side tunnel on lighthouse) - now it appears all other co-op extracts are fully broken

i recieve the prompt “exit located!” when walking into one, but no extraction popup - tested with woods factory gate & reserve scav lands after extracting once on side tunnel lighthouse

0 Likes

Is AlterExtracts your only mod? If not, could you disable other mods and try with just this one please?

Could you also enable logging in the config file “Logging”: true, and send me both the contents of config file and the output from the console? It will look something like:

[AlterExtracts : 2.0] : —– Enabled —– [AlterExtracts : 2.0] : Altered Extract : Dorms V-Ex, Chance: 66, Time: 20 [AlterExtracts : 2.0] : Altered Extract : UN Roadblock, Chance: 66, Time: 20 [AlterExtracts : 2.0] : Altered Extract : PP Exfil, Chance: 66, Time: 20 [AlterExtracts : 2.0] : Altered Extract : Interchange Cooperation, Chance: 66, Time: 10 [AlterExtracts : 2.0] : Altered Extract : tunnel_shared, Chance: 66, Time: 10 [AlterExtracts : 2.0] : Altered Extract : V-Ex_light, Chance: 66, Time: 20 [AlterExtracts : 2.0] : Altered Extract : EXFIL_ScavCooperation, Chance: 66, Time: 10 [AlterExtracts : 2.0] : Altered Extract : South V-Ex, Chance: 66, Time: 20 [AlterExtracts : 2.0] : Altered Extract : Factory Gate, Chance: 66, Time: 10 Once I’ve got that I’ll try replicating your issue, thanks.

0 Likes

i’ll make a test profile and report my findings asap

1 Like
NugentGL

I have multiple extracts no longer working with your mod.

1. Reserve D2 lever doesn’t work at all. It is like the lever is disabled.

2. Labs elevator extract doesn’t work. I pull the lever, push the button but the elevator never comes.

I removed your mod and both now work again.

0 Likes
Jiblet

I’ll check, though first, are you using the latest version of the mod?

0 Likes
Jiblet

I’ve just tried D2 and both Labs elevators (Cargo and Medical Block) and all three worked fine for me.

If you’re using the latest version, and I suspect you’re not, you should see this in the console log when the server starts:

[AlterExtracts : 1.2.0] : Altering SCAV COOP Extract: interchange : Interchange Cooperation, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering SCAV COOP Extract: lighthouse : tunnel_shared, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering SCAV COOP Extract: rezervbase : EXFIL_ScavCooperation, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering SCAV COOP Extract: woods : Factory Gate, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering PAID Extract: bigmap : Dorms V-Ex, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering PAID Extract: develop : UN Roadblock, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering PAID Extract: interchange : PP Exfil, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering PAID Extract: lighthouse : V-Ex_light, Chance: 66, Time: 8 [AlterExtracts : 1.2.0] : Altering PAID Extract: woods : South V-Ex, Chance: 66, Time: 8Those are the only extracts that this mod affects.

I suspect you’re using the original version though since that would explain the problem you’re seeing. Please update

0 Likes
NugentGL

Sorry, I didn’t see the notification of your reply. I will try again tonight if my wife doesn’t yell at me…

1 Like

Latest (as of last night), worked properly.

1 Like
Jiblet

Good to hear, thanks for checking.

I’ve updated again today to extend the functionality over other extract types as well, so you may be interested in that. Check the readme though as it needs a bit of configuration to make it work on those

1 Like
Mamoru

Can add all the same for this weekend the amount required for the exit? After all, money can be taken in advance and so that it is not too easy. Perhaps as a config or a second version of the mod?

I’ll just leave it here as an idea =)

0 Likes
Jiblet

Sorry, I don’t understand what you mean. Please explain again?

0 Likes
Mamoru

I see that the mod is developing further and this is no longer relevant) Thank you)

1 Like
Mamoru

Your mod disables normal exits. fix it) (The exit zone just stops working)

1 Like
Jiblet

Can you give me more detail?

1. Which exit on which map isn’t working for you?

2. Can you replicate the behaviour every time?

I’ve also seen a bug with exists in the past without my mod, where no exit on Customs would work. I believe this is (ow was) a known issue. I only saw that once.

0 Likes
Mamoru

Map Forest - UN South Post (Google translator, sorry if something is not like in the game)

Checked in 3 different outings. Other than that, all outputs are marked with ?? ?? ?? like exits that are not known to be open or not.

Yes, I didn’t check on other exits, but it seemed to me that the action goes to the exit zone in general, and this also affected other exits (I didn’t look into the code, I’m afraid I don’t understand the point)

0 Likes
Mamoru

I don’t have any other exit mods. Version 2.2.1. Maybe of course this is the problem, but I think here you still need to see the answers of other users. But unfortunately I can’t use the modification - and its idea is actually very good.

0 Likes
Jiblet

Was it the exit marked as “UN Roadblock” on this map?

I’ve just tried all three along the bottom of that map and all work ok. Here’s me extracting at UN Roadblock.

Please let me know if it was a different exit though?

Can you confirm that if you remove my mod from your mods folder, everything works ok and you can exit as normal?

0 Likes
Mamoru

I mixed up the names of the exits. It was “Northern un road”. And yes, after removing the mod, the output worked again.

Tomorrow I can make videos/screenshots that the exit didn’t work.

0 Likes
Mamoru

Weird. I decided to check and do it now. As a result, I additionally checked the exit (with the mod) “outskirts (rus)” the exit in the lower left part of the map is free for everyone and it worked. I checked the northern post of the UN in the next outing and it also works … As I saw in the description of the mod, there is a 66% chance of exiting, maybe it works and not the usual exits, and then I was unlucky 3 times?

Well, the fact that the mod works - yes. But then what happened in those sorties when the exit did not work … I thought it was a mod because the exit on the bridge worked.

0 Likes
Mamoru

I made sure the mod does it. On the Plant map, gate 3 also did not work now. I was without a key and in the end I couldn’t even get out…

0 Likes
Jiblet

Turns out I’m a lazy idiot.

Thanks for bringing it to my attention Mamoru.

It should be fixed now in version 1.1. Let me know if it gives you any more problems.

You should now see in the console at server start that it is altering the correct exits:

[INFO] AlterExtracts : Altering extract: 0 : UN Roadblock [INFO] AlterExtracts : Altering extract: 2 : PP Exfil [INFO] AlterExtracts : Altering extract: 5 : Interchange Cooperation [INFO] AlterExtracts : Altering extract: 2 : tunnel_shared [INFO] AlterExtracts : Altering extract: 6 : V-Ex_light [INFO] AlterExtracts : Altering extract: 2 : EXFIL_ScavCooperation [INFO] AlterExtracts : Altering extract: 5 : South V-Ex [INFO] AlterExtracts : Altering extract: 6 : Factory Gate

0 Likes

Details