From db6c71e87871ba1567329658bcd1f7b4ba51fed8 Mon Sep 17 00:00:00 2001 From: Mutex Date: Tue, 12 Jul 2011 05:06:18 +0000 Subject: [PATCH] Update MediaWiki page '317 Protocol' --- 317-Protocol.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/317-Protocol.mediawiki b/317-Protocol.mediawiki index 818c93c..1ded948 100644 --- a/317-Protocol.mediawiki +++ b/317-Protocol.mediawiki @@ -3,7 +3,7 @@ [[Category RS2]]

[[File 317 1.jpg|thumb|The 317 client]]

== '''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. +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 [http://en.wikipedia.org/wiki/Payload_(software) payload]. == '''Login Protocol Overview''' == Every connection to the main 'gateway' server sends a single byte of data, mostly well known as the connection type. The connection type tells the main server which type of connection you wish to initiate. The old engine list consists of: