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

From Custom Mario Kart
Jump to navigation Jump to search
m
Line 1: Line 1:
 
== Record "OTHERSLIST" ==
 
== Record "OTHERSLIST" ==
  
Structure:  
+
Sent to Nintendo:
  
 
<pre>\otherslist\
 
<pre>\otherslist\
Line 7: Line 7:
 
\profileid\<profileid>
 
\profileid\<profileid>
 
\numopids\<friends count>
 
\numopids\<friends count>
\opids\123456789|123456789|123456789|123456789|123456789
+
\opids\<friend-ID>|<friend-ID>|<friend-ID>
 
\namespaceid\<unknown>
 
\namespaceid\<unknown>
 
\gamename\mariokartwii
 
\gamename\mariokartwii
Line 18: Line 18:
  
 
After "opids" there are the user IDs of your friends, seperated by an "|".
 
After "opids" there are the user IDs of your friends, seperated by an "|".
 +
 +
Answer from Nintendo:
 +
 +
<pre>\otherslist\
 +
\o\<friend-ID>
 +
\uniquenick\<unique nick>
 +
 +
\o\<friend-ID>
 +
\uniquenick\<unique nick>
 +
 +
\o\<friend-ID>
 +
\uniquenick\<unique nick>
 +
 +
\oldone\
 +
\final\</pre>
 +
 +
Nintendo returns the unique nick für each friend.

Revision as of 14:16, 17 December 2013

Record "OTHERSLIST"

Sent to Nintendo:

\otherslist\
\sesskey\<sesskey>
\profileid\<profileid>
\numopids\<friends count>
\opids\<friend-ID>|<friend-ID>|<friend-ID>
\namespaceid\<unknown>
\gamename\mariokartwii
\final
\

<sesskey> is the Session ID that you got from N-server 242 while logging in (LOGIN)
<profileid> is your profile ID (not the same as the user ID). You've also got this while logging in.
<friends count> is the number of friends in your friends list

After "opids" there are the user IDs of your friends, seperated by an "|".

Answer from Nintendo:

\otherslist\
\o\<friend-ID>
\uniquenick\<unique nick>

\o\<friend-ID>
\uniquenick\<unique nick>

\o\<friend-ID>
\uniquenick\<unique nick>

\oldone\
\final\

Nintendo returns the unique nick für each friend.