Skip to content
DummkopfOfHachtenduden edited this page Aug 21, 2016 · 6 revisions

Request

CLIENT_GATEWAY_PATCH_REQUEST = 0x6100

//Encrypted
1   byte    Conent.ID
2   ushort  Module.Name.Length
*   string  Module.Name
4   uint    Version

Response

SERVER_GATEWAY_PATCH_RESPONSE = 0xA100

//Massive
1	byte	result
if(result == 0x02)
{
	1	byte	errorCode
	if(errorCode == 0x02)
	{
		2	ushort	DownloadServer.IP.Length
		*	string	DownloadServer.IP
		2	ushort	DownloadServer.Port
		4	uint	DownloadServer.CurVersion
		
		while(true)
		{
			1	bool hasEntries
			if(!hasEntries)
				break;
			
			4	uint	file.ID
			2	ushort	file.Name.Length			
			*	string	file.Name
			2	ushort	file.Path.Length
			*	string	file.Path
			4	uint	file.Length //in bytes
			1	bool	file.ToBePacked //into pk2
		}		
	}
}

See also:

Clone this wiki locally