2014-06-02 22:26:32 -04:00
|
|
|
[[Category Packet]]
|
|
|
|
[[Category Packet 718]]
|
2014-06-04 19:50:40 -04:00
|
|
|
[[Category RS2]]
|
2014-06-02 22:28:11 -04:00
|
|
|
|
|
|
|
|
2014-06-04 19:50:40 -04:00
|
|
|
== '''Packet structure''' ==
|
|
|
|
?
|
|
|
|
|
|
|
|
== '''Login''' ==
|
|
|
|
?
|
|
|
|
|
|
|
|
== '''Game Protocol''' ==
|
|
|
|
|
|
|
|
===Server -> Client Packets===
|
|
|
|
|
|
|
|
{| border=2
|
|
|
|
|-
|
|
|
|
! Opcode
|
|
|
|
! Type
|
|
|
|
! Length (bytes)
|
|
|
|
! Name
|
|
|
|
! Description
|
2014-06-04 20:26:42 -04:00
|
|
|
|-
|
|
|
|
| 2
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_SHORT
|
2014-06-04 20:26:42 -04:00
|
|
|
| -2
|
|
|
|
| [[718 Friends packet|Friends packet]]
|
|
|
|
| Sends a friend to the friend list.
|
|
|
|
|-
|
|
|
|
| 5
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 4
|
|
|
|
| [[718 Close window|Close window]]
|
|
|
|
| Closes an interface.
|
|
|
|
|-
|
|
|
|
| 6
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 1
|
|
|
|
| [[718 Player under NPC priority|Player under NPC priority]]
|
|
|
|
| N/A
|
|
|
|
|-
|
|
|
|
| 9
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 6
|
|
|
|
| [[718 Music effect|Music effect]]
|
|
|
|
| Plays a music effect.
|
|
|
|
|-
|
|
|
|
| 10
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_BYTE
|
2014-06-04 20:26:42 -04:00
|
|
|
| -1
|
|
|
|
| [[718 Set mouse|Set mouse]]
|
|
|
|
| N/A
|
|
|
|
|-
|
|
|
|
| 11
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| -2
|
|
|
|
| [[718 World list|World list]]
|
|
|
|
| Sends the world list.
|
|
|
|
|-
|
|
|
|
| 14
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 23
|
|
|
|
| [[718 Interface|Interface]]
|
|
|
|
| Opens an interface.
|
|
|
|
|-
|
|
|
|
| 17
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_SHORT
|
2014-06-04 20:26:42 -04:00
|
|
|
| -2
|
|
|
|
| [[718 Open URL|Open URL]]
|
|
|
|
| Opens a hyperlink.
|
|
|
|
|-
|
|
|
|
| 20
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 16
|
|
|
|
| [[718 Projectile|Projectile]]
|
|
|
|
| Plays a projectile.
|
|
|
|
|-
|
|
|
|
| 23
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 4
|
|
|
|
| [[718 Player on IComponent|Music effect]]
|
|
|
|
| N/A
|
|
|
|
|-
|
|
|
|
| 25
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 1
|
|
|
|
| [[718 Run energy|Run energy]]
|
|
|
|
| Sends the run energy.
|
|
|
|
|-
|
|
|
|
| 30
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_BYTE
|
2014-06-04 20:26:42 -04:00
|
|
|
| -1
|
|
|
|
| [[718 Send friend quick chat|Send friend quick chat]]
|
|
|
|
| Sends a friend a quick chat message.
|
|
|
|
|-
|
|
|
|
| 31
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 8
|
|
|
|
| [[718 Model on IComponent|Model on IComponent]]
|
|
|
|
| Sends a model to an IComponent (child interface).
|
|
|
|
|-
|
|
|
|
| 32
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| -1
|
|
|
|
| [[718 Receive friend quick chat|Receive friend quick chat]]
|
|
|
|
| Displays a received quick chat message to a friend.
|
|
|
|
|-
|
|
|
|
| 33
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_BYTE
|
2014-06-04 20:26:42 -04:00
|
|
|
| -1
|
|
|
|
| [[718 Receive personal message|Receive personal message]]
|
|
|
|
| Received a private message (PM) and displays it.
|
|
|
|
|-
|
|
|
|
| 39
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 19
|
|
|
|
| [[718 Game pane|Game pane]]
|
|
|
|
| Sends the game pane.
|
|
|
|
|-
|
|
|
|
| 40
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 12
|
|
|
|
| [[718 IComponent Settings|IComponent Settings]]
|
|
|
|
| N/A
|
|
|
|
|-
|
|
|
|
| 42
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_SHORT
|
2014-06-04 20:26:42 -04:00
|
|
|
| -2
|
|
|
|
| [[718 Load map scene|Load map scene]]
|
|
|
|
| Loads a map.
|
|
|
|
|-
|
|
|
|
| 44
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 6
|
|
|
|
| [[718 Shake camera|Shake camera]]
|
|
|
|
| Shakes the camera of the character.
|
|
|
|
|-
|
|
|
|
| 45
|
2014-06-05 14:59:58 -04:00
|
|
|
| FIXED
|
2014-06-04 20:26:42 -04:00
|
|
|
| 2
|
|
|
|
| [[718 Destroy object|Destroy object]]
|
|
|
|
| Removes an object from the screen.
|
|
|
|
|-
|
|
|
|
| 55
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_SHORT
|
2014-06-04 20:26:42 -04:00
|
|
|
| -2
|
|
|
|
| [[718 Ignores|Ignores]]
|
|
|
|
| Sends a player to a player's ignore list.
|
|
|
|
|-
|
2014-06-04 19:50:40 -04:00
|
|
|
|}
|
|
|
|
|
|
|
|
===Client -> Server Packets===
|
|
|
|
|
|
|
|
{| border=2
|
|
|
|
|-
|
|
|
|
! Opcode
|
|
|
|
! Type
|
|
|
|
! Length (bytes)
|
|
|
|
! Name
|
|
|
|
! Description
|
2014-06-04 20:31:39 -04:00
|
|
|
|-
|
|
|
|
| 3
|
|
|
|
| FIXED
|
|
|
|
| 16
|
|
|
|
| [[718 Item on item|Item on item]]
|
|
|
|
| Send an item on item request.
|
|
|
|
|-
|
|
|
|
| 4
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_BYTE
|
2014-06-04 20:31:39 -04:00
|
|
|
| -1
|
|
|
|
| [[718 Add ignore|Add ignore]]
|
|
|
|
| Sends a request to add a person to a person's ignore list.
|
|
|
|
|-
|
|
|
|
| 8
|
2014-06-05 14:59:58 -04:00
|
|
|
| VARIABLE_BYTE
|
2014-06-04 20:31:39 -04:00
|
|
|
| -1
|
|
|
|
| [[718 Walk|Walk]]
|
|
|
|
| Sends a request to walk to specific coordinates.
|
|
|
|
|-
|
|
|
|
| 9
|
|
|
|
| FIXED
|
|
|
|
| 3
|
|
|
|
| [[718 NPC Examine|NPC Examine]]
|
|
|
|
| Sends a request to examine an NPC.
|
|
|
|
|-
|
2014-06-04 19:50:40 -04:00
|
|
|
|}
|