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

Having computers auto start after a server restart

Started by Graloth, 12 February 2013 - 08:28 PM
Graloth #1
Posted 12 February 2013 - 09:28 PM
Hello everyone.

So, I'm working on my own version of a sorting system, and I've gotten it to work perfectly now except for 1 very annoying thing.

I am using the startup program to make sure it runs the sorting program when the computer starts, however this only happens when someone initially interacts with the computer, so after a server restart it wont auto start until I log on and go to each and every computer to start them up, which is VERY tedious.

So my question is this: Is there a way for me to have the computers automatically start after a server restart or some other way to make them start up automatically without requiring player input?

Thanks in advance.
Graloth
Doyle3694 #2
Posted 12 February 2013 - 10:02 PM
As long as nobody turns them off they will turn on at chunk reload.
theoriginalbit #3
Posted 12 February 2013 - 10:11 PM
if the are on before then on chunk/server reload they should turn on…

sometimes it requires you to walk into the area so that they load… this is where chunk loaders come in…
Graloth #4
Posted 12 February 2013 - 11:02 PM
they are chunkloaded via a railcraft world anchor (not configured to require fuel, so it runs constantly) since I have other machines that need to stay loaded, yet still the startup script that updates item counts first run when I interact with the computer, even though it is called startup and placed in the computer root, it doesn't seem to work for me.

Maybe there is a config option I've missed? (though I doubt it as I've been through it so many times already looking for it)
theoriginalbit #5
Posted 12 February 2013 - 11:18 PM
if its CC1.481 then it could be this then http://www.computercraft.info/forums2/index.php?/topic/10096-computers-turn-on-when-the-chunk-is-loaded/
Graloth #6
Posted 12 February 2013 - 11:22 PM
Hm, will have to check which version we're running and update it then, since that feature is very useful for me :)/>
Doyle3694 #7
Posted 13 February 2013 - 03:08 AM
OriginalBIT, that one is the exact opposite of this problem, that one is about computers turning on when they are off and should be off.
Lyqyd #8
Posted 13 February 2013 - 08:45 AM
This does sound like a bug in the version Tekkit uses that causes computers not to boot correctly when the chunk is reloaded.
Cloudy #9
Posted 13 February 2013 - 02:11 PM
Tekkit - keeping people on outdated versions since 2011!
Dwyndal #10
Posted 15 February 2013 - 11:05 AM
New here and new to CC but not knowing your program couldn't you set a button via redstone signal to start them and link them all up to one master or chain link one to all with messages.
Lyqyd #11
Posted 15 February 2013 - 02:12 PM
If a computer is off, it can only be started by another computer or a player right-clicking it. If the problem is that computers which are supposed to be on remain off when the chunk reloads, the only solution is to right-click them again. Or to update, since this bug is only present in outdated versions.
Dwyndal #12
Posted 15 February 2013 - 07:33 PM
gotcha, to get the signal as input to "run" it would have to be on, makes sense. Duh moment.