Actually;
317 protocol;
When a player talks you have the pushMessage method sent, which is basically sending a String to the chatbox and a variable for which type of chat it should be, whether that be private messages or so on.
Then;
First it creates frame 4 and sends it server side, this is followed by a dummy byte which is set to 0, i guess this is something to do with anti-macro by packet sending or something.Code:stream.createFrame(4); stream.writeWordBigEndian(0); int j3 = stream.currentOffset; stream.method425(i3); stream.method425(j2); stream.writeBytes(stream.currentOffset - j3);
It then reads both the chat effects and chat colour, this is then followed by a byte[] array which is the player chat converted.
The reason it sends it to the server is so that it can be sent to every other player on the server in range.
If you check against the 508 protocol it dosn't appear that anything has actually changed, the only difference is that the input is encypted.











