Update MediaWiki page '317 Protocol'

This commit is contained in:
t4 2011-06-18 16:51:42 +00:00 committed by moparisthebest
parent bd048174d5
commit ae7209b3cf

View File

@ -1,7 +1,7 @@
[[Category Packet]]
[[Category Packet 317]]
{{Crappy}}
<P ALIGN="RIGHT"><img src="http://img542.imageshack.us/img542/6853/ak1.jpg" alt="317" /></P>
== '''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.