Posted 09 August 2012 - 09:47 AM
Computer 1:
So, when I open the 2nd one, then run back to the first to run the 1st program. It turns off the other computer and in server console it says
'Warning! Failed to abort a Computer. Dangling lua threads could cause errors.' When I go back to the 2nd computer, and start it up, it crashes with the same error, without me even starting up the program. Can someone explain? <3
rednet.open("back")
rednet.broadcast("Farm Computer Online")
print("Farm Computer Online")
print("Welcome, would you like to open the floodgate")
answer = read()
if answer == "yes" then
rednet.send(2,"gate")
sleep(15)
end
Computer 2:
rednet.open("top")
rednet.broadcast("Floodgate Computer Online")
print("Floodgate Computer Online")
term.clear()
term.setCursorPos(1, 1)
redstone.setOutput("right", true)
redstone.setOutput("left", true)
active = rednet.receive()
while true do
if active == true then
redstone.setOutput("right", false)
redstone.setOutput("left", false)
print("Recieved")
sleep(30)
redstone.setOutput("right", true)
redstone.setOutput("left", true)
end
end
So, when I open the 2nd one, then run back to the first to run the 1st program. It turns off the other computer and in server console it says
'Warning! Failed to abort a Computer. Dangling lua threads could cause errors.' When I go back to the 2nd computer, and start it up, it crashes with the same error, without me even starting up the program. Can someone explain? <3