RimWorld

RimWorld

Vanilla Combat Reloaded
Support Animal Apparel?
As I was investigating the red errors that appeared on launch, I found out that this mod may have some issue with the Animal Apparel mods. https://steamcommunity.com/sharedfiles/filedetails/?id=3513825850

Just want to share the logs here and hope that one day someone would find the time or interest to attempt a patch. (To be honest I'm not even sure what's needed to "make it work," as I lack even the fundamental skills to produce such magic)

With only these contents active (not in load order):
Core + DLCs; Harmony; HugsLib; VCR; Animal Apparel: Framework; Animal Apparel: Basic Armor,
the lines of the error log is as follows:

[Vanilla Combat Reloaded] Patch operation Verse.PatchOperationSequence(count=7, lastFailedOperation=Verse.PatchOperationAdd(Defs/BodyDef//li[def and not(groups)])) failed file: C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\2860414285\1.6\Patches\patches.xml UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.PatchOperation:Complete (string) Verse.PatchOperationSequence:Complete (string) Verse.LoadedModManager:ClearCachedPatches () Verse.LoadedModManager:LoadAllActiveMods (bool) Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:<Start>b__10_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 ()
Last edited by Gamesense0; Jul 16 @ 12:06pm
< >
Showing 1-3 of 3 comments
Donk  [developer] Jul 17 @ 1:14pm 
does this actually cause any gameplay issues? I think the reason why this patch is failing is because the patch cannot find any animal parts that have not been assigned a group where at least one is expected in vanilla. If all the body defs have groups assigned, the other patch should patch those body defs.

So the final result should be the same
csc001 Aug 5 @ 7:34pm 
Exception in JobDriver tick for pawn Sweeney driver=JobDriver_AttackMelee (toilIndex=2) driver.job=(AttackMelee (Job_2557) A = Thing_Human2014 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3C29D728] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTickInterval_Patch0 (Verse.AI.JobDriver,int)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch0 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)


hope fix
csc001 Aug 6 @ 8:04pm 
Exception in Verse.AI.JobDriver.DriverTickInterval: System.NullReferenceException: Object reference not set to an instance of an object
[Ref BE517DFC]
at Verse.DamageWorker_Stab.ChooseHitPart (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x00036] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER VCR.Mod: IEnumerable`1 VCR.MeleeFlankingTranspiler:Transpiler(IEnumerable`1 instructions)
at Verse.DamageWorker_AddInjury.GetExactPartFromDamageInfo (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x0004f] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.DamageWorker_AddInjury.ApplyDamageToPart (Verse.DamageInfo dinfo, Verse.Pawn pawn, Verse.DamageWorker+DamageResult result) [0x00048] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX OskarPotocki.VEF: Void VEF.Storyteller.VanillaExpandedFramework_DamageWorker_AddInjury_ApplyDamageToPart_Patch:Prefix(DamageInfo& dinfo, Pawn pawn, DamageResult result)
- PREFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.Patch_ApplyDamageToPart:Prefix(DamageInfo& dinfo, Pawn pawn, DamageResult result)
at Verse.DamageWorker_AddInjury.ApplyToPawn (Verse.DamageInfo dinfo, Verse.Pawn pawn) [0x0014a] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Genes.VanillaExpandedFramework__DamageWorker_AddInjury_ApplyToPawn_Patch:Transpiler(IEnumerable`1 codeInstructions)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.DamageWorker_AddInjury_ApplyToPawn:ApplyToPawn(DamageInfo dinfo, Pawn pawn, DamageResult& __result)
at Verse.DamageWorker_AddInjury.Apply (Verse.DamageInfo dinfo, Verse.Thing thing) [0x0003c] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX com.vanillamemesexpanded: Void VanillaMemesExpanded.VanillaMemesExpanded_DamageWorker_AddInjury_Apply_Patch:DetectIfDamagedInnocent(DamageInfo dinfo, Thing thing)
- POSTFIX com.alphamemes: Void AlphaMemes.AlphaMemes_DamageWorker_AddInjury_Apply_Patch:SendHistoryIfMelee(DamageInfo dinfo, Thing thing)
- POSTFIX rimworld.LTS.implants: Void LTS_Implants.DamageWorker_AddInjury_Apply_Patch:ApplyPostfix(DamageInfo dinfo, Thing thing, DamageWorker_AddInjury __instance)
at Verse.Thing.TakeDamage (Verse.DamageInfo dinfo) [0x00153] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX OskarPotocki.VEF: Void VEF.AnimalBehaviours.Patch_TakeDamage:Prefix(Thing __instance, DamageInfo dinfo)
- PREFIX ReBuildDoorsAndCornersMod: Void ReBuildDoorsAndCorners.Thing_TakeDamage_Patch:Prefix(Thing __instance, DamageInfo& dinfo)
- PREFIX RedMattis.BetterPrerequisites: Void BigAndSmall.TakeDamagePatch:Prefix(Thing __instance, DamageInfo& dinfo)
- PREFIX VFETribalsMod: Void VFETribals.Thing_TakeDamage_Patch:Prefix(Thing __instance, DamageInfo& dinfo)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Thing_TakeDamage_Patch:Postfix(Thing __instance, DamageInfo dinfo)
- POSTFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.TakeDamage_Patch:Postfix()
at RimWorld.Verb_MeleeAttackDamage.ApplyMeleeDamageToTarget (Verse.LocalTargetInfo target) [0x0003f] in <cb53cd4422904947932d33f561ad8d15>:0
- POSTFIX com.alphaskills: Void AlphaSkills.AlphaSkills_Verb_MeleeAttackDamage_ApplyMeleeDamageToTarget_Patch:ApplyFlame(Verb_MeleeAttackDamage __instance, LocalTargetInfo target)
- POSTFIX co.uk.epicguru.meleeanimation: Void AM.Patches.Patch_Verb_MeleeAttack_ApplyMeleeDamageToTarget:Postfix(LocalTargetInfo target)
at RimWorld.Verb_MeleeAttack.TryCastShot () [0x0027f] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER VCR.Mod: IEnumerable`1 VCR.Verb_MeleeAttack_TryCastShot_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator il)
- PREFIX co.uk.epicguru.meleeanimation: Void AM.Patches.Patch_Verb_MeleeAttack_TryCastShot:Prefix(Verb_MeleeAttack __instance)
at Verse.Verb.TryCastNextBurstShot () [0x00046] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER legodude17.mvcf: IEnumerable`1 MVCF.PatchSets.PatchSet_VerbComps:TryCastNextBurstShot_Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX limetreesnake.ammunition: Boolean Ammunition.Harmony.AmmoHarmonyPatches:TryCastNextBurstShot_PreFix(Verb __instance)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.Verb_TryCastNextBurstShot:TryCastNextBurstShot(Verb __instance, Int32& ___burstShotsLeft)
- POSTFIX legodude17.mvcf: Void MVCF.PatchSets.PatchSet_VerbComps:TryCastNextBurstShot_Postfix(Verb __instance)
at Verse.Verb.WarmupComplete () [0x00037] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX limetreesnake.ammunition: Boolean Ammunition.Harmony.AmmoHarmonyPatches:WarmupComplete_PreFix(Verb __instance)
- PREFIX limetreesnake.maintenance: Boolean Maintenance.Harmony.HarmonyPatches:WarmupComplete_PreFix(Verb_LaunchProjectile __instance)
- POSTFIX limetreesnake.maintenance: Void Maintenance.Harmony.HarmonyPatches:WarmupComplete_PostFix(Verb __instance)
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, Verse.LocalTargetInfo destTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire, System.Boolean nonInterruptingSelfCast) [0x001c8] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_TryStartCastOn_Lasers_Patch:TryStartCastOn_RapidFire_Prefix(Verb& __instance, LocalTargetInfo castTarg)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_TryStartCastOn_Lasers_Patch:TryStartCastOn_RapidFire_Postfix(Verb& __instance, LocalTargetInfo castTarg, Single __state)
at Verse.Verb.TryStartCastOn (Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean preventFriendlyFire, System.Boolean nonInterruptingSelfCast) [0x00007] in <cb53cd4422904947932d33f561ad8d15>:0
at RimWorld.Pawn_MeleeVerbs.TryMeleeAttack (Verse.Thing target, Verse.Verb verbToUse, System.Boolean surpriseAttack) [0x0012c] in <cb53cd4422904947932d33f561ad8d15>:0
- PREFIX RedMattis.BetterPrerequisites: Boolean BigAndSmall.TryMeleeAttack_MeleeAbility_Patch:Prefix(Pawn_MeleeVerbs __instance, Thing target, Verb verbToUse, Boolean surpriseAttack)
- POSTFIX OskarPotocki.VanillaTraitsExpanded: Void VanillaTraitsExpanded.TryMeleeAttack_Patch:Postfix(Boolean __result, Pawn_MeleeVerbs __instance, Thing target, Verb verbToUse, Boolean surpriseAttack)
at RimWorld.JobDriver_PredatorHunt+<>c__DisplayClass13_0.<MakeNewToils>b__3 () [0x00026] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.AI.Toils_Combat+<>c__DisplayClass6_0.<FollowAndMeleeAttack>b__0 (System.Int32 delta) [0x001f5] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Weapons.VanillaExpandedFramework_Toils_Combat_FollowAndMeleeAttack_Patch:Transpiler(IEnumerable`1 codeInstructions)
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Toils_Combat_FollowAndMeleeAttack_Patch:Prefix(Toil ___followAndAttack)
- FINALIZER OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Toils_Combat_FollowAndMeleeAttack_Patch:Finalizer()
at Verse.AI.JobDriver.DriverTickInterval (System.Int32 delta) [0x000bd] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
< >
Showing 1-3 of 3 comments
Per page: 1530 50