Comms Console has stopped working

Started by Mysticalcupcake, April 06, 2018, 11:27:10 AM

Previous topic - Next topic

Mysticalcupcake

As the title says, the Comms Console has stopped working in my current game.  I select a character and right-click the console but nothing comes up. After starting Dev mode this error came up when clicking the console:

NullReferenceException: Object reference not set to an instance of an object
at RimWorld.TradeShip.GetCallLabel () <0x0000f>
at RimWorld.Building_CommsConsole.GetFloatMenuOptions (Verse.Pawn) <0x00741>
at (wrapper dynamic-method) RimWorld.FloatMenuMakerMap.AddHumanlikeOrders_Patch2 (UnityEngine.Vector3,Verse.Pawn,System.Collections.Generic.List`1<Verse.FloatMenuOption>) <0x041e3>
at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3,Verse.Pawn) <0x001d2>
at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn) <0x00125>
at RimWorld.Selector.HandleMapClicks () <0x00179>
at RimWorld.Selector.SelectorOnGUI () <0x00014>
at RimWorld.MapInterface.HandleLowPriorityInput () <0x00033>
at RimWorld.UIRoot_Play.UIRootOnGUI () <0x001ad>
at Verse.Root.OnGUI () <0x000c6>

Also appearing in an unending scroll is:

System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.TradeShip.get_FullTitle () [0x00000] in <filename unknown>:0
  at RimWorld.PassingShip.Depart () [0x00000] in <filename unknown>:0
  at RimWorld.TradeShip.Depart () [0x00000] in <filename unknown>:0
  at RimWorld.PassingShip.PassingShipTick () [0x00000] in <filename unknown>:0
  at RimWorld.TradeShip.PassingShipTick () [0x00000] in <filename unknown>:0
  at RimWorld.PassingShipManager.PassingShipManagerTick () [0x00000] in <filename unknown>:0
  at Verse.Map.MapPostTick () [0x00000] in <filename unknown>:0

The error log is here https://gist.github.com/HugsLibRecordKeeper/c6232a7050def840b54666c64a02d4ef

The console works in a new game but not my ongoing one.  My mod list (in load order) is:
-Core
-HugsLib
-EdB Prepare Carefully
-Medical Tab
-RT's Weapon Pack B18
-Hand me that brick
-Harvest Organs Post Mortem 2.0
-Expanded Prosthetics and Organ Engineering
-Various Spaceship Chunks
-Efficient Light
-Quarry
-JecsTools
-Set-Up Camp
-Doors Expanded
-Stack XXL
-WM Smarter Food Selection
-More Trade Ships
-Lets Trade!

I suspect the Trade mods are to blame but removing them does not fix the issue. Any help would be appreciated. Thank you.




Canute

Hi,
when i see all these errors with Tradeship's in the log i would think
Let's Trade! is buggy or wrong installed.
Try to disable it, and look if it helps.

Mysticalcupcake

Disabling the mod doesn't fix the issue unfortunately, also like I said, Comms consoles work in new games. I'm wondering if Let's Trade tried to pop an event that caused the bug. I'm happy to remove the mod for future games but I'd like to try and restore my current game if possible.

Canute

I am pretty sure it has something to do with the tradeship mod.
I think i don't saw a permadeath mark, so just try to pass the tradeship ingame, and check if the console works again after the ship left the com range.

Or does a safegame before the tradeship arrives works ?

Mysticalcupcake

I will try waiting for "it" to pass but I was playing for quite awhile before I noticed and quite awhile afterwards so I suspect it might be permanent.  And no, I do not have any autosaves from before the bug unfortunately.

Canute

Just keep the safe, just in case.

Maybe someone with skill in safegame editing can point you how to delete the trader entry.