Update MediaWiki page '317 Protocol'

This commit is contained in:
Abraham2119 2011-06-16 16:48:02 +00:00 committed by moparisthebest
parent f9d88e69dd
commit 980d70b7e3

View File

@ -2,7 +2,7 @@
[[Category Packet 317]]
== '''Packet structure''' ==
When the client sends a packet to the server, the first byte encapsulates its opcode. The server then associates this packet opcode to its respective predefined size. If the packet does not contain a fixed size, the opcode will be followed by either a byte or a word, depending on the specific packet, for its proper size.
When the client sends a packet to the server, the first byte encapsulates its opcode. This specific opcode is encrypted by the ISAAC PRNG initialized with dynamically generated seeds 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 - it varies per packet - for its proper size.
== '''Login''' ==
Opcode: 14