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

RedNet Questions

Started by ctq, 10 April 2016 - 01:42 AM
ctq #1
Posted 10 April 2016 - 03:42 AM
Hello;
Me and a friend are on a private tekkit server, and we are trying to make a computer that will output the temperature when you type 'temp', and then whenever you type 'on' it goes on and 'off' it goes off. We are using a RedNet cable to connect and the power is at white, and the temp in in orange.
Please help, been stressful!
Bomb Bloke #2
Posted 10 April 2016 - 04:08 AM
You can check whether the colours within the likes of MineFactory Reloaded's RedNet cables are active or not using rs.testBundledInput(), though this does somewhat depend on which versions of the mods are in use.

However, you'll only get information as to whether there's a signal or not - either a colour is active, or it isn't. You can't transmit a "temperature" down the orange wire, for example.

Exactly what's on the other end of the cable…?
Edited on 10 April 2016 - 02:09 AM
ctq #3
Posted 10 April 2016 - 05:02 AM
You can check whether the colours within the likes of MineFactory Reloaded's RedNet cables are active or not using rs.testBundledInput(), though this does somewhat depend on which versions of the mods are in use.

However, you'll only get information as to whether there's a signal or not - either a colour is active, or it isn't. You can't transmit a "temperature" down the orange wire, for example.

Exactly what's on the other end of the cable…?

Reactor RedNet Port
Bomb Bloke #4
Posted 10 April 2016 - 05:39 AM
If you mean from BigReactors, then you'd probably be better off switching that to a Reactor Computer Port, and connecting it to the computer with a Wired Modem and Networking Cable.
ctq #5
Posted 10 April 2016 - 05:50 AM
If you mean from BigReactors, then you'd probably be better off switching that to a Reactor Computer Port, and connecting it to the computer with a Wired Modem and Networking Cable.
Ok, I got connected. All I need help for now is the script, I know java, but I haven't a clue how to code lua. Any help :D/>?
Bomb Bloke #6
Posted 10 April 2016 - 08:17 AM
It's difficult to know where to start, as you haven't asked any specific questions.

You might find it helpful to browse the forum's Programs section for pre-made Reactor-controller scripts, even if you only use them as examples.