边缘世界 RimWorld

边缘世界 RimWorld

Weapon Mastery
gravy 7 月 18 日 上午 8:36
Error when tucking pawns into bed (Rescue/Arrest)
I was using Mlie's continued version of this before he had notified us that the original was updated. Since changing mods, I am getting this error in the logs when ordering a pawn to either rescue a downed pawn, or arrest a pawn. I am using Simple sidearms, which could be a conflict, however it wasn't a problem with the continued version. Let me know if you're able to replicate this on your end.

JobDriver threw exception in toil TuckIntoBed's initAction for pawn Red driver=JobDriver_TakeToBed (toilIndex=9) driver.job=(Rescue (Job_3090751) A = Thing_Human14890 B = Thing_Bed583379 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2A113091]
at SK_WeaponMastery.Utils.PawnIdeologyDespisesWeapon (Verse.Pawn pawn, Verse.Thing weapon) [0x0000b] in <0f65c571026b42d0bc53cd1659173723>:0
at SK_WeaponMastery.Compat.SimpleSidearmsCompat.AfterDropMethod (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, System.Boolean& __result) [0x000b8] in <0f65c571026b42d0bc53cd1659173723>:0
at Verse.ThingOwner`1[T].TryDrop (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, T& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator) [0x0006a] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX rimworld.sk.weaponmastery: Void SK_WeaponMastery.Compat.SimpleSidearmsCompat:AfterDropMethod(Thing thing, IntVec3 dropLoc, Map map, Boolean& __result)
at Verse.Pawn_CarryTracker.TryDropCarriedThing (Verse.IntVec3 dropLoc, Verse.ThingPlaceMode mode, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00018] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.RestUtility.TuckIntoBed (RimWorld.Building_Bed bed, Verse.Pawn taker, Verse.Pawn takee, System.Boolean rescued) [0x0000b] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.Toils_Bed+<>c__DisplayClass6_0.<TuckIntoBed>b__0 () [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Notify_PatherArrived_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.StartPath_Patch2 (Verse.AI.Pawn_PathFollower,Verse.LocalTargetInfo,Verse.AI.PathEndMode)
Verse.AI.Toils_Goto/<>c__DisplayClass1_0:<GotoThing>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Notify_PatherArrived_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.StartPath_Patch2 (Verse.AI.Pawn_PathFollower,Verse.LocalTargetInfo,Verse.AI.PathEndMode)
Verse.AI.Toils_Goto/<>c__DisplayClass1_0:<GotoThing>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.AI.Job,Verse.AI.JobCondition,Verse.AI.ThinkNode,bool,bool,Verse.ThinkTreeDef,System.Nullable`1<Verse.AI.JobTag>,bool,bool,System.Nullable`1<bool>,bool,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.TryFindAndStartJob_Patch1 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.JobDriver:EndJobWith (Verse.AI.JobCondition)
Verse.AI.Pawn_JobTracker:TryTakeOrderedJob (Verse.AI.Job,System.Nullable`1<Verse.AI.JobTag>,bool)
RimWorld.FloatMenuOptionProvider_RescuePawn/<>c__DisplayClass8_0:<GetSingleOptionFor>b__0 ()
Verse.FloatMenuOption:Chosen (bool,Verse.FloatMenu)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.FloatMenuOption.DoGUI_Patch1 (Verse.FloatMenuOption,UnityEngine.Rect,bool,Verse.FloatMenu)
Verse.FloatMenu:DoWindowContents (UnityEngine.Rect)
Verse.FloatMenuMap:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
< >
正在显示第 1 - 9 条,共 9 条留言
Sk  [开发者] 7 月 19 日 上午 6:57 
I will check it and let you know. I did make some updates to the mod.
gravy 7 月 19 日 上午 8:51 
thank you! love what this and the continued mod does, hard to live without it especially knowing that this version increases the level cap to 100
Sk  [开发者] 7 月 19 日 上午 9:53 
Hey, I've pushed a new version with the fix. Please try it and let me know if it works for you.
gravy 7 月 19 日 上午 10:19 
switching them out now, will update you shortly
gravy 7 月 19 日 上午 10:27 
seems to be working fine on my end now. Thank you for the fix! I'll let you know if I encounter anything else with a provided log if possible
最后由 gravy 编辑于; 7 月 19 日 上午 10:27
gravy 7 月 19 日 下午 1:21 
Sorry to bring it up to you again - but the same bug is preventing me from placing an arrested colonist into a prison bed. However, it only prevents me from doing that when "Weapon mood buff/debuff" is enabled in the settings.

JobDriver threw exception in toil TuckIntoBed's initAction for pawn Zhou driver=JobDriver_TakeToBed (toilIndex=9) driver.job=(Capture (Job_5317118) A = Thing_Human2116403 B = Thing_SleepingSpot663788 Giver = ThinkNode_QueuedJob [workGiverDef: null])
System.NullReferenceException: Object reference not set to an instance of an object
[Ref 2A113091]
at SK_WeaponMastery.Utils.PawnIdeologyDespisesWeapon (Verse.Pawn pawn, Verse.Thing weapon) [0x0000b] in <0f65c571026b42d0bc53cd1659173723>:0
at SK_WeaponMastery.Compat.SimpleSidearmsCompat.AfterDropMethod (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, System.Boolean& __result) [0x000b8] in <0f65c571026b42d0bc53cd1659173723>:0
at Verse.ThingOwner`1[T].TryDrop (Verse.Thing thing, Verse.IntVec3 dropLoc, Verse.Map map, Verse.ThingPlaceMode mode, T& lastResultingThing, System.Action`2[T1,T2] placedAction, System.Predicate`1[T] nearPlaceValidator) [0x0006a] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX rimworld.sk.weaponmastery: Void SK_WeaponMastery.Compat.SimpleSidearmsCompat:AfterDropMethod(Thing thing, IntVec3 dropLoc, Map map, Boolean& __result)
at Verse.Pawn_CarryTracker.TryDropCarriedThing (Verse.IntVec3 dropLoc, Verse.ThingPlaceMode mode, Verse.Thing& resultingThing, System.Action`2[T1,T2] placedAction) [0x00018] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.RestUtility.TuckIntoBed (RimWorld.Building_Bed bed, Verse.Pawn taker, Verse.Pawn takee, System.Boolean rescued) [0x0000b] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.Toils_Bed+<>c__DisplayClass6_0.<TuckIntoBed>b__0 () [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x001b0] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Notify_PatherArrived_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.StartPath_Patch2 (Verse.AI.Pawn_PathFollower,Verse.LocalTargetInfo,Verse.AI.PathEndMode)
Verse.AI.Toils_Goto/<>c__DisplayClass1_0:<GotoThing>b__0 ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
Verse.AI.JobDriver:TryActuallyStartNextToil ()
Verse.AI.JobDriver:ReadyForNextToil ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.Notify_PatherArrived_Patch1 (Verse.AI.JobDriver)
Verse.AI.Pawn_PathFollower:PatherArrived ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_PathFollower.TryEnterNextPathCell_Patch3 (Verse.AI.Pawn_PathFollower)
Verse.AI.Pawn_PathFollower:PatherTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
Sk  [开发者] 7 月 19 日 下午 11:01 
I've just tested a couple of times just to make sure and it seems to be working for me. Which version of the mod do you have right now? It should be in the mod's description in the mod menu.
最后由 Sk 编辑于; 7 月 19 日 下午 11:04
gravy 7 月 20 日 上午 8:07 
I'm using v2.3.2
gravy 7 月 20 日 上午 8:08 
oh shoot, steam hadn't updated the mod. I see the most recent version is v2.3.3
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50