* '''upload''' Max P2P upload speed, as set in game config, in B/s
* '''upload''' Max P2P upload speed, as set in game config, in B/s
|
|
−
* '''a'''
+
* '''a''' See [[#RedirectOnMasterServer]]
−
** '''b''' Full game name (Set to "Trackmania United Forever" for TMNF and TMUF)
−
** '''c''' Set to "game.trackmaniaforever.com" or "game2.trackmaniaforever.com". Server the client should use to continue talking with the API.
−
** '''d''' ?. Set to "online_game"
−
** '''e''' Set to 443. Maybe HTTPS port?
−
** '''f''' Set to 80. Maybe HTTP port?
−
** '''g''' Set to "World". Maybe base region?
−
** '''h''' ?. Set to 1
−
** '''i''' ?. Set to 1
|}
|}
Line 148:
Line 140:
''Empty response''
''Empty response''
|}
|}
+
+
== RedirectOnMasterServer ==
+
+
This response happens sometimes. It tells the client to switch auth server. When recieved, the client sends same request it just send, but to the other server specified.
+
+
Here is a description of the response:
+
+
* '''a'''
+
** '''b''' Name of the game
+
** '''c''' New server address to use
+
** '''d''' Endpoint (generally online_game)
+
** '''e''' HTTPS port
+
** '''f''' HTTP port
+
** '''g''' Base region (World)
+
** '''h''' ?. Set to 1
+
** '''i''' ?. Set to 1
+
** '''j''' List of authorized actions (described below)