Update MediaWiki page '317 Protocol'

This commit is contained in:
Abraham2119 2011-06-16 16:56:19 +00:00 committed by moparisthebest
parent 0cef529d63
commit 0273f03b4e

View File

@ -2,7 +2,7 @@
[[Category Packet 317]] [[Category Packet 317]]
== '''Packet structure''' == == '''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 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 - varying per packet - for its proper size. This is then followed by the payload. 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.
== '''Login''' == == '''Login''' ==
super_ wrote shit on this somewhere super_ wrote shit on this somewhere