RimWorld

RimWorld

Bill Doors' Weapon Jams!
Narlindir 7 Jul, 2024 @ 1:56pm
[BUG] Gorehulk /Anomaly incopatability
https://gist.github.com/HugsLibRecordKeeper/8fc7b1fdacb8bc50a64e121af4251d7d

Gorehulks lagg the game to a standstill cuz they cannot fire their spikes

Soyuz caught this error. Please don't report this to the RocketMan team unless you're certain RocketMan caused this error. with error System.NullReferenceException: Object reference not set to an instance of an object
[Ref B6388C9E]
at BDsWeaponJamming.HarmonyPatch+HarmonyPatches.TryCastShot_Prefix (System.Boolean& __result, Verse.Verb_LaunchProjectile __instance) [0x0000f] in <70c16bb398bf4bf99f3fc4e1586dd720>:0
at Verse.Verb_LaunchProjectile.TryCastShot () [0x0001e] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER com.ogliss.rimworld.mod.AdeptusMechanicus: IEnumerable`1 AdeptusMechanicus.HarmonyInstance.Verb_LaunchProjectile_TryCastShot_Transpiler:Transpiler(IEnumerable`1 instructions)
- TRANSPILER vanillaexpanded.factions.deserters: IEnumerable`1 VFED.HarmonyPatches.MiscPatches:APAlwaysHits(IEnumerable`1 instructions, ILGenerator generator)
- TRANSPILER vanillaexpanded.factions.deserters: IEnumerable`1 VFED.Building_TurretGunBarrels+CastSourceReplacer:ReplaceCall(IEnumerable`1 instructions)
- TRANSPILER VanillaExpanded.VFEA: IEnumerable`1 VFEAncients.PowerWorker_ForceHit:TryCastShot_Transpile(IEnumerable`1 instructions)
- PREFIX OskarPotocki.VFECore: Void VFECore.Verb_LaunchProjectile_TryCastShot:Prefix(Verb_LaunchProjectile __instance)
- PREFIX BDsPlasmaWeapon: Boolean BDsWeaponJamming.HarmonyPatch+HarmonyPatches:TryCastShot_Prefix(Boolean& __result, Verb_LaunchProjectile __instance)
- PREFIX rimworld.hobtook.mortaraccuracy: Boolean MortarAccuracy.Patches+Harmony_Verb_LaunchProjectile_TryCastShot:Prefix(Boolean& __result, Verb_LaunchProjectile __instance, LocalTargetInfo ___currentTarget, Int32 ___lastShotTick)
- PREFIX Mlie.YayosCombat3: Boolean yayoCombat.patch_Verb_LaunchProjectile_TryCastShot:Prefix(Boolean& __result, Verb_LaunchProjectile __instance, LocalTargetInfo ___currentTarget, Boolean ___canHitNonTargetPawnsNow, Boolean ___preventFriendlyFire)
- POSTFIX OskarPotocki.VFECore: Void VFECore.Verb_LaunchProjectile_TryCastShot:Postfix()
- POSTFIX rimworld.aelanna.pyromania.main: Void BetterPyromania.HarmonyPatches:VerbLaunchProjectileTryCastShot_Postfix(Boolean& __result, Verb_LaunchProjectile& __instance)
at Verse.Verb_Shoot.TryCastShot () [0x00027] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- PREFIX com.ogliss.rimworld.mod.AdeptusMechanicus: Boolean AdeptusMechanicus.HarmonyInstance.Verb_Shoot_TryCastShot_WeaponSpecialRules_Patch:Prefix(Verb_Shoot& __instance)
at Verse.Verb_AbilityShoot.TryCastShot () [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Verb.TryCastNextBurstShot () [0x0004c] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER com.ogliss.rimworld.mod.AdeptusMechanicus: IEnumerable`1 AdeptusMechanicus.HarmonyInstance.Verb_TryCastNextBurstShot_MuzzlePosition_Transpiler:Transpiler(IEnumerable`1 instructions)
- TRANSPILER kaitorisenkou.ModularWeapons: IEnumerable`1 ModularWeapons.TryCastNextBurstShot_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- TRANSPILER Tacticowl: IEnumerable`1 Tacticowl.Verb_TryCastNextBurstShot:Transpiler(IEnumerable`1 instructions)
- TRANSPILER legodude17.mvcf: IEnumerable`1 MVCF.PatchSets.PatchSet_VerbComps:TryCastNextBurstShot_Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX com.dninemfive.chickenVOID: Boolean VoidEvents.HarmonyContainer+TryCastNextBurstShot_Patch:Prefix(Verb __instance)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.Verb_TryCastNextBurstShot:TryCastNextBurstShot(Verb __instance, Int32& ___burstShotsLeft)
- POSTFIX Vodka.MuzzleFlash: Void MuzzleFlash.Patch.HarmonyPatch_Verb:Postfix(Verb __instance, Int32 ___burstShotsLeft)
- POSTFIX legodude17.mvcf: Void MVCF.PatchSets.PatchSet_VerbComps:TryCastNextBurstShot_Postfix(Verb __instance)
at Verse.Verb.WarmupComplete () [0x00013] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX Dubwise.DubsMintMinimap: Void DubsMintMinimap.Harmony_WarmupComplete:Postfix(Verb __instance)
at Verse.Verb_LaunchProjectile.WarmupComplete () [0x00000] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Verb_Shoot.WarmupComplete () [0x00015] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- PREFIX com.ogliss.rimworld.mod.AdeptusMechanicus: Void AdeptusMechanicus.HarmonyInstance.Verb_Shoot_WarmupComplete_RapidFIre_FixEXP_Patch:Prefix(Verb_Shoot& __instance, Nullable`1& __state)
- POSTFIX com.ogliss.rimworld.mod.AdeptusMechanicus: Void AdeptusMechanicus.HarmonyInstance.Verb_Shoot_WarmupComplete_RapidFIre_FixEXP_Patch:Postfix(Verb_Shoot& __instance, Nullable`1 __state)
at Verse.Stance_Warmup.Expire () [0x0000a] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Stance_Busy.StanceTick () [0x0003f] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER kaitorisenkou.ModularWeapons: IEnumerable`1 ModularWeapons.Flashlight_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
at Verse.Stance_Warmup.StanceTick () [0x002db] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- POSTFIX PeteTimesSix.SimpleSidearms: Void PeteTimesSix.SimpleSidearms.Intercepts.Stance_Warmup_StanceTick_Postfix:StanceTick(Stance_Warmup __instance)
at Verse.Pawn_StanceTracker.StanceTrackerTick () [0x00016] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
at Verse.Pawn.Tick () [0x00119] in <f0ac5eb9b52e4cc396c70fc9a4ee15e5>:0
- TRANSPILER Krkr.RocketMan.Soyuz: IEnumerable`1 Soyuz.Patches.Pawn_Tick_Patch:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- PREFIX rimworld.mod.rabbit.stunskipworld: Boolean Stunskip.Patch.AllTickUpdate+PawnTickUpdate:Prefix(Pawn __instance)
- PREFIX rimworld.mod.rabbit.stunskipworld: Boolean Stunskip.Patch.AllTickUpdate+PawnTickUpdate:Prefix(Pawn __instance)
- POSTFIX alt4s.alliesarehelpful: Void PawnTendAndRescuePatch:Postfix(Pawn __instance)
- POSTFIX dev.tobot.vpe-better-autocast: Void BetterAutocastVPE.Patches.Pawn_Tick_Autocast:Postfix(Pawn __instance)
- POSTFIX Mlie.YayosCombat3: Void yayoCombat.patch_Pawn_TickRare:Postfix(Pawn __instance)
- FINALIZER Krkr.RocketMan.Soyuz: Void Soyuz.Patches.Pawn_Tick_Patch:Finalizer(Pawn __instance, Exception __exception)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
RocketMan.Logger:Debug (string,System.Exception,string)
Soyuz.Patches.Pawn_Tick_Patch:Finalizer (Verse.Pawn,System.Exception)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch6 (Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch2 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch6 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch2 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)





Users reporting the same issue:

Pet Mudstone 1. Mai um 21:17
There's a similar issue with the Nociosphere.

https://gist.github.com/HugsLibRecordKeeper/fab88f875d9f660aec8154904471e678

When it activates it can only attack once if something is around it then it just sits around attempting to attack while spamming countless red errors every second.

It's a shame too, cuz this is honestly a pretty damn wonderful mod! Adds a lot more considerations to weapon quality and condition, especially combined with LTS Maintenance. Can't maintain weapons you don't have researched and that means they break down more and more! It's a nice balancing lever.

fallenscion 25. Apr. um 18:19
There is currently (April 25, 2024) a game-breaking bug with fleshbeast spike launch abilities that causes red error overflow when using this mod.

https://gist.github.com/HugsLibRecordKeeper/5ff244ff70f883f52ffd48955e2192a3

Specifically there is a nullreference at BDsWeaponJamming.HarmonyPatch+HarmonyPatches.TryCastShot_Prefix (System.Boolean& __result, Verse.Verb_LaunchProjectile __instance) [0x0000f] in <70c16bb398bf4bf99f3fc4e1586dd720>:0
Last edited by Narlindir; 7 Jul, 2024 @ 1:57pm