Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.
This mod will autosell using ragfair prices whatever you have in the containers that you have labeled in-game. You can specify which specific labels in the config for this mod.. you can even specify the currency you want. IT WILL NOT SELL THE CONTAINER ITSELF.
BACKUP YOUR USER PROFILE - just in case.. I have tested a lot but you never know ....
- YOU MUST EDIT THE CONFIG to include labels (tags) that you will use in-game for your containers.
- It will sell anything in the containers so don't bitch to me if it sells your keycard you wanted to keep.
- Provided option to toggle restriction filters on containers - fit in an AK or things that don't belong in there normally
- This will not work with backpacks or containers in which you cannot put a tag on in-game so like i said i recommend the docs case. It won't work with Boops tag everything mod because his tags are not saved into the user profile.
Installation and use
- Unzip the mod into your aki/user/mods directory.
- Edit the config.json file within the automated selling mod to fit your needs. (there are instructions inside the config json)
- In-game, edit the tag of a container to match the label you entered in the config.json.
- Run a raid, you can carry container or just leave it in your hideout to automatically sell.
- Fill the container with junk items you aren't going to keep.
- At the Raid End screen, it will sell all items within the labeled container at ragfair prices.
Companion Mod.
Use Nootropix Big Secure Cases - it is out of date 3.3.0 but still works on 3.4.1. you can change version in package.json if you annoyed at warning.
But it needs some changes below
1. Modify the mod.ts file, and change the itemsList and casesList in src to look like below. :
Quoteconst itemsList = [
"544a11ac4bdc2d470e8b456a", "5857a8b324597729ab0a0e7d", "59db794186f77448bc595262",
"5857a8bc2459772bad15db29", "5c093ca986f7740a1867ab12", "5732ee6a24597719ae0c0281",
"590c60fc86f77412b13fddcf" //added docs case here];
Quoteconst casesList = [
"alpha", "beta", "epsilon", "gamma", "kappa", "waistPouch", "docsCase"
];
this will add docs case to his list of secure containers (i know its not a secure container)
2. Add the entry into the config file for nooptrix:
Quote"docsCase": {
"horizontal": 8,
"vertical": 8,
"removeFilters": true
}
add this below the waistPouch entry.. remember to add a comma at the end of waistPouch so it looks like this:
Quote"waistPouch": {Display More
"horizontal": 4,
"vertical": 4,
"removeFilters": true
},
"docsCase": {
"horizontal": 8,
"vertical": 8,
"removeFilters": true
}
This will let you configure the size of the docsCase in the config.
Shout out to Heavy-Amphibian-495 on reddit for the idea.
-
Version 1.6.0
- Props
- 944 Downloads
Updated for SPT 3.9+
- Added compatibility for Inventory Organizer. It will search for case-insensitive substring of the label you defined in the automated selling config. Meaning you could have a label like "Sell Stuff; @o Barter Items; @sl". You will have to fiddle with it.
Install to your base spt folder and it will move to user/mods as needed
-
Version 1.5.5
- Props
- 726 Downloads
SPT 3.8.0 or 3.8.1
- Removed the container types restrictions. Instead you must put the specific item id you want to remove container restrictions from in the config file (config.jsonc). That way it is compatible with Inventory Organizing Features. My assumption is that you will either specifically label this item for a specific type (e.g. using @o label) or carry it on your person.
-
Version 1.5.4
- Props
- 267 Downloads
SPT 3.8.*
1. Fixed issue with weapon attachments and bullets in magazine not being sold.
2. Cleaned up removal of items
-
Version 1.5.3
- Props
- 127 Downloads
SPT 3.8.*
- Fix for Containers within Containers Issue ( Thanks SaltiestSaltySaltPie for the report)
also do not put multiple labeled items within each other or they will sell everything except the first (backpack level) item .
-
Version 1.5.2
- Props
- 120 Downloads
SPT 3.8.0
Huge thanks to ItsBeltaine for the fixes. All of these were him.
- Selling items should be taking into account the stackable amount
- Update amount to traders should be in their currency
- Don't create a stack of 0 rubles if no items were sold
-
Version 1.5.1
- Props
- 241 Downloads
SPT 3.8.0
- Fixed issue with currency already being converted to rubles and removed the duplicate currency exchange. Thanks to Azmereth for the report.
-
Version 1.5.0
- Props
- 237 Downloads
SPT 3.8.0 Update
- Recoded to use helper libraries.
- Removed the ability to specify currency or the specific trader. It will automatically/randomly choose based on the traderKey and determine how much you get based on currency exchange.
- Simplified logic and took out the ghetto hack i was using to quickly save and load profile.
If you want to add your own custom traders, edit the traderKey and their id, make sure this mod loads after your traders in order.json file in mods folder
-
Version 1.4.0
- Props
- 498 Downloads
Updated for SPT 3.7.4
- Changed config to using JsonC. Now you can comment whatever
- Removed trading to a specific trader. Now it will determine which traders will purchase the item, randomly pick from them, and then show you the results on raid end.
Yes it will still count towards leveling up with traders.
-
Version 1.3.0
- Props
- 1.8k Downloads
- Added a pricemultiplier option so if you think its still too much money, you can knock it down.
- should have fixed the multiple issue with ammo as the price is already given for the lot (not each individual bullet).
- Updated for 3.5.1 price method.
Hot out the oven.. not even tested. if its broken either tell Valens or leave a shitty meme in the comments.
Please update if you use the price multiplier.. this now includes a fix so it can't give you decimals.
-
Version 1.2.0
- Props
- 590 Downloads
- Fixed the issue with the traders being associated to the wrong container. I kept forgetting i only grabbed a list of containers actually available even if the label is listed.
- Updated the zip (redownload if you have a NAN error where a trader doesn't have a Price for an item and it returns undefined - fking up the price). Fixed another issue thanks to Valens.
Anyways thanks to Valens for bullying me to fix this and Expunge for originally discovering the issue.
FLIGHT_S4L
anyone get this working for 3.10 yet?
IvanTheThicc
Is there a way I can change this to use flea market prices?
1077605358
Is there a way to make mods available for sale at the price of the flea market? 0w0
Props Author
it was that way in the past but people complained it was way too much money
1077605358
Hopefully this feature will come back as an option in the future TwT
Super awesome mod!
CwHedgehog
❥(^_-)
N0KE5
it wont let me launch the game and I get this error on my aki server what do I do
The application had a critical error and failed to run
Exception produced: JSONError
Stacktrace:
' "PriceMultiplier": 1.0,after property value in JSON at position 485 while parsing '{
at C:\snapshot\project\node_modules\parse-json\index.js:26:19
at Function.parse (C:\snapshot\project\node_modules\jsonc\lib\jsonc.js:176:16)
at PAutoSell.loadConfig (D:\SPT\user\mods\propsautomatedselling-1.5.5\src\PAutoSell.ts:127:22)
at PAutoSell.preAkiLoad (D:\SPT\user\mods\propsautomatedselling-1.5.5\src\PAutoSell.ts:70:25)
at PreAkiModLoader.executeModsAsync (C:\snapshot\src\loaders\PreAkiModLoader.ts:419:53)
at PreAkiModLoader.load (C:\snapshot\src\loaders\PreAkiModLoader.ts:59:24)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:64:3)
at Function.runMain (pkg/prelude/bootstrap.js:1984:13)
at node:internal/main/run_main_module:28:49
Props Author
N0KE5
thank you it got fixed great mod btw
archmagetony
In 1.5.3 have issue about sell weapon.Weapon mods placed on weapons will not be counted.Also bullets included in the magazine are not counted.
SaltiestSaltySaltPie
I have a dogtag case with 3 slim backpacks full with loot.
it seem like somehow the mod doesn't calculate all items contained in each backpack.
Is this intentional or did I miss a config?
Props Author
Looks like an issue on my end. thanks for report.
Loganxfi
Hello! Your mod is very useful and I would like to use it. But after installing your mod, the latest version is 1.5.0 for server 3.8.0. The system of cases and containers has broken in the game, which is why now any item can be placed in any case or container. I don’t like this malfunction, since the purpose of each container is lost.
Props Author
There is a setting you need to set in the config.jsonc file. Set RemoveContainerRestriction to false.
darkness
will this also sell stuff to the flea if it makes a big enough profit compared to selling to a trader?
Props Author
eh, i guess i could make the option of it giving flea prices in a later update. for now though, it only sells at highest trader price. a lot of people complained it was making too much money which is why a price multiplier option is included as well
Hypno88
Good mod but unfortunately it doesn't play well with Inventory Organizing Features. Unless you change remove container restriction to false its going to put every case into another case into another case....
Props Author
i mean, you could set it to false in the config. But yes, then that will limit you to what you can store in a 'loot' bag. Thats unfortunate that it puts every case into another case. maybe you should use the strict labels for inventory organizing features so when you auto sort, they are locked in place and only take a certain tag like ammo
archmagetony
ammo pack cann't sell,will cause error 'TypeError: Cannot read properties of undefined (reading 'nickname')'
because no trader can sell.
Props Author
are you using mods? which ammo pack
archmagetony
Hello,sorry I can't speak English very well,so I use google translate.
ammo pack:7.62x39mm PS gzh ammo pack (20 pcs)
I tried running this mod in a clean game(only two mod) for test,I think all ammo pack will cause error.Because only trader 'fence' can sell ammo pack in game 3.7.6.But he was commented in the 'PAutoSell.ts' line 63 .I have not tested whether it runs normally after uncommenting.
Here is log:server log
error in line 485
archmagetony
The new version works great, thank you so much!
Speaker4TheDead
Also running into the issue of no cash being in the container after selling. No errors in the logs like the others. Any way to resolve this?
Props Author
I probably need to fix something :). i'm lazy tho
S_gamez
PAutoSell: Finding Trader for Item: WARTECH TV-109 + TV-106 chest rig
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Trader Ragman Found for Item: WARTECH TV-109 + TV-106 chest rig
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Trader Jaeger Found for Item: WARTECH TV-109 + TV-106 chest rig
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Checking item against Trader: Skier
PAutoSell: Trader Skier Found for Item: WARTECH TV-109 + TV-106 chest rig
PAutoSell: Final Trader Found for Item: Jaeger
PAutoSell: Trader Price for child item(s): 7.62x39mm PS gzh - (4) is 142
PAutoSell: Trader Price for child item(s): SKS 7.62x39 ProMag SKS-A5 20-round magazine is 8584
PAutoSell: Using Ragfair Price for child item since NaN: Pack of Russian Army pineapple juice is 21341
PAutoSell: Trader Price for child item(s): Slickers chocolate bar is 3456
PAutoSell: Trader Price for child item(s): WARTECH TV-109 + TV-106 chest rig is 10673
PAutoSell: Finding Trader for Item: Spiritus Systems Bank Robber chest rig
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Trader Ragman Found for Item: Spiritus Systems Bank Robber chest rig
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Trader Jaeger Found for Item: Spiritus Systems Bank Robber chest rig
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Checking item against Trader: Skier
PAutoSell: Trader Skier Found for Item: Spiritus Systems Bank Robber chest rig
PAutoSell: Final Trader Found for Item: Jaeger
PAutoSell: Trader Price for child item(s): 9x19mm Luger CCI - (1) is 447
PAutoSell: Trader Price for child item(s): MP-443 "Grach" 9x19 18-round magazine is 1842
PAutoSell: Using Ragfair Price for child item since NaN: Pack of oat flakes is 32613
PAutoSell: Trader Price for child item(s): MP-443 "Grach" 9x19 18-round magazine is 1842
PAutoSell: Trader Price for child item(s): 9x19mm Luger CCI - (1) is 447
PAutoSell: Trader Price for child item(s): MP-443 "Grach" 9x19 18-round magazine is 1842
PAutoSell: Trader Price for child item(s): MP-443 "Grach" polymer pistol grip is 844
PAutoSell: Trader Price for child item(s): 9x19mm Luger CCI - (1) is 447
PAutoSell: Trader Price for child item(s): Yarygin MP-443 "Grach" 9x19 pistol is 12524
PAutoSell: Trader Price for child item(s): TT 7.62x25 121mm homespun threaded barrel is 2407
PAutoSell: Trader Price for child item(s): TT PM-Laser TT-206 side grips with laser sight is 3909
PAutoSell: Trader Price for child item(s): 7.62x25mm TT P gl - (1) is 62
PAutoSell: Trader Price for child item(s): TT 7.62x25 tt-105 8-round magazine is 1388
PAutoSell: Trader Price for child item(s): TT DLP Tactical Precision LAM-module is 5152
PAutoSell: Trader Price for child item(s): 7.62x25mm TT P gl - (1) is 62
PAutoSell: Trader Price for child item(s): TT-33 7.62x25 TT pistol is 7400
PAutoSell: Trader Price for child item(s): Spiritus Systems Bank Robber chest rig is 10013
PAutoSell: Finding Trader for Item: 12/70 RIP ammo pack (5 pcs)
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Checking item against Trader: Skier
Error:
TypeError: Cannot read properties of undefined (reading 'nickname')
TypeError: Cannot read properties of undefined (reading 'nickname')
at Function.FindAvailableTrader (D:\SPTarkov\AKI 3.7.5\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:258:70)
at PAutoSell.exchangeItems (D:\SPTarkov\AKI 3.7.5\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:193:27)
at Object.action (D:\SPTarkov\AKI 3.7.5\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:102:10)
at StaticRouterMod.handleStatic (C:\snapshot\project\src\di\Router.ts:50:63)
at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:79:62)
at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)
at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:150:38)
at IncomingMessage.<anonymous> (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:75:43)
at IncomingMessage.emit (node:events:513:28)
at endReadableNT (node:internal/streams/readable:1359:12)
TypeError: Cannot read properties of undefined (reading 'nickname')
TypeError: Cannot read properties of undefined (reading 'nickname')
at Function.FindAvailableTrader (D:\SPTarkov\AKI 3.7.5\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:258:70)
at PAutoSell.exchangeItems (D:\SPTarkov\AKI 3.7.5\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:193:27)
at Object.action (D:\SPTarkov\AKI 3.7.5\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:102:10)
at StaticRouterMod.handleStatic (C:\snapshot\project\src\di\Router.ts:50:63)
at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:79:62)
at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)
at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:150:38)
at IncomingMessage.<anonymous> (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:75:43)
at IncomingMessage.emit (node:events:513:28)
at endReadableNT (node:internal/streams/readable:1359:12)
North
mods i am using https://ibb.co/WFrmmTn
mod list order https://ibb.co/89t1kzr
cases i am using https://ibb.co/xgZ60mj
what i just noticed is that if i sell something to a trader it wont give me the money
Trying to find out what mod is doing that
UPDATE: Made a new profile same mods now when i sell i get money but if i do the auto sell case it sells but it does not give the money
so this is what went down but no money in T H I C C item case
PAutoSell: Finding Trader for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Trader Mechanic Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Trader Prapor Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Trader Peacekeeper Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Skier
PAutoSell: Trader Skier Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Final Trader Found for Item: Mechanic
PAutoSell: Trader Price for child item(s): TT 7.62x25 tt-105 8-round magazine is 1388
PAutoSell: Finding Trader for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Trader Mechanic Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Trader Prapor Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Trader Peacekeeper Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Skier
PAutoSell: Trader Skier Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Final Trader Found for Item: Peacekeeper
PAutoSell: Trader Price for child item(s): TT 7.62x25 tt-105 8-round magazine is 1388
PAutoSell: Finding Trader for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Trader Mechanic Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Trader Prapor Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Trader Peacekeeper Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Checking item against Trader: Skier
PAutoSell: Trader Skier Found for Item: TT 7.62x25 tt-105 8-round magazine
PAutoSell: Final Trader Found for Item: Skier
PAutoSell: Trader Price for child item(s): TT 7.62x25 tt-105 8-round magazine is 1388
PAutoSell: Finding Trader for Item: Can of beef stew (Large)
PAutoSell: Checking item against Trader: Mechanic
PAutoSell: Checking item against Trader: Ragman
PAutoSell: Checking item against Trader: Jaeger
PAutoSell: Trader Jaeger Found for Item: Can of beef stew (Large)
PAutoSell: Checking item against Trader: Prapor
PAutoSell: Checking item against Trader: Therapist
PAutoSell: Trader Therapist Found for Item: Can of beef stew (Large)
PAutoSell: Checking item against Trader: caretaker
PAutoSell: Checking item against Trader: Peacekeeper
PAutoSell: Checking item against Trader: Skier
PAutoSell: Final Trader Found for Item: Therapist
PAutoSell: Using Ragfair Price for child item since NaN: Can of beef stew (Large) is 33953
PAutoSell: Trader Mechanic has 1388 to process
PAutoSell: Trader Ragman has 0 to process
PAutoSell: Trader Jaeger has 0 to process
PAutoSell: Trader Prapor has 0 to process
PAutoSell: Trader Therapist has 33953 to process
PAutoSell: Trader caretaker has 0 to process
PAutoSell: Trader Peacekeeper has 1388 to process
PAutoSell: Trader Skier has 1388 to process
PAutoSell: Adding Item to Player Inventory: Roubles with money count of 38117
PAutoSell: Adding Item to Player Inventory: Roubles with money count of 38117 and itemid of 25c10e4977d2c59d44d94fe6
Props Author
i don't think that itemid 25c10e4977d2c59d44d94fe6s is valid which is why no money is displaying. It should be the item of roubles. hmm
North
yeah I don’t know why it does that every time I try it it says a different itemid
If you need more info from me let me know how to get it for you and I will
Or if you want me to try something
Battomori
Thank you this wonderful mod.
However, with the recent update the items you put in the named container with the specified currency does not work properly currently. I have Rub. selected as my currency in the file as well as the name of my container. The first thing I noticed was when items sold after a raid it gave me USD instead of Rub. About 2 raids later it stopped working entirely. Items would disappear in named container, but no currency would be present. I tracked my currency after another raid or 2 of gathering items and dumping them into the container. But again the items disappear without being replaced with the desired currency.
Caffeinated
Thank you for your work and the mod.
I am having an issue where the items are sold from the container; however, the money is not present in the container after the selling of the items like I'm used to.
In the spoiler you'll find all the things I thought relevant to find a solution to this problem.
If any other information is needed please let me know, thanks in advance.
Caffeinated
I've got a friend of mine who is experiencing the same thing. I can get his logs, mods, etc if that would be of any use as well.
S_gamez
Had This crash. but could be related to me having 0 Value money stacks that spawned after every raid. Then i put items in and the error happened. and yea i do have the broker still not trying to sell to him on purpose.
https://cdn.discordapp.com/att…575206318325910/image.png
Also look like the same error person below got. Tho this is my first of ~50 raids with no issue having the broker trader. Have only modified the config so if the config allowed specifying trader there then yea that could be why but if u made that not a thing i haven't done any code modifying compared to the other person reporting.
codeyanko
Allot of times I get black screen after raid end with the following errors. I think it might be trying to sell to one of the extra traders I have. And then it gets confused for some reason. I will try to make it sell items only to the broker trader. Not sure how exactly to do it but will try
edit 1
ok I figured it out. It freezes only when there is ammo packs in the container. And I suspect it didn't like the ammo in mags too.
edit 2
ehh it doesnt add money though. It says it does in the console, but the money are not there on raid end...
TypeError: Cannot read properties of undefined (reading 'nickname')
TypeError: Cannot read properties of undefined (reading 'nickname')
at Function.FindAvailableTrader (C:\Users\PC_Big\Desktop\SPT\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:258:70)
at PAutoSell.exchangeItems (C:\Users\PC_Big\Desktop\SPT\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:193:27)
at Object.action (C:\Users\PC_Big\Desktop\SPT\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:102:10)
at StaticRouterMod.handleStatic (C:\snapshot\project\src\di\Router.ts:50:63)
at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:79:62)
at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)
at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:150:38)
at IncomingMessage.<anonymous> (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:75:43)
at IncomingMessage.emit (node:events:513:28)
at endReadableNT (node:internal/streams/readable:1359:12)
TypeError: Cannot read properties of undefined (reading 'nickname')
TypeError: Cannot read properties of undefined (reading 'nickname')
at Function.FindAvailableTrader (C:\Users\PC_Big\Desktop\SPT\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:258:70)
at PAutoSell.exchangeItems (C:\Users\PC_Big\Desktop\SPT\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:193:27)
at Object.action (C:\Users\PC_Big\Desktop\SPT\user\mods\props-propsautomatedselling-1.4.0\src\PAutoSell.ts:102:10)
at StaticRouterMod.handleStatic (C:\snapshot\project\src\di\Router.ts:50:63)
at HttpRouter.handleRoute (C:\snapshot\project\src\routers\HttpRouter.ts:79:62)
at HttpRouter.getResponse (C:\snapshot\project\src\routers\HttpRouter.ts:44:30)
at AkiHttpListener.getResponse (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:150:38)
at IncomingMessage.<anonymous> (C:\snapshot\project\src\servers\http\AkiHttpListener.ts:75:43)
at IncomingMessage.emit (node:events:513:28)
at endReadableNT (node:internal/streams/readable:1359:12)
Props Author
You can't make it sell to broker trader, it will only sell to the default traders.
It won't add money if there is an error like this.
codeyanko
After I removed the ammo, there were no errors. In the console it said it was putting money in the container or smth like that. But when I checked the container was empty. I saw someone bellow having the same issue too.
There are probably 2 bugs here. One with ammo boxes (or also ammo in mags). And the other one is money not being spawned in the container.
Will check more when I have time.
Props Author
Was this custom or modded ammo by chance?
codeyanko
Most probably un-moded ammo. The only modded one I have is the one for the shoot locked doors. Sry that I cant give more info on this. The game kept crashing on raid ends so I uninstalled the mod.
kami0099
Just installed the yesterday update, the items does get selled "i hope so?" but idk where does the money goes, it doesnt appears in my stash anywhere, the is no error on console logs, where did I do wrong?
Props Author
it goes into the container you tagged and sold from
kami0099
it doesnt thou? The container after I return to raid is allways empty.
kami0099
Maybe conflicting with softcore from svm mod? I will try it out...
Edit: Nope, it still doesnt work, it doesnt sells the money (if i put it in manually) but the money of the sells isnt inside the case after the raid
Props Author
Do you have any other mods that run at raid end or like something that saves your inventory from losing gear?
you may need to load this before the other mod in load order.
kami0099
It doesnt works too, loaded in the load order first.
Valens
On line 271 of PAutoSell.TS in Props-AutomatedSelling/src change the following.
traderHelper.lvlUp(mytrader._id, sessionId);
to
traderHelper.lvlUp(mytrader._id, pmcData);
to fix for 3.7.1 until Props can get the PR I've committed merged and a new version released.
playwars
Alright, managed to fix the mod, for anyone interested :
Go into the mod's folder, then src. Open PAutoSell with notepad or your editor of choice. Go to line 271 and delete traderHelper.lvlUp(mytrader._id, sessionId); it should fix the crash issue and everything seems to work fine afterwards. I recommend doing so before installing the mod, as once the game is launched a javascript file is created and I assume the same operation would have to be done to it as well.
Most likely deleting this line does something detrimental to the system (my guess being deleting it would prevent traders from leveling up if you had crossed a threshold thanks to selling enough gear to someone), but the primary function of the mod, the autosell, appears to function absolutely fine otherwise. Also the mod seems to attribute all sales to prapor, even if it uses the flea prices, so you'll probably never need to buy or sell stuff to him again to level him up.
Enjoy !
S_gamez
Was coming to ask if there will be published an update? still this fix can be an option.
playwars
Tested it, the mod does not work and crashes your game at raid end. None of the items are sold either upon restart. Tested on 3.7.0, but I doubt it will work any better on 3.7.1.
playwars
Anyone knows if this still works in 3.7 ?
Helldiver
If you ever update this can you make it compatible with Inventory Organizing Features
Doesn't appear to work with this.
Giannis123
I need Help.I want to make a Item Case my Autoseller.What can i do?
Props Author
add a label to your item case then add that label to the automated selling config.
Giannis123
{
"PriceMultiplier": 1.0,
"Containers": {
"Info": "Name these labels to what your tagged containers in-game are. label 1 uses currency 1 below.. etc",
"Labels": [
"AutoSeller"
],
"Info1": "Use only euros, roubles, dollars (exact letters) in the order you want the labeled containers to return money.. eg. dollarStuff container returns items in dollars.",
"Currency": [
"roubles"
],
"Info2": "Only enter a trader id if you want to use that trader to sell... otherwise it will use ragfair.",
"Info3": "valid values are the nicknames all in lowercase- prapor, peacekeeper, lighthousekeeper, mechanic, ragman",
"Trader": [
"prapor",
"therapist",
"peacekeeper"
]
},
"Info2": "True if you don't want regular container restrictions",
"RemoveContainerRestriction": true,
"IgnoreFollowingItemTPLInContainers": [
"5449016a4bdc2d6f028b456f",
"5696686a4bdc2da3298b456a",
"569668774bdc2da2298b4568"
]
}
I Tagged the item case AutoSeller and changed that config .Is that right?
Giannis123
Also check the corrency .I am a noob .I dont really know what im doing
Props Author
so you can only have it sell to one trader per container. so it will only sell to prapor.
you will need to add another label (and another label in-game) and another line for currency and that would sell to therapist.
Murders_Inc828
Does this work with SPT.3.6.1?
Props Author
It probably still does. I will update it officially sometime..
S_gamez
Compatibility with Broker? To make it Better for Ease of use.
S_gamez
Other question: how to tag inventory depending on the setups like if u want a trader Would it be "prapor" & "case roubles" or only one of them? Would order of them also have some to say on it
Props Author
No compatibility yet with broker.
Order matters and you would need both the trader name and the label name of the case.
if you put prapor first and then the case label 2nd in the list .. how would i know you wanted to use that case?
S_gamez
So it then would be tagged "case roubles prapor"?
Props Author
no, you tag the case whatever name you want.
Just make sure the config file with the names of the container has your tag in it.
Its position in that list should match with the list of traders in the config positioning.
Look in this example below. the label is case roubles (1st position in its list) so thats what you tag in game on y our container. The currency in the 1st position is roubles so your money will be given in roubles. The trader in the first position is prapor so the case roubles will sell to prapor.
Ignore BrokerTraderSupport since i didn't get it to work yet.
SaltyFries
If i put a rig in the container and the rig has items in it will i also get the money of those items
Props Author
Yes
RiZZa4uSkO
Hi, i have idea ) Can you make a version of your mod with instant selling ? I mean dont need to wait raid end, just drop something in container and it selling instantly ) Its not realistic, but funn ) Or, developing this idea, you can add in game some containers with instant selling, 1x1, 1x2, 1x3... size, every next cost more money and maby need some trader level.
S_gamez
This would be so Awesome to have along with Immersive raids since that mod makes raid INF length and be able to sell in raid would made it just Awesome QOL.
Breadnaught
Apologies for spamming up your page, but I'd like you to take a look at this new mod and see if we can incorporate it into yours The Broker - New Trader
Props Author
Next version i can add support for your broker as an option if thats what you are asking so he can be picked to be automatically sold to.