Hardcore Rules 2.0.2

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.

Is SPT getting too easy? Too much nice gear collecting dust in your stash? Fix that problem with a hardcore playthrough similar to DeadlySlob's hardcore rules for live Tarkov.

Is SPT getting too easy? Too much nice gear collecting dust in your stash? Fix that problem with a hardcore playthrough similar to DeadlySlob's hardcore rules for live Tarkov (https://www.twitlonger.com/show/n_1sr500b). I was inspired by Fin's Hardcore Options (Fin's Hardcore Options) and made a new version that simply implements the hardcore rulesets by DeadlySlob and other streamers.


To start a new hardcore playthrough, create a new profile in the SPT launcher using the "Hardcore Playthrough" edition this mod adds. By default, this mod will be active when a profile using the "Hardcore Playthrough" edition is loaded, and it will be deactivated when any other profile edition is loaded.


8724-newprofilehardcoreplaythrough-jpg


If you're using an existing hardcore profile from a previous version of this mod (that was compatible with SPT 3.9.x), you can still use it if you do one of the following:

  • Set use_for_all_profiles=true in config.json to apply the hardcore ruleset to all profiles, regardless of their edition
  • Change info.edition to "Hardcore Playthrough" (case-sensitive) in the JSON data for your profile. Always make a backup before manually changing your profile!


This mod is highly customizable, so you can change the configuration to match the level of difficulty you want. Here are the settings you can change in the config.json file in this mod:

  • services.flea_market.enabled: if this is false, you can't list new offers, and there won't be any player offers. You can only use the flea-market interface to browse trader offers.
  • services.flea_market.only_barter_offers: if you've enabled the flea market, you can set this to false to disable all offers using currency.
  • services.disable_trader_repairs: Only repair kits can be used for repairs.
  • services.disable_insurance: You'll still see the pre-raid insurance screen if this is enabled, but all items will be blacklisted from insurance. In case you want to turn this off and on during a playthrough, this will not remove insurance for any items that were previously insured.
  • services.disable_post_raid_healing: Disables Therapist's post-raid healing, but the screen will still be shown so you can review the damage you received during the raid.
  • services.disable_scav_raids: Disables Scav raids.
  • traders.disable_fence: Allows you to remove all of Fence's offers. You can still sell items to Fence.
  • traders.disable_prapor_starting_gifts: Prapor no longer gives you starting gifts.
  • traders.barters_only: Removes all trader offers using currency unless they're explicitly whitelisted below.
  • traders.allow_GPCoins: Allows trader offers for GP coins to be considered barter offers. As of SPT 3.9.0, GP coins are considered currency.
  • traders.whitelist_only: Removes all trader offers unless they're explicitly whitelisted in this mod.
  • traders.whitelist_items: If only barters are allowed, use this to whitelist items even if they're not barters. You can whitelist individual items in the items array or whitelist an item and all of its child items using the parents array. For example, if you have the ID for currency (543be5dd4bdc2deb348b4569) in the parents array, all three currencies (RUB, USD, and EUR) will be whitelisted. You can find ID's for items using https://db.sp-tarkov.com/search/ or find them in [SPT-AKI install directory]\Aki_Data\Server\database\templates\items.json.
  • traders.whitelist_traders: An array of the ID's of traders that will not have their offers modified. Trader ID's can be viewed when the server starts if debug.enabled=true.
  • secureContainer.only_use_whitelists_in_this_mod: If this is true, you can't put anything in secure containers unless you explicitly whitelist them. If this is false, the following whitelists are ignored and the default EFT ones are used instead. This restriction also applies to items contained within the one you're trying to put in your secure container. For example, you can put a docs case in your secure container, but you cannot put a docs case containing currency in your secure container. Similarly, you can put a docs case containing examined keys into your secure container while in your stash, but you cannot do this in-raid. If you remove a docs case containing examined keys from your secure container while in-raid, you'll need to remove all the examined keys before you'll be allowed to put the docs case back into your secure container. For this reason, be careful about unexamined keys! If you examine them and then remove them from your secure container, you'll be unable to put them back in while you're in-raid.
  • secureContainer.whitelist.global: The items in this whitelist are applied all the time. Similar to the trader-offer whitelist, you can whitelist individual items in the items array or whitelist an item and all of its child items using the parents array.
  • secureContainer.whitelist.inRaid: The items in this whitelist are applied only while in-raid. You can specify different whitelists for items that are inspected or uninspected.
  • secureContainer.whitelist.inHideout: The items in this whitelist are applied only while not in-raid.

The following items are whitelisted for trader offers by default:

  • All currency (you can exchange RUB for USD, etc. as much as you want)
  • All inventory containers (item cases, Scav junkboxes, etc.)
  • All special items (markers, signal jammers, etc.)
  • All maps
  • Green and yellow flares

The following items are whitelisted for putting in your secure container by default:

  • All keys and keycards (but they must not be examined when in-raid)
  • Key tool
  • Gingy keychain
  • Keycard holder
  • S I C C case
  • Documents case


Good luck!

Images

  • Version 2.0.2

    • Bug fix for the game freezing while starting if disable_fence=false and barters_only=true


    Config.json files from the 2.0.0 and 2.0.1 releases are compatible.

  • Version 2.0.1

    • Bug fix for being unable to disable the flea market
    • Added Russian translation for the "Hardcore Playthrough" edition description (thanks to AcidMC)


    Config.json files from the 2.0.0 release are compatible.

  • Version 2.0.0

    • Only apply hardcore rules to specific profiles:
      • Added a new "Hardcore Playthrough" edition to the SPT Launcher
      • Only enable hardcore rules when a profile using the "Hardcore Playthrough" edition is loaded (resolves #4) or when use_for_all_profiles=true in config.json
      • Show a warning message when the main menu is displayed if enabled=false in config.json but a profile using the "Hardcore Playthrough" edition is loaded or use_for_all_profiles=true in config.json
    • Improved handling of repair options:
      • Disable the repair option for items unless a suitable repair kit is in the player's inventory (resolves #1)
      • Removed traders from the repair window drop-down menu
      • Moved all code to the client
      • Changed the config.json option name from disable_repairs to disable_trader_repairs to improve clarity
    • Improved how insurance is disabled:
      • Instead of extending the Scav cooldown timer, you will no longer be able to select "Scav" when entering a raid
      • Moved all code to the client
    • Improved how post-raid healing is disabled:
      • Instead of skipping the screen, show it but you will not be able to apply any treatment. That way, you can still see the damage you received during the raid.
      • Moved all code to the client
    • Added a whitelist (traders.whitelist_traders) of ID's for traders who will not have their offers modified if traders.barters_only=true or traders.whitelist_only=true
    • Changed the trader-item whitelist name from whitelist to whitelist_items in config.json
    • Changed the option for enabling debug mode from debug to debug.enabled in config.json
    • Moved the option to change the flea market minimum level from services.flea_market to debug in config.json, renamed it to flea_market_min_level, and only use it if debug.enabled=true
    • Fixed debug message in UpdateSideSelectionPatch to have the correct class name


    Config.json files from previous releases are not compatible.

  • Version 1.4.1

    • Added config option (on by default) to consider trader offers in exchange for GP Coins to be considered barter trades


    Config.json files from previous releases are not compatible.

  • Version 1.4.0

    • Updated to SPT 3.9.0
    • Bug fix for Scav runs being available after creating a new profile until restarting the game


    Config.json files from the 1.2.0 through 1.3.2 releases are compatible, but yellow flares will not be whitelisted in them by default.

  • Version 1.3.2

    • Added config option to disable Prapor's starting gifts (enabled by default)
    • Bug fix for allowing SPT 3.9.0


    Config.json files from the 1.2.0 through 1.3.1 releases are compatible, but yellow flares will not be whitelisted in them by default.

  • Version 1.3.1

    • Bug fix for Fence selling weapons and equipment when disabled


    Config.json files from the 1.2.0 through 1.3.0 releases are compatible, but yellow flares will not be whitelisted in them by default.

  • Version 1.3.0

    Changes in 1.3.0 HF1:

    • Increased minimum SPT-AKI version to 3.8.0

    Changes in 1.3.0:

    • Updated for SPT-AKI 3.8.0
    • Whitelisted yellow flares to purchase from traders
    • Removed the version number from the directory name in \user\mods\
    • Updated client code to be version-agnostic, so it will (hopefully) be compatible with future SPT versions too
    • Updated server code per Lint recommendations


    Config.json files from the 1.2.0 through 1.2.2 releases are compatible, but yellow flares will not be whitelisted in them by default.

  • Version 1.2.2

    • Updated for SPT-AKI 3.7.1
    • Bug fix for cash offers eventually returning to the flea market when services.flea_market.only_barter_offers=true


    Config.json files from the 1.2.0 and 1.2.1 releases are compatible.


    Thanks to Bayard for help with testing!

  • Version 1.2.1

    • Updated for SPT-AKI 3.7.0
    • Removed the root folder from the ZIP


    Config.json files from the 1.2.0 release are compatible

  • Just putting this here in case anyone else runs into that problem:


    The game didn't load up anymore when I had Fence enabled + Barters only enabled.

    Fence needs to be on the trader whitelist as well for the game to start, trader id: 579dc571d53a0658a154fbec

    • Good catch. I just fixed this in the 2.0.2 release.

  • Hi dan i recently got an error when trying to start a game with this custom trader installed Artem


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

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

    at Function.getNewTraderAssort (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\TraderAssortGenerator.ts:245:22)

    at TraderAssortGenerator.modifyTraderAssorts (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\TraderAssortGenerator.ts:186:53)

    at TraderAssortGenerator.updateTraderAssorts (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\TraderAssortGenerator.ts:149:18)

    at HardcoreRules.regenerateTraderOffers (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\mod.ts:299:36)

    at HardcoreRules.toggleHardcoreRules (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\mod.ts:249:18)

    at Object.action (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\mod.ts:91:30)

    at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:41:63)

    at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:61:68)

    at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:34:36)

    at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:130:44)

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

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

    at Function.getNewTraderAssort (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\TraderAssortGenerator.ts:245:22)

    at TraderAssortGenerator.modifyTraderAssorts (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\TraderAssortGenerator.ts:186:53)

    at TraderAssortGenerator.updateTraderAssorts (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\TraderAssortGenerator.ts:149:18)

    at HardcoreRules.regenerateTraderOffers (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\mod.ts:299:36)

    at HardcoreRules.toggleHardcoreRules (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\mod.ts:249:18)

    at Object.action (D:\SpTarkov\user\mods\DanW-SPTHardcoreRules\src\mod.ts:91:30)

    at StaticRouterMod.handleStatic (C:\snapshot\src\di\Router.ts:41:63)

    at HttpRouter.handleRoute (C:\snapshot\src\routers\HttpRouter.ts:61:68)

    at HttpRouter.getResponse (C:\snapshot\src\routers\HttpRouter.ts:34:36)

    at SptHttpListener.getResponse (C:\snapshot\src\servers\http\SptHttpListener.ts:130:44)


    i know it has something to do with him cuz when i whitelist him it works fine, it just started suddenly and i don't know why, before everything was fine.

    • This error will happen if a mod adds an invalid item to a trader's inventory. Basically there's an invalid pointer used for the "properties" of the item(s) being sold.

    • To me it seems a little bit odd because before i start this profile everything was fine even with this trader installed. It just happened suddenly when i completed or received i certain quest from him i cant remember exactly. Like Dan said it maybe added a specific item to buy to his inventory after completing a specific quest which bricked him, i can remember that i completed a quest from him and then this all started.

    • I deleted my former reply because I missed the fact that hardcore rules weren't applied, after applying the hardcore rules to my profile it showed the same error. However, the barter economy mod shows the two "bad" trades, located at


      user\mods\AAArtemEquipment\database\traders\ArtemTrader\assort.json


      After deleting the lines for ARTEM_ROCKAHAT and ARTEM_ARTEMHAT my profile loaded fine.

      Thumbs Up 2 Heart 1
    • Good catch! Thanks for sharing.

      Thumbs Up 1
    • That worked for me didn't even knew about the barter mod so i have installed it 😊.

      Happy 1
  • Just reached level 15 and flea market is available despite being disabled in config, also tried on SPT easy start profile for comparison. It may be a mod compatibility issue so will test further, I currently have hardcore rules loading very late in the order so I don't think it's a load order thing.

    • Tested on a new install (fika) and same result with the config set to what I usually use.


      Perhaps something to do with "use_for_all_profiles": true, ? Maybe it doesn't account for the non vanilla profiles? I've only tested your Hardcore Playthrough profile (what I'm playing on) and the SPT easy start profile.


      Edit: All the other features of the mod seem to work as normal by the way.

    • Are you actually seeing player offers or just trader offers in the flea market listings? I have it still be available to use, but it should prevent you from selling anything or buying from non-traders.

    • Seeing actual player offers, yes I always have it avaliable at level 1 but disabled.

    • Could you please load your "Hardcore Playthrough" profile, click around the flea market to generate a variety of player offers, and then send me your latest server log and your config.json? I'm not able to reproduce this, so I'm wondering if there's a conflict with another mod.


      If you're using Fika, the hardcore ruleset should still be applied for all clients if you set use_for_all_profiles=true, so that shouldn't be an issue.

  • Hey again DanW,


    Here's a Russian locale for your hardcore playthrough profile in translations.json:



    Code
    "ru" : "Профиль с хардкорными правилами: начало со Стандартным изданием, но без денег или снаряжения (даже ножа)."


    Feel free to use it if you wish

    • Thank you! I'll include this in the next release.

    • urw

  • hey DanW,

    aware you're probably busy with QB and stuff but thought i'd shoot anyways!


    with the addition of Ref Trader, would there be a neat way to tweak the configs to allow just GP coins to be used in trades now they're technically a currency? feels like they're kinda too useless for my liking, and i can't think of a better way to use them without grabbing all of the IDs for Refs items.


    btw love your work :)

    • Great idea! I just posted version 1.4.1 which includes an option for that.

    • awesome, thank you v much!!

  • Idea add no offline health and energy regen?

    • I like the idea, but it's a bit outside of the scope of this mod as it deviates from the traditional hardcore ruleset variations. I'll consider it for future releases though. Thanks for the suggestion.

    • Sick!

  • Hi DanW.

    Do secure container settings support any secure containers currently available? Any way to extend the list of containers affected, e.g. introduce a config var that allows you to specify extra secure containers?

    e.g. I am not sure whether it supports LIKE waist bag or not (5732ee6a24597719ae0c0281)

    • The code finds any item that is a secure container, so new ones should be automatically included if they were created like BSG creates theirs. There is no secure container list.

      Thumbs Up 1
    • Got it. It's just that I was allowed to place various items to secure containers that were not included in the whitelist, and initially assumed it's the pouch problem. It's the same for others it seems, tho.
      My "Global" item array is empty, however.


      Basically I have the following whitelist config:

      ...but I could still put these items in secure container in hideout

    • Are you able to put those items in a normal EFT secure container?

    • Normal, as in, without the mod, or as in to another secure container which is not the pouch?

      If the latter, - yes, I tried putting the same things in Alpha as well, same result

    • It looks like the ID you used for special items (54009119af1c881c07000029) is actually the ID for all items, so you effectively whitelisted everything. I changed it to the correct ID (5447e0e74bdc2d3c308b4567) and it started working correctly.

  • Hi dan,

    i like the Mod but is there a way that i can disable custom traders from selling Items for rubel, dollar and Euro?

    I just added them for the quests but i don't want them to sell me stuff.

    • Nvm i figured your Mod has to load behind all custom trader Mods then it works fine. So i just had to change load order.

      Thumbs Up 1
  • Love this, would you be able to make the post raid healing deletion its own mod? That screen is annoying to deal with every time

    • You can disable everything except that feature in config.json if you want. Alternatively, you can copy that part of the code and create your own mod. That change is pretty simple to do.

    • Thanks DanW! I noticed that this mod in general slows everything from UI to loading times for some reason. Im not sure if its just the mod constantly looking through whitelists or something else but its gotten too rough to use it for me personally.

      Great mod though! Thanks again.

    • If you have a noticeable performance loss, something is wrong. Please check the game console for errors.

  • cant buy the leatherman multitool from mechanic 1. added the id (544fb5454bdc2df8738b456a) to the whitelisted items, still not showing up :/

    • I'm not able to reproduce this. Another mod might be causing this problem.

  • I assume this is not compatible with softcore?

    • I'm not sure, I've never tried.

  • Is it possible to whitelist weapon presets?

    And when, how?


    I want to whitelist the Rewards from Gunsmith 9, the M4 SOPMOD 1.


    The ingame ID from the M4 SOPMOD 1 is

    5a8ae73886f7747b2e6e1416

    and the root ID is

    6396b4846a00541d900be57f

    • You'll want to add the _tpl ID for the root weapon part (the receiver) to the traders.whitelist.items array. In this case, it's 5447a9cd4bdc2dbd208b4567 for M4A1. However, this will whitelist all M4A1 variants, not just this specific preset.

    • Ah, yes i know, exactly that is the problem, but i can live without the SOPMOD 1 ^^


      Thank you for your mod and fast support. :thumbup:  animeproudclap

  • This mod doesn't seem to play well with Algorithmic Level Progression. I'm getting console errors on raid loading and PMC loadouts are typical with it not working. It was working until I put this mod in place.


    AKI 3.7.1, Algorithmic Level Progression 2.0.1, SPT Hardcore Rules 1.2.2


    TypeError: Cannot convert undefined or null to object

    TypeError: Cannot convert undefined or null to object

    at Function.keys (<anonymous>)

    at F:\Tarkov 0.13.5.3.2.26335\user\mods\DewardianDev-AlgorithmicLevelProgression\src\LoadoutChanges\OnGameStartUtils.js:60:41

    at Array.forEach (<anonymous>)

    at makeMapSpecificWeaponWeightings (F:\Tarkov 0.13.5.3.2.26335\user\mods\DewardianDev-AlgorithmicLevelProgression\src\LoadoutChanges\OnGameStartUtils.js:58:51)

    at Function.setValuesForLocation (F:\Tarkov 0.13.5.3.2.26335\user\mods\DewardianDev-AlgorithmicLevelProgression\src\LoadoutChanges\GlobalValues.js:50:64)

    at Object.action (F:\Tarkov 0.13.5.3.2.26335\user\mods\DewardianDev-AlgorithmicLevelProgression\src\LoadoutChanges\LocationUpdater.js:13:45)

    at StaticRouterMod.handleStatic (C:\snapshot\project\src\di\Router.ts:51:61)

    at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:72:62)

    at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)

    at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:145:38)

    • Those errors are likely occurring because this mod wipes out a lot of trader offers that Algorithmic Level Progression assumes are there. Unfortunately, I think this is something Algorithmic Level Progression needs to resolve, or we have to accept that these mods aren't compatible. Sorry.


      As a test, you can use the following settings in config.json to see if the errors stop:

      • traders.barters_only=false
      • traders.whitelist_only=false
    • You are likely right as to the cause as this has fixed the issue. Many thanks. I'll just have to use willpower to not use the cash trades when things get frustrating.

    • Good luck! It might still be worth bringing it up in the Algorithmic Level Progression mod page in case it's an easy fix for them.

    • Are there any bot-progression mods that do work with hardcore rules?

    • Thanks @DanW Does it still pull modded guns for PMCs to use? id assume not?

  • I hope im being retarded and you can help, I love the mod but when i try to do one of the barter offers it says i do not have the required items when i do have the items in my stash. I have not changed anything in the config.json so far and this is the section i thought covered this


    "traders": {

    "ID_money": "543be5dd4bdc2deb348b4569",

    "disable_fence": true,

    "barters_only": true,

    "whitelist_only": false,

    "whitelist": {

    "parents": [

    "543be5dd4bdc2deb348b4569",

    "5795f317245977243854e041",

    "5448bf274bdc2dfc2f8b456a",

    "5447e0e74bdc2d3c308b4567",

    "567849dd4bdc2d150f8b456e"

    ],

    "items": [

    "6217726288ed9f0845317459"

    ]

    }


    hopefully im missing something?

    • I found out how what i'm doing wrong, when i look under flea market and see the traders barter there i can do the transaction

    • Are you sure you have the "fill items" checkbox checked? Otherwise I'm not sure what would cause this to happen. I've always been able to trade via the normal trading screen.

    • yea not a mod problem, my bad

  • is it possible to make this a custom profile so that it doesn't get loaded on each individual profile?

    • Unfortunately, that would be a lot of work. Many of the changes this mod makes are done before loading your profile, so I would need to find alternate (more difficult) ways to do them.

    • ah no worries :) I was just curious if it was possible. I appreciate the reply.

  • I may be wrong but when I set "only_barter_offers": true,

    It works as intended at first (when I first launch the game) but it seems that after a raid I'm then able to buy from the flea market with money and not just with bartering.

    Great mod by the way ! Everything else works perfectly !

    • Good catch! This is a sneaky bug. I was able to reproduce it, but I think it's based on time and not triggered by doing raids. I still need to dig through the SPT code more to see why it's happening in the first place.


      I have a band-aid fix that might work for now. Would you mind testing it? https://github.com/dwesterwick…es/releases/tag/1.2.2-RC1. It worked for me, but I rarely have the game open for very long (the curse of mod development).


      Thanks!

    • I will test the new version and report asap.

      Heart 1
    • It seems to work.

      I only saw a pack of ammo that I was able to buy with money after disabling the "operationnal only" box.

      But it was the only exception so it doesn't matter.

      Thanks for the quick fix and if I find something fonky tomorrow, I'll report it.

    • I had a suspicion that you might see one search result per hour that has cash offers, so it sounds like that might be happening. I have an idea to fix that, so I'll give it a shot later tonight and let you know.


      Thanks for your help!

    • Alright, I think I actually fixed it this time. Could you please let me know if this version works for you? https://github.com/dwesterwick…es/releases/tag/1.2.2-RC2


      Since this is a minor issue, I'll likely wait until SPT-AKI 3.7.1 is out, and then I'll include this in my updated release for that.


      Thanks!

  • it seems its bugged for me. i made a fresh profile but cannot use any of the gear (its just not clickable)

    when i try and spawn in with already equipped gear i do spawn in but my character is basically locked in position, cannot move and cannot do anything like opening inventory or looking around

    • Have you tried using just this mod by itself?


      If you have and it's still happening, can you please upload BepInEx\LogOutput.log immediately after reproducing the problem?

    • i already figured it out, in the words of our famous scav; ''im dumb as a brick''


      i had the version for 3.6.0 installed while im on 3.5.8.


      I have the right version now and started a new playthrough, definitely a challenge!



      i havent explored to far into this mod yet, so idk if its already a feature, but a cool feature would be that you can sell offers on the flea market, but just for barters, and depending on the value of said item youre selling and the item(s) you want for it the chance of a succesful trade will go up

    • Glad you figured it out! In fairness, I should really start adding minimum-version checks.


      Right now the flea market is all-or-nothing in this mod, but I could probably add a barter-only option in the future. I'll have to do a little experimentation to figure out how to prevent players from listing items for dollars. To be honest though, I have a lot of other stuff going on at the moment, so this probably won't happen for a while.

  • I feel i have read this somewhere but i cant find it: Is this compatible with realism? I could have sworn it was, but want to make sure.

    • I haven't tried, but I'm not aware of any incompatibilities. If you try it and find any issues, feel free to let me know, and I can look into them.

  • is there anywhere in the config i can allow non default traders, When I set the traders to Barter only I get an error.
    I was manually adding trade offers to captain and realized this error. tested with and without my edits same error.

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

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

    at Function.removeItemFromTraderAssort (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\TraderAssortGenerator.js:114:44)

    at Function.getNewTraderAssort (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\TraderAssortGenerator.js:98:18)

    at TraderAssortGenerator.updateTraderAssorts (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\TraderAssortGenerator.js:65:53)

    at HardcoreRules.postDBLoad (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\mod.js:60:36)

    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)

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

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

    at Function.removeItemFromTraderAssort (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\TraderAssortGenerator.js:114:44)

    at Function.getNewTraderAssort (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\TraderAssortGenerator.js:98:18)

    at TraderAssortGenerator.updateTraderAssorts (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\TraderAssortGenerator.js:65:53)

    at HardcoreRules.postDBLoad (E:\SPTarkovHardCore\user\mods\DanW-SPTHardcoreRules-1.1.5\src\mod.js:60:36)

    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)

    • I checked out the Captain mod, and this is a pretty simple fix. I'll post a new version soon.


      I didn't see any offers with barters_only=true, but I assume you were working on adding barter offers for that mod.

    • This should be fixed in the 1.1.6 release. I'll have limited availability for the next few days, so if you find any other compatibility issues, I'll try to fix them later next week.


      Have fun!

      Heart 1
    • hey man thank you so much!!!

  • Howdy. There's an problem with 1.1.2 where I cannot pick up loose items (nor ctrl-click items) that by default would go into the secure container (e.g., cash). Because (presumably) they are blacklisted for the container, the game thinks there is no free spot for the item.


    Thanks for the mod. First time I've played hardcore and I'm enjoying the enforced ruleset.

    • Howdy! I just tested this and was able to recreate the bug. Sorry about that!


      I'm not quite sure why it's happening, so I'll need some time to troubleshoot it.


      Glad you're enjoying the hardcore playthrough otherwise!

    • I just published a new version that should hopefully fix this. I tested it with cash, and it works both in-game and in my stash. Previously, it didn't work for either. Please let me know if you find any other issues.

  • New update messed something up. When "restrict_whitelisted_items" is false, it allows many items that is not whitelisted to go directly into the container, such as food/drink, ammo and any barters. The container restrictions are not working unless this option is true currently. Which means you can't have a loot system where getting a docs case is a much bigger steps because it will allow you to put info items into your container, something you can't do without it. Pretty sadge.

    • Thanks for letting me know, I'll look into it.

    • I see the problem... my own field naming confused me. I flipped the logic for more_restrictions and restrict_whitelisted_items when I moved the code to a bepinex plugin. Honestly they're pretty bad names anyway, so I'll change them. I should have this fixed in the next 30 min. In the meantime, you can set more_restrictions to false instead of restrict_whitelisted_items.


      Sorry about that!

    • No problem at all. I know modding can get confusing sometimes. Fantastic that you could get on fixing it so quickly.

    • Just released a new version to fix it. Please let me know if I made any other stupid mistakes!

  • Very nice mod, any chance it can be made into a profile you select when creating profile. I like to play a bit of both normal and hardcore, and instead of having hardcore on all my profiles and having to remove the addon to play normaly... just a thought ;)


    Other than that, very pleased, keep up the good work :thumbup:

    • Do you mean having hardcore locked to one profile and automatically disabled for others? Unfortunately, I probably can't do that because the server loads the database files (along with all of my changes) before it loads profiles. I haven't found a way to change anything in the database after a profile is loaded.


      As a quick way to toggle between hardcore and normal modes, you can change the "enabled" flag at the top of config.json. If you change it to "false", all hardcore changes will be reverted so you can play the game normally. It will even reset your Scav timer! Basically all you have to do is make that one change and restart the server.


      Glad you like the mod so far.

    • Yeah just like you would select EoD or Standard edition. Would be a nice addition with this as an option ;)

    • Ah, I gotcha. You can create a "Zero to Hero" profile, which is basically a hardcore profile plus a knife.

  • Dude.... Dude...


    I am going to be exclusively testing your mod, Hardcore rules is all I play :D


    But not now, until I get my new PC. Expect a review from me before next month..


    Btw, Good job in making this mod configurable, the other mods had it all hardlocked, at least the ones I tried.

    Thumbs Up 1
  • Exactly what I was looking for, thx.

    Instead off deactivating the post raid healing is it possible to make it more expensive with a multiplier?

    I played some time without post raid healing but after some dying I ran out of meds and had to wait or start all over again :D

    • I like that idea, I'll see what I can do for the next release.


      That's why I left post-raid healing disabled by default... I wanted a hardcore playthrough, but I found that was a little TOO hardcore!

      Heart 1