Mod Details

Trader Modding And Improved Weapon Building

Trader Modding And Improved Weapon Building 2.1.0

Created by  ChooChoo

69.1K Downloads

SPT 4.0.3 Compatible

Weapon modding 2.0: Checkbox to only show current Trader LL / owned mods, Shows Trader/Flea Prices/Build Cost, Adds Quick Buy Button, Adds Button to detach items in use, Highlights mods attached to other guns or ready to use, Ability to zoom in/out.

Latest Version 2.1.0
SPT 4.0.3

Updated Sunday at 8:54 PM

28.55 KB

Version Notes
  • Code refactor for performance, UI should feel way more responsive with less freezing up when the modding view updates.
  • Buy restrictions are correctly handled, items are no longer shown as available from traders if the personal limit for an item was reached on all traders
  • Sorting of mod items in the drop down menus by their short name (Might be wonky sometimes)
  • Random fixes

Note: Multiple of the same item in the build behave weirdly and always have, keep that in mind. I don’t have the will to fix BSGs logic for that :)

P.S. If my refactor broke something, please let me know.

This download is externally hosted.
Always scan for viruses.
Overview

Features

Adds a new checkbox in the weapon preset screen to only show trader items, and your own items ofc.

Shows item prices from current Traders (Supports custom traders)

hARimio.png

Quick Buy Button

Also shows flea prices if the item is available there and the trader only checkbox is unticked:

GRDBpzs.png

Movable Build Cost Panel:

ssVdgkJ.gif

Button to detach items in use elsewhere (Doesn’t touch equipped guns by default):

ydLnvei.gif

Highlights parts (Colors customizable in F12):

  • Directly usable (Loose in stash)
  • **Already present in the current gun build
  • Attached to other stuff (But purchasable from traders)
  • Attached to other stuff (NOT purchasable)

Colored borders while modding:

Cxs10j9.png

Shows items on PMC, as well as in Rigs etc.

p8KWeB0.png

QoL change: Ability to zoom in/out with the mousewheel for those big chonkers

tgqEQfz.gif

Everything is configurable in the F12 menu:

X6FDRVS.png

There is also the option to invert the Trader only view to show NO items from traders instead (Essentially flea and own items only):

oK8LqHV.png

If you have any issues, let me know
I tested everything thoroughly, without crashes and issues, but you never know

Credit to warafor the awesome original mod,

giving me the inspiration to push it to the next level.

How to Install

Just extract the .zip file with BepInEx and user folder to your SPT folder.

**If you are upgrading from a version before 1.7.0: Please delete the folder “user/mods/ChooChoo-TraderModding-1.2.0”

Should you have version 1.0.0 installed, before installing the latest version, remove:

Wara-TraderModding.dll in BepInEx/plugins Wara-TraderModding-1.0.0 folder in user/mods

Custom Trader Support

I changed the server mod to automatically get all custom traders that are installed.
Should work, but let me know if you notice any weird issues.

Recommended Mods

To further improve the QoL when modding your guns, the modding stats helper from wara shows stat comparisons in a nice Tooltip

Wara’s modding stats helper

Version 2.1.0
Download Mod Version
SPT 4.0.3
Latest Compatible SPT Version

28.55 KB

908 Downloads

Created Sunday at 8:53 PM

Updated Sunday at 8:54 PM

Virus Total Results
  • Code refactor for performance, UI should feel way more responsive with less freezing up when the modding view updates.
  • Buy restrictions are correctly handled, items are no longer shown as available from traders if the personal limit for an item was reached on all traders
  • Sorting of mod items in the drop down menus by their short name (Might be wonky sometimes)
  • Random fixes

Note: Multiple of the same item in the build behave weirdly and always have, keep that in mind. I don’t have the will to fix BSGs logic for that :)

P.S. If my refactor broke something, please let me know.

Version 2.0.1
Download Mod Version
SPT 4.0.3
Latest Compatible SPT Version

28.04 KB

1.1K Downloads

Created Oct 26, 11:21 PM

Updated Oct 27, 2:14 AM

Virus Total Results

Update for SPT 4.0.X

  • New quick buy button to buy from traders to streamline modding! (Flea purchases not yet implemented). If you notice any issues with it let me know, so far everything worked as expected. :)
Version 1.10.0
Download Mod Version
SPT 3.11.4
Latest Compatible SPT Version

20.4K Downloads

Created Mar 21, 9:01 PM

Updated Mar 21, 9:01 PM

Virus Total Results

Update for SPT 3.11.X

As usual: If you find any bugs, let me know.
All looked good on my end, so far…

Version 1.9.0
Download Mod Version
SPT 3.10.5
Latest Compatible SPT Version

10.7K Downloads

Created Jan 3, 7:59 PM

Updated Jan 3, 7:59 PM

Virus Total Results

Update for SPT 3.10.X

Sorry for the long wait, and thanks to Fried Engineer for the update.

I quickly checked for functionality, and so far it looks good, though I did not test all edge cases (Custom traders etc.)

Version 1.8.0
Download Mod Version
SPT 3.9.8
Latest Compatible SPT Version

16.5K Downloads

Created Jul 16, 2024 at 7:38 PM

Updated Jul 16, 2024 at 7:38 PM

Virus Total Results

Update for SPT 3.9.X

Did not do excessive testing, but everything seems to work as expected.
Lemme know if something is wrong.

Currently short on time, so might not immediately fix specific stuff.

Version 1.7.0
Download Mod Version
Unknown SPT Version
Latest Compatible SPT Version

6.3K Downloads

Created May 26, 2024 at 1:43 AM

Updated May 26, 2024 at 1:43 AM

Virus Total Results

If you have a previous version installed: Please delete the folder “user/mods/ChooChoo-TraderModding-1.2.0” when installing this version.
(I could no longer stand that old version tag in the folder name )

  • Can now show flea market prices for items that are available on the flea, but not on traders (Red price tag, shows cheapest possible price)
  • Abbreviated price tags (69420 becomes 69,4k, ON by default)
  • Small fixes

GRDBpzs.png

alcatraz7525

Hello there, I’m using 4.0.1, is compatible with it? I cannot get it to work =/

0 Likes

I say more, it even not appears in F12 thought it is present at BepInEx folder O.o

0 Likes

It is compatible with all 4.0.X versions. You just have to extract the contents of the zip archive into your spt folder.

0 Likes
0 Likes

Ok I gotta say that looks correct, does the SPT server console give you any output in regard to my mod? Haven’t seen that before. If it loaded correctly, it should absolutely appear in the F12 menu.

0 Likes

As far as I saw not =/ I downlloaded another mod (about keys and colours) and recieved a lot of redlines for each map (about smth with key’s internal keys of the game those long alfanumbered names) but everything is working fine. I’ll restart the server and put here some pics

0 Likes
0 Likes

If you have Wara-TraderModding lying around somewhere in your mods, remove that. That was the very first version of the mod and should not be installed. If for some reason that mod is still there, it could be the cause for your issues.

0 Likes

Oook. Trying

0 Likes
0 Likes
qizven

Can a scroll bar be added to the checkbox to accommodate players who use All In Weapon? That would be great

0 Likes
SkebbZ

Does this mod fetch prices from the server if you are a client? I assume it would have to.

Having an issue where my friend always has to load for a long time on entering menu (loading profile). In the server console I see a lot of fetching prices output from his ip, then later retries of all the same price requests. Seems to be all the standard and modded Trader IDs in the output.

This always takes a long time for him (1-5 minutes), but just a few seconds on my end (I’m hosting the server on the same PC). I don’t see the retries when it’s me either.

I guess it could be a base SPT feature as well, just hard to know where to start.

0 Likes

Yes the server mod does all the filtering of locked/unavailable traders, finds current euro/dollar prices and compiles a json to send to the client.

BUT: This should should never happen if you just load into the menu.

I just, IIRC, only request trader data from the server if you actually open the edit preset screen.

So I’m not sure why your friends client should at all request the data when loading the menu (Even more strange with the retries you mentioned).

All that being said, I have never tested with Fika (which you did not mention, but I just figure that’s what you are using).

And I never explicitly stated that fika is supported.

In theory it should work since I don’t care where the server is.

So either you are using other mods that somehow open the preset editor in the background, have some network issues between you guys, or something entirely different related to fika.

0 Likes

My guess is fika, as it basically acts as a proxy for all these large JSON price lists. Since it has no cache/hash compare feature for this data, it resends the same stuff every time.

I suppose I’ll have to mess around with it to see if there’s anything to be done, but it might be on fika to implement a caching feature.

0 Likes

To be honest the json data should only be like 1-2mb max, and since the frequency should not be that high, I don’t actually think stuff needs to be cached.

Furthermore caching would require re-validating which parts need to be fetched again.

Think price changes, item availability, quest completion etc.

That is why whenever I need the trader data I fetch it.

And that should only be whenever the preset screen becomes active (first open / return from flea screen)

So idk buddy, nothing I will look into tbh

0 Likes

Yeah, I guess it’s WireShark time. Thanks anyway

1 Like
Mugnum

Oh hell yeah, this was exactly something I was looking for to compliment Geko’s Progression mod, where you don’t have access to flea market. Fiddling with “Filter by item” on every single thing was so annoying.

1 Like
drydell

You make weapon modding so incredibly bearable to me, thank you so much.

1 Like
TheSaladGuy

BSG should hire you

0 Likes
drippin jimmy

YEEEEEEEEEESSSS THANK YOU THANK YOU THANK YOUUUUU

1 Like
Zodaxa

fantastic, I didn’t know how much i depended on this mod until it was gone, thankyou for the update

1 Like
toesy

will there be an update ?

0 Likes

Yes, but there should be a big yellow banner saying :

Do not ask when mod authors will update their mods or if they can upload older versions of their mods.

Bothering mod authors will lead to warnings and repeat offenses will lead to bans.“

2 Likes
Whackerz

The trader only parts seems to be broken ChooChoo , it shows unavailable mods. As well, I cannot see the build price and overall gun stats (ergo etc) when modding. Can you take a look at this?

0 Likes
Notice: This mod may make permanent changes to your profile, and may not be removable without starting a new profile. More information.

Details