rswiki-book/317-Protocol.mediawiki

13 lines
722 B
Plaintext
Raw Normal View History

2011-06-16 12:34:06 -04:00
[[Category Packet]]
[[Category Packet 317]]
2011-06-16 12:43:29 -04:00
== '''Packet structure''' ==
2011-06-16 12:50:29 -04:00
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.
2011-06-16 12:34:06 -04:00
2011-06-16 12:43:29 -04:00
== '''Login''' ==
2011-06-16 12:51:46 -04:00
super_ wrote shit on this somewhere
2011-06-16 12:34:06 -04:00
2011-06-16 12:35:44 -04:00
== '''Incoming Data''' ==
2011-06-16 12:52:42 -04:00
//TODO: document packet structures
2011-06-16 12:34:06 -04:00
== '''Outgoing Data''' ==