Difference between revisions of "Network Protocol/Server/PROFILEID"

From Custom Mario Kart
Jump to navigation Jump to search
m
Line 3: Line 3:
 
After logging in, Nintendo answers with this Record if this is the first time connecting to the WFC. It contains the User-ID, the Profile-ID, an email-adress (perhaps for the discontinued WFC service) and an unique nickname.  
 
After logging in, Nintendo answers with this Record if this is the first time connecting to the WFC. It contains the User-ID, the Profile-ID, an email-adress (perhaps for the discontinued WFC service) and an unique nickname.  
  
The "<id>" is 1 for the [[MKWii_Network_Protocol/Nintendo_servers/LOGIN-CHALLENGE|Challenge]]-record, id 2 is for the first PROFILEID-Record, id 3 for the second (also contains Wii-FC) and id 4 for the third and last (also contains an unknown value).  
+
The "<id>" is 1 for the [[MKWii_Network_Protocol/Nintendo_servers/LOGIN_CHALLENGE|Challenge]]-record, id 2 is for the first PROFILEID-Record, id 3 for the second (also contains Wii-FC) and id 4 for the third and last (also contains an unknown value).  
  
 
<pre>\pi\
 
<pre>\pi\
Line 34: Line 34:
 
\loc\
 
\loc\
 
\id\3
 
\id\3
\final\<pre>
+
\final\</pre>
  
 
and then, when the Wii has sent the [[MKWii_Network_Protocol/Nintendo_servers/OTHERSLIST|OTHERSLIST]]-Record, there follows a third Record:
 
and then, when the Wii has sent the [[MKWii_Network_Protocol/Nintendo_servers/OTHERSLIST|OTHERSLIST]]-Record, there follows a third Record:
Line 54: Line 54:
 
\final\</pre>
 
\final\</pre>
  
After the Wii has received all the necassary information, it logs off (sending a [[MKWii_Network_Protocol/Nintendo_servers/LOGOFF|LOGOFF]]-Record and connects again like any other Wii.
+
After the Wii has received all the necassary information, it logs off (sending a [[MKWii_Network_Protocol/Nintendo_servers/LOGOUT|LOGOUT]]-Record and reconnects like any other Wii.

Revision as of 15:18, 18 December 2013

Record "PROFILEID"

After logging in, Nintendo answers with this Record if this is the first time connecting to the WFC. It contains the User-ID, the Profile-ID, an email-adress (perhaps for the discontinued WFC service) and an unique nickname.

The "<id>" is 1 for the Challenge-record, id 2 is for the first PROFILEID-Record, id 3 for the second (also contains Wii-FC) and id 4 for the third and last (also contains an unknown value).

\pi\
\profileid\<profile-id>
\nick\<unique-nick>
\userid\<user-id>
\email\<unique-nick>@nds
\sig\<signature>
\uniquenick\<unique-nick>
\pid\11
\lon\0.000000
\lat\0.000000
\loc\
\id\2
\final\

After that, there follows a second PROFILEID-Record:

\pi\
\profileid\<profile-id>
\nick\<unique-nick>
\userid\<user-id>
\email\<unique-nick>@nds
\sig\<signature>
\uniquenick\<unique-nick>
\pid\11
\firstname\Wii:<Wii-FC>@<ID4_of_game>
\lon\0.000000
\lat\0.000000
\loc\
\id\3
\final\

and then, when the Wii has sent the OTHERSLIST-Record, there follows a third Record:

\pi\
\profileid\<profile-id>
\nick\<unique-nick>
\userid\<user-id>
\email\<unique-nick>@nds
\sig\<signature>
\uniquenick\<unique-nick>
\pid\11
\firstname\Wii:<Wii-FC>@<ID4_of_game>
\lastname\<unknown>
\lon\0.000000
\lat\0.000000
\loc\
\id\4
\final\

After the Wii has received all the necassary information, it logs off (sending a LOGOUT-Record and reconnects like any other Wii.