rswiki-book/Category-RS2.mediawiki

45 lines
2.1 KiB
Plaintext
Raw Normal View History

2011-06-26 14:13:10 -04:00
== Introduction ==
The RuneScape Protocol is the language in which the RuneScape client and server communicate. The protocol changes for every version.
The entire protocol is generally separated into two different categories:
* Login Protocol
* Game Protocol
== Login Protocol ==
2012-09-30 04:49:37 -04:00
The Login Protocol is the protocol that is used to log a player into RuneScape. This protocol contains information that sets up the encryption for the entire session, using the ISAAC algorithm. The "login block" is encrypted using RSA to prevent third party programs from packet-sniffing the ISAAC cipher keys and breaking the session encryption for the purpose of monitoring, injecting, and generally sniffing packets.
2011-06-26 14:13:10 -04:00
== Game Protocol ==
2012-09-30 04:50:09 -04:00
The Game Protocol is the protocol in which game action information is transmitted. The opcodes are encrypted using ISAAC in order to prevent third party programs from tampering with the stream. The game protocol is made up of packets that are structured like so:
2011-06-26 14:13:10 -04:00
<pre>
For fixed-size packets:
opcode, payload[size]
For variable-sized packets:
opcode, size, payload[size]
</pre>
The ''opcode'' of a game packet is basically an identifier for the type of game action that the packet represents. The ''size'' of the packet is the amount of bytes that the payload of the packet carries, and the ''payload'' is an array of bytes that holds the actual data (information) of the packet.
A ''fixed-size'' packet is a packet whose payload size does never change, and the size for the specified opcode is already known between both client and server. A ''variable-sized'' packet is a packet whose payload size changes according to the situation of the game session.
2011-06-20 00:55:03 -04:00
<!-- DO NOT EDIT BELOW THIS LINE, OR CHANGE THIS COMMENT, CODE AUTOMATICALLY GENERATED BY category.sh -->
== '''Pages in category "RS2"''' ==
2013-01-03 19:42:46 -05:00
The following 13 pages are in this category.
2011-06-20 00:55:03 -04:00
* [[194 Protocol]]
2012-01-25 17:05:50 -05:00
* [[289 Protocol]]
2011-06-20 00:55:22 -04:00
* [[317 Protocol]]
2012-09-29 06:00:18 -04:00
* [[357 Protocol]]
2012-06-09 01:08:02 -04:00
* [[377 Protocol]]
2012-08-24 23:06:14 -04:00
* [[443 Protocol]]
2011-11-16 13:03:15 -05:00
* [[464 Protocol]]
2011-06-20 00:55:37 -04:00
* [[474 Protocol]]
2011-06-20 00:55:50 -04:00
* [[508 Protocol]]
2012-06-07 19:35:09 -04:00
* [[634 Protocol]]
2013-01-03 19:42:46 -05:00
* [[666 Protocol]]
2012-04-29 19:38:44 -04:00
* [[668 Protocol]]
2012-11-09 12:30:04 -05:00
* [[742 Protocol]]