mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-25 02:22:18 -05:00
Update MediaWiki page '464 Protocol'
This commit is contained in:
parent
3a961d5b94
commit
2e8a0a463f
@ -1,2 +1,31 @@
|
||||
== '''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.
|
||||
|
||||
== '''Login''' ==
|
||||
Blank at the moment.
|
||||
|
||||
=='''Game Protocol'''==
|
||||
|
||||
===Server -> Client Packets===
|
||||
|
||||
{| border=2
|
||||
|-
|
||||
! Opcode
|
||||
! Type
|
||||
! Length (bytes)
|
||||
! Name
|
||||
! Description
|
||||
|-
|
||||
|}
|
||||
|
||||
===Client -> Server Packets===
|
||||
|
||||
{| border=2
|
||||
|-
|
||||
! Opcode
|
||||
! Type
|
||||
! Length (bytes)
|
||||
! Name
|
||||
! Description
|
||||
|-
|
||||
|}
|
Loading…
Reference in New Issue
Block a user