Changes

Jump to navigation Jump to search
Added details about patch.
Line 43: Line 43:  
  | osdesc
 
  | osdesc
 
  | String showing used OS
 
  | String showing used OS
  |
+
  | Only present on 1.8.0; "Microsoft Windows XP(Service Pack 2)" for XP SP2
 +
|-
 +
| os
 +
| String showing used (not the same as osdesc)
 +
| Only present on < 1.8.0; "WinNt2kXp" for XP SP2.
 
  |-
 
  |-
 
  | action
 
  | action
  | ?
+
  | 0: Check
  | Seen 0
+
 
 +
1: Download
 +
 
 +
3: ??
 +
  |  
 
  |-
 
  |-
 
  | protocol
 
  | protocol
 
  | maybe protocol version (retro compatibility stuff?)
 
  | maybe protocol version (retro compatibility stuff?)
 
  | Seen 2
 
  | Seen 2
 +
|-
 +
| id_download
 +
| Download id?
 +
| Only present when action = 3; seems to be the same as in action = 1 response
 
  |}
 
  |}
    
'''Response'''
 
'''Response'''
    +
'''For action 0'''
 
If up to date
 
If up to date
 
  0;0;<A string telling you it's up to date, in your language>
 
  0;0;<A string telling you it's up to date, in your language>
 +
If not
 +
0;<Size of update, in bytes>;
 +
<Message about the update>
 +
'''For action 1'''
 +
0;<Download ID>;<Server DNS name>;<subdir>;
 +
(So url is <Server DNS name>/<subdir>
 +
'''For action 3'''
 +
0
 +
    
==== /online_game/autotest_connection.php ====
 
==== /online_game/autotest_connection.php ====
90

edits

Navigation menu