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

[1.4.6][SSP]Turtles with labels do not execute start up programs until the UI is opened

Started by athelred, 19 November 2012 - 12:04 PM
athelred #1
Posted 19 November 2012 - 01:04 PM
Version : 1.4.6 universal

Description :

A labeled turtle with a start up program does not execute the start up program until the turtle's UI is opened

Steps to reproduce :

Place a turtle.
execute "label set test1"
create the following start up program


while (true)
do
turtle.turnRight()
end

The program is irrelevant to the problem. It is just something simple and obvious.

Break the turtle.
Place the turtle.
At this point the turtle will not begin to spin.
Right click on the turtle to open the UI.
The turtle begins to spin.

This effect lasts past saving and reopening the world. The start up program will not execute until the UI has been opened at least once. Once the UI has been opened the turtle behaves normally.
KillaVanilla #2
Posted 19 November 2012 - 01:17 PM
I believe that this is intended behavior; the turtle/computer won't start up until you open it's UI.

Either that, or I missed something while I was away.
GopherAtl #3
Posted 19 November 2012 - 01:51 PM
it is intended behavior. If you're hoping to automate placing computers/turtles with other turtles, you can turn it on through the peripheral api, for example:


--place a computer or turtle in front of me
turtle.place()

--turn it on
peripheral.call("front","turnOn")
Cloudy #4
Posted 19 November 2012 - 02:01 PM
Yep, not a bug, closed.