This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Jammyleo98's profile picture

Turbine Monitor Code

Started by Jammyleo98, 03 May 2015 - 12:07 PM
Jammyleo98 #1
Posted 03 May 2015 - 02:07 PM
I am using the advanced computers to get a code off the internet to monitor the turbines in a big reactor mod so they don't blow up. Whenever I close my server these computers don't lose their code but require me to type in the code to activate them again. I have too many of these computers to be able to activate the programs again before the turbines explode. Is there a way that these computers can continue running the program even after a server restart?

Thanks.
valithor #2
Posted 03 May 2015 - 10:08 PM
I am using the advanced computers to get a code off the internet to monitor the turbines in a big reactor mod so they don't blow up. Whenever I close my server these computers don't lose their code but require me to type in the code to activate them again. I have too many of these computers to be able to activate the programs again before the turbines explode. Is there a way that these computers can continue running the program even after a server restart?

Thanks.

If you name your script startup, it will run that script whenever the computer starts. For the most part computers with startup scripts will automatically turn on and begin running their code when a server reboots (assuming they are loaded), the only exception being some cauldron servers.
Jammyleo98 #3
Posted 04 May 2015 - 09:45 AM
What do you mean by name the script startup? The computer is activated when I type "TurbineMonitor" but requires this every time I start up the server. How do I make it a startup script?

Oh, I literally name it "startup".

Ok, thank you valithor.