Reduced Barter Trades 1.2.0

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.

Converts most barter trades into regular money trades, with progression in mind

This mod aims to facilitate buying from traders without compromising the game progression.


Based on this mod, but with a completely reworked logic in order to accurately define item price, in order to prevent trade abuse (With the original mod, you could buy items for cheaper than they sold and get infinite money)


A server side mod that transforms barter trades into regular money transations IF:

  1. The output item in a trade is not already sold by the trader in a different trade (Hidden, locked and quest reward trades count towards this. Eg.: SV-98 on Prapor)
  2. The output item has a defined value in the database:
    1. The value of the item itself (vanilla or custom)
    2. The joined value of all the input items that compose the trade
    3. If a weapon: The value of the weapon + the value of any parts/attachments that comes with the trade (Eg.: M870 Breacher (Mechanic) => M870 + Sight + Grip + Rails + ...)

If these conditions are met, the price is calculated with a configurable multiplier (See Readme)

You can also set custom prices, in roubles, for any item in the mod configuration (See Readme)


The server modifications have a slight delay to load after any custom traders/items (Should be fully compatible. Customize in config. Please report if you find an issue)


(V1.1.0)

There is a check, at certain intervals, to make sure trades don't revert back to vanilla (This is an issue when trades restock; May have a few seconds of delay to update the trades)


(v1.2.0)

Ammo boxes sold by traders now use the price of a single bullet (if the trader sells that bullet loose, use that value) times the amount in the box to calculate its final price (The game has a price for the boxes, but does not replect its actual value)


Server logs now show colored messages

Non-fatal errors that may happen now show in red in the server console




Known Issues:

Upon trader restock, the trades revert back to vanilla > Squashed this bug (v1.1.0)


Notes:
Feel free to modify and upload your own versions of this mod, but I would appreciate if you give credit. Enjoy!

  • Version 1.2.0

    SPT-AKI 3.7.6 READY


    Fixed price of ammo boxes sold by traders

    Placeholder items in config removed

    Error/Warning management improved

  • Version 1.1.0

    Added customizable initial delay for the mod

    Fixed trades reverting back to original


    (Reupload)

  • Version 1.0.1

    Reupload

  • I really liked this mod on 3.7.6, I am hopeful that you are working towards an update for 3.8.0. ;(

    Heart 1
  • when i launch the server it says im missing package.json, how do i fix this. im extracting the folders in the mods folder

    • You should drop the "user" folder for the mod into your main SPTARKOV directory (Where all the .exe files are)

  • would love to have a config option to exclude specific traders (or at least mod-added traders) from being affected by the mod if possible. :)

    • That's a great suggestion, might make it to the mod soon!

      Thumbs Up 1
  • Not sure why this is happening because the mod seems to be working as intended but I get this string of errors every bootup.

    image.png?ex=659ec385&is=658c4e85&hm=9721cc18d4fb2c03039f76c1b0d12f3909b88b85b42862138e65c7ab8b87b9c2&

    • I am unable to replicate the issue. You may have other mods conflicting.

    • Yeah so a fresh install fixed the issue even with exactly the same mods so maybe something got updated that was causing the issue.

      It's just weird that the mod functioned just fine but kept throwing those errors.

    • On a fresh install, with no other mods, no errors like that are showing. Are you using version 3.7.3?

    • When I was getting the errors I think it was 3.7.5?

      But now I am on 3.7.6 and not getting any errors

    • This mod was only tested on 3.7.3

  • some of the trades are incredibly weird, some are dirt cheap but others mad expensive

    • It all works dependently with the base games values, without any trader "inflation", ence why some trades appear like that. On those "dirt cheap" trades, would you able to resell to a trader for profit?

    • yep i can resell for profit (mp7 seals costed 48k roubles around, i could sell to mechanic back for around 100k)

    • I am unable to replicate the issue. MP7 Seals cost me 170k, sells for 95k on max trader reputation. You may have other mods conflicting. Try redownloading the mod, unpacking with .7zip and copy the contents to a clean SPT mod folder and see if the issue persists. Here's a screenshot:
      Screenshot-2023-12-30-123720.png

  • Nice job man ! Do you give me the permission to add a link to your mod on mine ?

    • Sure, thanks!

  • the download is broken bro

  • broken download lmao

  • Bonjour fichier suprimé.