OwendB1 / SE-Ship_Class_System

Blue's SE Ship Class Mod
2 stars 3 forks source link

Failed to set Class #22

Closed Blues-Hailfire closed 4 months ago

Blues-Hailfire commented 4 months ago

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()

Blues-Hailfire commented 4 months ago

It is still Occurring on the workshop version, but it was fixed on the latest push to the repository...