安装 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(越南语)
Українська(乌克兰语)
报告翻译问题








When approaching a settlement for trade, the UI that pops up has no items available for trade and the error log appears.
First error message that pops up is below, followed by 6 further errors. Those seem to be a cascade of problems caused by the first error of a missing reference, and then one repeating infinitely for Exception filling window for RimWorld.Dialog_Trade: System.NullReferenceException: Object reference not set to an instance of an object
I have to assume that Vanilla Furniture Expanded is conflicting in some way. An Item that doesn't have the right amount of mass, perhaps.
Error 1:
Exception filling window for Verse.FloatMenuWorld: System.NullReferenceException: Object reference not set to an instance of an object
at VanillaFurnitureExpanded.CompGlowerExtended.TransformLabel (System.String label) [0x00001] in <14556d56915b4db8996971a7b105f71e>:0
at Verse.ThingWithComps.get_LabelNoCount () [0x0002b] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.Tradeable.get_Label () [0x00006] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.Dialog_Trade.<CacheTradeables>b__63_2 (RimWorld.Tradeable tr) [0x00000] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at System.Linq.Utilities+<>c__DisplayClass1_0`1[TSource].<CombinePredicates>b__0 (TSource x) [0x0000e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].ToArray () [0x00023] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Buffer`1[TElement]..ctor (System.Collections.Generic.IEnumerable`1[T] source) [0x0000a] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1[TElement].ToList () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimWorld.Dialog_Trade.CacheTradeables () [0x00186] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at (wrapper dynamic-method) RimWorld.Dialog_Trade.RimWorld.Dialog_Trade.PostOpen_Patch1(RimWorld.Dialog_Trade)
at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.Planet.CaravanArrivalAction_Trade.Arrived (RimWorld.Planet.Caravan caravan) [0x0003a] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at RimWorld.Planet.CaravanArrivalActionUtility+<>c__DisplayClass0_0`1[T].<GetFloatMenuOptions>b__2 () [0x00041] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.FloatMenuOption.Chosen (System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x00030] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.FloatMenuOption.DoGUI (UnityEngine.Rect rect, System.Boolean colonistOrdering, Verse.FloatMenu floatMenu) [0x003b1] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.FloatMenu.DoWindowContents (UnityEngine.Rect rect) [0x000fb] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.FloatMenuWorld.DoWindowContents (UnityEngine.Rect inRect) [0x0009b] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
at TradeUI.Harmony_DialogTrade_FillMainRect.Prefix (UnityEngine.Rect& mainRect, System.Collections.Generic.List`1[RimWorld.Tradeable]& ___cachedTradeables, RimWorld.Dialog_Trade& __instance) [0x0024a] in <7396b39abe5942dda480c006c4eaa472>:0
at (wrapper dynamic-method) RimWorld.Dialog_Trade.RimWorld.Dialog_Trade.FillMainRect_Patch1(RimWorld.Dialog_Trade,UnityEngine.Rect)
at TradeUI.Harmony_DialogTrade_DoWindowContents.Prefix (UnityEngine.Rect& inRect, RimWorld.Dialog_Trade& __instance) [0x0014b] in <7396b39abe5942dda480c006c4eaa472>:0
at (wrapper dynamic-method) RimWorld.Dialog_Trade.RimWorld.Dialog_Trade.DoWindowContents_Patch1(RimWorld.Dialog_Trade,UnityEngine.Rect)
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Any relevant other mods that are affecting the trade UI window?
Are you using the steam version or GitHub version?
Do you get this same problem in a game with just Harmony + TradeUI and no other mods installed?
Sorry if the data wasn't useful. I figured you might've been able to make something out of it as I can't decipher that stuff. If you want, I'll delete the original post as well as this one. If I haven't said already; thank you for the mod in the first place.
I will add some better error handling to the mod. If a problem happens in the future, there will be more useful information in the log that we can determine what broke.
2) It *should* show up
3) The faction is one of the Cowboy ones from the Vanilla Expanded series, but surely that doesn't hinder anything?
Log: https://gist.github.com/HugsLibRecordKeeper/30a0fceb54aa63095791a94489e88079
EDIT:
Using AutoSeller I was able to use 'Bargain' on the trader, which traded our goods according to the rules I've set up.
EDIT 2:
Found this on one of the muffalo belonging to the trade caravan; https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2704651394
Appears to be a blank item? Nothing shows up when I click the info icon...
If you still encounter the problem, I will return to try to fix this bug but it really needs to be handled by the VFE team.
- change symbols of < > I found those buttons confusing and cant remember what is < and what is >. Give option to change it to Sell and Buy or mark it plus and minus with + and - $, or something like that, make it green if plus red if minus (sell, buy).
- mark the own and sellers amount of money making it better viewable
Not all items are blocked off, usually people are buyable, but cotton/wood/cloth are some example.
I've tried changing relations in debug, didn't affect it
``Exception filling window for RimWorld.Dialog_Trade: System.MissingMethodException: bool Verse.Widgets.ButtonText``
Mod worked fine yesterday for the 1.3 version and after the deploy it stopped working.