Difference between revisions of "NWMUDS:EjectSpectator"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 23: | Line 23: | ||
=Description= | =Description= | ||
− | This can be used by the host to force-disconnect the spectator. 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 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.