Space Engineers

Space Engineers

[Old Version] Stargate (hardcore version)
crazy_bad 20 Jun, 2016 @ 3:40pm
bugreports / suggestions
1) bug.
dereferencing null 2 times during loading
Sandbox.ModAPI.MyAPIGateway.Utilities = null

2) bug.
no effect while enabling gate.

public override void Init(MyObjectBuilder_CubeBlock objectBuilder, MyCubeGrid cubeGrid)
{
RadioBroadcaster = new MyRadioBroadcaster();
RadioReceiver = new MyRadioReceiver();

var antennaDefinition = BlockDefinition as MyRadioAntennaDefinition;
Debug.Assert(antennaDefinition != null); //// asserts and then null dereferencing.


> Sandbox.Game.dll!Sandbox.Game.Entities.Cube.MyRadioAntenna.Init(VRage.Game.MyObjectBuilder_CubeBlock objectBuilder, Sandbox.Game.Entities.MyCubeGrid cubeGrid) Line 202 C#
Sandbox.Game.dll!Sandbox.Game.Entities.Cube.MySlimBlock.Init(VRage.Game.MyObjectBuilder_CubeBlock objectBuilder, Sandbox.Game.Entities.MyCubeGrid cubeGrid, Sandbox.Game.Entities.MyCubeBlock fatBlock) Line 368 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyCubeGrid.AddCubeBlock(VRage.Game.MyObjectBuilder_CubeBlock objectBuilder, bool testMerge, Sandbox.Definitions.MyCubeBlockDefinition blockDefinition) Line 2403 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyCubeGrid.AddBlock(VRage.Game.MyObjectBuilder_CubeBlock objectBuilder, bool testMerge) Line 2357 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyCubeGrid.InitInternal(VRage.ObjectBuilders.MyObjectBuilder_EntityBase objectBuilder, bool rebuildGrid) Line 607 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyCubeGrid.Init(VRage.ObjectBuilders.MyObjectBuilder_EntityBase objectBuilder) Line 510 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyEntities.InitEntity(VRage.ObjectBuilders.MyObjectBuilder_EntityBase objectBuilder, ref VRage.Game.Entity.MyEntity entity) Line 2021 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyEntities.CreateFromObjectBuilder(VRage.ObjectBuilders.MyObjectBuilder_EntityBase objectBuilder) Line 2011 C#
Sandbox.Game.dll!Sandbox.Game.Entities.MyEntities.CreateFromObjectBuilderAndAdd(VRage.ObjectBuilders.MyObjectBuilder_EntityBase objectBuilder) Line 1882 C#
Sandbox.Game.dll!Sandbox.ModAPI.MyEntitiesHelper_ModAPI.VRage.ModAPI.IMyEntities.CreateFromObjectBuilderAndAdd(VRage.ObjectBuilders.MyObjectBuilder_EntityBase objectBuilder) Line 70 C#
356040973!Phoenix.Stargate.AdminExtensions.CreateAndSyncEntities.AnonymousMethod__0(VRage.ObjectBuilders.MyObjectBuilder_EntityBase item) Line 419 C#
mscorlib.dll!System.Collections.Generic.List<VRage.ObjectBuilders.MyObjectBuilder_EntityBase>.ForEach(System.Action<VRage.ObjectBuilders.MyObjectBuilder_EntityBase> action) Unknown
356040973!Phoenix.Stargate.AdminExtensions.CreateAndSyncEntities(System.Collections.Generic.List<VRage.ObjectBuilders.MyObjectBuilder_EntityBase> entities) Line 419 C#
356040973!Phoenix.Stargate.Stargate.SpawnEventHorizon(bool isIris) Line 1727 C#
356040973!Phoenix.Stargate.Stargate.TriggerGate(bool obj) Line 605 C#
356040973!Phoenix.Stargate.Stargate.ActivateGate(Sandbox.ModAPI.Ingame.IMyFunctionalBlock gate, bool on) Line 1826 C#
356040973!Phoenix.Stargate.Stargate.TriggerGate(bool obj) Line 591 C#
356040973!Phoenix.Stargate.Stargate.ActivateGate(Sandbox.ModAPI.Ingame.IMyFunctionalBlock gate, bool on) Line 1826 C#
356040973!Phoenix.Stargate.Extensions.DoorDHDExtensions.dhd_DoorStateChanged(Sandbox.ModAPI.IMyDoor entity, bool obj) Line 2514 C#

3) suggestion.
as i know current version of SE allows to customize terminal blocks.
will be nice to select teleportation targets from list, like hire:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=693253011&searchtext=transporter