Difference between revisions of "NWMUDS:EjectSpectator"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !...") |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 23: | Line 23: | ||
=Description= | =Description= | ||
− | This can be used by the host to force-disconnect the spectator. New spectator connections will not be accepted any more after using this command, until a | + | This can be used by the host to force-disconnect the spectator(s). After sending the network msg, this calls the same code used by [[NWMUDS:UpdateNetworkAttribute]] internally, with bitmask=0x1 and flag=1. New spectator connections will not be accepted any more after using this command, until that attribute bit is cleared. |
+ | |||
+ | This sends a broadcast data packet to channel 0x104 with a single 0 byte as data. |
Latest revision as of 06:42, 14 June 2017
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00060000] |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
This can be used by the host to force-disconnect the spectator(s). After sending the network msg, this calls the same code used by NWMUDS:UpdateNetworkAttribute internally, with bitmask=0x1 and flag=1. New spectator connections will not be accepted any more after using this command, until that attribute bit is cleared.
This sends a broadcast data packet to channel 0x104 with a single 0 byte as data.