RimWorld

RimWorld

Thick Armor
Uuugggg  [developer] 14 Mar, 2018 @ 5:49pm
Bug Reports
Let's keep the comments clean, report bugs here!

=========================
When submitting bugs
1) post debug log
2) be specific
3) don't be vague
4) post debug log
5) maybe explain why you think this mod is causing the problem

( I am honestly going to ignore things if I don't get these )
=========================

Vague reports can only get the response " well, that doesn't happen here "

---

The game produces log files. These are essential for debugging.

If you have HugsLib, press ctrl-F12 to upload logs

Or find logs here:
+ Windows: Steam/steamapps/common/Rimworld/RimWorld_Data/output_log.txt
+ Mac OS X: /Users/[Username]/Library/Logs/Unity/Player.log
+ Linux: Pass '-logfile /tmp/rimworld_log' to the RimWorld binary. It generates a log at that location.
And upload it all to pastebin.com or something
Last edited by Uuugggg; 5 Apr, 2018 @ 10:45pm
< >
Showing 1-8 of 8 comments
Fizukii 7 Nov, 2019 @ 1:45pm 
does it work with CE
Zippy 29 Mar, 2023 @ 4:50pm 
getting this error on startup and it sounds like it's bad. might be incompatible with reliable armor? i dunno.
Error while instantiating a mod of type ThickArmor.Mod: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method static System.Single Verse.ArmorUtility::GetPostArmorDamage(Verse.Pawn pawn, System.Single amount, System.Single armorPenetration, Verse.BodyPartRecord part, Verse.DamageDef& damageDef, System.Boolean& deflectedByMetalArmor, System.Boolean& diminishedByMetalArmor) ---> System.FormatException: Method static System.Single Verse.ArmorUtility::GetPostArmorDamage(Verse.Pawn pawn, System.Single amount, System.Single armorPenetration, Verse.BodyPartRecord part, Verse.DamageDef& damageDef, System.Boolean& deflectedByMetalArmor, System.Boolean& diminishedByMetalArmor) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) Verse.ArmorUtility:Verse.ArmorUtility.GetPostArmorDamage_Patch4 (Verse.Pawn,single,single,Verse.BodyPartRecord,Verse.DamageDef&,bool&,bool&): IL_00fd: call 0x00000019


at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0008c] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <255414689d344b1385ae719f6cce8c55>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.PatchAll () [0x0001b] in <255414689d344b1385ae719f6cce8c55>:0
at ThickArmor.Mod..ctor (Verse.ModContentPack content) [0x0001c] in <fbae9e1eb35e4923bb4f1e54af9157bc>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <eae584ce26bc40229c1b1aa476bfa589>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.LoadedModManager.CreateModClasses () [0x00076] in <3cca3e6203e64b109fd8ce21f7120d03>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
Verse.LoadedModManager:CreateModClasses ()
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_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 ()
Leon The Hero 1 Apr, 2023 @ 1:34am 
getting the same errors as Zippy
Leon The Hero 1 Apr, 2023 @ 12:56pm 
got it

it's conflict with Athena Framework
bagelhe 4 Jul, 2023 @ 9:15am 
Is this an error which can be ignored or a problematic one. I got the same problem
Uuugggg  [developer] 4 Jul, 2023 @ 9:18am 
I mean this mod is gonna do nothing if that error is

Patching exception in method static System.Single Verse.ArmorUtility::GetPostArmorDamage

and if it conflicts with a major mod, I guess you don't use this mod
Leon The Hero 4 Jul, 2023 @ 10:08am 
Originally posted by Uuugggg:
I mean this mod is gonna do nothing if that error is

Patching exception in method static System.Single Verse.ArmorUtility::GetPostArmorDamage

and if it conflicts with a major mod, I guess you don't use this mod

The Athena Framework dev has said it can be fixed, and he's DM'd you on Discord about fixing it because it'll require work on both ends: SmArtKar's comment here
Uuugggg  [developer] 4 Jul, 2023 @ 11:16am 
Okay fine there's a fix up now
< >
Showing 1-8 of 8 comments
Per page: 1530 50