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

Request

CLIENT_GATEWAY_SHARD_LIST_REQUEST = 0x6101

//Encrypted
//Empty

Response

SERVER_GATEWAY_SHARD_LIST_RESPONSE = 0xA101

//Farm
while(true)
{
    1   bool    hasEntries
    if(!hasEntries) 
        break;

    1   byte    farm.ID 
    2   ushort  farm.Name.Length
    *   string  farm.Name 
}

//Shards
while(true)
{
    1   bool    hasEntries
    if(!hasEntries) 
        break;

    2   ushort  shard.ID
    2   ushort  shard.Name.Length
    *   string  shard.Name
    2   ushort  shard.OnlineCount
    2   ushort  shard.Capacity
    1   bool    shard.IsOperating
    1   byte    shard.FarmID
}

Ping request

CLIENT_GATEWAY_SHARD_LIST_PING_REQUEST = 0x6106

//Encrypted
//Empty

Ping response

CLIENT_GATEWAY_SHARD_LIST_PING_RESPONSE = 0xA106

1   byte    result
if(result == 0x01)
{
    1   byte    Farm.ID
    4   uint    IPAddress //IPv4
}
else
{
    1   byte    errorCode
}
Clone this wiki locally