RimWorld

RimWorld

Food Pot: Perpetual stew
 This topic has been pinned, so it's probably important
Argón  [developer] 16 Mar, 2024 @ 11:28am
BUGS GO HERE - PLEASE ATTACH LOG
This mod heavily modifies the code related to Nutrient Paste Dispensers, which, if you ask anyone in the Rimworld modding community, is a convoluted and hardcoded mess. That means weird bugs can arise with this. Those bugs are fairly easy to fix if you provide an error log, for I cannot simply guess the part of the code where this is being messed. Thank you and I hope you enjoy the mod.
< >
Showing 1-15 of 23 comments
Maxter1o2 16 Mar, 2024 @ 2:04pm 
Food Pot: Perpetual stew,
Bug: Job assignment issue.

Updated to included
Bug: Cauldron Pickup

https://pastebin.com/VHuXvCfM
Last edited by Maxter1o2; 16 Mar, 2024 @ 2:18pm
Argón  [developer] 16 Mar, 2024 @ 4:01pm 
Are they picking it up to feed someone else? Is it a prisoner, an animal, a patient?
Maxter1o2 16 Mar, 2024 @ 4:44pm 
they pick it up to feed another person Patient they start hoarding them in their inventory. what if the weight was changed to be to heavy to be picked up?

Animals will grab paste from it and eat at a table lol.
CrackaJack 16 Mar, 2024 @ 5:53pm 
i get thousands of these, people "standing" failing the job in 1.4....
(i didnt even build a stew pot yet, and yup i tried without the mod, errors gone+prisoners can be fed again) visual exceptions pointed tacticowl as the culprit -but again, its gone if i deactivate stew pot mod-, so thats probably conflicting somehow, and common sense threw some yellow errors too.


Exception in SetupToils for pawn Olébrin driver=JobDriver_FoodFeedPatient (toilIndex=-1) driver.job=(FeedPatient (Job_2018717) A=Thing_MealSimple607764 B=Thing_Human259806)
System.MissingMethodException: Verse.AI.Toil Verse.AI.Toils_Goto.GotoThing(Verse.AI.TargetIndex,Verse.AI.PathEndMode,bool)
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.SetupToils_Patch1(Verse.AI.JobDriver)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch5 (string)
(wrapper dynamic-method) Verse.AI.JobUtility:Verse.AI.JobUtility.TryStartErrorRecoverJob_Patch2 (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.JobDriver:Verse.AI.JobDriver.SetupToils_Patch1 (Verse.AI.JobDriver)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.StartJob_Patch4 (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)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.TryFindAndStartJob_Patch1 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch1 (Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool)
(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_Patch1 (Verse.Pawn)
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch3 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
CrackaJack 16 Mar, 2024 @ 5:53pm 
and this, from visual exceptions:

Exception in Verse.AI.JobDriver.SetupToils: System.MissingMethodException: Verse.AI.Toil Verse.AI.Toils_Goto.GotoThing(Verse.AI.TargetIndex,Verse.AI.PathEndMode,bool)
at Verse.AI.JobDriver.SetupToils () [0x00057] in <cd7169108ea74757aa50c5b33d275c15>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- postfix Tacticowl: Void Tacticowl.Patch_SetupToils:Postfix(JobDriver __instance)
Last edited by CrackaJack; 16 Mar, 2024 @ 5:54pm
Kovn 16 Mar, 2024 @ 8:29pm 
issue with picking up pot to feed patients/prisoners with. Im guessing shouldnt be able to pick up and try to dump on pawn to feed based on comments and other logs. Also - in prison had an issue where the pawn tried to feed but couldn't and the pot would fall outside of the cell (1x4 long cell)

On most recent update as of 3.16.24 08:26 PST.

Pastebin: https://pastebin.com/T691sZ6Z
Last edited by Kovn; 16 Mar, 2024 @ 8:32pm
iGeo 16 Mar, 2024 @ 9:49pm 
Exception ticking Xueye (at (79, 0, 70)): System.MissingMethodException: bool Verse.AI.ReservationUtility.Reserve(Verse.Pawn,Verse.LocalTargetInfo,Verse.AI.Job,int,int,Verse.ReservationLayerDef,bool,bool)
at Verse.AI.Pawn_JobTracker.StartJob (Verse.AI.Job newJob, Verse.AI.JobCondition lastJobEndCondition, Verse.AI.ThinkNode jobGiver, System.Boolean resumeCurJobAfterwards, System.Boolean cancelBusyStances, Verse.ThinkTreeDef thinkTree, System.Nullable`1[T] tag, System.Boolean fromQueue, System.Boolean canReturnCurJobToPool, System.Nullable`1[T] keepCarryingThingOverride, System.Boolean continueSleeping, System.Boolean addToJobsThisTick) [0x002e6] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.AI.Pawn_JobTracker.TryFindAndStartJob () [0x00098] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.AI.Pawn_JobTracker.EndCurrentJob (Verse.AI.JobCondition condition, System.Boolean startNewJob, System.Boolean canReturnToPool) [0x001ae] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.AI.Pawn_JobTracker.JobTrackerTick () [0x00162] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.Pawn.Tick () [0x000cc] in <cd7169108ea74757aa50c5b33d275c15>:0
at Verse.TickList.Tick () [0x0015c] in <cd7169108ea74757aa50c5b33d275c15>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.TickList:Tick ()
Verse.TickManager:DoSingleTick ()
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
Verse.Root_Play:Update ()

Getting this message hunded of times while my colonist stare at the pot and are unable to move to haul any nutrition to the pot.
JimRaynor56 16 Mar, 2024 @ 10:07pm 
Continuous errors when a pawn tries to add food to the cauldron.

Exception ticking Opossum (at (135, 0, 77)): System.MissingMethodException: bool Verse.AI.ReservationUtility.Reserve(Verse.Pawn,Verse.LocalTargetInfo,Verse.AI.Job,int,int,Verse.ReservationLayerDef,bool,bool) at (wrapper dynamic-method) Verse.AI.Pawn_JobTracker.Verse.AI.Pawn_JobTracker.StartJob_Patch1(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) at Verse.AI.Pawn_JobTracker.TryFindAndStartJob () [0x00098] in <cd7169108ea74757aa50c5b33d275c15>:0 at (wrapper dynamic-method) Verse.AI.Pawn_JobTracker.Verse.AI.Pawn_JobTracker.EndCurrentJob_Patch2(Verse.AI.Pawn_JobTracker,Verse.AI.JobCondition,bool,bool) at (wrapper dynamic-method) Verse.AI.Pawn_JobTracker.Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0(Verse.AI.Pawn_JobTracker) at (wrapper dynamic-method) Verse.Pawn.Verse.Pawn.Tick_Patch2(Verse.Pawn) at (wrapper dynamic-method) Verse.TickList.Verse.TickList.Tick_Patch0(Verse.TickList) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Argón  [developer] 16 Mar, 2024 @ 10:09pm 
I'm aware of these, I'm working on getting them fixed.
Aieloth 17 Mar, 2024 @ 1:46am 
Nevermind, the update never rolled out for me for some reason
Seems to be working now
UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow (string) Verse.Root_Play/<>c:<Start>b__1_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 () Exception in BreadthFirstTraverse: System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.FoodUtility+<>c__DisplayClass14_0.<BestFoodSourceOnMap>b__2 (Verse.Thing t) [0x00027] in <407df8b6624a4007bd066380b57639c7>:0 at Verse.RegionProcessorClosestThingReachable.RegionProcessor (Verse.Region reg) [0x000f2] in <407df8b6624a4007bd066380b57639c7>:0 at Verse.RegionTraverser+BFSWorker.BreadthFirstTraverseWork (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00054] in <407df8b6624a4007bd066380b57639c7>:0 at Verse.RegionTraverser.BreadthFirstTraverse (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00044] in <407df8b6624a4007bd066380b57639c7>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) 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) 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) RimWorld.FoodUtility:BestFoodSourceOnMap (Verse.Pawn,Verse.Pawn,bool,Verse.ThingDef&,RimWorld.FoodPreferability,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,RimWorld.FoodPreferability,System.Nullable`1<single>,bool) RimWorld.FoodUtility:TryFindBestFoodSourceFor (Verse.Pawn,Verse.Pawn,bool,Verse.Thing&,Verse.ThingDef&,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,bool,RimWorld.FoodPreferability) RimWorld.JobGiver_GetFood:TryGiveJob (Verse.Pawn) Verse.AI.ThinkNode_JobGiver:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Tagger:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Subtree:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams) Verse.AI.Pawn_JobTracker:DetermineNextJob (Verse.ThinkTreeDef&,bool) Verse.AI.Pawn_JobTracker:CheckForJobOverride (single) RimWorld.Toils_LayDown/<>c__DisplayClass6_0:<LayDown>b__1 () Verse.AI.JobDriver:DriverTick () Verse.AI.Pawn_JobTracker:JobTrackerTick () Verse.Pawn:Tick () Verse.TickList:Tick () Verse.TickManager:DoSingleTick () Verse.TickManager:TickManagerUpdate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game) Verse.Root_Play:Update ()
only returning this red error now
Last edited by Aieloth; 17 Mar, 2024 @ 2:00am
Argón  [developer] 17 Mar, 2024 @ 9:20am 
Yeah, some stuff kinda working but giving red errors. What's causing it now?
Kalief 17 Mar, 2024 @ 1:32pm 
Error when trying to feed incapacitated prisoners:
pastebin.com/gLvjrNsc

Exception in SetupToils for pawn Marjot driver=JobDriver_FoodFeedPatient (toilIndex=-1) driver.job=(FeedPatient (Job_8378) A=Thing_MealSurvivalPack10789 B=Thing_Human518)
System.MissingMethodException: Verse.AI.Toil Verse.AI.Toils_Goto.GotoThing(Verse.AI.TargetIndex,Verse.AI.PathEndMode,bool)
at (wrapper dynamic-method) Verse.AI.JobDriver.Verse.AI.JobDriver.SetupToils_Patch1(Verse.AI.JobDriver)
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Last edited by Kalief; 18 Mar, 2024 @ 12:38am
Astrobia 17 Mar, 2024 @ 3:15pm 
Addition to error above, getting it with tasks tying to feed any downed (in a bed) pawn. It loops and overloads the error log.

Urist started 10 jobs in 10 ticks. List: (FeedPatient (Job_382657) A=Thing_Meat_Megaspider154732 B=Thing_Human223092) (Wait (Job_382658)) , (FeedPatient (Job_382661) A=Thing_Meat_Megaspider154732 B=Thing_Human223092) (Wait (Job_382662)) , (FeedPatient (Job_382665) A=Thing_Meat_Megaspider154732 B=Thing_Human223092) (Wait (Job_382666)) , (FeedPatient (Job_382669) A=Thing_Meat_Megaspider154732 B=Thing_Human223092) (Wait (Job_382670)) , (FeedPatient (Job_382673) A=Thing_Meat_Megaspider154732 B=Thing_Human223092) (Wait (Job_382674)) curDriver=JobDriver_WaitMaintainPosture (toilIndex=0) curJob=(Wait_MaintainPosture (Job_382675))
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.AI.JobUtility:TryStartErrorRecoverJob (Verse.Pawn,string,System.Exception,Verse.AI.JobDriver)
Verse.AI.Pawn_JobTracker:FinalizeTick ()
Verse.AI.Pawn_JobTracker:JobTrackerTick ()
Verse.Pawn:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch6 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

Results in the classic pawn stuck "standing" bug. Until 1 or both of them starve to death anyway.
Last edited by Astrobia; 17 Mar, 2024 @ 3:15pm
Kalief 17 Mar, 2024 @ 4:03pm 
Just to add: Also downed animals
JimRaynor56 18 Mar, 2024 @ 11:22pm 
Exception in Verse.RegionTraverser.BreadthFirstTraverse: System.MissingMethodException: bool RimWorld.FoodUtility.WillEat(Verse.Pawn,Verse.ThingDef,Verse.Pawn,bool,bool) at RimWorld.FoodUtility+<>c__DisplayClass19_0.<BestFoodSourceOnMap_NewTemp>b__0 (Verse.Thing t) [0x0001f] in <cd7169108ea74757aa50c5b33d275c15>:0 - prefix Argon.CauldronMod: Boolean CauldronMod.HarmonyPatch_Delegate:Prefix_Delegate(Boolean& __result, Thing t) at RimWorld.FoodUtility+<>c__DisplayClass19_0.<BestFoodSourceOnMap_NewTemp>b__2 (Verse.Thing t) [0x00000] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.RegionProcessorClosestThingReachable.RegionProcessor (Verse.Region reg) [0x000f2] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.RegionTraverser+BFSWorker.BreadthFirstTraverseWork (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x00054] in <cd7169108ea74757aa50c5b33d275c15>:0 at Verse.RegionTraverser.BreadthFirstTraverse (Verse.Region root, Verse.RegionEntryPredicate entryCondition, Verse.RegionProcessor regionProcessor, System.Int32 maxRegions, Verse.RegionType traversableRegionTypes) [0x0005b] in <cd7169108ea74757aa50c5b33d275c15>:0 - transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)

I don't even have a cauldron built in this save, so I'm not sure what exactly is causing the error. It just happens a few times per second, constantly, while the mod is loaded.
< >
Showing 1-15 of 23 comments
Per page: 1530 50