3 posts
Posted 04 January 2015 - 03:05 PM
.
Edited on 08 July 2018 - 12:40 PM
1522 posts
Location
The Netherlands
Posted 04 January 2015 - 09:00 PM
If I remember correctly you can set the rednet range to infinite in the config file!
http://computercraft.info/wiki/ComputerCraft.cfg
3057 posts
Location
United States of America
Posted 05 January 2015 - 03:22 AM
I'm going to assume he can't change the config - it is a server after all.
You will want to look at disk drives, notably the disk api, and set up some way of retrieving the disk from the enderchest. For instance, you could use a turtle as the client and use turtle.suck() to retrieve the disk, then use turtle.drop() to place it in a disk drive. The real problem is figuring out when the disk has been placed in the chest - I know of no mod that fires an event for this, although some mods can tell you if the item in question is, in fact, a disk. If you play a version of CC with turtle.getItemDetail you could easily make sure the item is a disk.
You'll also want to look at the fs commands, so you can read or write to the disk.
Do you have other mods on this server that could potentially help with this? Buildcraft pipes could be used to extract the disk immediately as it arrives, and remove the need for a turtle. I haven't tested, but this could also fire a disk event, which further simplifies the code required.