Space Engineers

Space Engineers

CAT Life Support Manager - Oxygen, Airlocks and Alarms oh my
Loues.S.Cat  [developer] 24 Mar, 2015 @ 5:41pm
Support Thread (Life Support ;)
Ask any question or let me know about any issues you have with the script and I will do my best to address them ^.^
< >
Showing 1-15 of 77 comments
Loues.S.Cat  [developer] 24 Mar, 2015 @ 5:51pm 
@NightStalker Yellowing lights on the vent sugest a breach. That could just mean an exterior door is open when the vent is still trying to pump out 02. If there is a breach it is odd that it would stick at Cycling 2 as that is trying to depressurise. That is the state the airlock tries to go to by default on first setup though.
Are you having a timer block run the script over and over or triggering it just once?
I'd need to know some more details about your setup as right at this moment I am baffled as to why it would get that far and no further...
Unless... Are you O2 Tanks already at 100%? I had the system lock up because of that too, which is why it now shuts of O2 generation at 90%.
Greeneyez 24 Mar, 2015 @ 6:07pm 
Hello there, so the light is green now not sure what changed it but the doors still show cycling 2. This is the only script running at the moment to ensure no incompatibility. I am using the large gate door mod by Darth Biomech and I have 1 program block with the script and 1 timer set to run the script and reset the time every second. The LCD Panel shows correct and the O2 levels are maintained by the script just fine ( I vented a bunch of O2 and the script prompted production and that displayed on the LCD just fine)

I have two of the doors with a vent in the corridor between them ( Door <-- Vent --> Door ), Below is the modified snippet of code and I triple checked the Door, Vent and Light names and tags that they match the script.

http://pastebin.com/mkpU7gx1

Thanks for taking the time to help this is a really awesome script and a wonderful job you did.

NightStalker
Loues.S.Cat  [developer] 24 Mar, 2015 @ 6:16pm 
Happy to help. I wan't my scripts to work after all so hearing about when they fail helps me improve them ^.^
Hmm. the lights on the vent shouldn't be green when in Cycling 2. They should be cyan.
Ohhh. Can you double check ownership for me? Just make sure the vent in particular is owned by you as the script can see vents owned by none or someone else, but cant change anything about them, like their suck or blow status. I'll look over the script and see if I can spot any potencial source of this kind of issues.
If the vent is owned by you, trying simply manualy setting it to depressurise and see if that boots the script past cycling 2.

Edit: ohh and if you do run into any ownership issues anywhere in your airlock, do be sure to check the programable block and recompile the code if needed as ownership changes just in their vacinity can cause them to lock up.

It is passed 2am now, so I'm affraid I need to get some sleep. Let me know if the issue persists, I sent friend offer so you can see when I am online.
Last edited by Loues.S.Cat; 24 Mar, 2015 @ 7:11pm
Greeneyez 24 Mar, 2015 @ 7:10pm 
Hey there again, I checked the ownership and everything is and was owned by me. I also double checked the light and it changed to green (140 255 0) on its own as when I built it it was white then yellow then green. I removed and re-added the light and it did the same but the LCD still shows Cycle 2

Cheers, NightStalker
Loues.S.Cat  [developer] 24 Mar, 2015 @ 7:12pm 
Ohhhhh. the indicator light.
I am sorry i thought you were talking about the vent lights. I am sorry. The idicator light changes colour based on the tank pressure. OK.
The indicator light is actualy diffrent to the Airlock cycle light but the two being one in the same should cause no problems... hmmm.
Can you tell me if the airlock is going to 0 pressure and staying on cycle 2?
If it isnt going to 0 pressure, can you try setting the vent to depressurise manualy?
Last edited by Loues.S.Cat; 24 Mar, 2015 @ 7:16pm
Loues.S.Cat  [developer] 24 Mar, 2015 @ 7:51pm 
Ahh I am blind. i think i see why the issue is happening...

OK. in the pastebin post you made, on line 601 you have LAST_PRESSURE = Pressure;
and on the next line you have the closing bracket }
Between that closing bracket and the next one please add this bit of code

else { StringBuilder Output = new StringBuilder(); Output.Append( "Airlock Management Status" ); if( Light == null ) { Output.Append( "\nLight Not Found" ); } if( Vent == null ) { Output.Append( "\nVent Not Found" ); } BackupDisplay( Output.ToString() ); }

Don't delete anything to add that. It needs come between the closing brackets on 602 and 603

You'll need a beacon to see if it works, but I suspect this is where the issue might be occuring as it wouild result in the airlock locking up on cycle 2


Very sorry, but it is now 3:40. I need sleep.
I have uploaded a newer version. It may help, but it's a short in the dark really.
Last edited by Loues.S.Cat; 24 Mar, 2015 @ 8:39pm
Greeneyez 25 Mar, 2015 @ 3:36pm 
Hello again, I apologize for you having to be up late :( I think I found the issue with your help. So I placed the beacon and it came back with ">> Airlock Management Status Vent Not Found" so that got me looking at why. I ended up removing the vent and went to replace it but I stopped for a second. Before I was using the modded vent (https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=410678202) here and I thought let's try the stock one so I put a conveyor and the stock vent and it worked. Not sure what would be different between the two though. but it worked with the stock one.
Loues.S.Cat  [developer] 25 Mar, 2015 @ 3:38pm 
Ohhh. OK. yeah. that can be an issue. I had someone run into the same issue with mod added solar pannels.
I can add workarounds, but I need to actualy look up the mod.
It's often a clash with something I added early ^.^;
Greeneyez 25 Mar, 2015 @ 5:04pm 
Ha no worries awesome work that is the first script I used and it really got me into wanting to learn more about C# :)
Gostking 25 Mar, 2015 @ 8:46pm 
hey I am having trouble making this work. it does not control the tanks or vents. sorry its been a year since i did c# I have forgot most of it. so i was wondering like ie a tank vent adn gen all i put is O2_SYSTEM_TAG right? also does not show up on lcd at all just on becon and shows 0% for o2 tanks
Gostking 25 Mar, 2015 @ 9:01pm 
also lights dont change and no sound for alarm.. I bet its user error just need some help.
Gostking 25 Mar, 2015 @ 9:01pm 
sorry ik its late for everyone
Loues.S.Cat  [developer] 26 Mar, 2015 @ 1:14am 
Hey! Did you The O2_SYSTEM_TAG just needs to be in the name of the items somewhere. prefferably not at the beggining.
If it is displaying on a beacon that means it didnt find a panel to display it on. Check the LCD_DISPLAY_TAG and be sure you tagged the LCDs witht hat. by default it is [O2], same as the O2_SYSTEM_TAG.
Again, light and soun block have seperate tags. the default is also O2. So they should have names something like "Sound Block [O2]"
Failure to control could be a lot of things, It may be an ownership issue.
Can you tell me exactly what the beacon got renamed?
Gostking 26 Mar, 2015 @ 7:55am 
I think it was Atmos so using the put like "air vent top O2_SYSTEM_TAG" and "sound block top SoundBlock [O2]"
Gostking 26 Mar, 2015 @ 7:56am 
I have the lcd just named "LCD_DISPLAY_TAG"
< >
Showing 1-15 of 77 comments
Per page: 1530 50