From 3a961d5b94a3fa5f0199973f48eda42ff0570113 Mon Sep 17 00:00:00 2001 From: Scully Date: Wed, 16 Nov 2011 17:58:10 +0000 Subject: [PATCH] Create MediaWiki page '464 Protocol' --- 464-Protocol.mediawiki | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 464-Protocol.mediawiki diff --git a/464-Protocol.mediawiki b/464-Protocol.mediawiki new file mode 100644 index 0000000..cd4a3a4 --- /dev/null +++ b/464-Protocol.mediawiki @@ -0,0 +1,2 @@ +== '''Packet structure''' == +When the client sends a packet to the server, the first byte encapsulates its opcode. This specific opcode is encrypted with a value generated by the ISAAC PRNG seeded with a dynamically server generated key during the login block. The server decrypts it and associates the opcode to the packet's respective predefined size. If the packet does not contain a fixed size, the opcode will be followed by either a byte or a word - varying per packet - for its proper size. This is then followed by the payload. \ No newline at end of file