4 posts
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!
7083 posts
Location
Tasmania (AU)
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
4 posts
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
7083 posts
Location
Tasmania (AU)
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.
4 posts
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/>?
7083 posts
Location
Tasmania (AU)
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.