DayZ
Trader Bulk Sell Extension
94 条留言
☆ DeadShot87 ☆ 2024 年 4 月 24 日 上午 9:09 
TraderPlus no ?
SuperSa1yan0 2023 年 10 月 25 日 上午 6:57 
Can we make it so can sell worm , damage etc ?
VikingWarrior 2023 年 3 月 23 日 下午 1:14 
does this mod still work
madwest69 2021 年 12 月 7 日 上午 8:58 
hello my friends I ask for permission to repack in my mod pack server, with full credit and link to your mod thank you for your work
Bear 2021 年 11 月 4 日 下午 11:17 
Hi, after yesterdays game update and expansion updates, this no longer works on my server. hope there is a fix. server just does not start when mod is activated
⭑⭑⭑★✪Wulv✪★⭑⭑⭑ 2021 年 10 月 18 日 下午 4:33 
all works great for me just 1 problem is there anyway to make it so the person adding items is the only person that can sell the items incase anyone trolls and steels ?
Wilma Fingerdoo 2021 年 7 月 15 日 上午 11:38 
from what i can see this mod is no longer compatible with trader fixes and features since 1.13 update from what i can see anyway i couldn't start the server with both installed but remove one and it would launch :( anyone else having this?
Seems odd as nothing changed on either mod for the update but i guess thats just dayz update day always causes issues for modding community XD
Mr. Groove 2021 年 4 月 30 日 上午 3:06 
@bear-Jew, that's right ;-)
BiPolarBear 2021 年 4 月 20 日 上午 4:14 
Love this mod! I see that Mr. Groove was paying DayZ on Arma :)
Mr. Groove 2021 年 4 月 20 日 上午 2:23 
I suggest that u create a whole saler instead of using a barrel. Just create a trader where u can sell your vehicle with it's inventory with one click of a mouse button.
Jelly 2021 年 2 月 5 日 下午 3:24 
Dayz @Trader Bulk Sell Extension Mod Installation Using FTP
https://youtu.be/hoLhgKaXdZU
C7kizer 2021 年 1 月 30 日 上午 11:38 
thanks for that help! great mod
Katami  [作者] 2021 年 1 月 28 日 上午 6:50 
Load order is fine.
Are you sure they can be sold at a nearby trader (have a sell value)?
Are there any error messages in the logs?
If you want you can send me your trader config files and I can take a look? (add me on Discord Katami#9882 and send them there, or upload them somewhere and send me the link through Steam, whatever suits you)
C7kizer 2021 年 1 月 27 日 下午 4:15 
Some items wont sell (ak-74 mags, universal lights) is there a certain load order we should have this loaded? mines loaded like this @Trader;@TraderFixesAndFeatures;@TraderBulkSellExtension
SILENTHERO 2021 年 1 月 17 日 上午 11:02 
that way you can place and it wont replicate
SILENTHERO 2021 年 1 月 17 日 上午 11:01 
<type name="Kat_Static_SellBarrel">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
</type>
Uwilldie 2020 年 12 月 28 日 上午 11:52 
I remove expansion. its the bull... so i dont have barrel inside my VPPA for build inside my trader. is this normal?
Uwilldie 2020 年 12 月 27 日 上午 4:23 
ok thx. now i remove @#$%?&* Expansion and i dont see inside VPPAdmin for place inside trader zone.
Uncle Fester 2020 年 12 月 25 日 下午 9:42 
Firstly, thanks! Been using this on our server for a while. A questions though, should it also be loaded server side?
Wilma Fingerdoo 2020 年 12 月 25 日 下午 5:44 
Add it to the trader objects file in the trader folder rather than anywhere else or adding it with any other way and it shouldnt duplicate and i dont think you even really need it in the types file if you do it that way ( i dont have it in my types and it works fine and stays there)
Uwilldie 2020 年 12 月 25 日 上午 10:26 
yes

//Trader Bulk Sell Extension
<type name="Kat_Static_SellBarrel">
<nominal>0</nominal>
<lifetime>3888000</lifetime>
<restock>0</restock>
<min>0</min>
<quantmin>-1</quantmin>
<quantmax>-1</quantmax>
<cost>100</cost>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>

and inside my .map (i use COT)

Kat_Static_SellBarrel|6680.24 151.031 6078.03|0.00 0.00 0.00
Katami  [作者] 2020 年 12 月 25 日 上午 8:33 
Did you set the lifetime AND add it to the init script/trader config? Only do one of these.
Uwilldie 2020 年 12 月 25 日 上午 4:05 
Hi, the barrel duplicates after each restart. A fix please?
Wilma Fingerdoo 2020 年 12 月 23 日 上午 3:16 
if you use vpp to place it then use the tools that has to edit rotation (if you want) or use community online tools to edit rotation, then with vvp enabled look at the barrel press p it will copy the co-ords to clipboard Except rotation but just take that value and add it manually. Then add them and the class name of the barrel to the trader objects config, other way would be to add the barrel to the types with a very long lifetime but it would eventually go where as the trader config would stay forever, but yer you could add them to the init aswell i guess does the same as the trader object thing i think essentially
Katami  [作者] 2020 年 12 月 23 日 上午 1:49 
AFAIK people just add them to the server init script. That way they are respawned on every start.
RabidJim 2020 年 12 月 22 日 下午 10:05 
@Katami
I use VPP to spawn the barrel and then they despawn....
Do I need to add them to the trader items config?
Will 2020 年 12 月 10 日 上午 11:19 
Katami, you are great!!! Really thanks!!!
Wilma Fingerdoo 2020 年 12 月 10 日 上午 11:11 
Thankyou Katami appreciate it
Katami  [作者] 2020 年 12 月 10 日 上午 10:54 
Updated: Barrel can no longer be turned into a fire barrel
Will 2020 年 12 月 10 日 上午 9:16 
Hello Katami! You did a great job !!! Thank you very much for creating this mod that helps a lot with something so "simple", but that nobody tried to do before to simplify the lives of the players!! I would just like to point out that as Wilma Fingerdoo said, unfortunately it is being possible to convert the barrel into a barrel of fire using a knife, which can significantly damage the experience. Would you like to fix this, please?
MarvinFS 2020 年 12 月 6 日 下午 9:51 
:)))) Hahaha, my players didn't go so far! that action probably should have been removed...
Wilma Fingerdoo 2020 年 12 月 6 日 下午 5:48 
is it possible to make it so it cant be turned into a firebarrel XD i could see that getting annoying if people keep turning them into firebarrels
Katami  [作者] 2020 年 11 月 25 日 上午 6:58 
All known issues are now resolved.

Still planning on adding some quality of life features (notifications, inventory cleanup, maybe a GUI) but nothing definitive yet.
Katami  [作者] 2020 年 11 月 25 日 上午 6:58 
Could not have done it without you :)
MarvinFS 2020 年 11 月 25 日 上午 6:48 
I want to pay huge respect to Katami for his kind support and taking efforts to eliminate bugs! Thank you Sir!
MarvinFS 2020 年 11 月 24 日 下午 12:06 
If you want - you may test on my test instance, so it wouldn't bother the whole mod owners... just contact me if required - my discord below
MarvinFS 2020 年 11 月 24 日 上午 11:23 
Sadly same... tried 2 traders
SCRIPT : [Kat_BulkSell] ERROR >> GetTradersInRange: missing m_Trader_TraderIDs
SCRIPT : [Kat_BulkSell] ERROR >> GetItemSellValue: missing m_Trader_ItemsTraderId
SCRIPT : [Kat_BulkSell] ERROR >> GetItemSellValue: missing m_Trader_ItemsTraderId
SCRIPT : [Kat_BulkSell] ERROR >> GetItemSellValue: missing m_Trader_ItemsTraderId
SCRIPT : [Kat_BulkSell] ERROR >> GetItemSellValue: missing m_Trader_ItemsTraderId
SCRIPT : [Kat_BulkSell] ERROR >> GetItemSellValue: missing m_Trader_ItemsTraderId

and yes there are multiple same items within traders some times
Katami  [作者] 2020 年 11 月 24 日 上午 10:31 
now properly supports multiple traders with the same items.

regarding the missing trader data objects: they are added to the player object and then a flag is set that should indicate that all the data exists. I was previously only checking for the existance of the flag, but also check each individual data object.
Still not sure when those are not available. might be if the action is executed too early when the player has just joined the server, but then the flag should not be set either... hm.
MarvinFS 2020 年 11 月 24 日 上午 1:11 
Hmm one more observation, on my Altar trader I can sell small stuff like steak knife and on GM I can't sell it... traders are more or less the same on all trade camps...
MarvinFS 2020 年 11 月 24 日 上午 1:06 
What if the class is missing from all traders?
Here are more logs selling rags again

SCRIPT : [action] SurvivorM_Peter:038 end ActionOpenBarrel<df901e70> item=null
SCRIPT : [action] SurvivorM_Peter:038 started ActionBulkSell<df9077b0> item=null
SCRIPT : OnStartAnimationLoop
SCRIPT : [Kat_BulkSell] ERROR >> GetTradersInRange: missing m_Trader_TraderIDs
SCRIPT : [Kat_BulkSell] ERROR >> GetItemSellValue: missing m_Trader_ItemsTraderId
SCRIPT : string s = 'ActionBase.c | ActionBaseCB | OnFinish called : false'
SCRIPT : [action] SurvivorM_Peter:038 end ActionBulkSell<df9077b0> item=null
Katami  [作者] 2020 年 11 月 23 日 下午 2:50 
thanks for the logs. added more extensive error checking. it seems that in some cases the trader data is not complete on the player object. should now print logs instead of throwing errors.

internally items always have a sell value if they are set in the trader. it's a (magic) negative number though and is ignored.
MarvinFS 2020 年 11 月 23 日 下午 1:19 
Also some items from trader may have only sell value OR only purchase value OR both... that should make sense with trader selecting logic
MarvinFS 2020 年 11 月 23 日 下午 1:18 
But it worked for steak knife which was pristine just fine!
MarvinFS 2020 年 11 月 23 日 下午 1:16 
But missing traderID still not showing in logs - null pointer message is the same
MarvinFS 2020 年 11 月 23 日 下午 1:12 
Ok it seems that it stuck when item is missing from trader - that's after update

SCRIPT (E): NULL pointer to instance
Function: 'GetTradersInRange'
Stack trace:
Kat_BulkSell/World/actionbulksell.c:139
Kat_BulkSell/World/actionbulksell.c:76

SCRIPT : [Kat_BulkSell] ERROR >> Item missing in trader data: Rag
SCRIPT (E): NULL pointer to instance
Function: 'GetItemSellValue'
Stack trace:
Kat_BulkSell/World/actionbulksell.c:169
Kat_BulkSell/World/actionbulksell.c:109

MarvinFS 2020 年 11 月 23 日 下午 1:00 
Man don't worry - totally understand your frustration! Will now test traderid and share logs after that update. If you prefer discord please ping me MarvinFS#6579
Katami  [作者] 2020 年 11 月 23 日 上午 11:51 
I already spent too much time today looking at it... <.< I don't have a DayZ server, the only thing I can do quickly is to run in locally (and it works fine there).
Might be an undocumented change in DayZ 1.10 (can't see anything relevant in the changelog, probably would have to go through the code itself to see if something changed.), or perhaps a change in the Trader mod (it was updated for 1.10, but the variables in question still exist with the same names).
I see one possible problem if there is more Traders than Traderpositions (don't ask me how that is possible, but.. eh I'll write a fix for that and update in a bit.)
MarvinFS 2020 年 11 月 23 日 上午 11:02 
Is it possible to do something to troubleshoot it? And I totally understand you about Bohemia! :)
Katami  [作者] 2020 年 11 月 23 日 上午 10:18 
Go thank Bohemia for undescriptive error messages and an undocumented scripting language.
MarvinFS 2020 年 11 月 22 日 下午 12:41 
Hmm Katami doesn't work for me (chernorus map no expansion) It spams null pointer to logs when you try to sell contents... and doesn't sell anything. placed the barrel right in the center of GM trader...

DAYZ, 23.11 2020 01:38:39
NULL pointer to instance
Function: 'GetTradersInRange'
Stack trace:
Kat_BulkSell/World/actionbulksell.c:138
Kat_BulkSell/World/actionbulksell.c:75
scripts/4_World/classes\useractionscomponent\actions\actioncontinuousbase.c:203
scripts/4_World/classes\useractionscomponent\actioncomponents\cacontinuousbase.c:12
scripts/4_World/classes\useractionscomponent\actioncomponents\cacontinuoustime.c:53
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:60
scripts/4_World/classes\useractionscomponent\animatedactionbase.c:345
scripts/4_World/classes\useractionscomponent\actions\actioncontinuousbase.c:28