Difference between revisions of "Wiimmfi/Online Status"

From Custom Mario Kart
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
'''Online Status''' is a concept of [[Wiimmfi]] designed for [[Mario Kart Wii]]. It shows the online status of a player and is implemented as ''bit field'' (each bit has its own meaning).  
 
'''Online Status''' is a concept of [[Wiimmfi]] designed for [[Mario Kart Wii]]. It shows the online status of a player and is implemented as ''bit field'' (each bit has its own meaning).  
 
The ''Online Status'' is calculated by server [[GPCM]] based on ''status'' and ''locstring'' sent by the Wii.
 
The ''Online Status'' is calculated by server [[GPCM]] based on ''status'' and ''locstring'' sent by the Wii.
 +
 +
The online status is designed and only usable for [[Mario Kart Wii]]. The relevance for all other games is unknown.
  
 
== Bit meanings ==
 
== Bit meanings ==
  
{| class="textbox grid alt headline"
+
{| class="textbox grid alt headline sortable"
 
! Bit<br/>num !! Hex<br/>mask !! char !! description
 
! Bit<br/>num !! Hex<br/>mask !! char !! description
 
|-
 
|-
Line 14: Line 16:
 
|-
 
|-
 
| align=center |  2 || 0x0004 || align=center | G
 
| align=center |  2 || 0x0004 || align=center | G
| '''G'''lobal race or battle (either regional or world wide).
+
| '''G'''lobal race or battle (either continental or world wide).
 
|-
 
|-
| align=center |  3 || 0x0008 || align=center | r
+
| align=center |  3 || 0x0008 || align=center | c
| '''c'''continental (regional) race or battle.
+
| '''c'''ontinental (regional) race or battle.
 
|-
 
|-
 
| align=center |  4 || 0x0010 || align=center | w
 
| align=center |  4 || 0x0010 || align=center | w
Line 47: Line 49:
 
|}
 
|}
  
[[category:Wiimmfi|O]]
+
{{Network Protocol}}
 +
[[Category:Wiimmfi|O]]

Latest revision as of 11:37, 29 April 2023

Online Status is a concept of Wiimmfi designed for Mario Kart Wii. It shows the online status of a player and is implemented as bit field (each bit has its own meaning). The Online Status is calculated by server GPCM based on status and locstring sent by the Wii.

The online status is designed and only usable for Mario Kart Wii. The relevance for all other games is unknown.

Bit meanings

Bit
num
Hex
mask
char description
0 0x0001 o player is online,
1 0x0002 P Private room.
2 0x0004 G Global race or battle (either continental or world wide).
3 0x0008 c continental (regional) race or battle.
4 0x0010 w world wide race or battle.
5 0x0020 A Active, either race or battle.
6 0x0040 R playing a Race or waiting for it.
7 0x0080 B playing a Battle or waiting for it.
8 0x0100 h player is host.
9 0x0200 g player is guest.
10 0x0400 v player is viewer.
12 0x1000 S player is Searching a global room.
13 0x2000 C player is Connecting to a room.