Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
this mod is obviously inspired by 101p's mod, since it does not look like he is updating his mods to the latest releases...
Of course if 101p will release his version for 3.2.0 i will remove this mod, if he wants me to do that
"THE PRICE ON THE ITEM IS NOT HOW MUCH YOU WILL ACTUALLY GET"
"DO NOT TRY TO SELL STACKABLE ITEMS (like ammo) TO BLACKMARKET"
-
Version 3.5.0
- InternalError_
- 2k Downloads
Updated to AKI 3.5.0
-
Version 3.4.0
- InternalError_
- 1.8k Downloads
Updated to SPT AKI 3.4.0
-
Version 3.3.0
- InternalError_
- 869 Downloads
Updated to v3.3.0
-
Version 1.1.1
- InternalError_
- 960 Downloads
Added some new configs to make sure every player has fun using the mod
-
Version 1.1.0
- InternalError_
- 390 Downloads
Updated price gathering strategy
-
Version 1.0.3
- InternalError_
- 617 Downloads
Fixed a profile corrupting bug
-
Version 1.0.2
- InternalError_
- 348 Downloads
Updated to 3.2.1
Fixed config
Tax is now 0 by default because people were complaining to not get the correct amount of money
Removed unused code -
Version 1.0.1
- InternalError_
- 537 Downloads
Added config options to disable FleaBlacklist and FoundInRaid Condition
-
Version 1.0.0
- InternalError_
- 438 Downloads
briocheman21
Dead link
A_SPT_Player
The link is dead
reshi-san
download is not possible, github link is corrupted unfortunately
DizzilyHQ
hi im having a problem with the latest version. when i sell stuff it just sells the items but i do not get money and i get a infinite loop swirling icon in the right bottom corner. deleted cache, mod, all other mods, user/cache. problem still exists. no error in the serverconsole.
InternalError_ Author
What items are u selling, are they fir?
Do they appear in the prices.csv
Phantom1274
The same thing. When I try to sell a VOG-17 grenade, an eternal loading appears.
InternalError_ Author
Any error messages in the serverlog?
What other mods do you have installed
SnowFlake
It looks like I'll have to create an account to give feedback on my problem. Dear Author, I'm using version 1.2.0 of the mod and something went wrong causing the message bar in the bottom right corner of the main screen to be completely empty even though I'm supposed to have a reward from the merchant after completing the quest! No merchant can send me messages or gifts, and I can't initiate chat with them, so help is greatly needed!
SnowFlake
Dear Author, the problem has been solved! He, together with another mod called SystemGift, erroneously deleted the merchant's dialogue under some kind of my operation
TheR3
Can you please explain in more detail how the pricing is determined? Mod advertised to use flea market prices but this doesn't really appear to be the case.
I did some testing with various items. Here is an example with 1 unit of Soap:
InternalError_ Author
I am using this method from RagfairPriceService
/**
* get the dynamic (flea) price for an item
* Grabs prices from prices.json and stores in class if none currently exist
* @param itemTpl item template id to look up
* @returns price in roubles
*/
public getDynamicPriceForItem(itemTpl: string): number
Whipedout
Hey does anyone know how to get this to run for 3.5.0?
I tried the stuff Alexey wrote in the reviews and got the trader back in the game but i dont get the items buy part to work i cant live without this mod pls help
InternalError_ Author
Working on it
Chao~
Works great in SPT-AKI 3.4.1!
However, there should be a giant, unmissable disclaimer saying:
"THE PRICE ON THE ITEM IS NOT HOW MUCH YOU WILL ACTUALLY GET"
and maybe also:
"DO NOT TRY TO SELL STACKABLE ITEMS (like ammo) TO BLACKMARKET"
So, if you try to sell it to Blackmarket and the listed value is "20k RUB" but the flea value is actually "50k RUB average", you'll actually get around 60k RUB when you click SELL.
EDIT:
After some very painful testing, should also have a big disclaimer saying:
"DO NOT SELL KITTED WEAPONS, THE MOD DOES NOT ADD THE VALUE OF MODS ON IT AND YOU SHOULD TAKE THEM OFF INSTEAD"
I'm pretty sure it's not the mod's fault either - I don't think the Ragfair module on AKI can price kitted weapons correctly, so fully disassemble them and sell them to Blackmarket instead.
Pwnzorder
DUDE THANK YOU! I thought for sure the mod was not working but you are 100% right, the listed price is not what it actually sells for.
Jed16338
Hey there, i just installed your mod last night when i was doing a fresh mod list for 3.4.1. WHen i got in game i noticed that the blackmarket trader does not have any items in its trading screen. Im unsure where to start looking when it comes to potential issues. any advice would be appreciated!
InternalError_ Author
Hi
The blackmarket does not sell any items by itself.
This trader is meant to buy all of your FIR items, at the same price as the Fleamarket.
But it just works instantly, so you dont have to manually create offers for each and every item...
Jed16338
Thank you for explaining that, i found out a few hours later when i went to go sell stuff to traders. loving all your mods man keep up the great work!
Platinum
Hi again, I noticed that when selling stacks of Ammo, you only get paid for 1 round instead of the whole stack but the whole stack will disappear. Is this a limitation of the modding API or just a small oversight? Thanks.
InternalError_ Author
Did already know that
I cant fix it. There is a property StackItemCount but it seems like its always 1
Platinum
Thanks for the mod, it makes selling your loot a lot easier.
Btw is it possible for the mod to display the sale price value of the item before the sale? Or a config to set a multiplier for the sale price? It seems it sells much higher than the lowest prices on the flea.
InternalError_ Author
No i cannot display the price on the selling table...
If you want to see the prices for each item, check the configs. there you can enable a csv sheet
diasiledu
For people wanting to use the mod in 3.3.0 you need to do this:
Open mod.ts and add this import
import { EventOutputHolder } from "@spt-aki/routers/EventOutputHolder";
In both mod.ts and mod.js replace this lines
const itemEventRouter = this.container.resolve<ItemEventRouter>("ItemEventRouter");
let output = itemEventRouter.getOutput(sessionID);
with
const eventOutputHolder = this.container.resolve<EventOutputHolder>("EventOutputHolder");
let output = eventOutputHolder.getOutput(sessionID);
That worked for me, hope it helps!
1427340788
When using this mod, I encountered a problem that the server couldn't run and reports an error as followed.
The application had a critical error and failed to run
Exception produced: TypeError: ragfairPriceService.getDynamicPrice is not a function
Stacktrace:
TypeError: ragfairPriceService.getDynamicPrice is not a function
at Blackmarket.resolvePrices (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:128:47)
at Blackmarket.postDBLoad (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:149:14)
at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)
at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)
at App.load (C:\snapshot\project\obj\utils\App.js)
at C:\snapshot\project\obj\Program.js
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:65:3)
at Function.runMain (pkg/prelude/bootstrap.js:1984:13)
at node:internal/main/run_main_module:17:47
The version of the game is SPT-AKT-3.2.5, and I also instill 4 other mod, including armor improvement, two new trader, and enabling Christmas Events. Is the crash caused by mod incopatibility or other reason. I would appiciate it if anyone could solve this problem.
outhousehandy
Perform the following change to fix the mod for 3.2.5
Open the mod.js file using notepad, notepadd++, sublime or some other text editor
Location of the file is here, spt location is where you spt installed:
C:\sptlocation\user\mods\InternalError-blackmarket-1.1.1\src\mod.js
go to line 143 which reads:
const price = ragfairPriceService.getDynamicPrice(id);
change it to:
const price = ragfairPriceService.getDynamicPriceForItem(id);
Save and launch your server.
1427340788
thanks, bro
1427340788
I'm sorry about meeting anothor problem that when selling item to the trader, the game keeps loading and the server reports an error as followed.
Error: ENOENT: no such file or directory, open 'D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.0\res\blackmarket.jpg'
Error: ENOENT: no such file or directory, open 'D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.0\res\blackmarket.jpg'
Error: ENOENT: no such file or directory, open 'D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.0\res\blackmarket.jpg'
Error: ENOENT: no such file or directory, open 'D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.0\res\blackmarket.jpg'
[Client Request] /client/trading/api/getTraderAssort/blackmarket
[Client Request] /client/trading/api/getUserAssortPrice/trader/blackmarket
[Client Request] /player/health/sync
[Client Request] /client/game/profile/items/moving
Blackmarket: Registered 2476 prices
TypeError: itemEventRouter.getOutput is not a function
TypeError: itemEventRouter.getOutput is not a function
at Blackmarket.confirmBlackmarketTrading (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:83:38)
at Blackmarket.confirmTrading (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:69:29)
at TradeController.controller.confirmTrading (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:42:29)
at TradeCallbacks.processTrade (C:\snapshot\project\obj\callbacks\TradeCallbacks.js)
at TradeItemEventRouter.handleItemEvent (C:\snapshot\project\obj\routers\item_events\TradeItemEventRouter.js)
at ItemEventRouter.handleEvents (C:\snapshot\project\obj\routers\ItemEventRouter.js)
at ItemEventCallbacks.handleEvents (C:\snapshot\project\obj\callbacks\ItemEventCallbacks.js)
at RouteAction.action (C:\snapshot\project\obj\routers\static\ItemEventStaticRouter.js)
at ItemEventStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)
at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)
TypeError: itemEventRouter.getOutput is not a function
TypeError: itemEventRouter.getOutput is not a function
at Blackmarket.confirmBlackmarketTrading (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:83:38)
at Blackmarket.confirmTrading (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:69:29)
at TradeController.controller.confirmTrading (D:\Game\EFT\user\mods\InternalError-blackmarket-1.1.1\src\mod.js:42:29)
at TradeCallbacks.processTrade (C:\snapshot\project\obj\callbacks\TradeCallbacks.js)
at TradeItemEventRouter.handleItemEvent (C:\snapshot\project\obj\routers\item_events\TradeItemEventRouter.js)
at ItemEventRouter.handleEvents (C:\snapshot\project\obj\routers\ItemEventRouter.js)
at ItemEventCallbacks.handleEvents (C:\snapshot\project\obj\callbacks\ItemEventCallbacks.js)
at RouteAction.action (C:\snapshot\project\obj\routers\static\ItemEventStaticRouter.js)
at ItemEventStaticRouter.handleStatic (C:\snapshot\project\obj\di\Router.js)
at HttpRouter.handleRoute (C:\snapshot\project\obj\routers\HttpRouter.js)
llife
surprised no one else has reported this..
in version 1.1.1 your traders pic is still pathed to 1.1.0, which leads to trader pic never loading... i originally thought you just never included a pic.. (never really looked)...
fixing this line to the right version number fixed the issue
David228143
Sometimes when selling a lot of items found in raid and non found in raid, the trader refuses to buy soley found in raid items
I do have "disableFIRCondition": true,
InternalError_ Author
Can you send me your profile and a screenshot?
David228143
I will but I just updated to 3.2.4 if that matters. I'll try downloading the mod and then trying it again with 3.2.4
S_gamez
Hey there is it possible that this could receive a compatibility update with another mod that alters prices for flea market ?
hub.sp-tarkov.com/files/file/353/InternalError_ Author
What exactly do you mean?
Cant you sell the mod items at the trader? -> item has no flea price
Items not FIR? -> If you find the item in raid please provide me with a clip or gif or whatever on discord: InternalError_#3515
Flea Price Updater should work but ill check in the new version
S_gamez
What i mean is that the prices the 2 mod uses is not a match it's 2 different once. Ending up making this mod useless as for the prices.
U have a price that's not up to date compared to this other mod. Like the mod i ask for compatibility with updates pricing according with online your didn't seem to do that at all. so thing ended up having completely different price on serten items.
InternalError_ Author
Okay ill explain you the procedure here:
When you sell items
1. Check if its Found in Raid,
2. Check if it can be sold on flea
3. Check if there is a flea price for that item
4. Gives the player the amount that is the cheapest flea offer
If the item cant be sold on the flea or not fir it will be put back to the stash
All of this is done while selling
There are no hardcoded prices for the mod, it always checks the price while selling so if you think there is still an issue, please provide me with the exact mods, configs, settings, version, and profile
S_gamez
4 is the one i say is not working together with the mod i stated otherwise not issue. but that's hard to explain in a good way.
InternalError_ Author
Just try to so i can help youplease provide me with the exact mods, configs, settings, version, and profile
Leaffallinglight
Can 1.0.3 be used on the 3.1.1 server?
InternalError_ Author
Yes
TyrannyFighter69
Why are there 3 compressed versions of the mod nested in each other?
TyrannyFighter69
I deleted the copies within and the mod is working fine now!
InternalError_ Author
i have no idea
outhousehandy
The sell price this mod uses is generated from the AKI code that creates prices within the flea itself. Just edit the mods config.json file to have a negative tax if you want it to give you more money.
WoBra
I have tested it several times and with some items you get less or much less than when selling at the traders.
And that the price is not to be seen before, is then also quite unpleasant. I hope that is still adjusted because I do not want to sell the things under value.
YZH67
well, does this mod work with Flea Market price updater ? (online plugin or LUA'S FLEA MARKET PRICE UPDATER)
InternalError_ Author
It should work fine with LFMPU
YZH67
Unfortunately ,I 've checked several times ,its price doesn't change ,which means there is still something wrong with IBT or LFMPU
Leaffallinglight
I hope it's the price of the flea market when it's on sale, otherwise it's a bit confusing
Leaffallinglight
when sold
Younited
Hello, how does this mod work? I uploaded it for myself and the price of, for example, sugar is not the same/similar as on flea. For comparison sugar at Therapist the selling price is ~10k and the same price at seller from this mod.
InternalError_ Author
The prices that are shown are not equal to the effective money you get
Younited
Meaning ?
InternalError_ Author
The amount of money it displays above the "DEAL" button is not the amount of money you will get
Demigods
The mod deleted my money when it glitches out and i have to wait for it to get done reloading then puts my roubles to 1
InternalError_ Author
Text me on discord: InternalError_#3515
Greev
Just a tip, if you put the files in a folder before you zip it, it saves people the hassle of having to make their own folder, and saves you the hassle of telling people to do it when they cry about the mod not working.
InternalError_ Author
Gonna do that for my mods preset, whyever it is the standard npm task to zip up a mod
Sanya_litvyak
are you gonna port the other mods made by him,would love to see the tailor trader and exp trader again.
InternalError_ Author
I can try
footlicker
do i just make a new folder and name it whatever? or it has to be the exact name as the .zip?
InternalError_ Author
name the folder "Blackmarket",
or install 7zip, and do right click -> 7zip -> Extract files