Survival game issue

Георгий Бабин shared this bug 22 days ago
Won't Fix

Hello, engineers!


I've encountered a problem in a survival game with a very simple script. Here's the deal: I have something like an airlock (two doors, air vent, and three button panels). The buttons are set to toggle the vent's state (pressurized/depressurized), so the script turns the door on or off depending on the vent's state (pressurized/depressurized). In creative mode, everything works perfectly. BUT in survival mode something's wrong. The outer door works as expected, BUT the inner door only works while it closed. The door turning off about a second after attempting to open it. Furthermore, pressing the button still toggles the vent and turning on the door, but turning it off after a split second, so it can't be closed while the outer door always remains on. My main game is quite old, and the script used to work. Now it doesn't.


I have airlock in the main game, I recreated it the in a new world now — nothing changed. Please help. Here's the script:

public Program()

{

Runtime.UpdateFrequency = UpdateFrequency.Update10;

}


public void Main(string argument, UpdateType updateSource)

{

IMyAirVent LandingExit = GridTerminalSystem.GetBlockWithName("Air Vent Fan Full") as IMyAirVent;

IMyDoor LandingDoorOut = GridTerminalSystem.GetBlockWithName("Sliding Door") as IMyDoor;

IMyDoor LandingDoorIn = GridTerminalSystem.GetBlockWithName("Sliding Door 2") as IMyDoor;


var LandingExitStatus = LandingExit.Status;


if (LandingExitStatus != VentStatus.Pressurized)

{

LandingDoorOut.ApplyAction("OnOff_On");

LandingDoorIn.ApplyAction("OnOff_Off");

}

else

{

LandingDoorOut.ApplyAction("OnOff_Off");

LandingDoorIn.ApplyAction("OnOff_On");

}

}

Replies (3)

photo
0

Hello,

Thank you for contacting us. Since this is a bug report, I'm moving your ticket to our support page, where our QA team will take care of you.

Kind Regards,

Keen Software House

photo
1

Hello Engineer,

Thank you for reaching out to us.

Could you please share some more information about this issue?

Are there any other MODs/Scripts active in the world where this script is no longer working? If so, please try making a blueprint of the grid using the script, paste it into a new vanilla/unmodded world, and check whether the issue still occurs there.

If the issue persists in the vanilla world, please send us:

  • The vanilla world save or the blueprint of the grid where the script is being used
  • A video from the older game version where the script was working correctly, so we can compare the expected behavior
  • A video from the current game version where the issue occurs

You can change the game version by, Right-click Space Engineers in Steam → Properties → Betas/Game Versions and select the game version where the script previously worked.

For testing on the current version, please use the Default/Public game version.

These details would really help us investigate the issue further on our side.

  • You can access your blueprints files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Blueprints. Select the correct folder where your blueprint is saved (local or cloud), zip the file and attach it here.
  • You can access your save files by typing %appdata% into your Windows search bar and you will be redirected to the hidden Roaming folder. After that just follow: \Roaming\SpaceEngineers\Saves. There should be a folder with your SteamID and your saves.
  • Please zip the file and attach it here. If you are having difficulty attaching files/videos you can optionally use Google Drive. When sharing a google drive link please make sure it is set to be downloadable by anyone with the link.

Kind regards,

Keen Software House: QA Department

photo
1

Hello Engineer,

As there has been no reply to this thread in some time, we will close it. If you're experiencing this issue, please create a new thread.

Kind regards,

Keen Software House: QA Department

Leave a Comment
 
Attach a file
Access denied