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

From Custom Mario Kart
Jump to navigation Jump to search
Line 35: Line 35:
  
 
Nintendo returns the unique nick für each friend.
 
Nintendo returns the unique nick für each friend.
 +
 +
It seems that there is no message send to Nintendo if you register a new friend or delete an existing one. This is the reason why you have to disconnect WFC sometimes when you have registered a new friend.

Revision as of 16:53, 18 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.

It seems that there is no message send to Nintendo if you register a new friend or delete an existing one. This is the reason why you have to disconnect WFC sometimes when you have registered a new friend.