rswiki-book/443-Protocol.mediawiki
2015-06-13 00:09:01 -04:00

101 lines
1.5 KiB
Plaintext

[[Category RS2]]
==Game Protocol==
===Server > Client Packets===
{| border=2
|-
! Opcode
! Type
! Length (bytes)
! Name
! Description
|-
! 29
! VARIABLE SHORT
! NA
! [[443 Player Update|Player Update]]
! Updates the players within the client's view.
|-
! 121
! VARIABLE SHORT
! NA
! [[443 Rebuild Map|Rebuild Scene Graph]]
! Rebuilds the players scene graph.
|-
! 157
! VARIABLE BYTE
! NA
! [[443 Send Message|Send Message]]
! Sends a message to the client's chatbox.
|-
! 58
! FIXED
! 6
! [[443 Update Skill|Update Skill]]
! Updates a skill by sending its experience and dynamic level.
|-
! 192
! VARIABLE SHORT
! NA
! [[443 Execute Client Script|Execute Client Script]]
! Executes a client script.
|-
! 204
! VARIABLE SHORT
! NA
! [[443 Class Check Request|Class Check Request]]
! Parses a request for a class check request.
|-
! 160
! FIXED
! 4
! [[443 Display Window|Display Window]]
! Displays a widget as a window.
|-
! 3
! FIXED
! 6
! [[443 Change Inactive Color|Change Inactive Color]]
! Changes the widget's inactive color.
|-
! 228
! VARIABLE SHORT
! NA
! [[443 Send Items|Send Items]]
! Sends the items in an item container.
|-
! 213
! VARIABLE SHORT
! NA
! [[443 Update Items|Update Items]]
! Updates the items in an item container from their slot id.
|-
! 41
! FIXED
! 0
! [[443 Logout|Logout]]
! Logs the client out from the server.
|}
===Client > Server Protocol===
{| border = 2
|-
! Opcode
! Type
! Length (bytes)
! Name
! Description
|-
! 70
! FIXED
! 0
! [[443 Close Window|Close Window]]
! Called when the currently opened window is closed.
|}