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

multi Turtles saving location files

Started by eddieo, 14 July 2012 - 02:33 PM
eddieo #1
Posted 14 July 2012 - 04:33 PM
I am currently working on a program that has my turtles saving their current location to a file. Whats the code to have all the turtles access the same file


file = fs.open("abc.txt" , "r")

opens the file for the specific turtle.
isn't there something like


file = fs.open("c:\yada\yada\yada\abc.txt" , "r")

so all the turtles can access the same file?
MysticT #2
Posted 14 July 2012 - 06:27 PM
No.
Each turtle is a separate computer, so you can't access files on other one. However, you could create some server that gives access to files through rednet.