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

CC 1.5.8 rednet.repeat()

Started by Hydrotronics, 21 August 2015 - 04:15 PM
Hydrotronics #1
Posted 21 August 2015 - 06:15 PM
So, I'm on a 1.6.4 Tekkit server and I'm trying to build an internet type thing and I have run into the problem of some people being too far away to send/receive signals. I only have 2 computers hooked up to it, excluding my own, and I can't get the second one to connect!! The distance is approx 1200m between the host and the client. Is there a way to replicate rednet.repeat on this version (Computer Craft Version 1.5.8)

~Hydro
LDDestroier #2
Posted 21 August 2015 - 06:25 PM
Does CC1.58 have a 'repeat' command?
Hydrotronics #3
Posted 21 August 2015 - 06:58 PM
not a command, as far as i know, but there is a structure you can build for a loop. idk if that's what you mean?
KingofGamesYami #4
Posted 21 August 2015 - 07:16 PM
Here's the program, I'm not sure if it'd work without modification (Can you wrap wireless modems in that version??), but it's a start.
Hydrotronics #5
Posted 21 August 2015 - 07:20 PM
you can wrap wireless modems, i'll have a shot

Edit: Could you make a pastebin file please? that would be very nice.

made pastebin! Is there anything I would need to change for it work to my settings, or would everything be automatic?
Edited on 21 August 2015 - 07:40 PM
Bomb Bloke #6
Posted 21 August 2015 - 11:03 PM
The "official" repeat script relies on modifications that were made to the rednet API by CC 1.6.

Assuming you don't have access to the server files (in which case I'd imagine you'd just update ComputerCraft to 1.63), you'd need to perform a TLCO, manually load the updated API, and then restart rednet.run() in parallel with the shell. On every computer you wanted to use rednet with.

Something like this, a repeater written for an older mod build, might be a better bet.