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

Extending the range of a modem

Started by Rub0Gameton, 15 September 2012 - 11:51 PM
Rub0Gameton #1
Posted 16 September 2012 - 01:51 AM
Is it possible to do so? I really need more than 64 blocks of range.
CastleMan2000 #2
Posted 16 September 2012 - 01:58 AM
Go into the config file and change modem_range.
Rub0Gameton #3
Posted 16 September 2012 - 02:16 AM
Go into the config file and change modem_range.
Isn't there any better way to do it? Possibly legit?
Grim Reaper #4
Posted 16 September 2012 - 02:19 AM
Well, it depends on what you're writing.

You could try to write a script that would act as a repeater between computers, but then you have to start to incorporate tree networks (repeaters to repeaters) and that gets pretty messy if you don't know what you're doing.
Rub0Gameton #5
Posted 16 September 2012 - 02:22 AM
Well, it depends on what you're writing.

You could try to write a script that would act as a repeater between computers, but then you have to start to incorporate tree networks (repeaters to repeaters) and that gets pretty messy if you don't know what you're doing.
Yeah, I thought about that. I guess I'll try it out. There is one more question though….

I have a file browser, it is fully functional except that I can't find a way to go up one directory, only up to the root directory. Any ideas? Thanks!
mrSLIMEguy #6
Posted 16 September 2012 - 02:23 AM
You can try placing a server at a high altitude and have messages go through the server to the other computer
Grim Reaper #7
Posted 16 September 2012 - 02:39 AM
If your file browser switches directory through using the actual shell directory (I would recommend this), you can always use pre-written programs to your advantage.

If you need to go up one directory then you could try calling the "cd" program with an argument of ".." to move the shell back one directory.

shell.run("cd", "..")
Rub0Gameton #8
Posted 16 September 2012 - 02:40 AM
If your file browser switches directory through using the actual shell directory (I would recommend this), you can always use pre-written programs to your advantage.

If you need to go up one directory then you could try calling the "cd" program with an argument of ".." to move the shell back one directory.

shell.run("cd", "..")
Alright, I will try that. Thanks!
= THREAD CLOSED =