Line 438:
Line 438:
| This network attributes u16 bitmask can be written via [[NWMUDS:UpdateNetworkAttribute]].
| This network attributes u16 bitmask can be written via [[NWMUDS:UpdateNetworkAttribute]].
Bitmasks:
Bitmasks:
−
* 0x1: Checked by official user-processes before using [[NWMUDS:ConnectToNetwork]], when connecting as a Spectator. Must be clear otherwise that code returns error 0xE10113EA. If the initialized_flag at offset 0x8 is zero, this code handles it the same way as if this bit was set.
+
* 0x1: When set, spectators are not allowed to connect(see [[NWMUDS:EjectSpectator|here]]). Checked by official user-processes before using [[NWMUDS:ConnectToNetwork]], when connecting as a Spectator. Must be clear otherwise that code returns error 0xE10113EA. If the initialized_flag at offset 0x8 is zero, this code handles it the same way as if this bit was set. The latest NWM-module handles checking this bit itself however.
* 0x2: When set, new Clients are supposedly not allowed to connect. This has no affect for new connections with homebrew currently though.
* 0x2: When set, new Clients are supposedly not allowed to connect. This has no affect for new connections with homebrew currently though.
* 0x4: This is probably the same as 0x2 except for Spectators.
* 0x4: This is probably the same as 0x2 except for Spectators.