better custom packet handling

This commit is contained in:
Shoghi Cervantes Pueyo
2012-11-25 20:27:33 +01:00
parent 95b78a90ac
commit 0205880f99
8 changed files with 62 additions and 24 deletions

View File

@ -35,7 +35,8 @@ $dataName = array(
0x83 => "LoginStatus",
0x84 => "Ready",
0x85 => "Message",
0x66 => "SetTime",
0x86 => "SetTime",
0x87 => "StartGame",
0x93 => "MoveEntity_PosRot",

View File

@ -34,10 +34,10 @@ $packetName = array(
0x1a => "ID_INCOMPATIBLE_PROTOCOL_VERSION", //RakNet
0x1c => "ID_UNCONNECTED_PONG", //RakNet
0x1d => "ID_ADVERTISE_SYSTEM", //RakNet
0x80 => "Unknown", //Minecraft Implementation
0x84 => "Data Packet", //Minecraft Implementation
0x88 => "Unknown", //Minecraft Implementation
0x8c => "Unknown", //Minecraft Implementation
0x80 => "Custom Packet", //Minecraft Implementation
0x84 => "Custom Packet", //Minecraft Implementation
0x88 => "Custom Packet", //Minecraft Implementation
0x8c => "Custom Packet", //Minecraft Implementation
0xa0 => "Unknown", //Minecraft Implementation
0xc0 => "ACK", //Minecraft Implementation
);