边缘世界 RimWorld

边缘世界 RimWorld

MultiTending
qux 9 月 6 日 上午 7:14
Error
Hi, this error appear when My pawn was kidnapped by raiders :

Chinchilla did not have work settings initialized.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimWorld.Pawn_WorkSettings:ConfirmInitializedDebug ()
RimWorld.Pawn_WorkSettings:WorkIsActive (Verse.WorkTypeDef)
MultiTending.MTUtil:PawnCanDoctor (Verse.Pawn,bool)
MultiTending.Patch_CanReserve:Postfix (bool&,Verse.LocalTargetInfo,Verse.Pawn)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.ReservationManager.CanReserve_Patch2 (Verse.AI.ReservationManager,Verse.Pawn,Verse.LocalTargetInfo,int,int,Verse.ReservationLayerDef,bool)
Verse.AI.ReservationUtility:CanReserve (Verse.Pawn,Verse.LocalTargetInfo,int,int,Verse.ReservationLayerDef,bool)
RimWorld.KidnapAIUtility/<>c__DisplayClass0_0:<TryFindGoodKidnapVictim>b__0 (Verse.Thing)
Verse.RegionProcessorClosestThingReachable:ProcessThing (Verse.Region,Verse.Thing)
Verse.RegionProcessorClosestThingReachable:RegionProcessor (Verse.Region)
Verse.RegionTraverser/BFSWorker:BreadthFirstTraverseWork (Verse.Region,Verse.RegionEntryPredicate,Verse.RegionProcessor,int,Verse.RegionType)
Verse.RegionTraverser:BreadthFirstTraverse (Verse.Region,Verse.RegionEntryPredicate,Verse.RegionProcessor,int,Verse.RegionType)
Verse.RegionTraverser:BreadthFirstTraverse (Verse.Region,Verse.RegionProcessorDelegateCache,int,Verse.RegionType)
Verse.GenClosest:RegionwiseBFSWorker (Verse.IntVec3,Verse.Map,Verse.ThingRequest,Verse.AI.PathEndMode,Verse.TraverseParms,System.Predicate`1<Verse.Thing>,System.Func`2<Verse.Thing, single>,int,int,single,int&,Verse.RegionType,bool,bool)
Verse.GenClosest:ClosestThingReachable (Verse.IntVec3,Verse.Map,Verse.ThingRequest,Verse.AI.PathEndMode,Verse.TraverseParms,single,System.Predicate`1<Verse.Thing>,System.Collections.Generic.IEnumerable`1<Verse.Thing>,int,int,bool,Verse.RegionType,bool,bool)
RimWorld.KidnapAIUtility:TryFindGoodKidnapVictim (Verse.Pawn,single,Verse.Pawn&,System.Collections.Generic.List`1<Verse.Thing>)
RimWorld.LordToil_KidnapCover:TryFindGoodOpportunisticTaskTarget (Verse.Pawn,Verse.Thing&,System.Collections.Generic.List`1<Verse.Thing>)
RimWorld.LordToil_DoOpportunisticTaskOrCover:UpdateAllDuties ()
Verse.AI.Group.Lord:GotoToil (Verse.AI.Group.LordToil)
Verse.AI.Group.Transition:Execute (Verse.AI.Group.Lord)
Verse.AI.Group.Transition:CheckSignal (Verse.AI.Group.Lord,Verse.AI.Group.TriggerSignal)
Verse.AI.Group.Lord:CheckTransitionOnSignal (Verse.AI.Group.TriggerSignal)
Verse.AI.Group.Lord:LordTick ()
Verse.AI.Group.LordManager:LordManagerTick ()
Verse.Map:MapPostTick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
< >
正在显示第 1 - 6 条,共 6 条留言
qux 9 月 6 日 上午 7:21 
And this (This happened with the Don't put yourself in danger mod, a pawn is injured, and the medics cannot go and treat him because the area is not authorized for them
)

Could not reserve Thing_Human20552 (layer: null) for Vent for job TendPatient (Job_53214) A = Thing_Human20552 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes] (now doing job TendPatient (Job_53214) A = Thing_Human20552 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes](curToil=-1)) for maxPawns 1 and stackCount -1.
Existing reservers:
[0] Oliver (job: TendPatient (Job_53179) A = Thing_Human20552 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes], toil: 0, maxPawns: 1, stackCount: -1)
[1] Kev (job: TendPatient (Job_53208) A = Thing_Human20552 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes], toil: 0, maxPawns: 1, stackCount: -1)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.AI.ReservationManager:LogCouldNotReserveError (Verse.Pawn,Verse.AI.Job,Verse.LocalTargetInfo,int,int,Verse.ReservationLayerDef)
Verse.AI.ReservationManager:Reserve (Verse.Pawn,Verse.AI.Job,Verse.LocalTargetInfo,int,int,Verse.ReservationLayerDef,bool,bool,bool)
Verse.AI.ReservationUtility:Reserve (Verse.Pawn,Verse.LocalTargetInfo,Verse.AI.Job,int,int,Verse.ReservationLayerDef,bool,bool)
RimWorld.JobDriver_TendPatient:TryMakePreToilReservations (bool)
Verse.AI.Pawn_JobTracker:StartJob (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)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
Verse.AI.Pawn_JobTracker:EndCurrentJob (Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()
Kenzej  [开发者] 9 月 6 日 下午 4:42 
I'm looking into the "Chinchilla did not have work settings initialized" error, for the Don't put yourself in danger mod error you're getting I believe you'll have to enable the option to disable automatic multitending (only allow multitend when you draft) because of confliction in the reservation logic used by my mod and DPYID's mod. I'll look into a solution to this but I'm quite busy til monday :/
Kenzej  [开发者] 9 月 6 日 下午 4:43 
You might be able to allow the doctors area to include the patient in DPYID but I'm not sure, have never used that mod myself :S
Kenzej  [开发者] 9 月 11 日 上午 7:30 
Let me know if the latest patch fixes this issue ^^
qux 9 月 11 日 上午 10:33 
Error in static constructor of MultiTending.Bootstrap: System.TypeInitializationException: The type initializer for 'MultiTending.Bootstrap' threw an exception. ---> HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void MultiTending.Patch_Reserve_ForTending::Prefix(Verse.Pawn claimant, Verse.AI.Job job, Verse.LocalTargetInfo target, System.Int32& maxPawns, System.Int32 stackCount, Verse.ReservationLayerDef layer, System.Boolean& errorOnFailed, System.Boolean share)
[Ref 6CDD5CBC]
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal, System.Boolean unpatch) [0x00047] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00064] in <e53399289d9b419d83f9f5b02c5cf609>:0
--- End of inner exception stack trace ---
[Ref 19F40F87]
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00154] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00096] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.Harmony.<PatchAll>b__10_1 (System.Type type) [0x00007] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.CollectionExtensions.DoIf[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Func`2[T,TResult] condition, System.Action`1[T] action) [0x00007] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <e53399289d9b419d83f9f5b02c5cf609>:0
at HarmonyLib.Harmony.PatchAll () [0x0001d] in <e53399289d9b419d83f9f5b02c5cf609>:0
MultiTending.Bootstrap..cctor()
--- End of inner exception stack trace ---
[Ref F5741052]
(wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <51fded79cd284d4d911c5949aff4cb21>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00028] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix()
- POSTFIX LayeredDestruction.patch: Void LayeredDestruction.StaticConstructorOnStartupUtilityPatch:Postfix()
- POSTFIX VanillaTradingExpandedEarly.Mod: Void VanillaTradingExpanded.Initializer:Postfix()
- POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.InitializeMod:Postfix()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch4 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
qux 9 月 17 日 上午 9:04 
Hi, now I have this

Could not reserve Thing_Human39208 (layer: null) for Elekio for job TendPatient (Job_4077) A = Thing_Human39208 B = Thing_MedicineUltratech37520 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes] (now doing job TendPatient (Job_4077) A = Thing_Human39208 B = Thing_MedicineUltratech37520 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes](curToil=-1)) for maxPawns 1 and stackCount -1.
Existing reservers:
[0] Mouse (job: TendPatient (Job_3048) A = Thing_Human39208 B = Thing_MedicineUltratech37520 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes], toil: 3, maxPawns: 1, stackCount: -1)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.AI.ReservationManager:LogCouldNotReserveError (Verse.Pawn,Verse.AI.Job,Verse.LocalTargetInfo,int,int,Verse.ReservationLayerDef)
Verse.AI.ReservationManager:Reserve (Verse.Pawn,Verse.AI.Job,Verse.LocalTargetInfo,int,int,Verse.ReservationLayerDef,bool,bool,bool)
Verse.AI.ReservationUtility:Reserve (Verse.Pawn,Verse.LocalTargetInfo,Verse.AI.Job,int,int,Verse.ReservationLayerDef,bool,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.JobDriver_TendPatient.TryMakePreToilReservations_Patch1 (RimWorld.JobDriver_TendPatient,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch3 (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)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch1 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch1 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)


TryMakePreToilReservations() returned false for a non-queued job right after StartJob(). This should have been checked before. pawn = Elekio, curJob = TendPatient (Job_4097) A = Thing_Human39208 B = Thing_MedicineUltratech37520 Giver = JobGiver_Work [workGiverDef: DoctorTendToHumanlikes]
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Warning_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.StartJob_Patch3 (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)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
Verse.AI.Pawn_JobTracker:JobTrackerTickInterval (int)
Verse.Pawn:TickInterval (int)
Verse.Thing:DoTick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickList.Tick_Patch1 (Verse.TickList)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.TickManagerUpdate_Patch1 (Verse.TickManager)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)


logs : https://gist.github.com/HugsLibRecordKeeper/4450ac4f0a720f0d0d5f9af2bf3694d6
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50