mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
New packets and fields
This commit is contained in:
parent
0dc53c2bc1
commit
9c4abf49f5
4 changed files with 57 additions and 44 deletions
|
|
@ -27,55 +27,57 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
|
||||
$pstruct = array(
|
||||
0x02 => array(
|
||||
"double",
|
||||
"double", //Ping ID
|
||||
"magic",
|
||||
),
|
||||
|
||||
0x05 => array(
|
||||
"magic",
|
||||
"byte",
|
||||
"special1",
|
||||
"byte", //Protocol Version
|
||||
"special1", //MTU Size Null Lenght
|
||||
),
|
||||
|
||||
0x06 => array(
|
||||
"magic",
|
||||
8,
|
||||
"byte",
|
||||
"short",
|
||||
8, //Server GUID
|
||||
"byte", //Server Security
|
||||
"short", //MTU Size
|
||||
),
|
||||
|
||||
0x07 => array(
|
||||
"magic",
|
||||
5,
|
||||
"short",
|
||||
"short",
|
||||
8,
|
||||
5, //Security Cookie (idk why it's sent here)
|
||||
"short", //Server UDP Port
|
||||
"short", //MTU Size
|
||||
8, //Client GUID
|
||||
),
|
||||
|
||||
0x08 => array(
|
||||
"magic",
|
||||
8,
|
||||
5,
|
||||
8, //Server GUID
|
||||
"short", //Client UDP Port
|
||||
"short", //MTU Size
|
||||
"byte", //Security
|
||||
),
|
||||
|
||||
0x09 => array(
|
||||
8,
|
||||
"double",
|
||||
"byte",
|
||||
0x1a => array(
|
||||
"byte", //Server Version
|
||||
"magic",
|
||||
8, //Server GUID
|
||||
),
|
||||
|
||||
0x1c => array(
|
||||
"double",
|
||||
8,
|
||||
"double", //Ping ID
|
||||
8, //Server ID
|
||||
"magic",
|
||||
"string",
|
||||
"string", //Data
|
||||
),
|
||||
|
||||
0x1d => array(
|
||||
"double",
|
||||
8,
|
||||
"double", //Ping ID
|
||||
8, //Server ID
|
||||
"magic",
|
||||
"string",
|
||||
"string", //Data
|
||||
),
|
||||
|
||||
0x84 => array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue