Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
block:switch [2020/03/06 20:50]
ocawesome101 [Relay]
block:switch [2020/03/06 20:54] (current)
ocawesome101 [Relay] add note on wireless relays
Line 8: Line 8:
  
 Relays will not route packets back where they came from, but it is still possible to generate loops where packets will then arrive multiple times, so keep that in mind. Relays will not route packets back where they came from, but it is still possible to generate loops where packets will then arrive multiple times, so keep that in mind.
 +
 +A Wireless or Linked Relay may be created by first right-clicking on the Relay, and inserting a Wireless or Linked Card into the resultant GUI.
  
 The Relay block also serves as a ComputerCraft peripheral, providing an interface imitating that of ComputerCraft'​s (wired) modems. It will forward network messages sent from ComputerCraft to the OpenComputers side, which can be received if a [[item:​lan_card|network card]] is installed. It will also receive OpenComputers'​ network messages and push a corresponding signal in CC computers attached to the adapter. Note that network messages in OpenComputers do not require a "​response port" like ComputerCraft does. If the first argument for the network message is a number, it will be interpreted as the response port to tell ComputerCraft receivers, otherwise the response port will be set to `-1`.  ​ The Relay block also serves as a ComputerCraft peripheral, providing an interface imitating that of ComputerCraft'​s (wired) modems. It will forward network messages sent from ComputerCraft to the OpenComputers side, which can be received if a [[item:​lan_card|network card]] is installed. It will also receive OpenComputers'​ network messages and push a corresponding signal in CC computers attached to the adapter. Note that network messages in OpenComputers do not require a "​response port" like ComputerCraft does. If the first argument for the network message is a number, it will be interpreted as the response port to tell ComputerCraft receivers, otherwise the response port will be set to `-1`.  ​
Line 17: Line 19:
   * 1 x [[item:​network_card|Network Card]]   * 1 x [[item:​network_card|Network Card]]
   * 1 x [[item:​materials|Printed Circuit Board]]   * 1 x [[item:​materials|Printed Circuit Board]]
- 
-A wireless or linked Relay can be created by replacing the Network Card with a corresponding one. 
  
 {{:​recipes:​blocks:​switch.png?​nolink&​200|}} {{:​recipes:​blocks:​switch.png?​nolink&​200|}}