安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
Nothing happenes when i press the prepare carefully button
I got the following error when using Prepare Carefully with Facial Stuff (with Prepare Carefully being above Facial Stuff)
Exception while init loading file: C:/Users/------/AppData/LocalLow/Ludeon Studios/RimWorld by Ludeon Studios\PrepareCarefully\(save file).pcp
System.Xml.XmlException: 'li' is expected Line 293, position 13.
at Mono.Xml2.XmlTextReader.Expect (System.String expected) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadEndTag () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0
at Verse.ScribeLoader.InitLoading (System.String filePath) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.ScribeLoader:InitLoading(String)
EdB.PrepareCarefully.PresetLoader:LoadFromFile(PrepareCarefully, String)
EdB.PrepareCarefully.Controller:LoadPreset(String)
EdB.PrepareCarefully.Page_PrepareCarefully:<DrawPresetButtons>b__27_0(String)
EdB.PrepareCarefully.Dialog_LoadPreset:DoMapEntryInteraction(String)
EdB.PrepareCarefully.Dialog_Preset:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Failed to load preset file
Verse.Log:Error(String)
EdB.PrepareCarefully.PresetLoader:LoadFromFile(PrepareCarefully, String)
EdB.PrepareCarefully.Controller:LoadPreset(String)
EdB.PrepareCarefully.Page_PrepareCarefully:<DrawPresetButtons>b__27_0(String)
EdB.PrepareCarefully.Dialog_LoadPreset:DoMapEntryInteraction(String)
EdB.PrepareCarefully.Dialog_Preset:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Exception filling window for EdB.PrepareCarefully.Dialog_LoadPreset: System.Xml.XmlException: 'li' is expected Line 293, position 13.
at Mono.Xml2.XmlTextReader.Expect (System.String expected) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadEndTag () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0
at Verse.ScribeLoader.InitLoading (System.String filePath) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object
at EdB.PrepareCarefully.EquipmentSelection.get_Key () <0x00014>
at EdB.PrepareCarefully.CostCalculator.CalculateEquipmentCost (EdB.PrepareCarefully.EquipmentSelection) <0x0002f>
at EdB.PrepareCarefully.CostCalculator.Calculate (EdB.PrepareCarefully.CostDetails,System.Collections.Generic.List`1<EdB.PrepareCarefully.CustomPawn>,System.Collections.Generic.List`1<EdB.PrepareCarefully.EquipmentSelection>,System.Collections.Generic.List`1<EdB.PrepareCarefully.SelectedAnimal>) <0x0011f>
at EdB.PrepareCarefully.PrepareCarefully.get_Cost () <0x0005f>
at EdB.PrepareCarefully.PrepareCarefully.Initialize () <0x0005c>
at EdB.PrepareCarefully.HarmonyPatches.DoWindowContentsPostfix (UnityEngine.Rect,RimWorld.Page_ConfigureStartingPawns) <0x00171>
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1 (object,UnityEngine.Rect) <0x0052b>
at Verse.Window/<WindowOnGUI>c__AnonStorey0.<>m__0 (int) <0x00735>
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
How did you fix it? Have same problem
Exception filling window for EdB.PrepareCarefully.Dialog_Confirm: System.Reflection.TargetException: Non-static field requires a target
at System.Reflection.MonoField.GetValue (System.Object obj) [0x00000] in <filename unknown>:0
at EdB.PrepareCarefully.Controller.ReplaceScenarioParts (RimWorld.Scenario actualScenario, RimWorld.Scenario vanillaFriendlyScenario) [0x00000] in <filename unknown>:0
at EdB.PrepareCarefully.Controller.PrepareGame () [0x00000] in <filename unknown>:0
at EdB.PrepareCarefully.Controller.StartGame () [0x00000] in <filename unknown>:0
at EdB.PrepareCarefully.Page_PrepareCarefully.<ShowStartConfirmation>b__26_0 () [0x00000] in <filename unknown>:0
at EdB.PrepareCarefully.Dialog_Confirm.DoWindowContents (Rect inRect) [0x00000] in <filename unknown>:0
at Verse.Window+<WindowOnGUI>c__AnonStorey0.<>m__0 (Int32 x) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
What is causing this and what could be a fix?
Here the log hopefully.
Exception filling window for RimWorld.Page_ConfigureStartingPawns: System.NullReferenceException: Object reference not set to an instance of an object
at EdB.PrepareCarefully.UtilityCopy.CopyExposableViaReflection (string,object,object,object[]) <0x0006a>
at EdB.PrepareCarefully.ExtensionsPawn.CopyModdedProperties (Verse.Pawn,Verse.Pawn) <0x00060>
at EdB.PrepareCarefully.ExtensionsPawn.Copy (Verse.Pawn) <0x0026d>
at EdB.PrepareCarefully.PrepareCarefully.InitializePawns () <0x00083>
at EdB.PrepareCarefully.PrepareCarefully.Initialize () <0x00034>
at EdB.PrepareCarefully.HarmonyPatches.DoWindowContentsPostfix (UnityEngine.Rect,RimWorld.Page_ConfigureStartingPawns) <0x00171>
at (wrapper dynamic-method) RimWorld.Page_ConfigureStartingPawns.DoWindowContents_Patch1 (object,UnityEngine.Rect) <0x0052b>
at Verse.Window/<WindowOnGUI>c__AnonStorey0.<>m__0 (int) <0x00735>
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
Pretty sure this needs HugsLib. Try with that, because it works for me. Load order is Base game->HugsLib->EDB Prepare Carefully.
Let me know what you think.
Regardless, not a significant problem by any means, and I really appreciate the work you've put into this mod. Just thought I'd bring this to attention.