安装 Steam						
					
				
				
									登录
											 | 
						语言
						
																																															繁體中文(繁体中文)
																													日本語(日语)
																													한국어(韩语)
																													ไทย(泰语)
																													български(保加利亚语)
																													Čeština(捷克语)
																													Dansk(丹麦语)
																													Deutsch(德语)
																													English(英语)
																													Español-España(西班牙语 - 西班牙)
																													Español - Latinoamérica(西班牙语 - 拉丁美洲)
																													Ελληνικά(希腊语)
																													Français(法语)
																													Italiano(意大利语)
																													Bahasa Indonesia(印度尼西亚语)
																													Magyar(匈牙利语)
																													Nederlands(荷兰语)
																													Norsk(挪威语)
																													Polski(波兰语)
																													Português(葡萄牙语 - 葡萄牙)
																													Português-Brasil(葡萄牙语 - 巴西)
																													Română(罗马尼亚语)
																													Русский(俄语)
																													Suomi(芬兰语)
																													Svenska(瑞典语)
																													Türkçe(土耳其语)
																													Tiếng Việt(越南语)
																													Українська(乌克兰语)
																									报告翻译问题
							
						
 
											 
													







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