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

[Question] Wireless Signal Distance

Started by edgley, 16 April 2012 - 02:53 PM
edgley #1
Posted 16 April 2012 - 04:53 PM
I'm pretty new to this mod, but I've been lurking on these forums the past few days trying to get a decent setup going. The only problem is I would like a way to limit the distance wireless modems can communicate.

I've done a search and read through a few dozen topics where people say there is a config option, but I'm not seeing one and nobody says what the exact syntax would be.

Due to being limited to a clanforge server and having less than competent users, I am stuck running Tekkit 1.1 with ComputerCraft 1.3.
(It's a private server, but some of the people whitelisted barely understand how to play Minecraft, let alone update ComputerCraft).

Is this limited to the newer versions? If not what can I stick in my (I am assuming this is the config file used) "net.minecraft.server.mod_ComputerCraft.cfg" file?

Thanks.
OmegaVest #2
Posted 16 April 2012 - 05:13 PM
Alright, in the mod_ComputerCraft.cfg, the line should be "modem_range=64". Or, you know, whatever number you want it to be.

That said, I dislike modpacks for this specific reason, in that I never know what they have taken out to make room, so to speak. And both Tekkit and Technic have this problem. But I'm pretty sure the range option was implemented with the modems.
edgley #3
Posted 16 April 2012 - 05:22 PM
That's brilliant, thank you!

I take it it works for the server config file as well? (I'm not able to test this at the moment, work and all that).
OmegaVest #4
Posted 16 April 2012 - 07:17 PM
Umm. Pretty sure it should, though not entirely. In theory, both SMP and SSP have more or less the same code.
edgley #5
Posted 16 April 2012 - 08:52 PM
Cool, thank you – again.
edgley #6
Posted 16 April 2012 - 09:25 PM
Hmm, can't seem to get this to work on either single or multiplayer Tekkit…

Range stays at 64M. Any ideas?
Luanub #7
Posted 16 April 2012 - 09:56 PM
Hmm, can't seem to get this to work on either single or multiplayer Tekkit…

Range stays at 64M. Any ideas?

What version of CC is Tekkit on now? Last I knew it wasn't up to date and the range function did not work. Downside to running Tekkit.
Cloudy #8
Posted 16 April 2012 - 09:59 PM
Hmm, can't seem to get this to work on either single or multiplayer Tekkit…

Range stays at 64M. Any ideas?

What version of CC is Tekkit on now? Last I knew it wasn't up to date and the range function did not work. Downside to running Tekkit.

You are correct that Tekkit isn't upto date. The version where the range was added was 1.31 - Tekkit is on the latest version for 1.1 which I believe was 1.30 (notwithstanding the backport).
edgley #9
Posted 16 April 2012 - 11:21 PM
Ah damn, yeah it's running 1.3, I can't add the back port as it doesn't like people with the old client version and I have some less than IT savy guys playing.

Oh well, I'll have to wait until we get Tekkit for 1.2.5 then.

Thanks all for your help.