From 77f10dff6be3f2ad5cbe1127cd214f6bdae3f8c4 Mon Sep 17 00:00:00 2001 From: Rix Date: Sat, 18 Jun 2011 04:04:07 +0000 Subject: [PATCH] Update MediaWiki page '317 Protocol' --- 317-Protocol.mediawiki | 1 + 1 file changed, 1 insertion(+) diff --git a/317-Protocol.mediawiki b/317-Protocol.mediawiki index b0b153b..75b93a0 100644 --- a/317-Protocol.mediawiki +++ b/317-Protocol.mediawiki @@ -1,5 +1,6 @@ [[Category Packet]] [[Category Packet 317]] +{{Crappy}} == '''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.