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

Rednet missing

Started by Kexus, 19 June 2012 - 12:27 AM
Kexus #1
Posted 19 June 2012 - 02:27 AM
I just got started with ComputerCraft, and I ran into a problem. None of the rednet commands listing in "help rednet" work. I'm pretty sure this is caused by the fact that ComputerCraft\lua\rom\programs\ doesn't have a "rednet" file in it. I'm using the latest version of Tekkit, from the Technic Launcher thing. Where/how do I get the missing file? Or is there some other reason its not working?
MysticT #2
Posted 19 June 2012 - 02:34 AM
The file is in rom/apis not in programs. Post the code you used, there might be an error. Maybe you didn't open rednet (rednet.open("<side>")) in a side with modem/cable.
Kexus #3
Posted 19 June 2012 - 02:40 AM
The file is in rom/apis not in programs. Post the code you used, there might be an error. Maybe you didn't open rednet (rednet.open("<side>")) in a side with modem/cable.

Ok, the file isn't missing. I tried using rednet.open("right"), that just gave me a "No Such Program" message, along with all the other rednet.* commands.
MysticT #4
Posted 19 June 2012 - 02:42 AM
rednet is an api, not programs. You must use it from a program or the lua program.
Kexus #5
Posted 19 June 2012 - 03:23 PM
Oh, ok. Thanks.