RimWorld

RimWorld

RunAndGun
roolo  [developer] Jan 2, 2018 @ 2:21am
Bug reports
If you find any issues/bugs, please report them here. Try to add as much relevant details as possible. Also provide a hugslib log by pressing ctrl+f12 after the issue occurs, and placing the link you'll get in this thread.
Last edited by roolo; Oct 26, 2018 @ 1:45am
< >
Showing 106-120 of 133 comments
Scorpio Feb 1, 2022 @ 11:34am 
Originally posted by 颓废的小熊:
Exception in Verse.AI.JobDriver.SetupToils: System.MissingMethodException: Verse.AI.Toil Verse.AI.ToilEffects.WithEffect(Verse.AI.Toil,Verse.EffecterDef,Verse.AI.TargetIndex)
at Verse.AI.JobDriver.SetupToils () [0x00057] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- postfix roolo.RunAndGun: Void RunAndGun.Harmony.JobDriver_SetupToils:Postfix(JobDriver __instance, List`1 ___toils)


can confirm this
TurtleShroom Feb 6, 2022 @ 8:02pm 
[MVCF] Applying RunAndGun compatibility patch UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) MVCF.Harmony.Compat:ApplyCompat (HarmonyLib.Harmony) MVCF.Base:ApplyPatches () MVCF.Utilities.VerbManagerUtility:AddVerbs (MVCF.VerbManager,Verse.ThingWithComps) MVCF.Harmony.Trackers:EquipmentAdded_Postfix (Verse.ThingWithComps,Verse.Pawn_EquipmentTracker) (wrapper dynamic-method) Verse.Pawn_EquipmentTracker:Verse.Pawn_EquipmentTracker.Notify_EquipmentAdded_Patch4 (Verse.Pawn_EquipmentTracker,Verse.ThingWithComps) (wrapper dynamic-method) Verse.ThingOwner:Verse.ThingOwner.NotifyAdded_Patch1 (Verse.ThingOwner,Verse.Thing) (wrapper dynamic-method) Verse.ThingOwner`1<Verse.Thing>:Verse.ThingOwner`1[[Verse.Thing, Assembly-CSharp, Version=1.3.8005.21796, Culture=neutral, PublicKeyToken=null]].TryAdd_Patch2 (Verse.ThingOwner`1<Verse.Thing>,Verse.Thing,bool) (wrapper dynamic-method) Verse.Pawn_EquipmentTracker:Verse.Pawn_EquipmentTracker.AddEquipment_Patch1 (Verse.Pawn_EquipmentTracker,Verse.ThingWithComps) AnimalWeaponPatch.HarmonyPatches:TryGenerateWeaponFor_Prefix (Verse.Pawn) (wrapper dynamic-method) RimWorld.PawnWeaponGenerator:RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor_Patch3 (Verse.Pawn,Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateGearFor_Patch3 (Verse.Pawn,Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2 (Verse.PawnGenerationRequest&,string&,bool,bool) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GenerateNewPawnInternal_Patch2 (Verse.PawnGenerationRequest&) Verse.PawnGenerator:GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch5 (Verse.PawnGenerationRequest) RimWorld.Faction:TryGenerateNewLeader () RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms) (wrapper dynamic-method) RimWorld.FactionGenerator:RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch2 (System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) (wrapper dynamic-method) RimWorld.Planet.WorldGenStep_Factions:RimWorld.Planet.WorldGenStep_Factions.GenerateFresh_Patch2 (RimWorld.Planet.WorldGenStep_Factions,string) RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) RimWorld.Page_CreateWorldParams:<CanDoNext>b__17_0 () 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 ()
TurtleShroom Feb 6, 2022 @ 8:02pm 
Error while generating pawn. Rethrowing. Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at MVCF.Harmony.Compat.RunAndGunSetStance (System.Collections.Generic.IEnumerable`1[T] instructions) [0x00079] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.CodeTranspiler+<>c__DisplayClass12_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x0004b] in <afae5a8d84e24373b604e1b6d209d116>:0 at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x0014a] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00286] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <afae5a8d84e24373b604e1b6d209d116>:0 at MVCF.Harmony.Compat.ApplyCompat (HarmonyLib.Harmony harm) [0x0005b] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at MVCF.Base.ApplyPatches () [0x00010] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at MVCF.Utilities.VerbManagerUtility.AddVerbs (MVCF.VerbManager man, Verse.ThingWithComps eq) [0x00185] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at MVCF.Harmony.Trackers.EquipmentAdded_Postfix (Verse.ThingWithComps eq, Verse.Pawn_EquipmentTracker __instance) [0x00011] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at (wrapper dynamic-method) Verse.Pawn_EquipmentTracker.Verse.Pawn_EquipmentTracker.Notify_EquipmentAdded_Patch4(Verse.Pawn_EquipmentTracker,Verse.ThingWithComps) at (wrapper dynamic-method) Verse.ThingOwner.Verse.ThingOwner.NotifyAdded_Patch1(Verse.ThingOwner,Verse.Thing) at (wrapper dynamic-method) Verse.ThingOwner`1[Verse.Thing].Verse.ThingOwner`1[[Verse.Thing, Assembly-CSharp, Version=1.3.8005.21796, Culture=neutral, PublicKeyToken=null]].TryAdd_Patch2(Verse.ThingOwner`1<Verse.Thing>,Verse.Thing,bool) at (wrapper dynamic-method) Verse.Pawn_EquipmentTracker.Verse.Pawn_EquipmentTracker.AddEquipment_Patch1(Verse.Pawn_EquipmentTracker,Verse.ThingWithComps) at AnimalWeaponPatch.HarmonyPatches.TryGenerateWeaponFor_Prefix (Verse.Pawn pawn) [0x00206] in <375581e3904346979d015ed274a2f9e6>:0 at (wrapper dynamic-method) RimWorld.PawnWeaponGenerator.RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor_Patch3(Verse.Pawn,Verse.PawnGenerationRequest) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateGearFor_Patch3(Verse.Pawn,Verse.PawnGenerationRequest) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&,string&,bool,bool) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&) at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch5(Verse.PawnGenerationRequest) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) (wrapper dynamic-method) Verse.PawnGenerator:Verse.PawnGenerator.GeneratePawn_Patch5 (Verse.PawnGenerationRequest) RimWorld.Faction:TryGenerateNewLeader () RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms) (wrapper dynamic-method) RimWorld.FactionGenerator:RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch2 (System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) (wrapper dynamic-method) RimWorld.Planet.WorldGenStep_Factions:RimWorld.Planet.WorldGenStep_Factions.GenerateFresh_Patch2 (RimWorld.Planet.WorldGenStep_Factions,string) RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) RimWorld.Page_CreateWorldParams:<CanDoNext>b__17_0 () 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 ()
TurtleShroom Feb 6, 2022 @ 8:02pm 
Error in WorldGenStep: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object at MVCF.Harmony.Compat.RunAndGunSetStance (System.Collections.Generic.IEnumerable`1[T] instructions) [0x00079] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <eae584ce26bc40229c1b1aa476bfa589>:0 --- End of inner exception stack trace --- at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.CodeTranspiler+<>c__DisplayClass12_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x0004b] in <afae5a8d84e24373b604e1b6d209d116>:0 at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <eae584ce26bc40229c1b1aa476bfa589>:0 at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x0014a] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00286] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <afae5a8d84e24373b604e1b6d209d116>:0 at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <afae5a8d84e24373b604e1b6d209d116>:0 at MVCF.Harmony.Compat.ApplyCompat (HarmonyLib.Harmony harm) [0x0005b] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at MVCF.Base.ApplyPatches () [0x00010] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at MVCF.Utilities.VerbManagerUtility.AddVerbs (MVCF.VerbManager man, Verse.ThingWithComps eq) [0x00185] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at MVCF.Harmony.Trackers.EquipmentAdded_Postfix (Verse.ThingWithComps eq, Verse.Pawn_EquipmentTracker __instance) [0x00011] in <9707d6a62b0f450bab4ac506e5ebc399>:0 at (wrapper dynamic-method) Verse.Pawn_EquipmentTracker.Verse.Pawn_EquipmentTracker.Notify_EquipmentAdded_Patch4(Verse.Pawn_EquipmentTracker,Verse.ThingWithComps) at (wrapper dynamic-method) Verse.ThingOwner.Verse.ThingOwner.NotifyAdded_Patch1(Verse.ThingOwner,Verse.Thing) at (wrapper dynamic-method) Verse.ThingOwner`1[Verse.Thing].Verse.ThingOwner`1[[Verse.Thing, Assembly-CSharp, Version=1.3.8005.21796, Culture=neutral, PublicKeyToken=null]].TryAdd_Patch2(Verse.ThingOwner`1<Verse.Thing>,Verse.Thing,bool) at (wrapper dynamic-method) Verse.Pawn_EquipmentTracker.Verse.Pawn_EquipmentTracker.AddEquipment_Patch1(Verse.Pawn_EquipmentTracker,Verse.ThingWithComps) at AnimalWeaponPatch.HarmonyPatches.TryGenerateWeaponFor_Prefix (Verse.Pawn pawn) [0x00206] in <375581e3904346979d015ed274a2f9e6>:0 at (wrapper dynamic-method) RimWorld.PawnWeaponGenerator.RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor_Patch3(Verse.Pawn,Verse.PawnGenerationRequest) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateGearFor_Patch3(Verse.Pawn,Verse.PawnGenerationRequest) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&,string&,bool,bool) at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&) at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch5(Verse.PawnGenerationRequest) at RimWorld.Faction.TryGenerateNewLeader () [0x0023c] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001fb] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 at (wrapper dynamic-method) RimWorld.FactionGenerator.RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch2(System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) at (wrapper dynamic-method) RimWorld.Planet.WorldGenStep_Factions.RimWorld.Planet.WorldGenStep_Factions.GenerateFresh_Patch2(RimWorld.Planet.WorldGenStep_Factions,string) at RimWorld.Planet.WorldGenerator.GenerateWorld (System.Single planetCoverage, System.String seedString, RimWorld.Planet.OverallRainfall overallRainfall, RimWorld.Planet.OverallTemperature overallTemperature, RimWorld.Planet.OverallPopulation population, System.Collections.Generic.Dictionary`2[TKey,TValue] factionCounts) [0x000fd] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string) RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.Dictionary`2<RimWorld.FactionDef, int>) RimWorld.Page_CreateWorldParams:<CanDoNext>b__17_0 () 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 ()
TurtleShroom Feb 6, 2022 @ 8:03pm 
According to the Error Logs posted above, this Mod is respopnsible for my game being unable to generate a new World. I receive a planet with close to no Faction Bases on it and a litany of errors; I cannot actually do anything with the Map.

This is my Hugs Library Log: https://gist.github.com/2152b7afe90f1eeec5ed303ece7881cc .
An actual goblin May 6, 2022 @ 10:48pm 
There's a weird glitch happening to my pawns when they run and gun when using the weapons from the (Vanilla Weapons Expanded - Makeshift) mod, they jiggly oddly back and forth when trying to fire, it looks really jarring.
Erilaz Aug 31, 2022 @ 9:31pm 
Hello. It appears there's a major compatibility issue between Vanilla Psycasts Expanded and Run and Gun.

Illustrated here https://imgur.com/a/G5dmsIk

Everything runs fine until you enable both running and gunning and autocasts with that mod simultaniously. Imagine a pawn is shooting someone on the move, and decides to blast the enemy with a psychic ability instead of their weapon. It starts psycasting automatically, but then a bug happens: it can't progress through the aiming circle animation and as the result, the pawn complitely stucks. Sometimes the cas goes though, but it always stucks in the eng. As the result, your pawn can move while drafted (possibly due to Run and Gun), but it can't do any ranged or melee attacks, can't perform forced jobs while drafted or any ambient jobs while undrafted. The aiming psycast (or maybe ranged aiming animation?) doesn't reset even if the pawn falls unconscious.

I believe as of now, VPE heavily relies on a pawn standing still while psycasting, but RNG breaks that so this issue happens. I've initially discovered the bug with HSK modpack. The issue happes regardless of the load lorder and it occurs even if the only mods installed are VPE, RNG and their hard prerequisits, this is how I've pinpointed the isssue and tested it, so consider this report vanilla+VPE as it should be. I've reported this issue to Oskar and Vanilla Expanded team as well, but maybe there's something you can do on your side.

The bug always occurs when both autocasting and running and gunning is turned on once pawn moves and autocasts the ability simultaniously. I did not spend a lot of time testing it further, but I am sure manual casting forces a pawn to stop so it doesn't run and gun even if that feature is enabled, so this bug should rarely happen in that case.

This bugged psycast pawn condition persists even if you uninstall Run and Gun. The only ways of unstucking a bugged psycaster to my knowledge are either getting the pawn off the map and back, killing it and resurrecting or teleporting it with Character Editor. That can help someone with a broken pawn like that, however, is only a symptomatic treatment because once autocast and running and gunning face each other again, the bug repeats itself. The issue is extremely easy to recreate, just turn both mentioned features on and start blasting. It also doesn't seem to throw any explicit errors into the regular debug log. But here's my Hugslib reports anyway


RNG then VPE https://gist.github.com/91cb7ad0471a663be7dee5d8196670ce
VPE then RNG https://gist.github.com/c6723db393f2588dfc2d33f5e3526e67

https://steamcommunity.com/sharedfiles/filedetails/?id=2842502659

Here's my bug report in VPE bugs thread too https://steamcommunity.com/workshop/filedetails/discussion/2842502659/3460471649939408292/?ctp=32
Last edited by Erilaz; Sep 1, 2022 @ 6:01am
KameRUN Nov 6, 2022 @ 8:52am 
So, i played on a 1.4 version with Simple Sidearms and test Combat Extended ver, and i encountered a strange behavior: pawns sometimes shoot from weapons, what isn't in active slot and even sometimes can shoot from dropped weapon. I realy don't know what causing that, posting that just in case.
Alibarda Nov 6, 2022 @ 2:29pm 
Originally posted by KameRUN:
So, i played on a 1.4 version with Simple Sidearms and test Combat Extended ver, and i encountered a strange behavior: pawns sometimes shoot from weapons, what isn't in active slot and even sometimes can shoot from dropped weapon. I realy don't know what causing that, posting that just in case.
I encountered the same bug. I think Simple Sidearms is causing it
MisterIgor Nov 13, 2022 @ 3:07pm 
Im having a bug where my bolt action rifle just dont shoot, the pawn just keep aiming and never fire, there are no error mensages when this happens
Bilbo Ballbag Nov 14, 2022 @ 1:09pm 
Exception in JobDriver tick for pawn Rosales driver=JobDriver_Goto (toilIndex=0) driver.job=(Goto (Job_7106672) A=(249, 0, 166))
System.NullReferenceException: Object reference not set to an instance of an object
at Swimming.Patch_ShotReport.Manual (System.Single result, Verse.Thing thing) [0x00000] in <b15a1d644b16483390810500bf601339>:0
at (wrapper dynamic-method) Verse.ShotReport.Verse.ShotReport.get_FactorFromPosture_Patch0(Verse.ShotReport&)
at (wrapper dynamic-method) Verse.ShotReport.Verse.ShotReport.get_AimOnTargetChance_Patch0(Verse.ShotReport&)
at (wrapper dynamic-method) Verse.ShotReport.Verse.ShotReport.get_TotalEstimatedHitChance_Patch0(Verse.ShotReport&)
at MVCF.ManagedVerb.GetScore (Verse.Pawn p, Verse.LocalTargetInfo target) [0x00082] in <5e3774c2088a4697a593f926c8ee4f22>:0
at MVCF.VerbManager.ChooseVerb (Verse.LocalTargetInfo target, System.Collections.Generic.List`1[T] options) [0x001d9] in <5e3774c2088a4697a593f926c8ee4f22>:0
at MVCF.Utilities.PawnVerbUtility.BestVerbForTarget (Verse.Pawn p, Verse.LocalTargetInfo target, System.Collections.Generic.IEnumerable`1[T] verbs) [0x0000e] in <5e3774c2088a4697a593f926c8ee4f22>:0
at MVCF.Patch_Pawn_TryGetAttackVerb.AttackVerb (Verse.Pawn pawn, Verse.Thing target, System.Boolean allowManualCastWeapons) [0x001da] in <5e3774c2088a4697a593f926c8ee4f22>:0
at MVCF.Patch_Pawn_TryGetAttackVerb.Prefix (Verse.Verb& __result, Verse.Pawn __instance, Verse.Thing target, System.Boolean& __state, System.Boolean allowManualCastWeapons) [0x00001] in <5e3774c2088a4697a593f926c8ee4f22>:0
at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.TryGetAttackVerb_Patch3(Verse.Pawn,Verse.Thing,bool,bool)
at (wrapper dynamic-method) RunAndGun.Harmony.JobDriver_SetupToils.RunAndGun.Harmony.JobDriver_SetupToils.checkForAutoAttack_Patch0(Verse.AI.JobDriver_Goto)
at RunAndGun.Harmony.JobDriver_SetupToils+<>c__DisplayClass0_0.<Postfix>b__0 () [0x00073] in <ce076a6b2ff64e0aaf4b24885f3e38c6>:0
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.DriverTick_Patch0(Verse.AI.JobDriver)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Warning_Patch1 (string)
(wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch1 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.Pawn:Verse.Pawn.Tick_Patch3 (Verse.Pawn)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)



Visitors are getting stuck on my map and just starving to death in their trade/spawn locations. The pack animals exit the map, but I'm also using giddy up and it may be a conflict with visitors trying to mount

https://gist.github.com/77ac6209415e4e0e5f6f73321930e6f8

Thanks!
ProfZelonka Nov 26, 2022 @ 11:58pm 
Event pawns can't move, attempt to every few seconds but can't. For example, caravan trader appears, most of them can't move out of their spot, if something else occurs that they do end up moving, they again freeze up after. Also if I Draft a colonist and try to have them move out of their line of sight, they won't move lol When I remove Run & Gun, both issues disappear.
Log: https://gist.github.com/de1fb51c1eaa6ead70878c9b6f505d4b
Specter Nov 28, 2022 @ 4:31pm 
about 1/3 of my logs is "patching run and gun"...
LAJ-47FC9 Jan 11, 2023 @ 8:32pm 
Originally posted by MisterIgor:
Im having a bug where my bolt action rifle just dont shoot, the pawn just keep aiming and never fire, there are no error mensages when this happens
I would like to echo this post. I've encountered a similar issue combining this mod with Combat Extended, wherein the aim time of a weapon (particularly, one equipped with a bipod) will increase massively upon being ordered to move. No logs are given, even with HugsLib. This problem has forced me to disable Run & Gun until fixed.
RyuMC Jan 13, 2023 @ 5:38am 
Hi!

So I sent my pawns to beat out a fire right before it started to rain and then noticed 3 of my pawns stay stuck trying to do anything. They end up doing nothing at all. Just stand there next to whatever they are supposed to be doing.

I'm trying to track down the problem but I don't know much about logs and such. Not even sure if this is the right place to bring this issue but I do see Run and Gun down there.

Any help is greatly appreciated!

------------- Copied this from Visual Exceptions -------------

Exception in Verse.TickList.Tick: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.Verb_BeatFire.TryCastShot () [0x00025] in <3126aca1aad041dcbdeda807cfe004bf>:0
at Verse.Verb.TryCastNextBurstShot () [0x00012] in <3126aca1aad041dcbdeda807cfe004bf>:0
- transpiler roolo.RunAndGun: IEnumerable1 RunAndGun.Harmony.Verb_TryCastNextBurstShot:Transpiler(IEnumerable1 instructions)
at Verse.Verb.VerbTick () [0x00056] in <3126aca1aad041dcbdeda807cfe004bf>:0
at Verse.VerbTracker.VerbsTick () [0x00019] in <3126aca1aad041dcbdeda807cfe004bf>:0
at RimWorld.Pawn_NativeVerbs.NativeVerbsTick () [0x00000] in <3126aca1aad041dcbdeda807cfe004bf>:0
at Verse.Pawn.Tick () [0x000d7] in <3126aca1aad041dcbdeda807cfe004bf>:0
- postfix XeoNovaDan.VisiblePants: Void VisiblePants.Patch_Pawn+Patch_Tick:Postfix(Pawn instance)
- postfix Mlie.YayosCombat3: Void yayoCombat.patch_Pawn_TickRare:Postfix(Pawn instance)
at Verse.TickList.Tick () [0x0017d] in <3126aca1aad041dcbdeda807cfe004bf>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable1 instructions, MethodBase original)

-------------------------------------------------------------------------

HugsLib: - > https://gist.github.com/8f00c5c011824ce2079c80d0d28a35ec
Last edited by RyuMC; Jan 13, 2023 @ 5:38am
< >
Showing 106-120 of 133 comments
Per page: 1530 50