Posted 06 September 2012 - 01:12 AM
The API will allow you to remotely control a turtle or computer. It's a pretty simple code and I didn't check if anyone has made something similar but I know this helped me so I decided to see if it would help anyone else :D/>/>
Functions:
rc.openTurtle(controller)
–This will open a turtle to receiving commands, it is highly recommended to specify the controlling computer's id.
rc.openComputer(controller)
–Basically the same as rc.openTurtle() except you are not limited to turtle functions.
rc.turtle(id,command)
–This will send a command to a turtle for it to carry out (Will only do turtle functions e.g. rc.turtle(24,forward))
rc.computer(id,command)
–Will send anything to a computer/turtle and that computer/turtle will run it
I have been made aware of ways to hack the turtle with rc.turtle which is why specifying a controller computer is highly recommended.
Note: A rednet modem needs to be open
Feedback is welcome :P/>/>
Download
http://www.mediafire...zfjlji2h8toozst
Simply put the rc file in the API folder.
Functions:
rc.openTurtle(controller)
–This will open a turtle to receiving commands, it is highly recommended to specify the controlling computer's id.
rc.openComputer(controller)
–Basically the same as rc.openTurtle() except you are not limited to turtle functions.
rc.turtle(id,command)
–This will send a command to a turtle for it to carry out (Will only do turtle functions e.g. rc.turtle(24,forward))
rc.computer(id,command)
–Will send anything to a computer/turtle and that computer/turtle will run it
I have been made aware of ways to hack the turtle with rc.turtle which is why specifying a controller computer is highly recommended.
Note: A rednet modem needs to be open
Feedback is welcome :P/>/>
Download
http://www.mediafire...zfjlji2h8toozst
Simply put the rc file in the API folder.