RimWorld
RunAndGun
roolo  [開発者] 2018年1月2日 2時21分
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.
最近の変更はrooloが行いました; 2018年10月26日 1時45分
< >
76-90 / 133 のコメントを表示
Nitram99 の投稿を引用:
Run and Gun conflicts with the mod "Ore Yield" as when both are active Run and Gun does not show up as a mod that you can change settings for in mod settings. I have tried with just these 2 mods and HugsLibs installed and HugsLibs above all other mods and core and royalty dlc.

I am having the same issue

https://gist.github.com/287b5a676158a59e698caf89924e03ee

EDIT:
The issue seems to be "Ore Yield". The mod breaks the whole game. See the discussion there
最近の変更はSVAx-ophoneが行いました; 2020年8月17日 0時26分
Hello, I have a lot of mods and this error seems to prevent me from using Run And Gun from the start of the game :

[HugsLib][ERR] RunAndGun caused an exception during OnDefsLoaded: System.NullReferenceException: Object reference not set to an instance of an object at OreYields.StatPart_MassMultiplier.TransformValue (RimWorld.StatRequest req, System.Single& val) [0x00008] in <abf832d398484cee837a1dbbc4123660>:0 at RimWorld.StatWorker.FinalizeValue (RimWorld.StatRequest req, System.Single& val, System.Boolean applyPostProcess) [0x00022] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 at RimWorld.StatWorker.GetValue (RimWorld.StatRequest req, System.Boolean applyPostProcess) [0x0004c] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 at RimWorld.StatWorker.GetValueAbstract (Verse.BuildableDef def, Verse.ThingDef stuffDef) [0x00009] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 at RimWorld.StatExtension.GetStatValueAbstract (Verse.BuildableDef def, RimWorld.StatDef stat, Verse.ThingDef stuff) [0x00006] in <0ee2c524c4be441e9b7f8bfcb20aca6f>:0 at RunAndGun.Utilities.WeaponUtility.getHeaviestWeapons (System.Collections.Generic.List`1[T] list, System.Single& weightMelee, System.Single& weightRanged) [0x00031] in <b794371ac9ff4775865fbf8a3b981e2c>:0 at RunAndGun.Base.DefsLoaded () [0x00019] in <b794371ac9ff4775865fbf8a3b981e2c>:0 at HugsLib.HugsLibController.OnDefsLoaded () [0x0001a] in <e4b32d84f714481f906e5eea5e560e3b>:0

So yeah, Ore Yields is probably the killer.
最近の変更はDr.Peterが行いました; 2020年8月18日 13時11分
Nothing major from what I can tell, but I see an error with this mod and Or Yields by NECROS. Here's the hugslib log.[gist.github.com]

It only comes up when these two are active together. I haven't really looked too far into it, but after seeing some other comments I can confirm it prevents anyone from using/toggling the "run and gun" while drafted, because the box doesn't exist. I'll make sure to let NECROS aware as well.
i have run and gun installed and previously it was working but today the icon no longer shows up when drafted and the pawns do not shoot while on the move. I have run and gun as the last mod in the list.
Salticus 2020年10月29日 14時51分 
I have found an incompatibility with Ancient Rim SPQRim. When you have a pawn equipped with any melee weapon and a shield from that mod (I don't know if this happens with shields from other mods too) and they go into melee, or even just attack a wall, after some hits they will go into "berserk" mode, where they hit the target many times with the shield in a small amount of time, effectively downing pawns or destroying stone walls in a second. I don't know how this mod casues the problem, but through trial and error I removed random mods from my long modlist, and removing Run and Gun fixed it.


Also here is the Link to the HugsLib log or whatever this is: https://gist.github.com/a4102127101074086c205715670feb2a

Edit: Forgot to say that I still play in 1.1.2654
最近の変更はSalticusが行いました; 2020年10月29日 14時53分
https://gist.github.com/edfc73f44e158a96418070005b5546bf

It's not a game-crashing "bug" it keeps throwing the same 6 exceptions over and over. (In the log, the last 6)
You probably get asked this a lot, but is there any known issues with Combat Extended compatibility?
Getting this error on loading, does not stop loading but unsure.
[MVCF] Applying RunAndGun compatibility patch
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 <eca77cde902e46caada168810bc23beb>: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 <567df3e0919241ba98db88bec4c6696f>: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 <567df3e0919241ba98db88bec4c6696f>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at HarmonyLib.CodeTranspiler+<>c__DisplayClass12_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x0004b] in <20181e2d55204880a56a9120ef04a53d>:0
at System.Collections.Generic.List`1[T].ForEach (System.Action`1[T] action) [0x00024] in <567df3e0919241ba98db88bec4c6696f>:0
at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] in <20181e2d55204880a56a9120ef04a53d>: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 <20181e2d55204880a56a9120ef04a53d>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <20181e2d55204880a56a9120ef04a53d>:0
at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0020e] in <20181e2d55204880a56a9120ef04a53d>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <20181e2d55204880a56a9120ef04a53d>:0
at HarmonyLib.PatchProcessor.Patch () [0x000de] in <20181e2d55204880a56a9120ef04a53d>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <20181e2d55204880a56a9120ef04a53d>:0
at MVCF.Harmony.Compat.ApplyCompat (HarmonyLib.Harmony harm) [0x0005c] in <eca77cde902e46caada168810bc23beb>:0
at MVCF.Base.ApplyPatches () [0x00010] in <eca77cde902e46caada168810bc23beb>:0
at MVCF.Utilities.VerbManagerUtility.AddVerbs (MVCF.VerbManager man, Verse.ThingWithComps eq) [0x00186] in <eca77cde902e46caada168810bc23beb>:0
at MVCF.Harmony.Trackers.EquipmentAdded_Postfix (Verse.ThingWithComps eq, Verse.Pawn_EquipmentTracker __instance) [0x00011] in <eca77cde902e46caada168810bc23beb>:0
at (wrapper dynamic-method) Verse.Pawn_EquipmentTracker.Verse.Pawn_EquipmentTracker.Notify_EquipmentAdded_Patch6(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.2.7705.25110, 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_Patch3(Verse.Pawn_EquipmentTracker,Verse.ThingWithComps)
at (wrapper dynamic-method) RimWorld.PawnWeaponGenerator.RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor_Patch4(Verse.Pawn,Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateGearFor_Patch5(Verse.Pawn,Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch0(Verse.PawnGenerationRequest&,string&,bool,bool)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch3(Verse.PawnGenerationRequest&)
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00183] in <c36f9493c9844ddaa7fb5c788416098f>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch8(Verse.PawnGenerationRequest)
I wouldn't call this a bug, but it was annoying enough to nearly destroy my game. When a pawn is using Run & Gun you can't tell them who to shoot. They stop moving when I issue the command, and when I make them start running they go back to their old target.

My entire colony nearly got wiped out because my colonists were shooting everyone in the back as the raiders ran at them with knives. I've had this issue before, but this was the only time it nearly ended the entire game!
Can anything be done so the run-and-gun toggle button won't desync the game when using the Multiplayer mod (https://steamcommunity.com/sharedfiles/filedetails/?id=1752864297) ?
Unfortunately HugsLib log publisher is also giving me an error (HTTP bad request) so hopefully this section of the log is relevant enough to do something with as I don't want to try posting 1000's of LOC in a comment. Running both DLCs and only mods which are marked updated for 1.3 or confirmed working. Still tweaking the list to get rid of errors so could easily be a conflict, I'll update if removing something else makes it disappear, but from what I can see the only things involved are R&G and Harmony.

[RunAndGun][ERR] Failed to apply Harmony patches for roolo.RunAndGun. Exception was: HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Boolean RunAndGun.Harmony.Verb_TryStartCastOn::Prefix(Verse.Verb __instance, Verse.LocalTargetInfo castTarg, System.Boolean surpriseAttack, System.Boolean canHitNonTargetPawns, System.Boolean& ___surpriseAttack, System.Boolean& ___canHitNonTargetPawnsNow, Verse.LocalTargetInfo& ___currentTarget)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <3bb480836b154c41add2d5427773b4c6>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <3bb480836b154c41add2d5427773b4c6>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <3bb480836b154c41add2d5427773b4c6>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <3bb480836b154c41add2d5427773b4c6>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <3bb480836b154c41add2d5427773b4c6>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <3bb480836b154c41add2d5427773b4c6>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <3bb480836b154c41add2d5427773b4c6>:0
at HugsLib.ModBase.ApplyHarmonyPatches () [0x0009a] in <4dd8a30b2ddc479e878b55ffe02db6e8>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
roolo  [開発者] 2021年7月22日 1時49分 
Harmony exceptions like that can only happen when you either don't have the correct version of Rimworld, or not the correct version of RunAndGun.

Perhaps Steam didn't update the mod properly for you. You can force a resync by unsubscribing, and then subscribing again to the mod. If that doesn't work, try deleting RunAndGun mod folder (google where to find steam mods), and subscribe to it again.

It could also be that you have the wrong Rimworld version. Please check which version you have and post it here (just boot the game, I think it should show the version somewhere on the startup screen).
Nev 2021年7月23日 7時31分 
Hey Roolo, having an issue where my pawns basically teleport, and I lose the ability to undraft them.
Here's my log [gist.github.com] I hope that helps.
^I have the exact same issue.

Restarting the game fixed the issue for me without doing anything else.
最近の変更はGhisarioが行いました; 2021年7月23日 15時50分
Nev 2021年7月25日 6時08分 
Oh, that fixed it for me. Thanks kindly stranger.
< >
76-90 / 133 のコメントを表示
ページ毎: 1530 50