Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
New features:
- Blacklisting items from dynamic offers
- Real time price updates (copied from MertCan's RealTimeFleaMarket mod)
- Flea Market configuration (so you don't need AkiConfigurator just for this)
IMPORTANT
You need to register to https://tarkov-market.com/, and pledge to their Patreon in order to use this mod. See the README for setup.
Older versions of the mod have my old API key hardcoded. These won't work anymore. If you really want to use an older version of this mod, you'll need to replace my old API key in the code with yours.
-
Version 3.3.1
- VeryGery
- 5.4k Downloads
- Fixed a bug with mod directory
- Always sell function is back
-
Version 3.3.0
- VeryGery
- 700 Downloads
- Added configs for instantSell, and dynamic offer adjustments
- You need your own API key now to use tarkov-market (5 requests per minute isn't enough anymore with so many users)
-
Version 3.2.0
- VeryGery
- 4.3k Downloads
- Updated to AKI 1.4.x
- Price fix: Only update prices of functional modules (I realized Tarkov-Market contains non-functional items, too)
- Check sold items in loop, so if multiple sell-points passed since last update, they will all be processed
-
Version 3.1.5
- VeryGery
- 717 Downloads
- Added dogtags and bitcoin to blacklist (since you can't sell them)
- Fixed bug when offer would not be removed after completing/expiring
-
Version 3.1.4
- VeryGery
- 186 Downloads
- Retry when market update failed
- Fix trader offers missing after updating prices
- Fix bug when sometimes you get the wrong amount of items in an offer
-
Version 3.1.3
- VeryGery
- 1.3k Downloads
- Updated to AKI 1.3.0
- Fix item stacking issue causing weapon attachments to get lost
-
Version 3.1.2
- VeryGery
- 462 Downloads
Short version: Lots of bugfixes causing offers not returning and not completing properly.
Long version:
- Fixed offer deletion bug
- Fix stack merging when creating offers (fixing issues with completing/returning offers)
- Fix end time for player offers (AKI has it at 2 hours instead of 12)
- Fix loading order of SaveServer and RagfairServer (caused player offers not to be loaded into RagfairServer's offer list)
- Added proper changing of 'isRatingGrowing' flag
-
Version 3.1.1
- VeryGery
- 941 Downloads
Added the NaN fix again
-
Version 3.1.0
- VeryGery
- 149 Downloads
Updated for AKI 1.1.0
-
Version 3.0.0
- VeryGery
- 1.1k Downloads
- Updated for AKI 1.0.0
- Added item blacklist for dynamic offers
- Fixed infinite loop when selling items with 0 sell chance
- Fix for name generation bug when selling an item
- Fix for corrupted profiles when selling complex items
- Fix for sellChance sometimes being NaN (doesn't always work unfortunately)
Opticz
Is there any new mods that unlock selling to the flea?
Plum_Juice
is there a AKİ 2.0.0 version?
Krane151
cant download the last version
rifish
Can't download the file, It says The page you are trying to reach either does not exist or you are not authorized to view it.
Version 3.3.1
Danersx
Should 3.3.0 and 3.3.1 work with AKI 1.5.0? I am using 3.3.1 with AKI 1.5.0 and it generally works except of features like instant sell. One the other hand I suspect that the mod sometimes causes a bug that makes it impossible for the server to load my profile.
So, should the newest version work with 1.5.0?
GamesWorstPlayer
I am looking for a little help or understanding on what I may be doing wrong. I am unable to see any items on the flea market. I grabbed this Mod and extracted the files to the mod folder. I went and got my API key from tarkov market. Server startup shows no errors when loading, and I see it load the MOD. But when I go to the flea market it is blank. no items are listed. If I list an item I cannot see it as well. Market is also blank if i have no mods running.
Pre
Same problem
Krane151
if you have hideout architect mod, uninstall and its fixed, that solved the problem for me
Pre
Yeah, I realized that a day ago, thanks anyway.
GamesWorstPlayer
Can confirm. this fixed things for me as well.
CanuckChris
Is there any way to manually download and add the data without a tarkov-market API key? A weekly/monthly snapshot of current pricing would be enough for my casual needs.
VeryGery Author
SP-AKI already uses a snapshot. There's also the Bread and Butter mod, which I believe uses a more recent snapshot.
I could implement a snapshot in my mod as well, but I'll definitely not update it weekly/monthly, so it'd be just the same.
CanuckChris
Even a current snapshot would be awesome as it's been long enough since wipe I'm guessing the market has reached a bit of an equilibrium and would make a good reference point for casual play. Thanks for your work on this!
footlicker
how to update to new version? i have 3.2, do i just delete the old folder or do i overwrite old folder? thk u
VeryGery Author
You can delete the old folder, and copy the new one in the mods folder.
Kippa
I do have a question about paying for this mod on Patreon and hopefully someone can help me - if you make a single payment (for me is £4.80/monthly) could I cancel the subscription once I have my API key or do I have to keep paying to use it?
I'm not sure how it all works with Patreon just wanted some info before I do anything.
VeryGery Author
I don't really know, I have a subscription, and I haven't cancelled it, so I haven't tried. I did have the same key for over a year, though, so I imagine you'll probably keep your key after cancelling your subscription. I could be wrong, though.
VeryGery Author
EDIT: It says in a post on their Patreon that you'll lose your key if you cancel the subscription.
angrydickpuncher
Oi fucking vey.
jin970603
[ERROR] Trace:
Error: ENOENT: no such file or directory, open 'user/mods/VeryGery-SellToFleaMarket/config/config.json'
at Object.openSync (fs.js:476:3)
at Object.readFileSync (fs.js:377:35)
at Object.readFileSync (P:\SPT AKI\Server.exe:239:55)
at Function.readFile (P:\SPT AKI\obj\bundle.js:53325:15)
at Object.onLoad [as VeryGery-SellToFleaMarket] (P:\SPT AKI\user\mods\selltofleamarket\src\SellToFleaMarket.js:7:54)
at Function.executeMods (P:\SPT AKI\obj\bundle.js:51867:28)
at Function.load (P:\SPT AKI\obj\bundle.js:51815:15)
at Object.load [as aki-mods] (P:\SPT AKI\obj\bundle.js:43618:15)
at Function.load (P:\SPT AKI\obj\bundle.js:52921:27)
at Function.main (P:\SPT AKI\obj\bundle.js:42371:9) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: 'user/mods/VeryGery-SellToFleaMarket/config/config.json'
I am having this problem how to fix it?
VeryGery Author
Sorry, my bad, the name of the mod directory changed, I'll push a fix ASAP
CharlamagneKing2
Hello,
I don't mind the whole paying part as long as I get the functionality, if anything it’s a shame I'm not funding you directly. However, I login into tarkov-market, copy the API key and paste it into the config. However, I still get the couldn't update error. Using the latest version on AKI 1.5.1, any suggestions?
VeryGery Author
Are you sure you are using a working API key?
You can always try to hit their API directly, see if you get the same error: https://tarkov-market.com/api/v1/items/all?x-api-key=<API key here>
CharlamagneKing2
Thanks for the tip about hitting the API directly, it showed me the key was working so I took a look at my mod directory and removed a a conflicitng mod. It all works now, thanks
VeryGery Author
Just out of curiosity, what was the conflicting mod? I might be able to put some support for it, if needed.
CharlamagneKing2
First of all, becasue of the file name change dragging the new version into the mod folder won't override the old one. At this point the old mod seems to be the first one loaded thus the error. Furthermore, I removed all mods that changed prices in any way, slowly adding them back and found that anything that affects the flea market directly in anyway conflicts with this mod (it still loads but the flea prices become quite funky). Hope that helps!
redman147
It should be added to the description of the mod that you MUST pay in order to use the service. I don't like finding out second hand.
VeryGery Author
You're right, I updated the description.
redman147
Thanks for the update.
Ricky Spanish
Getting a Tarkov Market API requires pledging in their Patreon
just saying
VeryGery Author
Yeah, I know. Unfortunately, it's either that, or we all use one key, and it's not going to work for anyone because of the request limit.
MrBlu1911
Yeah. Not doing that.
It effectively turns the mod into a paid mod.
Ricky Spanish
exactly, Blu
VeryGery Author
You're free to share your own API key if you want others to have free access, but keep in mind, if everyone is using the same key, you're very quickly going to reach the request limit, and effectively render the mod useless for all those people (including you).
footlicker
does it work on AKI 1.5.1? am getting error: failure to update price from tarkovmarket...
VeryGery Author
It does. The error you're getting is because tarkovmarket isn't always up, and it also has a request per minute limit. Just wait, it will try again every minute until it succeeds.
MasterKeef
I am getting this error on server launch also, however the website seems to be up and running no problem. Left it running for 20-30 retries while the site is working and had no joy.
VeryGery Author
I have similar issues, tarkov-market seems to be throwing the "You reach your limit of 5 req per minute" error even when I wasn't even using it.
I might need to require everyone to register on tarkov-market.com and use their own API keys to make it work.
voltic
Hey, do you know how to change to flea market to only have options available in RUB? Is it also possible to increase the amount of offers per item, like 10 listings for example? Is this possible though your mod or elsewhere? Could you give me a hint? Thanks!
VeryGery Author
You can use AkiConfigurator for that (I have plans to include those configs in my mod as well).
Under "ragfair" and "dynamicOffers", you can adjust "threshold" and "batchSize" to increase the amount of offers. Basically, the server will generate new offers every time the current amount goes below the threshold, up until you have threshold+batchSize number of offers.
In the same config, "currencies" sets the probabilities of different currencies. You can set the first one to 100 instead of 75, and the other two to 0 to only have offers for roubles.
voltic
Thank you very much for the hints!!
Whayle
Hey any chance for an updaate for 1.6 ?
vasyliev_m_s
It is working on 1.6. For me, at least I will say more: it is working even on Bleeding Edge.
Whayle
im very confused cause its working for me on be a5 aswell lol probabyl updated?
VeryGery Author
Hi, sorry for the late response. I didn't need to do any change, the last release works on both 1.6, and Bleeding Edge. Updating the tag.
Whayle
Thanks for the answer ! Great mod mate! keep it up
TyeHeater
Love the mod. I am getting "Failed to update prices. Trying again in 1 minute." over and over for 30 minutes. Is there a way to see where the actual error is occurring?
TyeHeater
Nevermind. This issue resolved itself the following day.
VeryGery Author
Tarkov-market was probably down, they have maintenance sometimes
lunaticdanni1705
its not possible anymore to use the instant sell version on aki 12.10 right?
VeryGery Author
With AkiConfigurator, you can set the min/max sell time to 0, which will have the same effect (it will still take a few seconds to sell, as the message updates aren't instant).
lunaticdanni1705
Thank you!
AsSiS90
VeryGery Author
Not sure what you mean by this question, but I'm pretty sure it's not related to this mod.
parkquest83
Hello again, what does it take for an item to sell? I listed it for less than the highest one that existed at the time.
Console said :
[INFO] Rolling for sell 1 items (chance: 104)
[INFO] Tax Calculated to be: 14225
[SUCCESS] Items taken. Status OK.
Is there a max/min value that something should be listed for?
VeryGery Author
You'll have to wait for the item to sell. You can configure the time with AkiConfigurator.
parkquest83
Getting following error in Server. Anyone know about this one?
[ERROR] TarkovMarket: Failed to update prices. Trying again in 1 minute
FrameKixrr
Happens like 2 times then sort itself out of me
VeryGery Author
Tarkov market restricts queries per minute. Just wait until it tries again and succeeds. You can play the game in the meantime, the Flea Market will automatically refresh after a successful update.
parkquest83
Ty for the replies.
Dunstorm
Is it possible to make items not marked "fir" sellable on flea again?
VeryGery Author
Only by editing the profile and making it FIR again.
PapaFatCock
Please set your DropBox link to LINK..?dl=1 instead of LINK....?dl=0
Harmageddon
I know you said below that you won't be responding to comments about things that your mod doesn't directly implement, but it does look like this mod interferes with the listing of Trader offers on the flea. So while this mod doesn't implement Trader offers, it does break the Trader offers from the base game.
If you run SPT without this mod, the flea has Trader offers and dynamic offers, but the dynamic offers are incredibly overpriced in some cases (ie 855a1 for 16000R/round). This mod fixes the dynamic offer prices by looking up the item prices from Tarkov Market, however it appears that in building that offer list, this mod is somehow wiping all trader offers and only allowing dynamic offers to be displayed regardless of the AKI Configurator mod settings.
Uninstalling this mod immediately returns the Trader offers, while re-installing it immediately wipes all Trader offers.
VeryGery Author
I've noticed this, too, thanks for reporting. Will be fixed in the next patch.
LLlaynishka
However hello, new bugs, when I put up for sale magazine with cartridges, puts up as many magazines as there were cartridges in them... Bug
Killer_Queen
VeryGery Author
There is a blacklist in the config, simply empty the list.
So:
This means no blocked items.
PadLogic
It is normal?
https://ibb.co/QpP4xg8
mods installed: Bread and butter and Sell to flea market spt aki 1.3.0
VeryGery Author
From the description of the Bread and butter mod:
"There might be a compatibility issue with other mods cause B&B does intensive modifications."
"Updated market prices."
It's probably that.
Enverex
Disabling the "ragfair fix" in Butter allows this mod and Butter to work together.
PadLogic
Many thanks!
Nathesium
I suddenly started getting a persistent error in the server command prompt, where it says:
[ERROR] Scheduled event: 'aki-ragfair-player' failed to run successfully.
TypeError: RagfairController.deleteOfferByOfferId is not a function
at Function.completeOffer (E:\SPT-AKI\user\mods\VeryGery-SellToFleaMarket\src\SellToFleaMarket.js:132:31)
at Function.processOffers (E:\SPT-AKI\user\mods\VeryGery-SellToFleaMarket\src\SellToFleaMarket.js:115:24)
at Function.update (E:\SPT-AKI\obj\controllers\RagfairController.js:416:27)
at Object.updatePlayer [as aki-ragfair-player] (E:\SPT-AKI\obj\callbacks\RagfairCallbacks.js:48:25)
at Timeout.update [as _onTimeout] (E:\SPT-AKI\obj\utils\App.js:27:39)
at listOnTimeout (internal/timers.js:549:17)
at processTimers (internal/timers.js:492:7)
I can still purchase things from the flea market, but whenever I try to put anything up for sale, it doesn't really get registered on the market, and it defaults to 2 hrs again instead of 12, and if I cancel the offer, my item gets lost to the void and I don't get it back.
***EDIT***
I uninstalled and reinstalled the mod (using version 3.1.3 before and currently) and the error message is gone. My previous flea market offers didn't get returned, but some that I wanted returned before reinstalling the mod, got registered as sold and I got the rubles from the sale.
***EDIT 2***
The error is back. It seems like every time I try to sell something on the flea market, the server command prompt will get blasted by this persistent error. The only way to temporarily get rid of this is to remove this mod, run the server, close it, add this mod back, and then run the server and launch game. However, once you decide to sell something on the flea market, the error comes back.
Frostbite
Love the mod and nice work on getting it integrated into release!
Would you mind adding the instant sell function back into your config?
It just helps to streamline the process and removes the worry for 2 hours of the items possibly not selling :beaming_face_with_smiling_eyes:
VeryGery Author
Thank you!
The sell parameters are configurable with AkiConfigurator. You can set the base and min time to 0, and the max time to 1 (which is 1 minute). That way every roll for selling will be within 0 to 1 minute, so you're probably going to sell everything within a few minutes depending on the sell chance.
Also one tiny note: 2 hours of max sell time doesn't mean you can't sell the item after 2 hours. It just means that a single roll for selling will be within 2 hours. But the server rolls multiple times, until everything is sold or the offer expires. So you can sell anywhere within the 12 hours.
LLlaynishka
As much as I don't want to upset you, but there is one bug (and a serious one), after I put an item up for sale, and if it is not bought, I get several copies of it without modifications. Bug
Nathesium
I've gotten this too... usually if I try to sell a gun on the flea market, it will put the offer up, then strip it completely bare and then not return it to me even if I cancel. Big sad
VeryGery Author
I got this one today as well, I have an idea for a fix, I'll probably release it tomorrow after I had some time to test it.