[1.3] Miscellaneous w MAI+Robots

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

Previous topic - Next topic

123nick

Quote from: Haplo on January 11, 2017, 12:57:40 PM
I've updated Robots again to 0.16.4c.
Here the human man should be fixed and the mod should no longer cause any load problems (hopefully)

does it work with worktab now?

Haplo

When you've updated to the newest WorkTab version, then yes it should work.
Fluffy released an update yesterday fixing that problem. At least that is what I've heard.

123nick

Quote from: Haplo on January 11, 2017, 06:30:24 PM
When you've updated to the newest WorkTab version, then yes it should work.
Fluffy released an update yesterday fixing that problem. At least that is what I've heard.

AWESOME!

kosh401

Question about mapgen: Is there a limit or range to the quantity of loot that spawns in the pre-built structures? I ask because I had a game with ~40,000 jade in a single stack inside a structure once I opened it up, and just had a new game with ~4,300 Luciferium inside a structure once I opened it up (as well as 2,250 Jade there).

I'm using Stack XXL on its default stack settings and am wondering if maybe that is what causes this during mapgen or if it's possible to happen on its own? Neither Jade or Luci stack that high on their own even with that mod so I'm curious what's up. Thanks!

etoire

I'm using your Misc Objects mod and I noticed I can't uninstall weapons from a turret. Is this intended or is my thing bugged?

Der Failer

Just noticed that Bees 'n' Honey suffers from the "buildings are build instantly" problem.
This is because in buildings <WorkToMake> has changed to <WorkToBuild>, but RW doesn't throw a error and instead just defaults it to 1 work, so it is easy to overlook.

I'm only using Bees 'n' Honey, so you may want to check for this in your other mods as well.

caboose410

Is it possible to add a combat drone? Mechanical Defense once had it and I loved it

Haplo

#1807
Quote from: kosh401 on January 11, 2017, 06:44:51 PM
Question about mapgen: Is there a limit or range to the quantity of loot that spawns in the pre-built structures? I ask because I had a game with ~40,000 jade in a single stack inside a structure once I opened it up, and just had a new game with ~4,300 Luciferium inside a structure once I opened it up (as well as 2,250 Jade there).

I'm using Stack XXL on its default stack settings and am wondering if maybe that is what causes this during mapgen or if it's possible to happen on its own? Neither Jade or Luci stack that high on their own even with that mod so I'm curious what's up. Thanks!

This is most likely a problem because of the Stack XXL. The stack that's placed is defined as a random number between 1 and max stack size...

Quote from: etoire on January 11, 2017, 09:27:38 PM
I'm using your Misc Objects mod and I noticed I can't uninstall weapons from a turret. Is this intended or is my thing bugged?
Normally if you deconstruct it (Not minifying!) then you should get your gun back. But that also results in the loss of a turret, so.. :)

Quote from: Der Failer on January 13, 2017, 03:01:02 PM
Just noticed that Bees 'n' Honey suffers from the "buildings are build instantly" problem.
This is because in buildings <WorkToMake> has changed to <WorkToBuild>, but RW doesn't throw a error and instead just defaults it to 1 work, so it is easy to overlook.

I'm only using Bees 'n' Honey, so you may want to check for this in your other mods as well.
Thanks for the info, I'll look through my mods. Most likely it's in all of my mods :)

Quote from: caboose410 on January 13, 2017, 03:43:31 PM
Is it possible to add a combat drone? Mechanical Defense once had it and I loved it
Nope, sorry.


Update
I've updated most of my mods because of the WorkToMake -> WorkToBuild problem.
Also the MapGenerator had a problem where it selected wrong materials for the blueprints without a defined material.

Dreadfullsoul

Quote
HaulingBot started 10 jobs in 10 ticks. lastJobGiver=, curJob.def=Wait, curDriver=Verse.AI.JobDriver_Wait
Verse.Log:Error(String)
Verse.AI.Pawn_JobTracker:StartErrorRecoverJob(String)
Verse.AI.Pawn_JobTracker:FinalizeTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
AIRobot.AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()
This is an issue i started having as soon as i started using quantum stockpiles.
However its only with potatos so not sure if those things are related.
anyway, got any tips about how to fix this or should i pester the quantum stockpile author?

On a sidenote, These damn haulers save my colony. they are a godsent. THANK YOU!

Dreadfullsoul

#1809
Quote from: Dreadfullsoul on January 14, 2017, 06:37:03 AM
HaulingBot started 10 jobs in 10 ticks. lastJobGiver=, curJob.def=Wait, curDriver=Verse.AI.JobDriver_Wait
Verse.Log:Error(String)
Verse.AI.Pawn_JobTracker:StartErrorRecoverJob(String)
Verse.AI.Pawn_JobTracker:FinalizeTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
AIRobot.AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

wait, There's more!
Quote
HaulingBot started 10 jobs in one tick. thinkResult=(job=HaulToCell A=Thing_RawPotatoes492228 B=(76, 0, 104) sourceNode=RimWorld.JobGiver_Work) lastJobGiver=RimWorld.JobGiver_Work
Verse.Log:Error(String)
Verse.AI.Pawn_JobTracker:StartErrorRecoverJob(String)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.JobDriver:EndJobWith(JobCondition)
Verse.AI.JobDriver:CheckCurrentToilEndOrFail()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
AIRobot.AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Hope this is usefull to you in general or you can help me solve my problem :)

Canute

The "started 10 jobs in one tick." error isn't related on bots.
I got that error sometimes too and don't even use robots.
The error comes from another mod.


mislavestina

#1811
Hi, I'm having a problem with the hauler bot, don't know if it affects the other bots, haven't tried them yet.
I have the Robots++ mod, I have loaded them properly, Misc Core, Misc Robots, Misc Robots++
I've built the hauler bot and placed it but when i press activate nothing happens and I get this error.

Could not resolve reference to object with loadID Thing_AIRobot_Hauler639809 of type Verse.Pawn. Was it compressed away, destroyed, had no ID number, or not saved/loaded right?
Verse.Log:Warning(String)
Verse.LoadedObjectDirectory:ObjectWithLoadID(String)
Verse.CrossRefResolver:NextResolvedRef()
Verse.Scribe_References:LookReference(Pawn&, String, Boolean)
Fluffy_Tabs.PawnPrioritiesTracker:ExposeData()
Verse.CrossRefResolver:ResolveAllCrossReferences()

Anyone know how to fix this?

Edit:
When I enable developer mode and try spawning the bot as a pawn I get this

Tried to generate pawn of Humanlike race AIRobot_Hauler with null faction. Setting to
Verse.Log:Error(String)
Verse.PawnGenerationRequest:EnsureNonNullFaction()
Verse.PawnGenerator:GeneratePawn(PawnGenerationRequest)
Verse.PawnGenerator:GeneratePawn(PawnKindDef, Faction)
Verse.<DoListingItems_MapTools>c__AnonStorey508:<>m__96A()
Verse.DebugTool:DebugToolOnGUI()
Verse.DebugTools:DebugToolsOnGUI()
RimWorld.UIRoot_Play:UIRootOnGUI()
Verse.Root:OnGUI()

Verse.Game:LoadGame()
Verse.SavedGameLoader:LoadGameFromSaveFile(String)
Verse.Root_Play:<Start>m__736()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__733()

And this just after that

Object reference not set to an instance of an object
  at RimWorld.PawnBioAndNameGenerator.GiveAppropriateBioAndNameTo (Verse.Pawn pawn, System.String requiredLastName) [0x00000] in <filename unknown>:0
  at Verse.PawnGenerator.DoGenerateNewNakedPawn (Verse.PawnGenerationRequest& request, System.String& error, Boolean ignoreScenarioRequirements) [0x00000] in <filename unknown>:0
  at Verse.PawnGenerator.GenerateNewNakedPawn (Verse.PawnGenerationRequest& request) [0x00000] in <filename unknown>:0
  at Verse.PawnGenerator.GeneratePawn (PawnGenerationRequest request) [0x00000] in <filename unknown>:0
  at Verse.PawnGenerator.GeneratePawn (Verse.PawnKindDef kindDef, RimWorld.Faction faction) [0x00000] in <filename unknown>:0
  at Verse.Dialog_DebugActionsMenu+<DoListingItems_MapTools>c__AnonStorey508.<>m__96A () [0x00000] in <filename unknown>:0
  at Verse.DebugTool.DebugToolOnGUI () [0x00000] in <filename unknown>:0
  at Verse.DebugTools.DebugToolsOnGUI () [0x00000] in <filename unknown>:0
  at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00000] in <filename unknown>:0
  at Verse.Root.OnGUI () [0x00000] in <filename unknown>:0

Canute

Did you use the Worktab mod from fluffy, and when yes, did you update it to the newest version ?


mislavestina

I updated it, it works now, thank you very much :D

Raf's

#1814
Hello Haplo, first of all awesome work i used this since the first release and is a must have for me, and second it seems like Bots can't haul slags, i don't have Fluffy's work tabs mod btw.
Edit: here is the error log if you need it
JobDriver threw exception in initAction. Pawn=Hauler Bot, Job=HaulToCell A=Thing_ChunkSlate405911 B=(153, 0, 121), Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Mending.SpecialThingFilterWorker_Unroofed.Matches (Verse.Thing t) [0x00000] in <filename unknown>:0
  at Verse.ThingFilter.Allows (Verse.Thing t) [0x00000] in <filename unknown>:0
  at RimWorld.StorageSettings.AllowedToAccept (Verse.Thing t) [0x00000] in <filename unknown>:0
  at RimWorld.StoreUtility.IsValidStorageFor (IntVec3 c, Verse.Map map, Verse.Thing storable) [0x00000] in <filename unknown>:0
  at Verse.AI.Toils_Haul+<CarryHauledThingToCell>c__AnonStorey41E.<>m__67F () [0x00000] in <filename unknown>:0
  at Verse.AI.Toil+<AddFailCondition>c__AnonStorey42A.<>m__68F () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.CheckCurrentToilEndOrFail () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.ReadyForNextToil () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.ReadyForNextToil () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.ReadyForNextToil () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.Notify_PatherArrived () [0x00000] in <filename unknown>:0
  at Verse.AI.Pawn_PathFollower.PatherArrived () [0x00000] in <filename unknown>:0
  at Verse.AI.Pawn_PathFollower.StartPath (LocalTargetInfo dest, PathEndMode peMode) [0x00000] in <filename unknown>:0
  at Verse.AI.Toils_Goto+<GotoThing>c__AnonStorey460.<>m__6C9 () [0x00000] in <filename unknown>:0
  at Verse.AI.JobDriver.TryActuallyStartNextToil () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.Pawn_JobTracker:StartJob(Job, JobCondition, ThinkNode, Boolean, Boolean, ThinkTreeDef)
Verse.AI.Pawn_JobTracker:TryFindAndStartJob()
Verse.AI.Pawn_JobTracker:EndCurrentJob(JobCondition, Boolean)
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick()
AIRobot.AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()