Mod Details

Traders on Flea

Traders on Flea 2.0.1

Created by  buoybuoy

6.4K Downloads

SPT 0.0.0 Compatible

Allow Fence and all modded traders to show up on Flea and search results.

Latest Version 2.0.1
SPT 0.0.0

Updated Jul 1, 2022 at 1:30 AM

Version Notes

SPT-AKI 3.0.*

- Fixed some custom traders not showing up on flea.

This download is externally hosted.
Always scan for viruses.

You will need to make sure this mod loads after any other mods that include custom traders.

Updated for SPT-AKI 3

I’m optimistic the big SPT update has removed the need for the previous issues & workarounds, but not many custom traders have been updated yet, so time will tell. If you have issues, please leave a comment that includes the error you’re seeing and the custom traders you have installed. I’ll take a look and see if I can provide a fix!

Installation

Unzip the folder into “spt-location/user/mods/”

Previous Versions of this Mod

Please refer to the included README for details on configuration.

Version 2.0.1
Download Mod Version
SPT 0.0.0
Latest Compatible SPT Version

2.9K Downloads

Created Jul 1, 2022 at 1:30 AM

Updated Jul 1, 2022 at 1:30 AM

Virus Total Results

SPT-AKI 3.0.*

- Fixed some custom traders not showing up on flea.

Version 2.0.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

683 Downloads

Created Jun 26, 2022 at 2:30 AM

Updated Jun 26, 2022 at 2:30 AM

Virus Total Results

SPT-AKI 3.0.*

Version 1.0.4
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

2.1K Downloads

Created May 10, 2022 at 12:36 AM

Updated May 10, 2022 at 12:36 AM

Virus Total Results

SPT-AKI 2.3.* and 2.2.*

Refer to the included README for details on configuration.

Fixed a compatibility issue with HideoutItems mod. Now checks if a price is set in trader.assort.barter_scheme when validating items in the trader’s inventory.

Version 1.0.3
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

212 Downloads

Created May 8, 2022 at 10:04 PM

Updated May 8, 2022 at 10:04 PM

Virus Total Results

Added a new ‘forceAdd’ config option to remove invalid items from a trader’s inventory and add them to flea. See main page or included README for details.

Version 1.0.2
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

206 Downloads

Created May 8, 2022 at 7:51 AM

Updated May 8, 2022 at 7:51 AM

Virus Total Results

Removed the “Unknown” person showing up in flea with really low prices.

Version 1.0.1
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

115 Downloads

Created May 8, 2022 at 6:08 AM

Updated May 8, 2022 at 6:08 AM

Virus Total Results

Added a new config option:

includeFence: true | false if Fence should be included in Flea & search results. Default config is set to true.

mutaco

update 3.2 please

0 Likes
Cougarinou

Any plan for an update to aki 3.1* ?

0 Likes
X3R0S6

Traders from the ANDRUDIS-QUESTMANIAC (ported) mod still didn’t appear on Flea(

0 Likes
Ablamajama

Hello!
Just a question, I am not getting an error but when looking on the flea, from “Linked Search” for example, nothing from the extra traders I have added shows up. Is there a way to troubleshoot this issue?
on 3.0 btw
Thank you for a cool mod and let me know if you need any additional info from me.

0 Likes
buoybuoy

Hey Ablamajama, can you let me know what custom traders you have installed?

Do you see the traders when you search for the specific items in their inventory, or is it only happening on “Linked Search”?

0 Likes

I have quite a few haha,
Priscilu, Operator, Gear Gal, AkGuy and AR Shoppe are the main ones. Their inventories don’t show up in the flea market at all. For example ammo, attachments, nothing showing there from any of them.
Let me know if you wanna take this into discord or anything, thanks for responding.

0 Likes

Thanks for the info, I think I figured out the issue. I just uploaded a new version, so let me know if you still notice some traders not showing up.

0 Likes

I have the same traders and had the same issue over the last couple days, I just checked your newly update build and I can now see all my traders on the flea. Nice Fix!!

1 Like
Zernichthor

thank you great mod! just a question, does it mean if i set it to “force” it will remove the items from the trader only on flea or everywhere?

0 Likes

Hey, glad you like it!

Setting “forceAdd” to true would just remove the invalid items from the trader’s inventory. Most of the time, these invalid items are items from other mods that aren’t installed, so they likely aren’t showing up in the trader’s inventory already.

An easy way to double check is to keep “forceAdd”: false and take a screenshot of the bottom of the trader’s inventory. Then switch “forceAdd”: true, restart the server, and take another screenshot.

If you find that these screenshots are different and items are actually being removed, please let me know what custom trader it is, so I can take a look!

3 Likes
igotgun

Hello.

I’m getting the following error:

[ERROR] Trace:

TypeError: Cannot read property ‘0’ of undefined

at Function.generateTraderOffers (C:\SPT-AKI\obj\src\servers\RagfairServer.js:380:34)

at Function.update (C:\SPT-AKI\obj\src\servers\RagfairServer.js:168:31)

at Function.load (C:\SPT-AKI\obj\src\servers\RagfairServer.js:25:23)

at Object.load [as aki-ragfair] (C:\SPT-AKI\obj\src\callbacks\RagfairCallbacks.js:9:23)

at Function.load (C:\SPT-AKI\obj\src\utils\App.js:22:13)

at Function.main (C:\SPT-AKI\obj\src\Program.js:26:13)

at Object.192../Lib.js (C:\SPT-AKI\obj\src\Program.js:30:9)

at o (C:\SPT-AKI\obj\node_modules\browser-pack\_prelude.js:1:1)

at C:\SPT-AKI\obj\node_modules\browser-pack\_prelude.js:1:1

at Object.289…/Program.js (C:\SPT-AKI\obj\src\ide\ReleaseEntry.js:4:1)

I’m using the following custom trader:
AKGUY, AR SHOPPE, Hex’s Firearm Production (Big Money), Hideout Items and NamelessMaid

0 Likes
buoybuoy

Hey igotgun, thanks for those details, I just added a fix for this (1.0.4).

It looks like the issue was with HideoutItems. That trader has one item in their inventory (gold chain) that doesn’t have a price set for it, so it likely wasn’t available to purchase.

You can set ‘forceAdd: true’ in the config to remove that item and add the trader to flea.

Cheers

0 Likes
igotgun

Tested and working. Thank you for swift fix and amazing mod. Make my gun preset building process a lot more easier.

0 Likes
adudewithbadaim

I’m getting the same

“TypeError: Cannot read property ‘CanSellOnRagfair’ of undefined

at Function.generateTraderOffers….“ error as shadowalla91

I am using TML.

I removed the custom traders that I had which were, AK Guy, AR Shoppe, GearGal, and Food&Drink Redux then added one trader at a time and re-ran the server after deleting the old loadorder.txt

I have discovered that using AK Guy and AR Shoppe, the server throws this error. GearGal seems to be working fine, kind of weird since its made by the same person. I’m going to try more load order arrangements and report back if I can get it to work.

0 Likes

If it helps, it appears both those MODs are extremely outdated

0 Likes

idk what happened to your link but you linked me joshs super ifak and a price adjuster mod, that are in fact, extremely outdated LOL

those are the two mods that I had to load AFTER this pages mod

0 Likes

I see that. I have no idea what happened. Here are the two “outdated” links I meant to include.

[ AR Shoppe Mod ]

[ AK GUY ]

0 Likes

I just found an “updated / current” version of [AKGUY SUPER SHOP 2.3.1]. With ONLY that Trader Mod and this one, the Server.exe immediately spits out this ERROR. Hope this helps your troubleshooting.

…AND, then when I run the [Aki.Launcher.exe], it WONT read my existing profile. With either one loaded alone, no errors and the [Aki.Launcher.exe] reads the profile, but with your mod and [AKGUY SUPER SHOP 2.3.1], the launcher will NOT read my profile. Something is going on. Again, hope this helps troubleshooting,

[ AKGuy Super Shop ]

┌───────────────────────────────┐

│ SPT-AKI 2.3.1 │

https://discord.sp-tarkov.com

│ │

│ This work is free of charge │

│ Commercial use is prohibited │

└───────────────────────────────┘

Server: executing startup callbacks…

[INFO] Importing database…

ModLoader: loading mods…

[INFO] Loading: AKGUY

buoy-traders-on-flea: Added Fence, AK GUY to flea

[ERROR] Trace:

TypeError: Cannot read property ‘CanSellOnRagfair’ of undefined

at Function.generateTraderOffers (C:\NoScan\Games\EFT\obj\src\servers\RagfairServer.js:373:67)

at Function.update (C:\NoScan\Games\EFT\obj\src\servers\RagfairServer.js:168:31)

at Function.load (C:\NoScan\Games\EFT\obj\src\servers\RagfairServer.js:25:23)

at Object.load [as aki-ragfair] (C:\NoScan\Games\EFT\obj\src\callbacks\RagfairCallbacks.js:9:23)

at Function.load (C:\NoScan\Games\EFT\obj\src\utils\App.js:22:13)

at Function.main (C:\NoScan\Games\EFT\obj\src\Program.js:26:13)

at Object.192../Lib.js (C:\NoScan\Games\EFT\obj\src\Program.js:30:9)

at o (C:\NoScan\Games\EFT\obj\node_modules\browser-pack\_prelude.js:1:1)

at C:\NoScan\Games\EFT\obj\node_modules\browser-pack\_prelude.js:1:1

at Object.289…/Program.js (C:\NoScan\Games\EFT\obj\src\ide\ReleaseEntry.js:4:1)

[SUCCESS] Started webserver at http://127.0.0.1:6969

[SUCCESS] Started websocket at ws://127.0.0.1:6969

[SUCCESS] Server is running. Happy playing!

0 Likes

yeah those updated links you posted are the versions I’m using.

i loaded those two mods after this pages’ mod. Those two traders arent on the Flea, but the server doesnt throw the error either, which is fine with me.

0 Likes

Hey, thanks for those details.

I just uploaded a fix for this. It looks like some modded traders include items in their inventory from other mods that may not be installed (or could just be a mistake), so the game couldn’t find them when checking if they can be sold on flea.

In the new version of the mod, these traders are skipped by default. You can set ‘forceAdd: true’ to have these items removed from the trader’s inventory (they likely weren’t showing up already) and add the trader to flea.

Let me know if that doesn’t solve your issue here.

0 Likes

the newest version (1.03) fix it. I changed force add to true and the server removed any invalid items, the remaining valid items do in fact show up on the Flea.

thanks for the fix mate.

1 Like

Same here,

With new update 1.0.3, this mod is now working with the [AK GUY] mod. Once “forceAdd”: true is set in the config.json, the invalid items were removed from the Trader, and the game loaded without any errors. In the Flea Market, searching for “banana” had the item from the AK GUY Trader show up. Thanks for all your work addessing the issues we report.

┌───────────────────────────────┐

│ SPT-AKI 2.3.1 │

https://discord.sp-tarkov.com

│ │

│ This work is free of charge │

│ Commercial use is prohibited │

└───────────────────────────────┘

Server: executing startup callbacks…

[INFO] Importing database…

ModLoader: loading mods…

[INFO] Loading: AKGUY

[SUCCESS] Loaded Hex’sBuyYourPresets

buoy-traders-on-flea: Added Fence to flea.

buoy-traders-on-flea: Removed 56 invalid items from AK GUY’s inventory. Check res/ak-guy-removed-items.json for details.

buoy-traders-on-flea: Added AK GUY to flea.

[SUCCESS] Started webserver at http://127.0.0.1:6969

[SUCCESS] Started websocket at ws://127.0.0.1:6969

[SUCCESS] Server is running. Happy playing!

1 Like
shadowalla91

Hi i got this error and when i launch the Akilauncher my profile is gone and i need to create a new one(even thought it’s still in the folder)

TypeError: Cannot read property ‘CanSellOnRagfair’ of undefined

at Function.generateTraderOffers (G:\EMUTARKOV\obj\src\servers\RagfairServer.js:373:67)

at Function.update (G:\EMUTARKOV\obj\src\servers\RagfairServer.js:168:31)

at Function.load (G:\EMUTARKOV\obj\src\servers\RagfairServer.js:25:23)

at Object.load [as aki-ragfair] (G:\EMUTARKOV\obj\src\callbacks\RagfairCallbacks.js:9:23)

at Function.load (G:\EMUTARKOV\obj\src\utils\App.js:22:13)

at Function.main (G:\EMUTARKOV\obj\src\Program.js:26:13)

at Object.192../Lib.js (G:\EMUTARKOV\obj\src\Program.js:30:9)

at o (G:\EMUTARKOV\obj\node_modules\browser-pack\_prelude.js:1:1)

at G:\EMUTARKOV\obj\node_modules\browser-pack\_prelude.js:1:1

at Object.289…/Program.js (G:\EMUTARKOV\obj\src\ide\ReleaseEntry.js:4:1)

0 Likes

I had that as well. I restarted the server and made sure the mod is last to load (using TrapModLoader).

0 Likes

Hey shadowalla91, what version of SPT-AKI are you using and what modded traders do you have?

This mod shouldn’t affect anything on your profile, so I’m guessing this error just prevented your existing profile from loading. If you remove the mod (or set “enabled”: false in the config), does your profile show up?

0 Likes

i have aki 2.3.1 version and i have namelessmaid, AKGUY, GearGal, armalite shop, Hex’sFBPtrader(Gunsmith), bigger Bang trader and questor. I tried to remove the mod and my profile shows up again.

0 Likes

Hey, thanks for those details.

I just uploaded a fix for this. It looks like some modded traders include items in their inventory from other mods that may not be installed (or could just be a mistake), so the game couldn’t find them when checking if they can be sold on flea.

In the new version of the mod, these traders are skipped by default. You can set ‘forceAdd: true’ to have these items removed from the trader’s inventory (they likely weren’t showing up already) and add the trader to flea.

Let me know if that doesn’t solve your issue here.

0 Likes

i tested it yesterday everything works fine so far. thank you for this small but amazing mod and for the quick reply

0 Likes
Callen151

Awesome mod! I was wondering though if it was possible to add a config option to turn off the fence on flea, but still allow custom traders?

1 Like

Glad you like it! I just added a new version with that config option. Let me know if you run into any issues with it.

1 Like

Oh wow, that was fast! Thank you!! It doesn’t seem like it’s working though. Unknown still shows up under the flea, even when it’s set to false.

0 Likes

Ah ok, thanks for the details, just uploaded a fix.

Fence shows up as “Fence” in the search results. The “Unknown” person was actually the base prices for flea market getting added as a trader. That’s why their prices were so low!

Cheers

1 Like

That did the trick! Thank you so much, and thanks again for the speedy updates!!

0 Likes
Yurian

But let me start by saying……..

1 Like

Details