rswiki-book/317-Protocol.mediawiki

43 lines
1.1 KiB
Plaintext
Raw Normal View History

2011-06-16 16:34:06 +00:00
[[Category Packet]]
[[Category Packet 317]]
2011-06-18 04:04:07 +00:00
{{Crappy}}
2011-06-16 16:34:06 +00:00
2011-06-16 16:43:29 +00:00
== '''Packet structure''' ==
2011-06-16 16:56:19 +00: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 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.
2011-06-16 16:34:06 +00:00
2011-06-16 16:43:29 +00:00
== '''Login''' ==
2011-06-16 16:51:46 +00:00
super_ wrote shit on this somewhere
2011-06-16 16:34:06 +00:00
2011-06-16 16:35:44 +00:00
== '''Incoming Data''' ==
2011-06-16 16:53:31 +00:00
'''TODO:''' Document packet structures
2011-06-16 16:34:06 +00:00
2011-06-18 04:52:02 +00:00
<table border="1" cellpadding="3" cellspacing="3">
<tr>
<td><b>opcode</b></td>
<td><b>usage</b></td>
<td><b>payload</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>
2011-06-16 16:53:08 +00:00
== '''Outgoing Data''' ==
2011-06-18 04:52:09 +00:00
'''TODO:''' Document packet structures
<table border="1" cellpadding="3" cellspacing="3">
<tr>
<td><b>opcode</b></td>
<td><b>usage</b></td>
<td><b>payload</b></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</table>