Instalar Steam						
					
				
				
									iniciar sesión
											 | 
						idioma
						
																																					简体中文 (chino simplificado)
																													繁體中文 (chino tradicional)
																													日本語 (japonés)
																													한국어 (coreano)
																													ไทย (tailandés)
																													Български (búlgaro)
																													Čeština (checo)
																													Dansk (danés)
																													Deutsch (alemán)
																													English (inglés)
																																							Español de Hispanoamérica
																													Ελληνικά (griego)
																													Français (francés)
																													Italiano
																													Bahasa Indonesia (indonesio)
																													Magyar (húngaro)
																													Nederlands (holandés)
																													Norsk (noruego)
																													Polski (polaco)
																													Português (Portugués de Portugal)
																													Português-Brasil (portugués de Brasil)
																													Română (rumano)
																													Русский (ruso)
																													Suomi (finés)
																													Svenska (sueco)
																													Türkçe (turco)
																													Tiếng Việt (vietnamita)
																													Українська (ucraniano)
																									Comunicar un error de traducción
							
						
 
											 
													

 0
 0								 Este tema se ha marcado como fijo, por lo que probablemente sea importante
  Este tema se ha marcado como fijo, por lo que probablemente sea importante	 
					




 Denunciar este mensaje
 Denunciar este mensaje


https://gist.github.com/HugsLibRecordKeeper/c5e8c867cfee8298a5aa90f91157e275
mod只加了鼠族相关
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.DirectXmlCrossRefLoader:TryResolveDef<Verse.ResearchProjectDef> (string,Verse.FailMode,object)
Verse.DirectXmlCrossRefLoader/WantedRefForList`1<Verse.ResearchProjectDef>:TryResolve (Verse.FailMode)
Verse.DirectXmlCrossRefLoader/<>c__DisplayClass16_1:<ResolveAllWantedCrossReferences>b__0 (Verse.DirectXmlCrossRefLoader/WantedRef)
Verse.GenThreading/<>c__DisplayClass7_1`1<Verse.DirectXmlCrossRefLoader/WantedRef>:<ParallelForEach>b__0 (object)
System.Threading.QueueUserWorkItemCallback:WaitCallback_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
System.Threading.ThreadPoolWorkQueue:Dispatch ()
System.Threading._ThreadPoolWaitCallback:PerformWaitCallback ()
(呲牙)(没加金鼠鼠)
不过目前在做风雪的遗孤这个新剧本,目前模组内容在加工阶段,得等下一次大更才能一起修复
at OberoniaAureaGene.IterationCompleted_Patch.Postfix (RimWorld.Bill_Production& __instance, Verse.Pawn billDoer) [0x00001] in <bf3079c45c0240c186fd791416b66685>:0
at RimWorld.Bill_Production.Notify_IterationCompleted (Verse.Pawn billDoer, System.Collections.Generic.List1[T] ingredients) [0x0008c] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX OberoniaAureaGene_Hramony: Void OberoniaAureaGene.IterationCompleted_Patch:Postfix(Bill_Production& __instance, Pawn billDoer)
at Verse.AI.Toils_Recipe+<>c__DisplayClass3_0.<FinishRecipeAndStartStoringProduct>b__1 () [0x0018d] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
Hramony <= is this typographical error?
WorkTypeDef workType = __instance.billStack.billGiver.GetWorkgiver()?.workType;
This is missing a null check.
When I used "Micro Designations" in this state, the items disappeared.
Example of fix:
WorkTypeDef workType = __instance.billStack?.billGiver?.GetWorkgiver()?.workType;
XML error: <maxCountLimit>60</maxCountLimit> doesn't correspond to any field in type QuestNode_RequestThingCount. Context: <li Class="OberoniaAurea_Frame.QuestNode_RequestThingCount"><storeAs>requestedThingCount</storeAs><baseRange>10</baseRange><baseOffset>0~0.2</baseOffset><preOffsetWealth>10000</preOffsetWealth><preOffsetCount>1</preOffsetCount><maxCountLimit>60</maxCountLimit></li>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
XmlExtensions.CustomXmlLoader:ObjectFromXml<RimWorld.QuestGen.QuestNode> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ListFromXml<RimWorld.QuestGen.QuestNode> (System.Xml.XmlNode,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ListFromXmlReflection<RimWorld.QuestGen.QuestNode> (System.Xml.XmlNode,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXml<System.Collections.Generic.List1<RimWorld.QuestGen.QuestNode>> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<System.Collections.Generic.List1<RimWorld.QuestGen.QuestNode>> (System.Xml.XmlNode,bool)
XmlExtensions.CustomXmlLoader:ObjectFromXml<RimWorld.QuestGen.QuestNode> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<RimWorld.QuestGen.QuestNode> (System.Xml.XmlNode,bool)
XmlExtensions.CustomXmlLoader:ObjectFromXml<RimWorld.QuestScriptDef> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<RimWorld.QuestScriptDef> (System.Xml.XmlNode,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlLoader.DefFromNode_Patch4 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch5 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
完整日志: https://gist.github.com/lisanhu/6e01587db558c68d514e8ca336ffda8e
日志:https://gist.github.com/lisanhu/bb0c5eee9ebf18fe3b62a6c3779a0a6f
------ Update
刚刚又看了一下il,发现是在CategoryTradeRequestComp类中的Fulfill方法的CaravanInventoryUtility.TakeThings调用的第二个lambda函数的参数出了问题
具体bug原因是thing参数是null,而导致thing.def出现null pointer exception
不是很确定具体原因,这里有点奇怪,正常来说不应该出现thing是null的情况啊。。。
交石头任务的红字主要是这个,我通过回档再次触发的就只有下面这一条,后面还有一些其他的红字好像是计算关系的
Exception filling window for Verse.Dialog_MessageBox: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 5C663E4F]
at OberoniaAurea_Frame.CategoryTradeRequestComp.<Fulfill>b__16_0 (Verse.Thing thing) [0x00001] in <ac301089e67e498f82ec4b0cbb641e02>:0
at RimWorld.Planet.CaravanInventoryUtility.TakeThings (RimWorld.Planet.Caravan caravan, System.Func`2[T,TResult] takeQuantity) [0x00029] in <d3aae8dd8b2b40889754a32659f54598>:0
- TRANSPILER Uuugggg.rimworld.TD_Enhancement_Pack.main: IEnumerable`1 TD_Enhancement_Pack.TradeRequestWorstFirst:Transpiler(IEnumerable`1 instructions)
at OberoniaAurea_Frame.CategoryTradeRequestComp.Fulfill (RimWorld.Planet.Caravan caravan) [0x00001] in <ac301089e67e498f82ec4b0cbb641e02>:0
at OberoniaAurea_Frame.CategoryTradeRequestComp+<>c__DisplayClass15_0.<FulfillRequestCommand>b__1 () [0x00001] in <ac301089e67e498f82ec4b0cbb641e02>:0
at Verse.Dialog_MessageBox.DoWindowContents (UnityEngine.Rect inRect) [0x00225] in <d3aae8dd8b2b40889754a32659f54598>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <d3aae8dd8b2b40889754a32659f54598>:0
- TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable`1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)