RimWorld
Misc. Robots
Twilight 8 AGO 2021 a las 2:23 a. m.
Bots throw errors and wont move out
Hi, i already posted in the Worktab related issue, but as i do NOT use fluffys worktab or any other worktab modification ( i only use betterPawnControl) i start this thread.

I get the followign exceptions in the log
Exception in Verse.AI.ThinkNode_PrioritySorter TryIssueJobPackage: System.ArgumentNullException: Value cannot be null.
Parameter name: type
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00003] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.WorkGiverDef.get_Worker () [0x00008] in <1b9c4c73530448bcbb33283e1d4d7d05>:0
at AIRobot.X2_AIRobot.GetWorkGivers (System.Boolean emergency) [0x00142] in <f8629bf68b234d8ab8eae69a792259cb>:0
at AIRobot.X2_JobGiver_Work.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x0002d] in <f8629bf68b234d8ab8eae69a792259cb>:0
at Verse.AI.ThinkNode_PrioritySorter.TryIssueJobPackage (Verse.Pawn pawn, Verse.AI.JobIssueParams jobParams) [0x000fb] in <1b9c4c73530448bcbb33283e1d4d7d05>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage (Verse.Pawn,Verse.AI.JobIssueParams)
(wrapper dynamic-method) Verse.AI.Pawn_JobTracker:Verse.AI.Pawn_JobTracker.DetermineNextJob_Patch2 (Verse.AI.Pawn_JobTracker,Verse.ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob ()
(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_Patch4 (Verse.Pawn)
AIRobot.X2_AIRobot:Tick ()
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch3 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()



Mods are the usual things, like Hospitality, Mehnis PickUpAndHaul, etc..
All the things i had worked before without problem for 1.2, the not yet ready stuff for 1.3 is disabled.

Regards
< >
Mostrando 1-11 de 11 comentarios
Haplo_X1  [desarrollador] 8 AGO 2021 a las 4:54 a. m. 
The problem ist, that one of the assigned WorkGiverDefs has a not assigned giverClass.
Do you have any other errors in the logfile? something that maybe shows that something is missing, or can not be found?

Hmm, I will update my code to hopefully get more information about this issue..
Última edición por Haplo_X1; 8 AGO 2021 a las 5:03 a. m.
Twilight 8 AGO 2021 a las 5:12 a. m. 
Hi Haplo, i try to get more info for you. At the moment i remove mods to close in at the issue.

It seems that after the 1.3 transition a lot of patches also von Tynann get published. E.g. i had runtimegc enabled since it got ready for 1.3 and used it the last days again, only to find out that since yesterday the mod stops savegames from getting loaded at all due to a gui issue (scrollview end somethign something).

Oh well.

Your Bots also worked fine in my 1.3 modselection except since a few days.
I'll check if it gets better and report back.
Twilight 8 AGO 2021 a las 5:15 a. m. 
I am sure that some ThingDefs might be missing as e.g. TD-enhancment by ugggg or some of fluffy's mods arent ready yet, but that shouldnt bother the cleaning robots.
Twilight 8 AGO 2021 a las 8:05 a. m. 
It seemed to have rectified itself.

A few mods got updated in between, also i think that the still 1.2 gloomydeco has a jobdriver related to cleaning (in trashcan.xml). I removed all code parts in gloomydeco to make it quickly 1.3 compatible (it uses code mostly for animations) as a xml-only mod and commented out the JobDef and WorkGiverDef for the trashcan.
Don't know what teh exact cause was, but at one point the glommydeco cleaning job showed up in the exceptions, so i disabled them - better to be safe.

It seems to work again for now.
BioDiesel112™ 22 AGO 2021 a las 3:00 a. m. 
My Bots can not pass Doors
Haplo_X1  [desarrollador] 26 AGO 2021 a las 7:37 a. m. 
If bots can not pass doors, that is an issue with the lock mod. I can't help there.
BioDiesel112™ 28 AGO 2021 a las 4:57 a. m. 
Publicado originalmente por Haplo_X1:
If bots can not pass doors, that is an issue with the lock mod. I can't help there.

I Found the Problem, it's a Problem with the Mod "Locks 2: Lock Them Out!"
Mrluigi1111111 18 MAY 2022 a las 9:31 p. m. 
Necroing this thread to confirm that Locks 2 still conflicts with this mod. Disabling it fixes the bots.
Guineatown20806 13 AGO 2022 a las 10:13 a. m. 
I have this Issue now, Robot isn‘t moving at all. It says something about the Worktab mod from Fluffy.
Guineatown20806 13 AGO 2022 a las 10:17 a. m. 
This is the Error Report

Thrown error while setting priority. This can be an issue with another mod!
Object reference not set to an instance of an object
at WorkTab.WorkPriority.set_Item (System.Int32 hour, System.Int32 value) [0x00035] in <1047f5dc1d7a4966ba34328f27e10396>:0
at WorkTab.PriorityTracker.SetPriority (RimWorld.WorkGiverDef workgiver, System.Int32 priority, System.Int32 hour, System.Boolean recache) [0x0001d] in <1047f5dc1d7a4966ba34328f27e10396>:0
at WorkTab.PriorityTracker.SetPriority (Verse.WorkTypeDef worktype, System.Int32 priority, System.Int32 hour, System.Boolean recache) [0x00016] in <1047f5dc1d7a4966ba34328f27e10396>:0
at WorkTab.PriorityTracker.SetPriority (Verse.WorkTypeDef worktype, System.Int32 priority, System.Collections.Generic.List`1[T] hours) [0x00020] in <1047f5dc1d7a4966ba34328f27e10396>:0
at WorkTab.Pawn_Extensions.SetPriority (Verse.Pawn pawn, Verse.WorkTypeDef worktype, System.Int32 priority, System.Collections.Generic.List`1[T] hours) [0x0000b] in <1047f5dc1d7a4966ba34328f27e10396>:0
at WorkTab.Pawn_WorkSettings_SetPriority.Prefix (RimWorld.Pawn_WorkSettings __instance, Verse.WorkTypeDef w, System.Int32& priority) [0x00006] in <1047f5dc1d7a4966ba34328f27e10396>:0
at (wrapper dynamic-method) RimWorld.Pawn_WorkSettings.RimWorld.Pawn_WorkSettings.SetPriority_Patch1(RimWorld.Pawn_WorkSettings,Verse.WorkTypeDef,int)
at AIRobot.X2_AIRobot_Pawn_WorkSettings.SetPriority (Verse.WorkTypeDef w, System.Int32 priority) [0x00010] in <3ef990ab638749a0bb15edd769389ae1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
AIRobot.X2_AIRobot_Pawn_WorkSettings:SetPriority (Verse.WorkTypeDef,int)
AIRobot.X2_AIRobot_Pawn_WorkSettings:EnableAndInitialize ()
AIRobot.X2_AIRobot_Pawn_WorkSettings:.ctor (Verse.Pawn)
AIRobot.X2_Building_AIRobotCreator:CreateRobot (string,Verse.IntVec3,Verse.Map,RimWorld.Faction)
AIRobot.X2_Building_AIRobotRechargeStation:Button_SpawnBot ()
AIRobot.X2_Building_AIRobotRechargeStation:Button_ResetDestroyedRobot (bool)
AIRobot.X2_Building_AIRobotRechargeStation:Button_ResetDestroyedRobot ()
Verse.Command_Action:ProcessInput (UnityEngine.Event)
(wrapper dynamic-method) Verse.GizmoGridDrawer:Verse.GizmoGridDrawer.DrawGizmoGrid_Patch1 (System.Collections.Generic.IEnumerable`1<Verse.Gizmo>,single,Verse.Gizmo&,System.Func`2<Verse.Gizmo, bool>,System.Func`2<Verse.Gizmo, bool>,System.Func`2<Verse.Gizmo, bool>)
(wrapper dynamic-method) RimWorld.InspectGizmoGrid:RimWorld.InspectGizmoGrid.DrawInspectGizmoGridFor_Patch0 (System.Collections.Generic.IEnumerable`1<object>,Verse.Gizmo&)
RimWorld.MainTabWindow_Inspect:DrawInspectGizmos ()
RimWorld.InspectPaneUtility:ExtraOnGUI (RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:ExtraOnGUI ()
Verse.WindowStack:WindowStackOnGUI ()
(wrapper dynamic-method) RimWorld.UIRoot_Play:RimWorld.UIRoot_Play.UIRootOnGUI_Patch1 (RimWorld.UIRoot_Play)
(wrapper dynamic-method) Verse.Root:Verse.Root.OnGUI_Patch1 (Verse.Root)
Guineatown20806 14 AGO 2022 a las 4:17 a. m. 
I fixed it. It was a bug with better pawn Control and Fluffy’s work tab mod. There is a setting to turn of the integration between the mods and that fixed it.
< >
Mostrando 1-11 de 11 comentarios
Por página: 1530 50