rswiki-book/443-Protocol.mediawiki

89 lines
1.3 KiB
Plaintext
Raw Normal View History

2012-08-24 23:06:14 -04:00
[[Category RS2]]
2012-08-24 23:09:10 -04:00
==Game Protocol==
2012-08-25 14:14:42 -04:00
2012-08-25 14:15:02 -04:00
2012-08-24 23:06:14 -04:00
===Server > Client Packets===
2012-08-24 23:18:12 -04:00
2012-08-24 23:06:14 -04:00
{| border=2
|-
! Opcode
! Type
! Length (bytes)
! Name
! Description
|-
! 29
! VARIABLE SHORT
! NA
2012-08-24 23:17:07 -04:00
! [[443 Player Update|Player Update]]
2012-08-24 23:06:14 -04:00
! Updates the players within the client's view.
|-
! 121
! VARIABLE SHORT
! NA
2012-08-24 23:17:07 -04:00
! [[443 Rebuild Map|Rebuild Scene Graph]]
2012-08-24 23:06:14 -04:00
! Rebuilds the players scene graph.
|-
! 157
! VARIABLE BYTE
! NA
2012-08-24 23:17:07 -04:00
! [[443 Send Message|Send Message]]
2012-08-24 23:06:14 -04:00
! Sends a message to the client's chatbox.
|-
! 58
! FIXED
! 6
2012-08-24 23:17:07 -04:00
! [[443 Update Skill|Update Skill]]
2012-08-24 23:06:14 -04:00
! Updates a skill by sending its experience and dynamic level.
|-
2012-08-25 14:11:52 -04:00
! 192
! VARIABLE SHORT
! NA
! [[443 Execute Client Script|Execute Client Script]]
! Executes a client script.
|-
2012-08-24 23:06:14 -04:00
! 160
! FIXED
! 4
2012-08-24 23:17:07 -04:00
! [[443 Display Window|Display Window]]
2012-08-24 23:06:14 -04:00
! Displays a widget as a window.
|-
! 228
! VARIABLE SHORT
! NA
2012-08-24 23:17:07 -04:00
! [[443 Send Items|Send Items]]
2012-08-24 23:06:14 -04:00
! Sends the items in an item container.
|-
! 213
! VARIABLE SHORT
! NA
2012-08-24 23:17:07 -04:00
! [[443 Update Items|Update Items]]
2012-08-24 23:06:14 -04:00
! Updates the items in an item container from their slot id.
|-
! 41
! FIXED
! 0
2012-08-24 23:17:07 -04:00
! [[443 Logout|Logout]]
2012-08-24 23:06:14 -04:00
! Logs the client out from the server.
2012-08-25 14:05:23 -04:00
|}
===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.
|}