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

Transfer variables wirelessly - Or just control things wirelessly

Started by xBlizzDevious, 23 February 2014 - 06:50 PM
xBlizzDevious #1
Posted 23 February 2014 - 07:50 PM
Hey guys,

I've written a relatively simple program to check energy levels and switch on and off a Big Reactors' reactor dependent of those numbers.

I recently upgraded my reactor to a computer controlled system instead of a redstone one and upgraded the program to suit. Now, however, I've built another reactor and my area is getting very compacted and difficult to move around and so:

I'd quite like to send the details of both reactors from one computer to another on the other side of the room and to display the information on a monitor.
OR
Can you use a wireless modem on a peripheral without a computer and just have the wireless computer control the devices itself? Or, I could tell the computers to control the reactors from a different location. Which is easier, which is more optimised and which would work best?

I've never used the wireless stuff in CC and I've never done anything with controlling other computers with another - so I'm completely unsure of what to do.

Thanks!

@Bomb Bloke : Yeah, I'm still playing a little bit. Taking a break on those damn turtles though!
Lyqyd #2
Posted 23 February 2014 - 07:55 PM
If you're in a more recent version, it may be easiest to simply set up a wired network to control the reactor via its peripheral interface from the other computer. If wireless control is really necessary, you will need a computer with a wireless modem at the reactor.
xBlizzDevious #3
Posted 23 February 2014 - 09:55 PM
If you're in a more recent version, it may be easiest to simply set up a wired network to control the reactor via its peripheral interface from the other computer. If wireless control is really necessary, you will need a computer with a wireless modem at the reactor.

Right, well what I have is one computer networked to (now both) reactors and an energy cell and calculating and controlling from there. I don't really want network cables running around all over the place as I've already got Applied Energistics cables, energy conduits, IC2 cables and a few network cables already running around this place. That's the main reason I want to make it wireless. Haha.

For reference, I'm using FTB Monster V1.0.10 so I'm running what I assume is the latest - or at least relatively new - version of CC.

Thanks
Bomb Bloke #4
Posted 23 February 2014 - 10:55 PM
If you already have CC network cables "in the way", then you don't need to make a separate run for this - just link into then jump out of the existing one.

If you really want to use two computers with wireless modems, then neither controls the other, as such - they just get to send data back and forth, and what the recipients do with that data is entirely up to them (eg, Computer 1 might send a request to computer 2 for information about the reactors. Computer 2 sends that info back and computer 1 then displays it).

You'd want to read about the modem and/or rednet APIs.
xBlizzDevious #5
Posted 24 February 2014 - 05:54 PM
If you already have CC network cables "in the way", then you don't need to make a separate run for this - just link into then jump out of the existing one.

If you really want to use two computers with wireless modems, then neither controls the other, as such - they just get to send data back and forth, and what the recipients do with that data is entirely up to them (eg, Computer 1 might send a request to computer 2 for information about the reactors. Computer 2 sends that info back and computer 1 then displays it).

You'd want to read about the modem and/or rednet APIs.

OK, thanks. I'll look into that when I'm in a Minecraft mood and not programming my college project.