Packet names

This commit is contained in:
Shoghi Cervantes Pueyo 2012-11-25 22:59:17 +01:00
parent 0205880f99
commit 61af6f14b4
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ class Session{
$this->close("client disconnect"); $this->close("client disconnect");
break; break;
case 0x09: case 0x09:
$this->send(0x88, array( $this->send(0x84, array(
$this->counter[0], $this->counter[0],
0x00, 0x00,
array( array(

View File

@ -38,6 +38,6 @@ $packetName = array(
0x84 => "Custom Packet", //Minecraft Implementation 0x84 => "Custom Packet", //Minecraft Implementation
0x88 => "Custom Packet", //Minecraft Implementation 0x88 => "Custom Packet", //Minecraft Implementation
0x8c => "Custom Packet", //Minecraft Implementation 0x8c => "Custom Packet", //Minecraft Implementation
0xa0 => "Unknown", //Minecraft Implementation 0xa0 => "NACK", //Minecraft Implementation
0xc0 => "ACK", //Minecraft Implementation 0xc0 => "ACK", //Minecraft Implementation
); );

View File

@ -29,6 +29,6 @@ require_once("common/dependencies.php");
require_once("classes/PocketMinecraftServer.class.php"); require_once("classes/PocketMinecraftServer.class.php");
file_put_contents("packets.log", ""); file_put_contents("packets.log", "");
$server = new PocketMinecraftServer("shoghicp"); $server = new PocketMinecraftServer("TEST");
$server->setType("minecon"); $server->setType("minecon");
$server->start(); $server->start();