This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
block:switch [2020/03/06 21:42] ocawesome101 [Relay] add note on wireless relays |
block:switch [2020/03/06 21:54] ocawesome101 [Relay] add note on wireless relays |
||
---|---|---|---|
Line 9: | Line 9: | ||
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 Relay can be created by right-clicking on a Relay, then inserting a wireless card into the resultant GUI. | + | 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`. |