From 267bbde399b8cda080e407aa5f6ae4161b70f65d Mon Sep 17 00:00:00 2001 From: ismail <74091824+ismaileke@users.noreply.github.com> Date: Sun, 5 Nov 2023 14:52:50 +0300 Subject: [PATCH] added Connection Request and Connection Request Accepted --- docs/servers/raknet-and-mcpe.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/servers/raknet-and-mcpe.md b/docs/servers/raknet-and-mcpe.md index 2f488622348..0913ef1e5fb 100644 --- a/docs/servers/raknet-and-mcpe.md +++ b/docs/servers/raknet-and-mcpe.md @@ -44,8 +44,9 @@ You can find a list of Minecraft Bedrock server softwares [here](/servers/server - [x] Open Connection Reply 1 - [x] Open Connection Request 2 - [x] Open Connection Reply 2 -- [ ] Connection Request -- [ ] Connection Request Accepted +- **From here on, the RakNet connection is established and all RakNet messages are contained in a [Frame Set Packet](https://wiki.vg/Raknet_Protocol#Frame_Set_Packet).** +- [x] Connection Request +- [x] Connection Request Accepted @@ -97,6 +98,18 @@ This is the last part of the handshake between the client and the server. `0x08 | magic | server GUID | client address | Null Padding Size | use encryption` +### Connection Request + +This is the part where the client sends the connection request. + +`0x09 | client GUID | Request timestamp (Long) | Secure (Boolean, I use 0x00)` + +### Connection Request Accepted + +The server sends this packet in response to the incoming connection request. + + `0x10 | client Address | System index (Short, unknown what this does. 0 works as a value) | System adresses ([]Address) | Request timestamp (Long) | Accepted timestamp (Long)` + ## Sources [RakNet Documentation](https://wiki.vg/Raknet_Protocol)