Gambler - Trader 0.2.4

Please do not ask when mod authors will update their mods to 3.9.X
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

The Gambler offers various mystery boxes for PMCs who desire to gamble their way to riches or go broke trying. This trader also offers random kit generation with the new Mystery Loadout Box, which provides all the equipment you need to run a raid.

IF UPDATING: You MUST delete the old mod file 'TheGambler' in SPT/user/mods before updating as the file name has been changed to help with load order and mod balancing. You WILL have errors if you don't.

README

This Trader is in BETA DEVELOPMENT and is not finished. Down Below I have listed all available features of this mod and all current development details proposed for future updates to this mod. Updates are pretty frequent with this mod so if something doesn't work in your game, check to see if there is an update. Thanks for reading!



Gambler Overview

The Gambler sells a variety of configurable mystery containers that offer new ways to gamble for riches and better player equipment. This trader also offers a new way to randomly generate your next loadout through the new Mystery Loadout Generator. Balancing is a must when I first started creating this mod, as I have created an Automatic Price Balancer that runs on server start. This tool automatically calculates the "perfect" mystery container price depending on the mystery containers rewards, odds, and how profitable the container should be. This is explained fully in the trader features section.


Current Available Mystery Boxes


Mystery Wallet

  • Gamble your roubles for a chance to win even more roubles or lose it all!

Mystery Key

  • Includes almost all available keys to be unboxed, ranges from common keys, uncommon keys, rare keys, and extremely rare keys

Mystery Keycard

  • From regular access keycards to the rarest keycards found throughout Tarkov, try your luck for access to some of the best loot rooms in the Lab.

Mystery Loadout

  • One kit, one unbox. Includes all gear and equipment you need for a raid—all in one mystery box. Loadout is randomly generated and items correlate by rarity. Meaning if you unbox a high-end weapon you have a higher chance or receiving higher end gear and ammunition. Lower tier weapons will mostly consist of lower tier equipment and ammunition. Meme/cursed weapons have a higher chance of generating higher tier equipment and ammo, just for the meme.
  • it is all a gamble, you never know what your gonna get! Also this feature is NOT perfect and will continue to receive updates in the future.

Weapon Mystery Box

  • 305 weapons available to be unboxed, Includes Meta weapons, early wipe weapons, late wipe weapons, base weapons, and Meme/cursed weapons

Mystery Ammo

  • Gamble your roubles for a chance at unboxing some rare ammunition, be careful as these can be a money sink, but worth it for a chance at some late wipe ammunition.
  • Still working on stock and amount of rounds generated balancing and might even lock away a few of the better calibers behind quest rewards in the future

Mystery 2.5 Million Rouble 50/50

  • Looking to double up your roubles? This mystery container offers a 50/50 chance for 5 million roubles or nothing at all. If your feeling lucky you might just end up rich or end up like a Timmy who lost it all and has to start doing loot runs on the Streets to make ends meet.

Mystery Bitcoin 50/50

  • Gamble your Bitcoins for a chance at double or nothing

Mystery GP Coin 50/50

  • Gamble your GP Coins for a chance at double or nothing

Mystery Medical Kit

  • The Gambler offers a fresh set of medical supplies in exchange for a few barter medical items

Premium Weapon Mystery Box

Armour Mystery Box

Premium Armour Mystery Box

Tactical Rig Mystery Box

Helmet Mystery Box

Headset Mystery Box

Backpack Mystery Box

Melee Mystery Box

Mystery Food


Trader Features


Automatically Priced Mystery Containers

  • All Mystery Containers (excluding Mystery Loadout) will automatically price balance itself upon server startup and the generated prices depend on three factors:
    1. Flea market price of all rewards available from the Mystery Container
      • Some reward items will instead use an "Override" price from the config that is meant to make certain items priced much more expensively like blacklisted ammo and armours, as I believe these items are way too cheap in SPT by default. These override prices can be configured and turned off in the config.
    2. Mystery container odds (Config Configurable)
    3. Expected profit return percentage of the mystery container (Config Configurable)
      • Each mystery container has a "_profit_percentage" in the config which determines the profit margin each mystery container will have for each generated mystery container price. For Example:
        • If the config has the following: "armor_profit_percentage": 1.10, The Armor Mystery Box will have an average return profit margin of 110% if each reward is sold on the flea market.

Current Development Plans


Next Update: 0.4.0 (soon soon): quests, new poker chip currency, new mystery boxes, balancing, config additions


  • Mystery Loadout Generator
    • Balancing improvements and better variety
  • General Balancing
  • Planned Mystery Containers
    • I am reluctant to add more and more mystery containers until quests have been implemented, as I don't want to add more containers that will likely be locked behind quest rewards in the near future.
    • Barters For Mystery Loot, and more...
  • Planned Custom Gambler Items
    • Gambler Poker Chips - Rare currency chips that can be bartered to the Gambler for rewards
  • Quests (PlannedTM)
    • Trader quest progression will include mystery container unlocks and the further you complete quests, more useful and interesting mystery containers will unlock.
    • This is gonna take a while because I don't want to half-ass the quests and I want to make them as interesting as I can.
  • Ability to create your own mystery containers and share them with others
  • Config
    • More config settings
    • Hardcore gambling config


Installation

  1. If you are updating this mod, delete the mod folder "TheGambler" in SPT/user/mods
  2. Download the mod, unzip it and drag and drop into your SPT directory
  3. Make sure the Gambler loads last or close to last in your load order as an mod you have that affect flea market prices or trader prices, will have a major effect on mystery container prices.


Config Features: TheGambler\config\config.jsonc


  • Ability to change mystery container prices, stock, and odds of each outcome (Current Odds are subject to change in updates)
  • Profitability settings of each mystery container will directly influence each mystery container price
  • All Mystery containers offer the ability to be disabled if you don't want the Gambler to offer certain mystery containers

Known Compatibility Issues:

  • Raid Overhaul - Make sure The Gambler loads before Raid Overhaul in the Load Order. The console will spam handbook price issues if not properly loaded before Raid Overhaul

Recommended Mods:

Support:

Suggestions are welcomed! If you find a bug, you can message me Hood on discord or write a comment explaining it here and I'll look into patching it


This mod was inspired by VIKTORIYA and contains a few mystery containers I enjoyed from that mod as I don't think it will ever be updated.


If you like what I do and want to support me you can always buy me a coffee


Trader Stock


  • Version 0.2.4

    IF UPDATING: You MUST delete the old mod file 'TheGambler' in SPT/user/mods before updating as the file name has been changed to help with load order and mod balancing. You WILL have errors if you don't.


    0.2.4 includes changes to a few mystery containers, config additions, and bug fixes. This is a smaller update than I wanted to push out, but new content like poker chip currency, new mystery boxes, and quest line will be included in the next major update.


    PATCH NOTES


    Mystery Loadout Generation

    • Overhauled stimulant generation to better generate more useful stims like morphine, propital, etc...
    • Reduced chance of receiving lower end equipment with high-end loadouts
    • Slightly reduced chance of generating high-end loadouts (more balanced this way)
    • medical items for heavy and light bleeds always generate one item instead of having a chance for multiple or none
    • fixed a few issues with shotgun round generation
    • fixed a few issues with helmet/headset incompatibilities
    • fixed issue with SIG MCX Spear not generating ammunition


    Mystery GP Coin

    • Increased cost from 1 GP Coin to 25
    • Rewards 50 GP coins on successful coin flip


    Mystery Ammo

    • Reverted from unlimited stock to limited quantities, can always be easily changed in the config.
    • fixed 12.7x55 price generation as it was bugged before and prices for that caliber have been normalized
    • Adjusted prices of many ammunition, which has slightly lowered the prices of mystery ammo gambles


    Config

    • Added ability to disable unlimited stock for each mystery box, and set a custom stock limit.
    • Added ability to disable automatically generated prices so you can set your own price for each mystery box
    • Added ability to change found in raid status of rewards for each mystery box.


    Fixes

    • changed mod folder name for better load order position which will help with balancing with other mods
    • Fixed Mystery Loadout flea market price from being extremely cheap
    • only applicable if you have a mod that disables the flea market blacklist, as all mystery boxes are flea market banned by default
    • Fixed missing ammunition from Mystery 12.7x55
  • Version 0.2.3

    SPT 3.9.x

    LOAD ORDER: Make sure TheGambler loads last or close to last, as any mod you have that manipulates flea market or trader prices will have a major effect on the balancing of each gambling container.


    Update 0.2.3 includes updates to loadout generation, major balancing changes, a few new additions to the weapon mystery box, and more...


    Loadout Generation

    • Added splints to generation pool
    • Added grenades to generation pool
    • Added face coverings to generation pool
    • Each tier of loadout will have a slight chance of generating equipment and items of a higher or lower rarity
      • This change is meant to add more variety as now generation of items isn't guaranteed to be of a certain rarity. For example scav tier loadouts can sometimes generate better armour or better backpack, etc...
    • Removed chance to receive stock weapons
      • Scav tier weapons have replaced the chance for the original chance of stock weapons, as the scav tier weapon pool has a lot more weapons to generate from in this update

    Weapon Mystery Box

    • Added 50 new scav tier weapons
    • Added 12 new semi-modded weapons
    • Added 11 new meme/cursed weapons
      • Includes a new meme tier Golden foil wrapped AKM (My first attempt at learning the unity editor and learning how to create assets)
    • Added 18 default weapons
      • All default weapons available in Tarkov are now available to be unboxed

    Mystery Keycard

    • Slightly increased odds for rarer keycards

    Automatic Mystery Container Price Balancer

    • All mystery containers (excluding Mystery Loadout) are now officially price generated by the automatic price balancer.
      • Weapon Mystery Box and Mystery Helmet will calculate the price of the base weapon/helmet and all the included attachments when determining the final container price.
    • Rewrote how containers are price generated. Now all calculations are much more accurate than the previous implementation.
    • Container price generation during server load is now much faster, pretty much instantaneous.


    BALANCING:

    • Most Mystery Containers now have infinite trader stock as I'm much more confident with the automatic price balancing as this change allows the player to gamble until they are broke.
    • Re-calibrated overall chance to profit on all containers:
      • With the change of allowing infinite container stock and better automatic price balancing, all containers are set at a fair price to allow the player to gamble to their hearts content. Most containers will be a little more expensive than before, but keep in mind there is always a chance to strike it rich, as everything is a gamble.
    • The only main issue I am having with balancing is the price of blacklisted items that don't have a finite price that everyone agrees on. This is something that will continue to updated on. Blacklisted item prices like ammo and armour can always be changed in the config at "mystery_container_override_price" if you want to take a look at how I've been pricing items that are injected into the automatic price balancer.

    Fixes:

    • Fixed mistakenly mixed up weapon mystery box tiers, which created weapons of different tiers than expected.


    New Meme tier Golden Foil AKM available in the Weapon Mystery Box


    Images

  • Version 0.2.2

    SPT 3.9.x


    Bug Fixes

    • Fixed Error when unboxing Ref Unlocked Weapon Crate
  • Version 0.2.1

    SPT 3.9.x

    Known Bugs: There is an error that occurs when unboxing the new Ref weapon crates, I'm currently looking into this issue Fixed in update 0.2.2

    Update 0.2.1: Includes a balancing patch for the new Mystery Loadout generator and new keys in the Mystery Key container


    CHANGES:


    Mystery Loadout

    • Slightly Reduced chance of receiving very low end equipment and weapons as these items were generating much more frequently than intended
    • Meme/cursed weapons now have a better chance at generating higher end gear and ammo
    • Generated Helmets that are not headset compatible will now not generate headsets in the loadout at all
    • Improved Food generation consistency
    • Reduced trader stock slightly (You can always increase this in the config if you want more stock or price lowering as I'm still trying to balance the price in future upates)


    Mystery Key

    • Added 73 new keys to the loot pool, including the new Ref trader keys


    CONFIG:

    • Made notes of each mystery container that aren't currently price generated on server startup, prices of these containers can always be changed manually in the config
  • Version 0.2.0.A

    SPT 3.9.0

    3.8.3 version available below


    Update 0.2.0 - Feeling too lazy to gather all the gear you need before loading into a raid? In this new update, the Gambler offers everything you need at the click of a button with the new Loadout Mystery Bag. This update also includes the new Medical Mystery Kit, a few mystery container changes, and a balancing overhaul for a few other mystery containers


    ADDED

    • Loadout Mystery Bag
      • One kit, one unbox. Includes all gear and equipment you need for a raid—all in one mystery box.
      • Items include:
        • Weapon, Extra Magazines, Ammo, Helmet, Armour, Rig, Backpack, Food, Drink, and Medical Supplies
      • Unboxed items are randomly generated and correlate by rarity, meaning if you unbox a meta/highly modded weapon you will have a high chance of generating high end gear and equipment with it. Semi-modded and lower tier weapons will have a higher chance of generating gear of lower rarity as well. Although if you receive a meme/cursed weapon all gear generation will be completely random just for complete meme tier randomness.
      • This feature is still a work in progress and is not perfect. More config options and balancing will appear in future updates, which allow the ability to adjust the loadout odds and items for yourself if you'd like.
    • Weapon Mystery Box
      • Added 69 new Weapons:
        • 22 heavily modded weapons
        • 27 semi-modded weapons
        • 13 scav tier weapons
        • 7 meme tier weapons
        • A few existing weapons were redesigned.
    • Mystery Medical Kit
      • The Gambler offers a fresh set of medical supplies, in exchange for a few barter medical items.
    • Mystery Melee
      • Added Kukri to loot pool.

    BALANCING

    • Weapon Mystery Box (Buff)
      • Reconfigured the odds for each rarity, Greatly reducing the chance of receiving a base weapon with zero added attachments as these weapons had a really high chance before and were very boring to receive as frequently as they were previously.
    • Mystery Ammo: (Buff)
      • Increased the minimum and maximum amount of ammunition generated for most calibers.
      • Increased chances of receiving rarer ammunition.
      • Reduced trader stock significantly.
    • Mystery Keycard: (Buff)
      • Removed chance to receive nothing as a reward.
      • Increased chances to unbox a few rare Keycards.
      • Price will rice accordingly with these changes.
    • Mystery Wallet: (Slight Buff)
      • Added new odds to receive 25k Roubles, slighly buffing the mystery wallet and reducing the chance of receiving nothing to 25%.
      • Altered other remaining odds slightly.
    • A few other containers have had their odds and expected profit adjusted.

    CHANGES

    • Updated many mystery container descriptions.
    • Refactored and overhauled Gambling mechanic and design of Mystery Containers in preparation for the ability to let players be able to create their own mystery containers with the capability of being shared with others. (future update...)
    • Increased speed of mystery container price generation during server startup.
    • Fixed .366 Mystery Ammo price generation from erroring out and becoming a default price.
  • Version 0.2.0.B

    SPT 3.8.3 Final Release


    Update 0.2.0

    • Includes everything in the above patchnotes, except the addition of the Kukri in the Melee Mystery Box
  • Version 0.1.11

    SPT 3.9.0


    FIXES

    • Fixed bug when unboxing any Mystery Ammo container would generate an invalid amount of ammunition which caused any Gambler generated ammo sold on the flea market to error out.
      • It is probably best to delete all previously unboxed ammunition from the Gambler as these rounds may cause an unknown amount of errors.
  • Version 0.1.10

    SPT 3.9.0


    Updated for SPT 3.9.0

    • Fixed a few locales
    • Minor mystery container profit percentage balancing

    (Will update a few mystery containers with new SPT 3.9.0 items in future update 0.2.0)

  • Version 0.1.9

    SPT 3.8.3 - I have edited the (0.1.11) bug fix into this version as it was a major bug

    If you are updating this mod be sure to delete the mod folder "TheGambler" in SPT/user/mods, then install the new version


    0.1.9 This update includes a few bug fixes and a couple features, but mainly a balancing update to the new Ammo Mystery containers. My thinking is that I want Mystery Ammo to be a viable way to slowly generate good ammo, albeit kinda expensive. Maybe even locking away some of the better caliber Mystery Ammos behind quest reward unlocks in the future, but as of now it's something I'm thinking about.


    Added

    • Mystery Food:
      • Contains every food and drink available in Tarkov

    BALANCING

    • Rebalanced odds of Mystery Tactical Rig
    • Lowered profitability calculation of Premium Armor Mystery Box by 10%
    • Decreased stock and maximum rounds generated for most Mystery Ammo containers

    CONFIG

    • Cleaned up config details to be more readable
    • Added Toggles for each mystery container type, such that if you want to disable a mystery container from being sold by the Gambler you can do so

    FIXES

    • Fixed Bitcoin and GP coin games not showing the roll result in server console
    • Fixed Premium Armor Mystery Box profitability calculation not working as intended
    • Fixed handbook/flea market prices of most Mystery Containers so they aren't extremely cheap. All Mystery Containers are flea market banned by default, but if you have a mod that disables the flea market blacklist they will appear on the flea market.


    KNOWN BUGS

    • Generated Mystery Ammo sold on the flea market can bug out and can return as a negative round. All Mystery ammo will now generate as not found in raid for now.
  • Version 0.1.8

    If you are updating this mod be sure to delete the mod folder "TheGambler" in SPT/user/mods, then install the new version


    Update 0.1.8 includes fully automated price balancing of mystery containers and a few new mystery containers in preparation for update 0.2.0, which will include the Loadout Mystery Box. This update addresses most balancing issues for many mystery containers and will make adding new mystery boxes in the future much easier as balancing of all new containers is now fully automated.


    NEW

    • Mystery Tactical Rig
    • Mystery Ammo
      • Mystery Ammo is available for every caliber of ammo available in Tarkov
    • Mystery Bitcoin 50/50
    • Mystery GP Coin 50/50

    BALANCING

    • Added - Mystery Container Automatic Price Balancer
      • All Mystery Containers (excluding Weapon Mystery Box and Helmet Mystery Box for now...) will now automatically price balance itself upon server startup and the generated prices depend on three factors:
        1. Flea market price of all rewards available from the Mystery Container
        2. Mystery container odds (configurable)
        3. Expected profit percentage of the mystery container (configurable)
      • Now no matter if you are using another mod that manipulates flea market prices like the Live Flea Prices mod, or have manually configured prices of items yourself, all Mystery Containers prices will compensate for such changes. The goal is to have all containers as precisely price balanced as possible and this is the first step I have taken to accomplish this.
      • This addition is NOT perfect and relies on a NEW 'Override' feature I have created in the config file that updates the prices of many blacklisted ammos and armors that should be much more expensive than they really are. This helps mystery containers generate much more realistic prices.
    • Rebalanced - Mystery Wallet odds and rewards
    • Rebalanced - Mystery Headset

    CONFIG

    • Added price multiplier to easily alter the price of all Gambler mystery containers at once
    • Added expected profit for each Mystery Container which will influence its price with the new automatic price balancer.
    • Added range of minimum to maximum rounds that are generated when unboxing a Mystery Ammo Container per ammo caliber
    • Added Odds and stock of each new Mystery Ammo Container
    • Added "Override" prices for blacklisted ammo/armor that I though were too cheap. This helps the automated price balancer generate more realistic prices as I believe some blacklisted ammos/armors should be much more expensive than its handbook price. This is of course configurable and you can turn this override off if you have a mod that alters blacklisted ammo/armor prices and you are satisfied with those prices

    FIXES

    • Fixed error when inventory cannot locate opened mystery container
    • Fixed Backpack Mystery Container not rewarding extremely rare backpacks
    • Fixed a few missing high-end armors from the Mystery Armor Box
  • Have a suggestion for this mod or want to share an idea for a new mystery box? Please comment your feedback. This is my first mod and I appreciate all community feedback as I always want to make this mod better.

  • Any chance we could get a hotkey for unpacking?

  • New update broke being able to replace the trader pic using trader pic replacer mods like tradernamer:(

  • 99% of gamblers give up right before winning 100 labs keycards

  • I was getting this errors https://prnt.sc/VC77OBLzppgh trying to get into a raid with latest update of this mod

    then I went back to 0.2.3 and the errors were gone and I was able to get in to a raid, don't know what could be conflicting with this mod

    • This has been fixed, sorry. The mod was trying to put the new poker chip currency in lootable containers in-raid, but they are not released yet. If you re download the 0.2.4 update it will not have this issue anymore.

    • ty so much :) I will try it now

    • Can confirm is working now, ty :)

  • How's your next update looking?

    • Progress has been very slow as I've been busy lately and have been playing live Tarkov. There will probably be an update released in a few days, but I'm not set and stone on it.

    • I gotchu. I think I've pieced together by reading the comments that you're cooking up a big update with a custom currency? Is that the update you're referring to, or is that coming later down the road?

    • probably a smaller bug fixing update first then a bigger content update with new currency and such

      Heart 1
    • I appreciate the info my dude

  • https://imgur.com/a/KHDOXZe

    Console is full of these errors.

    • Do you have a mod that increases your inventory size? Opening mystery boxes while your inventory is larger than normal will produce errors. There is no fix for now sadly.

    • Scorpion has 4 quests to increase stash size by 2 lines for each quest. Oddly, this is an error we only got after updating to 3.9.8.

  • A "Backend error: Request time out" occours when I try and open a sealed weapons case I bought from the trader.

    • Does this happen every time you try to open it or just the one time? If it happens again send a screenshot of the console error.

    • It happens every time I try and open the same one, here:

      Hhr6GKj

    • ive noticed as well that this happens occasionally but not all the time, its very strange. The old update for gambler used to do it everytime but the latest one only does it rarely.

      Here's my log from the last time it did it.


      i-view32-vj-ULLGwao-T.png

      The Gambler Version 0.2.3

    • I'll run some tests on the sealed case and hopefully have a fix in the next update. If not, I'll for sure add better error code readouts as these errors lack a lot of information at the moment for me to pinpoint why they happen.

  • I think I found a bug? Mystery 12.7x55 Rounds does not include PS12A. It only has PS12 and PS12B. I tried with 200 Mystery Rounds, but I only hoyy PS12 and PS12B.

    • Yeah there was a bug, it'll be patched in the next update.

      Thumbs Up 1
  • Can we get a config option for disabling unlimited stocks and foundinraid?

    • This is included in the next update, soonTM

  • I'm running my server on linux and ran into issues with loading.


    Stacktrace: Error: Cannot find module './containers/armors'


    Had to change lines 4,5,6 in /src/itemCreator.js to begin with uppercase for each of the equipment types referenced inside the containers folder.

    • I updated the file to fix this issue, thanks for letting me know.

      Heart 1
  • what is the chance to get the golden akm ? i gambled 500 cases on my test acc and nothing!?

    • Well there are currently 31 meme guns and there is a 7% chance to get a meme gun per unbox, so about 0.22% chance to get the gold akm per unbox, which is extremely low. Someone in the past asked for a meme mystery box and I might add one in the future.


      If you really want to get it, you can go in the config and set "weapon_meme": 100.0, and set the rest of the "weapon_values": 0.0 and you'll get a guaranteed meme weapon each unbox. Then you should get the golden akm in 1/31 unboxes

    • in wich config is that?

    • SPT/user/mods/TheGambler/config/config.jsonc

    • sorry iam stupid found it right in the second i saw your answer xD

    • got one man that looks dope :) and tbh i dont chance tha config back will run the meme guns on my normal acc xD just for fun. maybe rename the mystery weapon box to mystery meme weapon box

  • Hey Hood, saw the update! Any chance things are a bit more balanced this time around? Want to prevent the clients I play with from racking up tens of millions over a few minutes. Any chance the odds are better in this update?

    • I took a little bit of your advice that the house should always win, and there should be no mystery container that is extremely profitable anymore. If anything you will probably go broke if you mass spend your money on gambles. Its not perfect, but it should be more balanced this time.

    • You are a godsend. Really love the work man, going to be adding it back and some of my guys are going to be SUPER happy!

    • Can confirm, balancing is perfect. Now I feel like I am really gambling! Thanks for all the hard work!

  • cant start the game using the version that came out minutes ago

    Error: ENOENT: no such file or directory, open 'E:\single playr tarkov\user\mods\TheGambler\bundles.json'

    Error: ENOENT: no such file or directory, open 'E:\single playr tarkov\user\mods\TheGambler\bundles.json'

    at Object.openSync (node:fs:581:18)

    at Object.openSync (pkg/prelude/bootstrap.js:793:32)

    at Object.readFileSync (node:fs:457:35)

    at Object.readFileSync (pkg/prelude/bootstrap.js:1079:36)

    at VFS.readFile (C:\snapshot\src\utils\VFS.ts:150:25)

    at BundleLoader.addBundles (C:\snapshot\src\loaders\BundleLoader.ts:62:22)

    at PostDBModLoader.addBundles (C:\snapshot\src\loaders\PostDBModLoader.ts:91:35)

    at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:31:18)

    at App.load (C:\snapshot\src\utils\App.ts:57:13)

    Error: ENOENT: no such file or directory, open 'E:\single playr tarkov\user\mods\TheGambler\bundles.json'

    Error: ENOENT: no such file or directory, open 'E:\single playr tarkov\user\mods\TheGambler\bundles.json'

    at Object.openSync (node:fs:581:18)

    at Object.openSync (pkg/prelude/bootstrap.js:793:32)

    at Object.readFileSync (node:fs:457:35)

    at Object.readFileSync (pkg/prelude/bootstrap.js:1079:36)

    at VFS.readFile (C:\snapshot\src\utils\VFS.ts:150:25)

    at BundleLoader.addBundles (C:\snapshot\src\loaders\BundleLoader.ts:62:22)

    at PostDBModLoader.addBundles (C:\snapshot\src\loaders\PostDBModLoader.ts:91:35)

    at PostDBModLoader.onLoad (C:\snapshot\src\loaders\PostDBModLoader.ts:31:18)

    at App.load (C:\snapshot\src\utils\App.ts:57:13)

    • Should be working now, I accidentally deleted a file. Thanks for letting me know.

      Heart 1
  • I've used like 500,000 R for melee and got nothing. Is this normal?

    • You should always get something when you unbox the mystery Melee, are you on the latest version?

    • Oh im sorry i meant that i kept getting the Taiga survival machete but nothing else.

    • Ah i see. When you purchase a mystery box you have to unbox it to get the item. Right click on the Taiga and press 'unpack' to get the reward.

    • Oh. Ok :(

  • Ended up being super un-balanced for us. Someone I play with started with two million and racked up 20 million trading mystery melee weapons in a matter of 10 minutes. Wish it was a bit more balanced but for now we will be removing it.

    • I appreciate the feedback, the mystery melee does currently have one of the highest profitability returns. It's something that'll hopefully feel better with more updates as its something that'll happen with more testing over time.

    • Sounds good! We appreciate mod authors like you who are active with feedback and are involved in testing their mods. Look forward to using it in the future once more testing is done!

      If there is any possible way to influence the number gen in relation to the item rolls, that would be great! For example, higher charisma players have a greater chance at winning overall. Maybe a system to implement skills into winnings! Thinking gambling Fallout New Vega style. High luck players in that game tend to clean out the casinos!

      At the end of the day, the term "The House always wins" is a good one to abide by I think. Players should oftentimes loose way more than they earn, but rarely, they might hit it big!

  • Love the mod! Totally adds a new layer of fun to the game. Would it be possible to add a case for random weapons within a weapon class? Like random bolt action case, random AR case, shotgun, etc? It’d be sweet for shooter born and setup and what not.

  • i still get this error when try to open a "unlocked rare case", even after todays update :(


    Screenshot-2024-07-17-164720.png

    • what was the full name of the case you tried to open

    • It was the Equipment Case

    • Thanks, I thought I tested all of the new containers, but maybe I missed one. I'll take a look, but it'll be a few hours as I am not at my pc at the moment. My apologies.

      Thumbs Up 1
    • It is true my mod will error out if you try to unbox these, but it seems base SPT as of 3.9.2 all equipment containers common, epic, and rare have no rewards to give at the moment. How did you get these containers? As I don't believe you should be able to gain these containers at the moment in vanilla SPT.


      I'll add error handling to these containers, but as of now they will not return anything unless another mod adds items to their loot pool or the SPT devs add rewards to it

      Thumbs Up 1
    • Thanks for your efforts. I got the box through “torturedchunk-levelrewards”. but i also have “BoxesAtReF-barf” so i can't say 100% which mod is responsible for it.

  • Is there any possibilities like just double clicking to open mystery containers feature to be added on this mod so that we can do gambles way faster? I partially understand this feature should be isolated as there's other containers or even ammo case also may be affected, but I'm kinda too addicted to this gambler mod and I just need the feature only for this mod.

    Appreciated if you would think even once and answer me how you think about this.

    • It's definitely possible to add a double clicking feature, but it would require me writing a client mod, which is code written in a different language and is something I have zero experience with sadly. At some point I do want to learn how to create something like this in the future, but it'll probably be after I've implemented quests and added custom Gambler items to be found throughout Tarkov.

      Heart 1
  • Thanks for the update! It gave me a mosin with 10 bullets last time with paca armor and a small backpack and i was like "what the hell am I to do with this on realism?" XD <3

    • There is still a chance to get the mosin with 10 bullets, but hopefully it is less occurring. It'll take more updates to get the loadout generation a little more balanced, especially with scav tier loadouts as the weapon mystery box is lacking in decent value scav weaponry.

  • First, I just want to say I absolutely love this mod! The random loadouts you added are amazing and have been keeping factory/labs/customs runs fresh for me.


    Question however, for other custom traders with custom items, would it be possible to add those items to the loadout mystery box or boxes in general? Even if I had to use a config? e.g. I would love to use gear from the custom trader(s) Artem and Painter.


    I appreciate it brother! Amazing mod and I look forward to the many things you do/add to it!

    • I have thought about adding compatibility patches for popular traders like artem and such at some point when I'm satisfied with the way my containers are handled, and adding items yourself through the config could be possible, but as of now its something I'll look into investigating in the future.


      I have tested the random loadouts as much as I can, but I don't really play Tarkov as much as I should, so If there is anything weird happening with the generation or if you have a suggestion to make the loadouts better, don't hesitate to let me know. I want to make the generator as good as possible.

      Heart 1
  • I was just wishing he had a loadout button! Awesome work man!

    Heart 1
  • Hey there, first off love this mod lol I'm having an issue when I try to open one of the unlocked equipment/weapons/valuables crates. The cases that look like the items/weapons/money cases with a blue outline to it. When I go to open it I get the spinning wheel at the bottom right (Loading symbol) and it stays there for about a minute and then it kicks me to the main menu and says Backend Error. Any fix to this? I dont have the raid overhaul mod installed since i read that this mod conflicts with that one. Ill attach a link for a screenshot of the error messages in the server, Thanks and have a good one <3



    https://snipboard.io/h4Me6U.jpg

    • Ref crate rewards aren't implemented yet in base SPT 3.9.0. They should be usable in 3.9.1

      Also Raid Overhaul is compatible, you just need to make sure The Gambler loads before Raid Overhaul in the load order

      Thumbs Up 1
  • Hi there

    Someone wrote this comment here and mentioned your mod: https://hub.sp-tarkov.com/file…sh/#comments/comment45663


    Looks like when creating ammo you are using float numbers instead of int. Not sure if you are interested on fixing it or if it works as expected :)

    Thumbs Up 1
    • Oh damn yeah my traders ammo is generated as a float when it should be an int. This is probably why ammo created by my trader bugs out when you sell it on the flea as well. Thanks for sharing this I'll fix it in the next update.


      This has been fixed in update 0.1.11

      Thumbs Up 2
  • should make a high value collectors case for gambling for collector task items that has a high chance to return to you toilet paper xD

    Thumbs Up 1
    • I actually really like this idea, I'll add something like this in a future update

    • great minds think alike xD

  • Let's go gambling!

    Gamblecore

  • There needs to be a full meme-only case with tons of weapons :D

  • Added Toggles for each mystery container type, such that if you want to disable a mystery container from being sold by the Gambler you can do so.

    <3

    Thumbs Up 1
  • Ammo that you get from gambling and is getting sold in Flea Market will eventually return as -1 item from Ragman. Happened to me twice already, the ammo was 23x75 (KS-23 ammo).


    Author, plz fix, it maybe not only the gambling 23x75 ammo, it could be ALL the ammo that you added as gambling stuff.


    If anyone gets the same -1 ammo, DO NOT sell it, you don't want to risk with that or even sell that in a Flea. Just DESTROY the item, and nothing bad will happen.

    • This has been fixed in update 0.1.11


      For now I'll just have the ammo generate as not found in raid till I can find out why this happens.

      Thumbs Up 1
    • Thx!

  • is it normal for all the boxes to appear on flea for really cheap

    • Ahh I see what you mean, that is my fault I never tested that. I'll fix that in the next update.