RimWorld

RimWorld

XVI-MECHFRAME
1.4 Bug reports
Thanks for this amazing mod. I am using ModErrorReporter and was thinking to start collecting the errors and bug reports here, instead of unsorted comments.

Missing methods found so far (same for .get_East etc):
Error in XVI-MECHFRAME, assembly name: MechanicalPoweredArmor, method: ArcticWind:Draw, exception: System.MissingMethodException: Verse.Rot4 Verse.Rot4.get_North() at (wrapper managed-to-native) System.Reflection.Module.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&) at System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00015] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x0040b] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers) [0x0002b] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0 at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in <e69c392a10ed4370ab5a233fb1caa69e>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo) ModErrorChecker.AssemblyChecker:CheckAssemblies () ModErrorChecker.AssemblyChecker:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

For armors am getting these post load:
Error in XVI-MECHFRAME, assembly name: MechanicalPoweredArmor, method: ArcticWind:Draw, exception: System.MissingMethodException: Verse.Rot4 Verse.Rot4.get_North() at (wrapper managed-to-native) System.Reflection.Module.ResolveMethodToken(intptr,int,intptr[],intptr[],System.Reflection.ResolveTokenError&) at System.Reflection.MonoModule.ResolveMethod (System.Int32 metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) [0x00015] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.MethodBodyReader.ReadOperand (HarmonyLib.ILInstruction instruction) [0x0040b] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.MethodBodyReader.GenerateInstructions () [0x00022] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.MethodCopier..ctor (System.Reflection.MethodBase fromMethod, System.Reflection.Emit.ILGenerator toILGenerator, System.Reflection.Emit.LocalBuilder[] existingVariables) [0x00038] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.MethodCopier.GetInstructions (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method, System.Int32 maxTranspilers) [0x0002b] in <255414689d344b1385ae719f6cce8c55>:0 at HarmonyLib.PatchProcessor.GetCurrentInstructions (System.Reflection.MethodBase original, System.Int32 maxTranspilers, System.Reflection.Emit.ILGenerator generator) [0x0000b] in <255414689d344b1385ae719f6cce8c55>:0 at ModErrorChecker.AssemblyChecker.ParseMethod (System.Reflection.MethodInfo method) [0x00000] in <e69c392a10ed4370ab5a233fb1caa69e>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) ModErrorChecker.AssemblyChecker:ParseMethod (System.Reflection.MethodInfo) ModErrorChecker.AssemblyChecker:CheckAssemblies () ModErrorChecker.AssemblyChecker:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 () Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

let me know if you need someone to test a beta branch etc.!

Thanks
Last edited by Cornelius V. Osmond; 25 Oct, 2022 @ 8:30pm
< >
Showing 1-3 of 3 comments
CrackaJack 14 Nov, 2022 @ 7:15am 
i´d test too ofc, but could you add compatibility for plasteel surgery+reconditioning pod somehow?
glencoe2004 7 Dec, 2023 @ 7:35pm 
If you still care, here's an updated version for 1.4: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3108258542
Master Kang 4 Feb, 2024 @ 3:27am 
These below happen when I use CE
Log 1:

Exception filling window for Verse.Dialog_InfoCard: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.StatsReportUtility.DrawStatsWorker (UnityEngine.Rect rect, Verse.Thing optionalThing, RimWorld.Planet.WorldObject optionalWorldObject) [0x0044d] in <cd7169108ea74757aa50c5b33d275c15>:0
at RimWorld.StatsReportUtility.DrawStatsReport (UnityEngine.Rect rect, Verse.Thing thing) [0x00092] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_InfoCard.FillCard (UnityEngine.Rect cardRect) [0x00030] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00294] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Log 2:

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()

Log 3:

Exception filling window for Verse.Dialog_InfoCard: System.NullReferenceException: Object reference not set to an instance of an object
at (wrapper dynamic-method) CombatExtended.StatWorker_AmmoConsumedPerShotCount.CombatExtended.StatWorker_AmmoConsumedPerShotCount.ShouldShowFor_Patch0(CombatExtended.StatWorker_AmmoConsumedPerShotCount,RimWorld.StatRequest)
at RimWorld.StatsReportUtility+<>c__DisplayClass26_0.<StatsToDraw>b__0 (RimWorld.StatDef st) [0x00011] in <cd7169108ea74757aa50c5b33d275c15>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimWorld.StatsReportUtility+<StatsToDraw>d__26.MoveNext () [0x001c6] in <cd7169108ea74757aa50c5b33d275c15>:0
at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.StatsReportUtility.DrawStatsReport (UnityEngine.Rect rect, Verse.Thing thing) [0x00059] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_InfoCard.FillCard (UnityEngine.Rect cardRect) [0x00030] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Dialog_InfoCard.DoWindowContents (UnityEngine.Rect inRect) [0x00294] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
Showing 1-3 of 3 comments
Per page: 1530 50