Using the below config when switching ship class to Trade Station, script spazz out.
ShipClassConfig.txt
2024-07-07 15:33:31.637 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100() 2024-07-07 15:33:31.653 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary2.get_Item(TKey key)
at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb)
at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo()
at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100()
2024-07-07 15:33:31.670 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100() 2024-07-07 15:33:31.687 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary2.get_Item(TKey key)
at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb)
at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo()
at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100()
2024-07-07 15:33:31.703 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace:
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb)
at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo()
at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100()
Using the below config when switching ship class to Trade Station, script spazz out. ShipClassConfig.txt
2024-07-07 15:33:31.637 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary
2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100() 2024-07-07 15:33:31.653 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary
2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100() 2024-07-07 15:33:31.670 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100() 2024-07-07 15:33:31.687 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary
2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100() 2024-07-07 15:33:31.703 - Thread: 1 -> [Ship Classes]: Exception message = The given key was not present in the dictionary., Stack trace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at ShipClassSystem.CockpitInfo.AppendingCustomInfo(IMyTerminalBlock block, StringBuilder sb) at Sandbox.Game.Entities.Cube.MyTerminalBlock.RefreshCustomInfo() at ShipClassSystem.CockpitInfo.UpdateAfterSimulation100()