NWMUDS:EjectSpectator: Difference between revisions

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060000] |} =Response= {| class="wikitable" border="1" |- ! Index Word !..."
 
Subv (talk | contribs)
 
(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 flag(?) is updated.
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.