Server Packet 0x03: Transfer Server - hybrasyl/server GitHub Wiki
Description
Instructs the client to disconnect from the current server and connect to a new server.
Syntax
Data Type | Value |
---|---|
Byte[4] |
AddressBytes |
UInt16 |
Port |
Byte |
RemainingLength |
Byte |
CryptoSeed |
Byte |
CryptoKeyLength |
Byte[] |
CryptoKey |
Byte |
NameLength |
String |
Name |
Int32 |
ID |
Parameters
AddressBytes
A byte array of the IP address the client should connect to.
Port
The port the client should connect to.
RemainingLength
The number of bytes remaining until the end of the packet. This value should be 7 + CryptoKeyLength + NameLength
.
CryptoSeed
The client's encryption seed.
CryptoKeyLength
The length of the client's encryption key.
CryptoKey
The client's encryption key.
NameLength
The length of the client's name.
Name
The client's name.
ID
The client's unique identifier.