NWMUDS:ConnectNetwork2: Difference between revisions

Steveice10 (talk | contribs)
 
(6 intermediate revisions by one other user not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| ?
| u8 Connection type: 0x1 = Client, 0x2 = Spectator.
|-
|-
| 2
| 2
Line 24: Line 24:
|-
|-
| 6
| 6
| Input passphrase buffer ptr (including the NULL-terminator)
| Input passphrase buffer ptr
|}
|}


Line 39: Line 39:
| Result code
| Result code
|}
|}
=Description=
This connects to the specified network.
Before using this command official user-processes verify that the passphrase_buf is not NULL, and that PassphraseSize is >=8 and <=0xFF. On fail that user-process code returns 0xE10113FD for that. That user-process code also checks the network attributes bitmask 0x1, see [[NWM_Services|here]].