Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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
https://youtu.be/hoLhgKaXdZU
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)
<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>
//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
I use VPP to spawn the barrel and then they despawn....
Do I need to add them to the trader items config?
Still planning on adding some quality of life features (notifications, inventory cleanup, maybe a GUI) but nothing definitive yet.
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
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.
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
internally items always have a sell value if they are set in the trader. it's a (magic) negative number though and is ignored.
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
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.)
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