[1.3] Miscellaneous w MAI+Robots

Started by Haplo, May 16, 2014, 05:54:01 AM

Previous topic - Next topic

Harry_Dicks

Ahhh I never knew you could assign zones from there, that's great! Thank you!

randy

Hauler Bot (Tier 4) threw exception in WorkGiver HaulGeneral: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.StoreUtility.TryFindBestBetterStoreCellFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, Boolean needAccurateResult) [0x00000] in <filename unknown>:0
  at Verse.AI.HaulAIUtility.HaulToStorageJob (Verse.Pawn p, Verse.Thing t) [0x00000] in <filename unknown>:0
  at RimWorld.WorkGiver_HaulGeneral.JobOnThing (Verse.Pawn pawn, Verse.Thing t, Boolean forced) [0x00000] in <filename unknown>:0
  at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, Boolean forced) [0x00000] in <filename unknown>:0
  at AIRobot.X2_JobGiver_Work+<>c__DisplayClass1_1.<TryIssueJobPackage>b__0 (Verse.Thing t) [0x00000] in <filename unknown>:0
  at Verse.GenClosest+<ClosestThingReachable>c__AnonStorey0.<>m__0 (Verse.Thing t) [0x00000] in <filename unknown>:0
  at Verse.GenClosest.ClosestThing_Global (IntVec3 center, IEnumerable searchSet, Single maxDistance, System.Predicate`1 validator, System.Func`2 priorityGetter) [0x00000] in <filename unknown>:0
  at Verse.GenClosest.ClosestThingReachable (IntVec3 root, Verse.Map map, ThingRequest thingReq, PathEndMode peMode, TraverseParms traverseParams, Single maxDistance, System.Predicate`1 validator, IEnumerable`1 customGlobalSearchSet, Int32 searchRegionsMin, Int32 searchRegionsMax, Boolean forceGlobalSearch, RegionType traversableRegionTypes, Boolean ignoreEntirelyForbiddenRegions) [0x00000] in <filename unknown>:0
  at AIRobot.X2_JobGiver_Work.TryIssueJobPackage (Verse.Pawn pawn, JobIssueParams jobParams) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
AIRobot.X2_JobGiver_Work:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter: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(JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
AIRobot.X2_AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

frenchiveruti

Quote from: randy on December 15, 2017, 08:21:18 PM
Hauler Bot (Tier 4) threw exception in WorkGiver HaulGeneral: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.StoreUtility.TryFindBestBetterStoreCellFor (Verse.Thing t, Verse.Pawn carrier, Verse.Map map, StoragePriority currentPriority, RimWorld.Faction faction, Verse.IntVec3& foundCell, Boolean needAccurateResult) [0x00000] in <filename unknown>:0
  at Verse.AI.HaulAIUtility.HaulToStorageJob (Verse.Pawn p, Verse.Thing t) [0x00000] in <filename unknown>:0
  at RimWorld.WorkGiver_HaulGeneral.JobOnThing (Verse.Pawn pawn, Verse.Thing t, Boolean forced) [0x00000] in <filename unknown>:0
  at RimWorld.WorkGiver_Scanner.HasJobOnThing (Verse.Pawn pawn, Verse.Thing t, Boolean forced) [0x00000] in <filename unknown>:0
  at AIRobot.X2_JobGiver_Work+<>c__DisplayClass1_1.<TryIssueJobPackage>b__0 (Verse.Thing t) [0x00000] in <filename unknown>:0
  at Verse.GenClosest+<ClosestThingReachable>c__AnonStorey0.<>m__0 (Verse.Thing t) [0x00000] in <filename unknown>:0
  at Verse.GenClosest.ClosestThing_Global (IntVec3 center, IEnumerable searchSet, Single maxDistance, System.Predicate`1 validator, System.Func`2 priorityGetter) [0x00000] in <filename unknown>:0
  at Verse.GenClosest.ClosestThingReachable (IntVec3 root, Verse.Map map, ThingRequest thingReq, PathEndMode peMode, TraverseParms traverseParams, Single maxDistance, System.Predicate`1 validator, IEnumerable`1 customGlobalSearchSet, Int32 searchRegionsMin, Int32 searchRegionsMax, Boolean forceGlobalSearch, RegionType traversableRegionTypes, Boolean ignoreEntirelyForbiddenRegions) [0x00000] in <filename unknown>:0
  at AIRobot.X2_JobGiver_Work.TryIssueJobPackage (Verse.Pawn pawn, JobIssueParams jobParams) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
AIRobot.X2_JobGiver_Work:TryIssueJobPackage(Pawn, JobIssueParams)
Verse.AI.ThinkNode_PrioritySorter: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(JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
AIRobot.X2_AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()
You should report that to robots ++ not here.


wwWraith

Quote from: randy on December 15, 2017, 08:21:18 PM
Hauler Bot (Tier 4) threw exception in WorkGiver HaulGeneral: System.NullReferenceException: Object reference not set to an instance of an object
Isn't it a common error when pawn (robot) tries to haul (or do other job with) some object that was changed or vanished for whatever reason?
Think about it. Think around it. Perhaps you'll get some new good idea even if it would be completely different from my words.

leafzxg

A presumptuous suggestion:
Can you change the way of action of Robots back to the kind of A16? which can be called and controlled directly. Now Robots, excuse me, like an animal, not a robot.
Thank you for your great work!

Haplo

Quote from: randy on December 15, 2017, 08:21:18 PM
Hauler Bot (Tier 4) threw exception in WorkGiver HaulGeneral: System.NullReferenceException: Object reference not set to an instance of an object
...

I've updated robots to 0.18.3.
Hopefully this will prevent this error to occure again..

Festen

hello, and first of all thanks for your hard work and great mods. I haven't read the previous so sorry if the answer has already been given. Do you plan on updating your Misc Object mod ? Especifically the option that's allow you to create your own turrets.   
Thanks

magik20

Getting an error when trying to install / use? a new bot. I do have a lot of mods installed, but i have never had this issue before.

The UI becomes unsable after this.

Exception doing inspect pane: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.MinifiedThing.get_LabelNoCount () [0x00000] in <filename unknown>:0
at Verse.Thing.get_Label () [0x00000] in <filename unknown>:0
at Verse.Thing.get_LabelCap () [0x00000] in <filename unknown>:0
at RimWorld.InspectPaneUtility.AdjustedLabelFor (IEnumerable`1 selected, Rect rect) [0x00000] in <filename unknown>:0
at RimWorld.MainTabWindow_Inspect.GetLabel (Rect rect) [0x00000] in <filename unknown>:0
at RimWorld.InspectPaneUtility.InspectPaneOnGUI (Rect inRect, IInspectPane pane) [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
RimWorld.InspectPaneUtility:InspectPaneOnGUI(Rect, IInspectPane)
RimWorld.MainTabWindow_Inspect:DoWindowContents(Rect)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)


and

Exception in UIRootUpdate: System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.InstallBlueprintUtility.ExistingBlueprintFor (Verse.Thing th) [0x00000] in <filename unknown>:0
at RimWorld.MinifiedThing.DrawExtraSelectionOverlays () [0x00000] in <filename unknown>:0
at RimWorld.SelectionDrawer.DrawSelectionOverlays () [0x00000] in <filename unknown>:0
at RimWorld.MapInterface.MapInterfaceUpdate () [0x00000] in <filename unknown>:0
at RimWorld.UIRoot_Play.UIRootUpdate () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
RimWorld.UIRoot_Play:UIRootUpdate()
Verse.Root:Update_Patch1(Object)
Verse.Root_Play:Update()


Canute

magik20,
do you use a mod to minify everything ?
If yes, try to move that mod before Misc. Core and look if it helps.

Jan2607

Now all my mods are updated to B18, except Misc. MAI. Can't wait for it :D

rimfan239

I think Training dummies would benefit from the bill system. It'll fix issues with colonists carrying destructive weapons and such. Or maybe implement a separate job for training, but this might be the overkill.

Haplo

Update
- Misc. WeaponBase is finally updated to B18
- Misc. Robots: I've finally fixed the error in the repair job.
   -> Damaged robots can be repaired now. (Repair cost: 20 Steel, 1 Component + Lvl 6 Construction)

Haplo

Update
- MAI is finally updated to B18
- MapGenerator has gotten some improvements
    - Wood and Leather will now only be used, when the blueprint it requests
    - When the blueprint will be build on water, it has an increased chance to corrode the structure
    - Blueprints updated
- MapGenerator got an Extension: 'Urban'
    - This extension will reconfigure the MapGenerator to create an urban-like landing area (aka lots of buildings)
       -> It is recommendet to disable the extension once the colony is created to prevent this behaviour for later map creations :)

TerrorThomasCao

Yay! Let me be the first to congratulate you, been waiting for MAI to be updated for a while! Eternal thanks for your hard work! :D