Difference between revisions of "194 Protocol"

From RuneWiki
Jump to navigationJump to search
(New page: ==Login Protocol== (needs to be documented) <br/> ==Game Protocol== (description) <br/> ===Server -> Client Packets=== {| border=2 |- ! Opcode ! Type ! Length (bytes) ! Name ! Description...)
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{stub}}
 
==Login Protocol==
 
==Login Protocol==
 
(needs to be documented)
 
(needs to be documented)
Line 14: Line 15:
 
! Name
 
! Name
 
! Description
 
! Description
 +
|-
 +
| 137
 +
| FIXED
 +
| 2
 +
| [[194:Show interface|Show interface]]
 +
| Displays a normal interface.
 
|-
 
|-
 
| 164
 
| 164
 
| VARIABLE_BYTE
 
| VARIABLE_BYTE
 
| N/A
 
| N/A
| Send message
+
| [[194:Send message|Send message]]
 
| Sends a server message (e.g. 'Welcome to RuneScape') or trade/duel request.  
 
| Sends a server message (e.g. 'Welcome to RuneScape') or trade/duel request.  
 
|-
 
|-
Line 24: Line 31:
 
| FIXED
 
| FIXED
 
| 0
 
| 0
| Logout
+
| [[194:Logout|Logout]]
 
| Disconnects the client from the server.
 
| 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
 
| 210
 
| FIXED
 
| FIXED
 
| 3
 
| 3
| Send sidebar interface
+
| [[194:Send sidebar interface|Send sidebar interface]]
 
| Assigns an interface to one of the tabs in the game sidebar.
 
| Assigns an interface to one of the tabs in the game sidebar.
 
|-
 
|-
Line 36: Line 49:
 
| FIXED
 
| FIXED
 
| 0
 
| 0
| Clear screen
+
| [[194:Clear screen|Clear screen]]
 
| Clears the screen of all open interfaces.  
 
| Clears the screen of all open interfaces.  
 
|-
 
|-
Line 50: Line 63:
 
! Name
 
! Name
 
! Description
 
! 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.
 
|-
 
|-
 
|}
 
|}

Latest revision as of 18:39, 19 March 2010

Stub

This article is a stub. You can help RuneWiki by expanding it.

Login Protocol

(needs to be documented)

Game Protocol

(description)

Server -> Client Packets

Opcode Type Length (bytes) Name Description
137 FIXED 2 Show interface Displays a normal interface.
164 VARIABLE_BYTE N/A Send message Sends a server message (e.g. 'Welcome to RuneScape') or trade/duel request.
192 FIXED 0 Logout Disconnects the client from the server.
206 VARIABLE_BYTE N/A Set MIDI Sets the current song playing on the client.
210 FIXED 3 Send sidebar interface Assigns an interface to one of the tabs in the game sidebar.
240 FIXED 0 Clear screen Clears the screen of all open interfaces.

Client -> Server Packets

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.