Difference between revisions of "Network Protocol/Server"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
! Name !! Record ID !! Length !! n-server !! Description | ! Name !! Record ID !! Length !! n-server !! Description | ||
|- | |- | ||
− | | | + | | [[MKWii_Network_Protocol/Nintendo_servers/CONNECT|CONNECT]] > || 0x0900 || 18 || 248 |
− | | | + | | Requesting a login challenge (while connecting to WFC). |
|- | |- | ||
− | | [[MKWii_Network_Protocol/Nintendo_servers/ | + | | > [[MKWii_Network_Protocol/Nintendo_servers/LOGIN_CHALLENGE|LOGIN_CHALLENGE]] || \lc\1\ || 38 || 242 |
− | | | + | | N-server answers with challenge. |
|- | |- | ||
− | | RACESTATUS > || localip0 || ? || 242 | + | | [[MKWii_Network_Protocol/Nintendo_servers/LOGIN|LOGIN]] > || \login\ || 365 || 242 |
+ | | Wii solves the challenge and logs in at the WFC. | ||
+ | |- | ||
+ | | > [[MKWii_Network_Protocol/Nintendo_servers/LOGGED_IN|LOGGED_IN]] || \lc\2\ || ? || 242 | ||
+ | | Server accepted solved Challenge and returns Sessionkey and User-IDs. | ||
+ | |- | ||
+ | | [[MKWii_Network_Protocol/Nintendo_servers/LOGOUT|LOGOUT]] > || \logout\ || 32 || 242 | ||
+ | | Logout from WFC. | ||
+ | |- | ||
+ | | [[MKWii_Network_Protocol/Nintendo_servers/RACESTATUS|RACESTATUS]] > || localip0 || ? || 242 | ||
| Status packet, send each minute during connection to WFC and during online races. Contains information about number of players, own IPs and own Ports | | Status packet, send each minute during connection to WFC and during online races. Contains information about number of players, own IPs and own Ports | ||
|- | |- | ||
− | | > FRIEND || \bm\100\ || 39 + status || 242 | + | | > [[MKWii_Network_Protocol/Nintendo_servers/FRIEND|FRIEND] || \bm\100\ || 39 + status || 242 |
| N-Server returns information about friends. One to ten friends per packet. Is also sent if friend comes online and contains his IP and (later) his Port. | | N-Server returns information about friends. One to ten friends per packet. Is also sent if friend comes online and contains his IP and (later) his Port. | ||
|- | |- | ||
− | | ADDBUDDY > || \addbuddy\ || x * 65 || 242 | + | | [[MKWii_Network_Protocol/Nintendo_servers/ADDBUDDY|ADDBUDDY]] > || \addbuddy\ || x * 65 || 242 |
| ? | | ? | ||
|- | |- | ||
Line 26: | Line 35: | ||
| Unknown Record containing PID (profile id) and a few keywords. | | Unknown Record containing PID (profile id) and a few keywords. | ||
|- | |- | ||
− | | ? | + | | > ? || \bm\1\ || ? || 242 |
| Friend-Record with crypted message. | | Friend-Record with crypted message. | ||
|- | |- | ||
− | | STATUS > || \status\ || ? || 242 | + | | [[MKWii_Network_Protocol/Nintendo_servers/STATUS|STATUS] > || \status\ || ? || 242 |
| ? | | ? | ||
|} | |} |
Revision as of 13:29, 17 December 2013
Details about the communication with the N-servers:
Name | Record ID | Length | n-server | Description |
---|---|---|---|---|
CONNECT > | 0x0900 | 18 | 248 | Requesting a login challenge (while connecting to WFC). |
> LOGIN_CHALLENGE | \lc\1\ | 38 | 242 | N-server answers with challenge. |
LOGIN > | \login\ | 365 | 242 | Wii solves the challenge and logs in at the WFC. |
> LOGGED_IN | \lc\2\ | ? | 242 | Server accepted solved Challenge and returns Sessionkey and User-IDs. |
LOGOUT > | \logout\ | 32 | 242 | Logout from WFC. |
RACESTATUS > | localip0 | ? | 242 | Status packet, send each minute during connection to WFC and during online races. Contains information about number of players, own IPs and own Ports |
> [[MKWii_Network_Protocol/Nintendo_servers/FRIEND|FRIEND] | \bm\100\ | 39 + status | 242 | N-Server returns information about friends. One to ten friends per packet. Is also sent if friend comes online and contains his IP and (later) his Port. |
ADDBUDDY > | \addbuddy\ | x * 65 | 242 | ? |
? > | \ka\ | 11 | 242 | Status packet send each 2 minutes |
? > | mariokartwii | 159 | 247 | Unknown Record containing PID (profile id) and a few keywords. |
> ? | \bm\1\ | ? | 242 | Friend-Record with crypted message. |
[[MKWii_Network_Protocol/Nintendo_servers/STATUS|STATUS] > | \status\ | ? | 242 | ? |