RimWorld

RimWorld

Stockpile Stack Limit
loki4321x3 13 Feb, 2019 @ 2:58pm
Bug with Rimworld Search Agency
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at StockpileStackLimit.HaulPatcher.SetCountLimit (Verse.Pawn,Verse.Thing,Verse.AI.Job&,Verse.IntVec3) <0x0034e>
at StockpileStackLimit.HaulPatcher.Postfix (Verse.Pawn,Verse.Thing,Verse.AI.Job&) <0x0009d>
at (wrapper dynamic-method) Verse.AI.HaulAIUtility.HaulToStorageJob_Patch2 (Verse.Pawn,Verse.Thing) <0x0034a>
at PickUpAndHaul.WorkGiver_HaulToInventory.JobOnThing (Verse.Pawn,Verse.Thing,bool) <0x005d9>
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders (Verse.IntVec3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>,bool) <0x00533>
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.AddUndraftedOrders_Patch1 (UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>) <0x0036d>
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3,Verse.Pawn) <0x0033c>
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn) <0x001e2>
at RimWorld.Selector.HandleMapClicks () <0x00287>
at RimWorld.Selector.SelectorOnGUI () <0x0001c>
at RimWorld.MapInterface.HandleLowPriorityInput () <0x0006d>
at RimWorld.UIRoot_Play.UIRootOnGUI () <0x002f9>
at Verse.Root.OnGUI () <0x00112>

Verse.Log:Error(String, Boolean)
Verse.Root:OnGUI()

---

Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at StockpileStackLimit.HaulPatcher.SetCountLimit (Verse.Pawn,Verse.Thing,Verse.AI.Job&,Verse.IntVec3) <0x0034e>
at StockpileStackLimit.HaulPatcher.Postfix (Verse.Pawn,Verse.Thing,Verse.AI.Job&) <0x0009d>
at (wrapper dynamic-method) Verse.AI.HaulAIUtility.HaulToStorageJob_Patch2 (Verse.Pawn,Verse.Thing) <0x0034a>
at RimWorld.WorkGiver_Haul.JobOnThing (Verse.Pawn,Verse.Thing,bool) <0x00053>
at RimWorld.WorkGiver_HaulGeneral.JobOnThing (Verse.Pawn,Verse.Thing,bool) <0x0006e>
at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn,Verse.Thing,bool) <0x00031>
at RimWorld.FloatMenuMakerMap.AddJobGiverWorkOrders (Verse.IntVec3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>,bool) <0x004f7>
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.AddUndraftedOrders_Patch1 (UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>) <0x0036d>
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3,Verse.Pawn) <0x0033c>
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn) <0x001e2>
at RimWorld.Selector.HandleMapClicks () <0x00287>
at RimWorld.Selector.SelectorOnGUI () <0x0001c>
at RimWorld.MapInterface.HandleLowPriorityInput () <0x0006d>
at RimWorld.UIRoot_Play.UIRootOnGUI () <0x002f9>
at Verse.Root.OnGUI () <0x00112>

Verse.Log:Error(String, Boolean)
Verse.Root:OnGUI()



Only happens with Rimworld Search Agency. I also posted this at RSA comment section.
I also have XXL Stacks and pick up and haul but it works when i deactivate Rimworld Search Agency
< >
Showing 1-8 of 8 comments
Aonova 13 Feb, 2019 @ 8:29pm 
Doesnt RSA already have the functionality of this mod?
loki4321x3 14 Feb, 2019 @ 7:23am 
No ;) Not that i knew of
Last edited by loki4321x3; 14 Feb, 2019 @ 7:23am
ilyaki  [developer] 15 Feb, 2019 @ 3:32am 
Does it work in 1.2.0?
loki4321x3 15 Feb, 2019 @ 1:24pm 
I try to replicate this bug and tell you if i find something. i played without both mods since i posted

Edit

I tried the same as before 1.2.. i have two hospital rooms and want 5 medicine in each room, rest in the storage.
Now i get this

PickUpAndHaul.WorkGiver_HaulToInventory provided target Thing_MedicineUltratech309254 but yielded no actual job for pawn Lerbo. The CanGiveJob and JobOnX methods may not be synchronized.
Verse.Log:Error(String, Boolean)
Verse.Log:ErrorOnce(String, Int32, Boolean)
RimWorld.JobGiver_Work:TryIssueJobPackage_Patch1(Object, Pawn, JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Tagger:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Subtree:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Conditional:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_Priority:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.Pawn_JobTracker:DetermineNextJob(ThinkTreeDef&)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob_Patch1(Object, JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

And cant haul it anymore after that
Last edited by loki4321x3; 15 Feb, 2019 @ 3:33pm
ilyaki  [developer] 15 Feb, 2019 @ 11:40pm 
Can you try again with v1.2.2?
loki4321x3 17 Feb, 2019 @ 5:04am 
I did and no Debug Error.. but my Pawn haul the object to one Stockpile and the other rooms remain empty. When i force them to haul it says "No empty, accessible spot configured to store it"
But i have a big stockpile zone for all objects and actually 2 medical rooms with one stockpile each room configured to store 6 glitterword medicine and refull when 50% are taken..

So one stockpile gets filled with 6 medicine and the rest stays where it is instead that it gets hauled to a stockpile at all
jAN 21 Feb, 2019 @ 8:25am 
I got exactly the same problem :/
loki4321x3 21 Feb, 2019 @ 3:16pm 
Too bad those two mods, this one and the feature of RSA would be awesome together..
Can you may make the updates undone and just add this feature? :/
i know.. its much to ask.. im not a coder..
< >
Showing 1-8 of 8 comments
Per page: 1530 50