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

How do you keep computers running?

Started by ArmchairArmada, 19 October 2012 - 05:50 AM
ArmchairArmada #1
Posted 19 October 2012 - 07:50 AM
My computer keep turning themselves off. I just did a test (in single player) where I turned a computer on, started a script that simply counted, went into the nether, and when I came back out the computer was off again. Is there a way to keep all the computer in your world running as long as the game is being played? There are a lot of things I've been wanting to try to do, but it would be annoying if the computers keep powering themselves down.

Edit: I'm aware chunks get unloaded, but I would think that the lua scripts run mostly independent of the world - with the exception of interacting with redstone and a few other things. If it is, for example, a rednet network (where computers are only interacting with eachother) then I would think they'd still be able to function properly even without the world chunks – it's just scripts being run in the interpreter.

Edit again: Ok, I'll settle for the computers stopping if you leave an area, but they should at least start running again, if they were previously on, and load the startup script. I just tested that and, no, once you leave an area the computer needs to be manually turned back on again after returning. This would be particularly annoying with turtles because they might be stopped who-knows-where (possibly not easily accessible.)
Cloudy #2
Posted 19 October 2012 - 08:25 AM
My computer keep turning themselves off. I just did a test (in single player) where I turned a computer on, started a script that simply counted, went into the nether, and when I came back out the computer was off again. Is there a way to keep all the computer in your world running as long as the game is being played? There are a lot of things I've been wanting to try to do, but it would be annoying if the computers keep powering themselves down.

Edit: I'm aware chunks get unloaded, but I would think that the lua scripts run mostly independent of the world - with the exception of interacting with redstone and a few other things. If it is, for example, a rednet network (where computers are only interacting with eachother) then I would think they'd still be able to function properly even without the world chunks – it's just scripts being run in the interpreter.

Edit again: Ok, I'll settle for the computers stopping if you leave an area, but they should at least start running again, if they were previously on, and load the startup script. I just tested that and, no, once you leave an area the computer needs to be manually turned back on again after returning. This would be particularly annoying with turtles because they might be stopped who-knows-where (possibly not easily accessible.)

What ComputerCraft version are you using?
ArmchairArmada #3
Posted 19 October 2012 - 08:49 AM
Oh, I was using 1.42. Didn't realize that. After downloading 1.43 the computers now seem to start up again when returning to an area. It's funny something so simple (and somewhat stupid on my part) would fix it. Thanks.

Edit: Though, now I notice that my computers are sometimes missing the front of them.

Edit again: Updated forge and it now works great! This is so much better than before! I know I'm going to have a lot of fun with this now that I don't need to keep manually turning the computers on.