18

Like a complete genius, I put this in the startup program:

while true do
  shell.run("power")
end

Which seemed fine at the time, except now I need to edit something. Here's the fun part: when I try to terminate the program, it will terminate power, and then immediately restart it. The turtle has a label, so breaking him will not work, and I'm on a SMP server, so I don't have access to the files. Help?

4
  • golfclap...well done.
    – Cory J
    Feb 15 '13 at 23:30
  • ...my only option is finding someone with access to the serverside files, isn't it...?
    – Unionhawk
    Feb 15 '13 at 23:33
  • Or consigning this one to a lava pool and building another. Feb 15 '13 at 23:40
  • 5
    What you need to do is...What you need to do is...What you need to do is...What you need to do is...
    – Peter V.
    Feb 19 '14 at 11:37
19

Put it next to a diskdrive with a disk which has a do-nothing startup (ensure the drive is not on a side with a peripheral). Computers prefer to boot from disk over local files unless otherwise specified in the config.

0
1

Open the computers UI, press control-T and hold it (for a second if I recall correctly). This will terminate the current program and return to the command prompt. (Another one to remember is control-R, used in the same way, to restart the computer.)

2
  • I did this, and it did not work simply because of the way that I had the loop set up. I would terminate the interior program, but the loop in startup immediately restarted the program.
    – Unionhawk
    Apr 22 '13 at 13:32
  • Although unrelated to the actual solution, this helped me escape from a sleep loop I was trapped in, so thanks!
    – Kogitsune
    Mar 23 '15 at 1:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.