2011-06-18 00:23:58 -04:00
|
|
|
[[Category Packet]]
|
|
|
|
[[Category Packet 194]]
|
2011-06-20 00:55:03 -04:00
|
|
|
[[Category RS2]]
|
2011-06-18 00:23:58 -04:00
|
|
|
|
2014-03-06 21:41:58 -05:00
|
|
|
Just in case somebody cares about this.
|
2011-06-18 00:53:41 -04:00
|
|
|
|
|
|
|
== '''Packet structure''' ==
|
|
|
|
?
|
|
|
|
|
|
|
|
== '''Login''' ==
|
|
|
|
?
|
|
|
|
|
2011-06-26 14:10:35 -04:00
|
|
|
== '''Game Protocol''' ==
|
|
|
|
|
2011-06-26 14:08:54 -04:00
|
|
|
===Server -> Client Packets===
|
2011-06-18 00:53:41 -04:00
|
|
|
|
2011-06-26 14:08:54 -04:00
|
|
|
{| border=2
|
|
|
|
|-
|
|
|
|
! Opcode
|
|
|
|
! Type
|
|
|
|
! Length (bytes)
|
|
|
|
! Name
|
|
|
|
! Description
|
|
|
|
|-
|
|
|
|
| 137
|
|
|
|
| FIXED
|
|
|
|
| 2
|
|
|
|
| [[194 Show interface|Show interface]]
|
|
|
|
| Displays a normal interface.
|
|
|
|
|-
|
|
|
|
| 164
|
|
|
|
| VARIABLE_BYTE
|
|
|
|
| N/A
|
|
|
|
| [[194 Send message|Send message]]
|
|
|
|
| Sends a server message (e.g. 'Welcome to RuneScape') or trade/duel request.
|
|
|
|
|-
|
|
|
|
| 192
|
|
|
|
| FIXED
|
|
|
|
| 0
|
|
|
|
| [[194 Logout|Logout]]
|
|
|
|
| Disconnects the client from the server.
|
|
|
|
|-
|
|
|
|
| 206
|
|
|
|
| VARIABLE_BYTE
|
|
|
|
| N/A
|
|
|
|
| [[194 Set MIDI|Set MIDI]]
|
|
|
|
| Sets the current song playing on the client.
|
|
|
|
|-
|
|
|
|
| 210
|
|
|
|
| FIXED
|
|
|
|
| 3
|
|
|
|
| [[194 Send sidebar interface|Send sidebar interface]]
|
|
|
|
| Assigns an interface to one of the tabs in the game sidebar.
|
|
|
|
|-
|
|
|
|
| 240
|
|
|
|
| FIXED
|
|
|
|
| 0
|
|
|
|
| [[194 Clear screen|Clear screen]]
|
|
|
|
| Clears the screen of all open interfaces.
|
|
|
|
|-
|
|
|
|
|}
|
2011-06-18 00:53:41 -04:00
|
|
|
|
2011-06-26 14:08:54 -04:00
|
|
|
===Client -> Server Packets===
|
2011-06-18 00:53:41 -04:00
|
|
|
|
2011-06-26 14:08:54 -04:00
|
|
|
{| border=2
|
|
|
|
|-
|
|
|
|
! Opcode
|
|
|
|
! Type
|
|
|
|
! Length (bytes)
|
|
|
|
! Name
|
|
|
|
! Description
|
|
|
|
|-
|
|
|
|
| 54
|
|
|
|
| VARIABLE_BYTE
|
|
|
|
| N/A
|
|
|
|
| Send Chat Message
|
|
|
|
| Sends a chat message to the server.
|
|
|
|
|-
|
|
|
|
| 237
|
|
|
|
| VARIABLE_BYTE
|
|
|
|
| N/A
|
|
|
|
| Send Command
|
|
|
|
| Sends a command (any message prefixed with ::) to the server.
|
|
|
|
|-
|
|
|
|
|}
|