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

wireless networking

Started by thedorkknight91, 09 February 2017 - 06:18 AM
thedorkknight91 #1
Posted 09 February 2017 - 07:18 AM
is there any way to wrap a peripheral over wireless network…

like in my crummy little example below, can computer 3 display reactors 1 and 2's stats on the monitor without being hardlined?

and if so, how??

Reactor_1
_____
\………\
\………\
\………\~~~~~~~~~networking cable~~~~~~~~[ ]) Computer_1 with wireless modem
\_____\




Reactor_2
_____
\………\
\………\
\………\~~~~~~~~~networking cable~~~~~~~~[ ]) Computer_2 with wireless modem
\_____\


monitor

+====+
+8888+~~~~~~~~~networking cable~~~~~~~~[ ]) Compute_3 with wireless modem
+====+



i hope this makes since… id would like computer 3 to ask computer 1&2 for informand like reactor1.getEnergyStored() and write that info to the monitor… I know the writing to monitor part, just not how or if i can wrap peripherials wirelessly
Edited on 09 February 2017 - 06:23 AM
Bomb Bloke #2
Posted 09 February 2017 - 07:38 AM
You can't directly wrap peripherals wirelessly, though proxy scripts such as these ones can simulate the functionality.

However you do it, though, if no cables are involved and no reactors are directly adjacent, you'll still need multiple computers - so you may as well just code them to communicate with each other via rednet.
thedorkknight91 #3
Posted 09 February 2017 - 08:00 AM
how would i go about doing rednet?
Lupus590 #4
Posted 09 February 2017 - 09:01 AM
This tutorial may help, if you have issues following it then just post another question in this thread.

http://www.computercraft.info/forums2/index.php?/topic/21432-rednet-basics-part-i/