Wiimmfi/Connection Status

From Custom Mario Kart
< Wiimmfi
Revision as of 20:59, 16 September 2016 by Wiimm (talk | contribs)
Jump to navigation Jump to search

The Connection Status is a special feature of Wiimmfi. Server SV collects data from GPCM, MS (both GPCMv90 Status Type 02), MASTER (master-id) and from NATNEG (connected) and creates 3 bit fields for each player:

local
A bit is set, if 2 players have the same public IPv4.
connect
A bit is set, if connection was accepted by the host. Then is sends a "GPCMv90 Status Type 02" message.
natneg
A NATNEG connection finished.

The slot index is used for the bit number. If for example players at slot 2 and 5 did NATNEG, then bit 5 for player 2 and bit 2 for player 5 are set.

Server SV and mkw-ana print a summary as character vector. The following table shown the character and color selection, highest priority first:

char color Description
\ gray Self reference. All other bits are ignored.
N cyan NATNEG and CONNECT set. LOCAL is ignored.
n cyan NATNEG set, but not CONNECT. LOCAL is ignored.
L blue LOCAL and CONNECT set, but not NATNEG.
l blue LOCAL set, but neither CONNECT nor NATNEG.
! red Neither NATNEG, nor CONNECT, nor LOCAL is set.

2 examples:

Connection-status-examples.png