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

Need help. Rednet Gps bomber program.

Started by htwray, 30 March 2013 - 09:24 AM
htwray #1
Posted 30 March 2013 - 10:24 AM
I need help with this program. I don't know why its not working.,

Host PC: http://pastebin.com/wsZW8avr

Turtle:http://pastebin.com/M3D2yUMS
Engineer #2
Posted 30 March 2013 - 11:07 AM
Error, whats the unexpected behaviour?
Brandhout #3
Posted 30 March 2013 - 12:22 PM
So far i can see two minor mistakes. The host pc has a problem in the for loop, even though you don't need an index you still have to define it. It should be:

for i = z, 254 do
  rednet.send("up")
end
The turtle program seems to lack one "end" at the end of the file. You both need to end the while loop and the if-else statements.