[1.1] Misc. Robots++

Started by alaestor, September 16, 2016, 12:08:58 AM

Previous topic - Next topic

alaestor

Updated to B19 (mv2.2.0).
Minor changes in log. Old versions still available.

alaestor

Now also updated Tier 5 addon to B19.

I plan to merge it into R++ 1.0 release with proper textures, a simplified crafting & research system, and rebalanced resource/silver cost. (Hopefully will increase hauling capability as well)

rawrfisher

Professional jerk
Want something broken let me know

Vane

Thanks for updating this to B19, Now we just gotta wait for Misc Core to be updated

rawrfisher

Quote from: Vane on September 05, 2018, 11:52:24 AM
Thanks for updating this to B19, Now we just gotta wait for Misc Core to be updated

Misc core has been updated well before this mod was.
Professional jerk
Want something broken let me know

Vane

Quote from: rawrfisher on September 05, 2018, 02:07:18 PM
Quote from: Vane on September 05, 2018, 11:52:24 AM
Thanks for updating this to B19, Now we just gotta wait for Misc Core to be updated

Misc core has been updated well before this mod was.

I can only seem to find B18 on the forums?

Canute

Vane,
look closer. Both download links include all version from A17 to B19.

alaestor

Updated (mv2.2.1) - added some long-awaited & much requested features. Increasing with tier, bots now: recharge faster, work faster, and carry more. No compatibility changes (as for most same-game-version updates) so feel free to update with your existing saves.

Urubaen

Hi, I see on my debug log that i have at every load the same 3 errors and they seems to come from your mod, there is apparently no effect in the game but an error is an error ;)

X2_Building_AIRobot_RechargeStation -- Unknown error while loading:
Object reference not set to an instance of an object
  at Verse.Thing.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.ThingWithComps.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Building.ExposeData () [0x00000] in <filename unknown>:0
  at AIRobot.X2_Building_AIRobotRechargeStation.ExposeData () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
AIRobot.X2_Building_AIRobotRechargeStation:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.ThingOwner`1:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(ThingOwner&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(ThingOwner&, String, Object[])
RimWorld.MinifiedThing:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.ThingOwner`1:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(ThingOwner&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(ThingOwner&, String, Object[])
RimWorld.Planet.TradeRequestComp:PostExposeData()
RimWorld.Planet.WorldObject:ExposeData()
RimWorld.Planet.SettlementBase:ExposeData()
RimWorld.Planet.Settlement:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.Scribe_Collections:Look(List`1&, String, LookMode, Object[])
RimWorld.Planet.WorldObjectsHolder:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(WorldObjectsHolder&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(WorldObjectsHolder&, String, Object[])
RimWorld.Planet.World:ExposeComponents()
RimWorld.Planet.WorldGenStep_Components:GenerateFromScribe(String)
RimWorld.Planet.WorldGenerator:GenerateFromScribe(String)
RimWorld.Planet.World:ExposeData()
Verse.Game:LoadGame_Patch1(Object)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow_Patch1(String)
Verse.Root_Play:<Start>m__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Exception registering AIRobot.X2_Building_AIRobotRechargeStation AIRobot.X2_Building_AIRobotRechargeStation in loaded object directory with unique load ID [excepted]: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.Thing.get_ThingID () [0x00000] in <filename unknown>:0
  at Verse.Thing.GetUniqueLoadID () [0x00000] in <filename unknown>:0
  at Verse.LoadedObjectDirectory.RegisterLoaded (ILoadReferenceable reffable) [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
Verse.LoadedObjectDirectory:RegisterLoaded(ILoadReferenceable)
Verse.CrossRefHandler:ResolveAllCrossReferences()
Verse.ScribeLoader:FinalizeLoading()
Verse.Game:LoadGame_Patch1(Object)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow_Patch1(String)
Verse.Root_Play:<Start>m__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

X2_Building_AIRobot_RechargeStation -- Unknown error while loading:
Object reference not set to an instance of an object
  at Verse.Thing.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.ThingWithComps.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Building.ExposeData () [0x00000] in <filename unknown>:0
  at AIRobot.X2_Building_AIRobotRechargeStation.ExposeData () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
AIRobot.X2_Building_AIRobotRechargeStation:ExposeData()
Verse.CrossRefHandler:ResolveAllCrossReferences()
Verse.ScribeLoader:FinalizeLoading()
Verse.Game:LoadGame_Patch1(Object)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow_Patch1(String)
Verse.Root_Play:<Start>m__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Roelstra

#369
The robots are no longer appearing in Prepare Carefully for me.  I've got two saves where I've added them and they work fine in game, however, I tried to start a new game yesterday and they were no longer available when selecting equipment.

No errors get thrown and the load order is correct.

Edit:  Nevermind.  I'm stupid.  They're in the furniture section, not the resources section.  I'm going to go to my corner now, pretend I'm not here.

just_a_random

hi, the last 2 ingame days my kitchen bot has some kind of trouble whe butchering humans(havent tested with animals didn't hunt recently), previously it worked just fine
JobDriver threw exception in initAction for pawn Kitchen Bot 2 driver=JobDriver_DoBill (toilIndex=13) driver.job=(DoBill (Job_4414951) A=Thing_TableButcher629928 B=Thing_Corpse_Human1332754 C=(167, 0, 160)) lastJobGiver=AIRobot.X2_JobGiver_Work
System.NullReferenceException: Object reference not set to an instance of an object
at AlienRace.HarmonyPatches/<>c__DisplayClass80_0.<ButcherProductsPrefix>b__0 () <0x002f9>
at AlienRace.HarmonyPatches.ButcherProductsPrefix (Verse.Pawn,single,System.Collections.Generic.IEnumerable`1<Verse.Thing>&,Verse.Corpse) <0x000ab>
at (wrapper dynamic-method) Verse.Corpse.ButcherProducts_Patch1 (object,Verse.Pawn,single) <0x00053>
at Verse.GenRecipe/<MakeRecipeProducts>c__Iterator0.MoveNext () <0x00875>
at System.Collections.Generic.List`1<Verse.Thing>.AddEnumerable (System.Collections.Generic.IEnumerable`1<Verse.Thing>) <0x000d7>
at System.Collections.Generic.List`1<Verse.Thing>..ctor (System.Collections.Generic.IEnumerable`1<Verse.Thing>) <0x000e5>
at System.Linq.Enumerable.ToList<Verse.Thing> (System.Collections.Generic.IEnumerable`1<Verse.Thing>) <0x00070>
at Verse.AI.Toils_Recipe/<FinishRecipeAndStartStoringProduct>c__AnonStorey2.<>m__0 () <0x002d4>
at Verse.AI.JobDriver.TryActuallyStartNextToil () <0x0071f>

Verse.Log:Error(String, Boolean)
Verse.AI.JobUtility:TryStartErrorRecoverJob(Pawn, String, Exception, JobDriver)
Verse.AI.JobDriver:TryActuallyStartNextToil()
Verse.AI.JobDriver:ReadyForNextToil()
Verse.AI.<DoRecipeWork>c__AnonStorey1:<>m__1()
Verse.AI.JobDriver:DriverTick()
Verse.AI.Pawn_JobTracker:JobTrackerTick()
Verse.Pawn:Tick_Patch1(Object)
AIRobot.X2_AIRobot:Tick()
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

dezgard

Bots seem to go really slow to a spot on the map with nothing there and once they reach it they go back to working normally
=======================
Walking tall, So tall I fear I may fall
=======================

TheAzn123

I've never had this problem before until now. The mod conflicts with the android mod causing the bots to take on the needs of androids causing it to die due to it running out of 'energy' the androids needs.

makotech222

Seems to be broken on 1.0. Requesting an update!

alaestor

R++ mv3.0.0 for the v1.0 Release of rimworld is officially out!

What's new with mv3.0.0?
-Tier 5 robots have been added.
-Higher tiers recharge faster (actually working this time!)
-Overhaul of the researching and crafting systems (simplified)

Older (alpha & beta) versions can be found in the downloads.
Looking for translators and someone willing to lend some C# skills...

=====

Quote from: TheAzn123 on October 15, 2018, 12:23:21 AM
I've never had this problem before until now. The mod conflicts with the android mod causing the bots to take on the needs of androids causing it to die due to it running out of 'energy' the androids needs.
try with 1.0 what androids mod? Misc. MAI?

Quote from: just_a_random on October 11, 2018, 02:14:16 PM
hi, the last 2 ingame days my kitchen bot has some kind of trouble whe butchering humans(havent tested with animals didn't hunt recently), previously it worked just fine
Yeah, this problem has existed since Alpha lol. There was a fix made in C# by someone for an older version. It has to do with the bot trying to have emotions over butchering a body. Silly robot... There's a similar issue with crafting bots where the item expects there to be an author of the item, but since it's a bot instead of a colonist, it errors. Similarly, there was another C# fix for this... but all outdated.

Hopefully someone with some C# knowledge would like to contribute a library with the appropriate fixes for me to include xD