mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Added Ping / Pong system
This commit is contained in:
parent
1cb30601b5
commit
1ef0a41944
3 changed files with 17 additions and 15 deletions
|
|
@ -27,7 +27,9 @@ the Free Software Foundation, either version 3 of the License, or
|
|||
|
||||
define("RAKNET_MAGIC", "\x00\xff\xff\x00\xfe\xfe\xfe\xfe\xfd\xfd\xfd\xfd\x12\x34\x56\x78");
|
||||
|
||||
define("MC_KEEP_ALIVE", 0x00);
|
||||
define("MC_PING", 0x00);
|
||||
|
||||
define("MC_PONG", 0x03);
|
||||
|
||||
define("MC_CLIENT_CONNECT", 0x09);
|
||||
define("MC_SERVER_HANDSHAKE", 0x10);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue