Croupier (random loadouts + flea quicksell) 1.2.3

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

Gear up for your next raid in just 20 seconds!

This trader does 2 things:

1) 🔫 Sells random loadouts - a weapon, loaded mags, gear, meds, etc, so you can literally jump right back into a raid in 20–30 seconds after dying.
▶️ Video demonstration


2) 💸 (*Disabled by default) Buys FiR items and pays an average flea market price for them, minus a 15% tax.

Read "FiR selling compatibility" part if you want to enable it.
This functionality is basically updated and simplified 101p's "Blackmarket" mod


------------

Notes:

- There are 3 tiers of loadouts: low, mid and top. You can choose to buy a loadout with or without a gun.
- Generally, you’ll get what you pay for. However, there’s a chance you might get a TOZ-106 in the top tier or a Slick armor with level 6 plates in the low tier for example.
- Gun presets are randomized, but mods for each gun and tier are carefully handpicked, - which means presets rarely recur and they don't need much adjustments at the same time.
- If your PMC is naked, just use Alt+click on item to wear it.
- The "Blackmarket" (FiR quicksell) feature is ported with its main problem: you can't see how much money you're gonna get before selling. Can't do anything about it, nor really care.

- The "Blackmarket" (FiR quicksell) feature is now disabled by default - not all people seem to need it and it also has a compatibility problem (see below).

- Also, there is an option that doesn't allow you to sell FiR items for fleamarket price before you reach level 15.


------------

* FiR selling compatibility:

This feature is conflicting with any mod that intercepts the standart trading (sends you items in messages, sells XP points/skills, non-inventory quest items, etc) - for example, Skulltag's Personal Trainer and Bluehead's AIO Trader.


You can still enable it in config.json.


------------

Custom guns/mods/gear support:

- WTT M249
- WTT AEK-971
- WTT AN-94
- WTT Cz-75
- Choccy Milk's Walter WA 2000
- Choccy Milk's Armsel Striker-12
- Choccy Milk's Kel-Tec KSG-12 Shotgun
- Kopat1ch'es Ratnik Spring Gear Pack
- Kopat1ch'es A-TACS FG Pack
- MoxoPixel's Tactical Gear component (Partial, work in progress)

More in future updates

------------

The mods I used/looked into (thanks):

- 101p’s Blackmarket (updated with minimal edits)
- Bluehead’s AIO Trader (custom trader controller)
- Dsnyder's Unknown Survivor (used as a template for the trader)

  • Version 1.2.3

    Fixes:

    - Fixed the problem with Fence not giving money after a scav run (thanks to Riggzly for the report)


    New mods support:
    - AN-94

    - WA 2000


    (3.10)

  • Version 1.2.2

    - minor fixes in loadouts


    (3.10)

  • Version 1.2.1

    minor update


    - fixes for some presets


    new mods support:
    - Ratnik Spring Gear Pack

    - Kel-Tec KSG-12


    (3.10)

  • Version 1.2.0

    Code changes and fixes:

    - Added a config option to enable FiR trading only after level 15 (It's too OP to have a trader who buys stuff for flea market prices before you actually have access to the flea market). Obviously, if you have FiR trading disabled it won't work anyway

    - Made ammo counts a bit more random

    - Added more variety to mail messages instead of just having one

    - Slightly increased prices for the low tier (sometimes you could sell stuff for more money than you paid)

    - Reworked ineffective FiR selling algorithm. Thanks to jj2022 for bringing this to my attention!

    - Tried to fix a weird bug I saw once but couldn’t reproduce again. Thanks to DaProk for the report!

    - People report it's possible to get the "loadout" box either from a crate (because of other mods or in vanilla - need to investigate), or from the mentioned bug above. So, now you can sell those boxes back to Croupier, with some losses, of course. Thanks to Beat2er for this suggestion!


    Added support for:

    - WTT Cz-75

    - Armsel Striker-12

    - A-TACS FG Pack

    - Some new items from Tactical Gear Component


    Loadout generation fixes:

    - If the weapon has only 2x2 type mag (machine guns basically) and the selected chestrig doesn’t have a 2×2 slot, the mag now goes in the backpack

    - Fixed M249 presets that were using 7.62×51 muzzle devices instead of 5.56x45 ones

    - Tactical modules in low tier were too good — now you’ll mostly see a blue laser or a simple flashlight


    ---


    (3.10)


    Thanks to the SPT community for all the warm comments! <3

  • Version 1.1.2

    Loadout generation

    🎉 Loadout generation is now independent of confirmTrading. Now other mods with custom implementation of TradeController should not break this (core) functionality.


    FiR selling (Blackmarket)

    - FiR selling still depends on a custom TradeController implementation. As a result, mods that modify standard trading either break FiR selling or the other way around.

    - Because of that, and because not all people need this FiR selling feature, this option is now *disabled by default*. If you think you don't have other mods intercepting standart TradeController feel free to enable this option ('enable_custom_FIR_selling' in config.json)


    Added support for:

    - WTT M249

    - WTT AEK-971

    - (Partial) Tactical Gear component


    Bug fixes:

    - Fixes for gun presets

    - 2 code hotfixes for 1.1.0


    (3.10)

  • Version 1.0.0

    (3.10)

  • Hey friend, great mod! Really cool idea, been liking the practicality of it so far.

    Just wondering, though: is it normal for the trader to spam me with messages (2~3 messages every 10 minutes), even when i'm not buying the kits? Been using the mod for 2 days and been trying to figure out what triggers him to message me, but haven't found out yet (i'm guessing it's some weird interaction with some other mod i'm using.

    Is there any way to deactivate his messages, maybe? I'm currently using the default settings (FiR trade disabled).

    • hey mate!


      this is wild, i didn't encounter such bug

      what mods are you using? are you using the latest version of the mod?

    • Hello!

      I can imagine this problem could be a case a few versions ago, but now can't catch this bug


      Can you confirm the problem persists when you update the mod to the latest version? Just so I know at least

    • Hey Turbo, sorry for going MIA.
      Apparently it had something to do with my old install, since posting the original message I've had to switch from Windows 11 to Windows 10 and thus, completely reinstall SPT. I have played for a few hours already and the messages seems fine now, even with the same mods.

      Just for disclosure, here's my mod list anyway:



      I'm updating the mod right now, will test it out some more a bit later, and report if I have any issues, but the problem seems to be fixed for now because of my new install.

      Thanks for everything, mate!

      SERVER MODS
      Artem
      REF SPT FRIENDLY QUESTS
      Algorithmic Level Progression
      Painter
      MOAR
      Unrestricted Armor Plates
      Loot Value
      Dynamic Goons
      More Checkmarks
      Black Core
      MagTape
      Tactical Gear Component
      Item Info
      Better Rear Sights
      Increased Climbing Heigt
      Skills Ext
      Looting Boots
      SPT Recoil Standalone
      Tarkov Hd Item Rework Project
      Ui Fixes
      Virtual's Custom Quest Loader
      Wtt PackNSTRAP
      SAIN
      SVM
      CLIENT MODS
      Unity Toolkit
      Amands Graphics
      Amands Sense
      Performance Improvements
      Dynamic Maps
      Use Items Anywhere
      BigBrain
      Waypoints
      Loot Radius
      Trader Scrolling
      Use Loose Loot
      WTT Menu Overhaul
      Stash Search
      That's Lit
      Virtuals Custom Quest Loader (VCQL
      Item Context Menu Extended
      Custom Interactions
      Thumbs Up 1
    • Thanks for your reply, glad to hear that!


      Yeah, let me know if the problem returns back.

  • Using your mod fence gives me 0 RUB after a scav run in the messages. I took it out and fence worked fine.

    • Interesting


      Was FiR selling feature enabled or disabled? I dont have time to investigate it before the weekend, but will try to fix this in a future update, thanks

    • I changed nothing in the config so whatever is default.

    • It seems I fixed the issue in the latest version. Funny enough, it seems that some other traders also break this feature, and the problem in all similar cases is only in one value in the trader config.


      Anyway, thank you for your report. If still interested in using this mod give it another try.

  • so i got a LOW_NOGUN from opening a opened box from hideout .

    how do i open it or do i just discard it ?

    • you can sell these boxes to the trader if you somehow obtain them (via opening another box or a rare bug)

    • I checked and no trader buys all of them say this https://ibb.co/v4G9FnGd

      and i got it from this in the hideout https://ibb.co/vxTk6SN0

    • what version the installed mod is? please update it to the latest one, the trader buys these boxes starting from the 1.2.0 version
      https://hub.sp-tarkov.com/file…-flea-quicksell/#versions


      if you were using fir selling dont forget to enable it again in the config

    • well i was on 1.0.0 i had no idea delete all the messages i posted lmao :)

      Happy 1
    • haha i cant


      thats all ok m8


      just in case once again: in latest versions, if you want to sell found-in-raid items for fleamarket prices you need to enable this in config.json, otherwise he will buy stuff for cheap

  • I can't understand why a trader buys FiR items from me cheaper than other traders?


    everything is enabled in the config

    • the price you see in the selling tab is incorrect, i mentioned that in description. he will just get average fleamarket price and will buy it for that minus 15% tax


      and if he actually pays the price written in this tab it means that there is a conflict with another mod

  • Amazing idea well executed and it synergises nicely with mods that disable scav runs. Mod support integration is always appreciated too, thanks.

    Heart 1
  • Hello how can I increase or decrease kit's prices?

  • I get snipers as the weapon on High tier loadouts more than others, is there a way to change to config percentage change of weapon type?

    • Chances are in data/constants.json file


      Go to gunClassMultiplier -> top there and adjust it if you need to. Otherwise it is just a bad luck.

      Currently it's:

      If you really want less sniper rifles set it to 2 or 1.


      Make sure you have the latest version (I updated the mod an hour ago).

    • thank you! This mod is great and a really fun way to try out new weapons n loadouts


      Appreciate your work here

      Heart 1
    • Thank you! <3

  • great mod, but is he supposed to be buying literally everything for a better price than any other trader? or did i screw something up lol

    • That is what his purpose is i think

    • If you mean FiR selling mode then yes, it's the purpose, it buys everything for average flea market price.


      But if you mean selling items with FiR selling feature disabled - yeah, I agree it's a bit too OP to have such good prices.. For example he buys meds for a better price than Jaeger (yet slightly worse than Therapist), or guns for a better price than Prapor.

      Was focused on other stuff, but I'll calm down prices a bit in non-FiR mode in some next update, thank you for the comment!

  • I just came across this mod at the perfect time. I've reached Kappa on 3.9.8 and lately have only been running scav b/c I love going in with random crap gear and gearing up after killing PMCs. I've been running purely scav runs for several weeks, and started to become frustrated with how complicated it can be to gear up between raids as a PMC.


    But then I see this. I was holding off on updating to 3.10, but your mod has brought me in. Thank you for your work on this!

    Heart 1
  • Amazing work my friend!

    I have one thing, I (probably by SVM adjusting modifiers) got the "Mid Tier Random Loadout" Box (and 2 low) out of some epic crate (i don't remember quite what it was). But now as far as i see, i cant sell it or open it.
    I think an easy fix would be to let Coupier buy this back just for roubles.
    Cheers :)
    kFF3van.png

    Heart 1
  • amazing mod bro i really love the way this hands out loadouts through the chat thingy rather than just dumping them into the stash

  • Because you were able to implement flea into selling is it possible to make a trader for all flea items?


    Would be sick for trader only hardcore.

    • Do you mean a trader that sells FiR items? Yeah, it's very possible

    • Yeah cook that up rn rn..

    • Nah mate, got work to do

      Just make a trader with all items you need by yourself, and later I'll help you with making items FiR

      Or you can also look at my code in latest (1.1.0) version, main.js lines 52-94:
      You basically should go thru all bought items in the inventory and the output (custom_output.data.profileChanges[profile_id].items.new) and make them FiR

    • Alr beh

  • IS it possible to lower the Lvl3 requirements from 15mil to something a little less?


    Edit, figured out how to edit the file in the mod to adjust this (user\mods\zcroupier\db\core.json)

    • yeah i slightly lowered that in the updated version anyway

  • MY game locks up when trying to sell to the flea with this mod, AITOO?

    • Due to its algorithm this feature is very resource-consuming, so for example if your game is on HDD and your inventory is big it can lag, probably

      UPD: I didn't see that the algorithm's *that* bad, I'll fix that in the next version

    • Thank you!

    • I am not 100% sure this will fix your problem, but I made the algorithm faster in the latest update
      https://hub.sp-tarkov.com/file…-flea-quicksell/#versions

      Let me know if you still encounter the problem

    • Thank you! I am not so sure the problem is tied to this mod - it seems to happen randomly on random items. I will keep testing, and try this new version. Thank you!

      Heart 1
  • I love the idea of random loadouts, but the other stuff makes me not want to try this. Not worth messing up other traders. I already have another mod for quick-selling to the flea. I'll keep an eye on this and maybe try it in the future.

    • As I mentioned in description, it is not "messing up other traders" if they don't interrupt standart SPT buying/selling function.

      Otherwise yes, it is currently not possible to have 2 or more mods that do such thing.


      UPDATE:

      Disabled FiR functionality by default in the updated version, patch note:

      https://hub.sp-tarkov.com/file…-flea-quicksell/#versions

    • Awesome. Thanks for the update.

  • Does this work for 3.10.5? If so its not working I could just be doing something wrong but could someone please help.

    • Read "Conflicts/Incompatibilities" part in description. Unfortunately, you currently can't have more than 1 mod that interrupts standart SPT trading.


      UPDATE:

      Fixed loadout generation conflicting (getting re-written) by other mods, disabled FiR functionality by default in updated version, patch note:

      https://hub.sp-tarkov.com/file…-flea-quicksell/#versions

  • I’ve noticed that sometimes when you sale this trader items, the item won’t actually sell. The item won’t disappear from your stash and you won’t actually get the money for it.

    • This trader only buys FiR items. You can use the FiR filter option in left-side of you inventory while you're in trader screen.

      Thumbs Up 1
    • Oh my gosh, I feel stupid. I knew that, but it completely slipped my mind.

      Thumbs Up 1
  • This is a great idea. I only see LOW as an option though?

    • low is avaiable from lvl 1 and 0 roubles spent
      mid is available from lvl 15 and 1.5kk roubles spent
      top is available from lvl 36 and 15kk roubles spent

    • Thank you!

  • This mod started bugging my trader sell prices. For example Jager started paying more for meds and food than Therapist and Prapor started paying more for guns and attachments than Mechanic. Any clue how to fix? Also, when I did scav run and clicked "Sell All" to Fence at the end of the run it was telling me that I would receive 0 roubles for the sale to Fence but Fence was actually sending me money for the things...
    All of this actually happened after I used your justpasteit link to deactivate selling to Croupier.

  • I've been waiting for this kind of mod since 3.10! Great work on this.

    • Ironically I probably have it since 2.2 or 2.4, but was too lazy to finish it

  • This mod is excellent and very practical. I wonder if it could be reposted on the Oddba community so that more Chinese friends can see and use it. I will clearly indicate the source and author of the mod! Thank you very much and I look forward to your reply!

    • Thank you! 🙏 Sure, why not, you have my consent.

      If it's possible, when translating to Chinese:
      1) Make sure you state that the mod is incompatible with any customTrading mod, as mentioned in my description
      2) Leave somewhere a link to this page - so people can come here and report bugs/ask questions directly

    • I should think so! Thank you

      Heart 1
  • Is there any way to deactivate the second part of the mod?!, been playing with no flea and the random kits would be fun but the sell part is awkward in mp

  • Very good seller idea, thank a lot !

  • This is awesome, great for making the game more fresh, or for hardcore runs. Makes me use kit I never would run until I find something better on bodies. Keep it up!

    • Thanks for the feedback! The "low" kit indeed helps if you like to play like a scav (ie with bad gear) but don't enjoy dying due to heavy bleeding and lack of meds, or due to confusing pmcs with scavs.

  • I buy the container and it just sends it too my stash it does not follow like the video suggests. Any idea why?

    • It is almost certain that there is a conflicting mod interfering with the custom trading. What mods do you have? Especially take a look at the mods that send you messages or sell custom items (eg quest items, or some kinds of services, idk)

    • image.png?ex=678d444e&is=678bf2ce&hm=93b63080c2d88c930af15da1ed8523ac89bcc49a5d3b9ef1cc7e7247fc7b5807&This is the list of current mods i have no errors so im not sure. I did have a setting on SVM which blocked random messages from PMC's

    • Will investigate it tomorrow but it seems it's not possible to have more than one mod that interferes the standart trading. It's not about errors, its about which mod intercepts the confirmTrading function first.

      Once again will investigate it later, but it looks a bit depressing now 🤪

    • 95% sure it's a conflict with the "Personal Trainer" mod in your case

      Not saying that it's the author's fault or mine, it's just state of things for now 😔

    • Same to me, maybe 985-item-info mod (ODT Item Info), because this mod gives me some warning, and other people too, conflicting with different mods.


      [ItemInfo] bartersResolver failed because of another mod. Send bug report. Continue safely.

      TypeError: Cannot read properties of undefined (reading '0')

      at C:\SPT\user\mods\odt-iteminfo\src\mod.ts:1261:63

      at Array.map (<anonymous>)

      at C:\SPT\user\mods\odt-iteminfo\src\mod.ts:1257:7

      at Array.forEach (<anonymous>)

      at ItemInfo.bartersResolver (C:\SPT\user\mods\odt-iteminfo\src\mod.ts:1251:20)

      at ItemInfoMain (C:\SPT\user\mods\odt-iteminfo\src\mod.ts:619:30)

      at Timeout._onTimeout (C:\SPT\user\mods\odt-iteminfo\src\mod.ts:458:10)

      at listOnTimeout (node:internal/timers:573:17)

      at processTimers (node:internal/timers:514:7)

  • Can you make a version for spt 3.9?

    • Not properly tested, but (with small edits) it seems to be working on SPT 3.9.8:

      https://mega.nz/file/YPol2aBL#…WyZOFWJACp4gS_M6VmgnFyDuo


      Side note:

      - If you do not receive the loadout message, it indicates that there is a conflicting (trading) mod
      - Occasionally you will get loadouts with missing parts/gear on 3.9.x (eg the SCAR and G36 are generated without stocks), but I'll leave it as it is. Let me know if you encounter critical bugs

  • Спасибо! Крутой мод

  • 美妙!

  • This mod is awesome!

  • Very cool idea!