patch_server_protocol
Patch Server Protocol
Connecting to the patch server and issuing requests must follow a specific order.
First it connect to compassion.owo.com:8888
(this can be changed in vercfg
file).
Then send a HelloRequest. The server will respond with a PatchServerTransfer.
Disconnect from compassion and connect to the IP address and port returned to you.
You will then send a HelloRequest to the new server, it will return a NoticeBlock.
Now once you've connected to the patch server and gotten the notice, you may start looking for patches.
First, send a PatchListRequest for the first one, read in the PatchListData, then send the request for the second version, and read in that data.
Once you have a list of avaliable patches, you can request the actual patch by sending a PatchDataRequest. You will then receie the PatchData.
When you have finished downloading the avaliable patches, you can apply them, and resend the PatchListReqest until there aren't any more patches avaliable.
patch_server_protocol.txt · Last modified: 2014/07/17 19:40 by thooge