Browse Source

Fix 317 pages

PureCS 6 months ago
parent
commit
2fca33623a
100 changed files with 2024 additions and 1843 deletions
  1. 15
    9
      src/317/317-Add-friend.md
  2. 15
    11
      src/317/317-Add-ignore.md
  3. 17
    18
      src/317/317-Alternate-item-option-2.md
  4. 11
    7
      src/317/317-Animation-reset.md
  5. 15
    9
      src/317/317-Attack-(NPC).md
  6. 17
    11
      src/317/317-Audio.md
  7. 18
    15
      src/317/317-Bank-10-items.md
  8. 18
    16
      src/317/317-Bank-5-items.md
  9. 17
    14
      src/317/317-Bank-X-items-part-1.md
  10. 15
    12
      src/317/317-Bank-X-items-part-2.md
  11. 18
    16
      src/317/317-Bank-all-items.md
  12. 1
    5
      src/317/317-Begin-player-updating.md
  13. 15
    12
      src/317/317-Button-click.md
  14. 16
    12
      src/317/317-Camera-movement.md
  15. 70
    56
      src/317/317-Camera-shake.md
  16. 15
    10
      src/317/317-Chat-interface-click.md
  17. 15
    10
      src/317/317-Chat-interface.md
  18. 17
    12
      src/317/317-Chat-settings.md
  19. 15
    12
      src/317/317-Clear-inventory.md
  20. 11
    7
      src/317/317-Clear-screen.md
  21. 11
    9
      src/317/317-Close-window.md
  22. 37
    35
      src/317/317-Construct-map-region.md
  23. 15
    20
      src/317/317-Create-Projectile.md
  24. 27
    26
      src/317/317-Design-screen.md
  25. 15
    29
      src/317/317-Display-hint-icon.md
  26. 17
    12
      src/317/317-Drop-item.md
  27. 11
    7
      src/317/317-Enter-name.md
  28. 16
    14
      src/317/317-Equip-item.md
  29. 32
    17
      src/317/317-Flash-sidebar.md
  30. 15
    12
      src/317/317-Focus-change.md
  31. 15
    11
      src/317/317-Follow.md
  32. 18
    18
      src/317/317-Force-client-setting.md
  33. 14
    13
      src/317/317-Friends-list-status.md
  34. 8
    12
      src/317/317-Ground-Item-Action.md
  35. 16
    13
      src/317/317-Hidden-Interface.md
  36. 11
    9
      src/317/317-Idle-logout.md
  37. 11
    7
      src/317/317-Idle.md
  38. 15
    15
      src/317/317-Initialize-player.md
  39. 11
    7
      src/317/317-Input-amount.md
  40. 16
    11
      src/317/317-Interface-animation.md
  41. 23
    19
      src/317/317-Interface-color.md
  42. 16
    13
      src/317/317-Interface-item.md
  43. 18
    16
      src/317/317-Interface-model-rotation.md
  44. 17
    13
      src/317/317-Interface-offset.md
  45. 15
    10
      src/317/317-Interface-over-tab.md
  46. 20
    18
      src/317/317-Inventory-overlay.md
  47. 17
    16
      src/317/317-Item-action-1.md
  48. 20
    21
      src/317/317-Item-on-floor.md
  49. 16
    12
      src/317/317-Item-on-item.md
  50. 20
    20
      src/317/317-Item-on-object.md
  51. 18
    14
      src/317/317-Item-on-player.md
  52. 17
    12
      src/317/317-Light-item.md
  53. 23
    19
      src/317/317-Load-map-region.md
  54. 11
    8
      src/317/317-Loading-finished.md
  55. 11
    7
      src/317/317-Logout.md
  56. 17
    9
      src/317/317-Mage-NPC.md
  57. 18
    15
      src/317/317-Magic-on-items.md
  58. 16
    11
      src/317/317-Magic-on-player.md
  59. 21
    12
      src/317/317-Minimap-State.md
  60. 1
    4
      src/317/317-Mouse-click.md
  61. 18
    17
      src/317/317-Move-item.md
  62. 17
    10
      src/317/317-Music.md
  63. 2
    6
      src/317/317-NPC-Dialogue.md
  64. 15
    10
      src/317/317-NPC-action-1.md
  65. 15
    10
      src/317/317-NPC-action-2.md
  66. 15
    10
      src/317/317-NPC-action-3.md
  67. 16
    14
      src/317/317-NPC-head-on-interface.md
  68. 17
    16
      src/317/317-Object-action-1.md
  69. 17
    17
      src/317/317-Object-action-2.md
  70. 17
    16
      src/317/317-Object-action-3.md
  71. 6
    7
      src/317/317-Object-removal.md
  72. 7
    9
      src/317/317-Object-spawn.md
  73. 15
    12
      src/317/317-Open-chatbox-interface.md
  74. 19
    18
      src/317/317-Open-welcome-screen.md
  75. 17
    16
      src/317/317-Pickup-ground-item.md
  76. 15
    10
      src/317/317-Play-song.md
  77. 18
    9
      src/317/317-Player-Option.md
  78. 15
    11
      src/317/317-Player-command.md
  79. 15
    9
      src/317/317-Player-head-to-interface.md
  80. 17
    14
      src/317/317-Privacy-options.md
  81. 420
    527
      src/317/317-Protocol.md
  82. 11
    7
      src/317/317-Region-change.md
  83. 15
    12
      src/317/317-Remove-friend.md
  84. 15
    12
      src/317/317-Remove-ignore.md
  85. 17
    13
      src/317/317-Report-player.md
  86. 11
    7
      src/317/317-Reset-button-state.md
  87. 11
    7
      src/317/317-Reset-camera.md
  88. 11
    8
      src/317/317-Reset-destination.md
  89. 14
    10
      src/317/317-Run-energy.md
  90. 16
    13
      src/317/317-Scroll-position.md
  91. 17
    12
      src/317/317-Send-Skill.md
  92. 8
    35
      src/317/317-Send-add-friend.md
  93. 25
    16
      src/317/317-Send-add-ignore.md
  94. 18
    15
      src/317/317-Send-message.md
  95. 17
    13
      src/317/317-Send-private-message.md
  96. 34
    18
      src/317/317-Send-sidebar-interface.md
  97. 19
    14
      src/317/317-Set-interface-text.md
  98. 15
    12
      src/317/317-Show-interface.md
  99. 20
    11
      src/317/317-Show-multi-combat.md
  100. 0
    0
      src/317/317-Show-tab.md

+ 15
- 9
src/317/317-Add-friend.md View File

@@ -1,11 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Add
2
-friend\|description=Sent when a player adds a friend to their friends
3
-list.\|opcode=188\|type=Fixed\|length=8\|revision=317}} == Add Friend ==
4
-
5
-=== Description ===
6
-
1
+# Add Friend
7 2
 This packet is sent when a player adds a friend to their friends list.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-\[\[Data Types\#Standard data types\|Long\]\] \| The other players ID.
11
-\|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Add friend |
8
+| Description | Sent when a player adds a friend to their friends list. |
9
+| Opcode | 188 |
10
+| Type | Fixed |
11
+| Length | 8 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Long](/Data-Types.html#common-data-types) | The other players ID. |

+ 15
- 11
src/317/317-Add-ignore.md View File

@@ -1,13 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Add
2
-ignore\|description=Sent when a player adds another player to their
3
-ignore list.\|opcode=133\|type=Fixed\|length=8\|revision=317}} == Add
4
-Ignore ==
1
+# Add Ignore
2
+This packet is sent when a player adds another player to their ignore list.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Add ignore |
8
+| Description | Sent when a player adds another player to their ignore list. |
9
+| Opcode | 133 |
10
+| Type | Fixed |
11
+| Length | 8 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when a player adds another player to their ignore
9
-list.
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Standard data types\|Long\]\] \| The other players ID.
13
-\|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Long](/Data-Types.html#common-data-types) | The other players ID. |

+ 17
- 18
src/317/317-Alternate-item-option-2.md View File

@@ -1,20 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Alternate Item Option 2\|description=Sent when the player
3
-clicks the alternate second option of an
4
-item.\|opcode=16\|type=Fixed\|length=6\|revision=317}} == Alternate Item
5
-Option 2 ==
1
+# Alternate Item Option 2
2
+This packet is sent when a player clicks the alternate second option of an item.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Alternate Item Option 2 |
8
+| Description | Sent when the player clicks the alternate second option of an item. |
9
+| Opcode | 16 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
8 13
 
9
-This packet is sent when a player clicks the alternate second option of
10
-an item.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
14
-Standard Data Types\|Special A\]\] \| The ID of the item. \|- \|- \|
15
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
16
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
17
-Types\|Special A\]\] \| The slot the item is in. \|- \|- \| \[\[Data
18
-Types\#Little Endian\|Little Endian\]\] \[\[Data Types\#Standard data
19
-types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special A\]\]
20
-\| The frame ID. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The ID of the item. |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The slot the item is in. |
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The frame ID. |

+ 11
- 7
src/317/317-Animation-reset.md View File

@@ -1,8 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Animation reset\|description=Resets all animations in the
3
-immediate area. \|opcode=1\|type=Fixed\|length=0\|revision=317}} ==
4
-Animation Reset ==
5
-
6
-=== Description ===
7
-
1
+# Animation Reset
8 2
 Resets all animations for players and npcs in the surrounding area.
3
+
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Animation reset |
8
+| Description | Resets all animations in the immediate area. |
9
+| Opcode | 1 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 15
- 9
src/317/317-Attack-(NPC).md View File

@@ -1,11 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Attack (NPC)\|description=Sent when a player attacks an
3
-NPC\|opcode=72\|type=Fixed\|length=2\|revision=317}} == Attack (NPC) ==
4
-
5
-=== Description ===
6
-
1
+# Description
7 2
 This packet is sent when a player attacks an NPC.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-Unsigned \[\[Data Types\#Standard data types\|Short\]\] \[\[Data
11
-Types\#Non Standard Data Types\|Special A\]\] \| The NPC ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Attack (NPC) |
8
+| Description | Sent when a player attacks an NPC |
9
+| Opcode | 72 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The NPC ID. |

+ 17
- 11
src/317/317-Audio.md View File

@@ -1,13 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Audio\|description=Sets what audio/sound is to play at a
3
-certain moment.\|opcode=147\|type=Fixed\|length=N/A\|revision=317}} ==
4
-Audio ==
5
-
6
-=== Description ===
7
-
1
+# Audio
8 2
 Sets what audio/sound is to play at a certain moment.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Word\|Word\]\] \| The sound id. \|- \| \[\[Data
12
-Types\#Byte\|Byte\]\] \| The volume. \|- \| \[\[Data
13
-Types\#Word\|Word\]\] \| The delay. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Audio |
8
+| Description | Sets what audio/sound is to play at a certain moment. |
9
+| Opcode | 147 |
10
+| Type | Fixed |
11
+| Length | N/A |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The sound id. |
18
+| [Byte](/Data-Types.html#common-data-types) | The volume. |
19
+| [Short](/Data-Types.html#common-data-types) | The delay. |

+ 18
- 15
src/317/317-Bank-10-items.md View File

@@ -1,18 +1,21 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Bank
2
-10 items\|description=Sent when a player banks 10 of a certain
3
-item.\|opcode=43\|type=Fixed\|length=6\|revision=317}} == Bank 10 Items
4
-==
1
+# Bank 10 Items
2
+This packet is sent when the player attempts to bank 10 of a certain item.
5 3
 
6
-=== Description ===
4
+Note: This packet is also used for selling/buying 5 of an item from a shop.
7 5
 
8
-This packet is sent when the player attempts to bank 10 of a certain
9
-item.<br> '''Note:''' This packet is also used for selling/buying 5 of
10
-an item from a shop.
6
+## Packet Details
7
+| Key | Value |
8
+|--|--|
9
+| Name | Bank 10 items |
10
+| Description | Sent when a player banks 10 of a certain item. |
11
+| Opcode | 43 |
12
+| Type | Fixed |
13
+| Length | 6 |
14
+| Revision | 317 |
11 15
 
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
14
-Types\#Standard data types\|Short\]\] \| The frame ID. \|- \| \[\[Data
15
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
16
-Types\|Special A\]\] \| The item ID. \|- \| \[\[Data Types\#Standard
17
-data types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special
18
-A\]\] \| The slot ID. \|}
16
+## Packet Structure
17
+| Data Type | Description |
18
+|--|--|
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The frame ID. |
20
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item ID. |
21
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The slot ID. |

+ 18
- 16
src/317/317-Bank-5-items.md View File

@@ -1,19 +1,21 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Bank
2
-5 items\|description=Sent when a player attempts to bank 5 of a certain
3
-item.\|opcode=117\|type=Fixed\|length=6\|revision=317}} == Bank 5 Items
4
-==
1
+# Bank 5 Items
2
+This packet is sent when a player attempts to bank 5 of a certain item.
5 3
 
6
-=== Description ===
4
+Note: This packet is also used for buying/selling 1 of an item from a shop.
7 5
 
8
-This packet is sent when a player attempts to bank 5 of a certain
9
-item.<br> '''Note:''' This packet is also used for buying/selling 1 of
10
-an item from a shop.
6
+## Packet Details
7
+| Key | Value |
8
+|--|--|
9
+| Name | Bank 5 items |
10
+| Description | Sent when a player attempts to bank 5 of a certain item. |
11
+| Opcode | 117 |
12
+| Type | Fixed |
13
+| Length | 6 |
14
+| Revision | 317 |
11 15
 
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
14
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
15
-Types\|Special A\]\] \| The frame ID. \|- \| \[\[Data Types\#Little
16
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
17
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The item ID.
18
-\|- \| \[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
19
-Types\#Standard data types\|Short\]\] \| The slot ID. \|- \|}
16
+## Packet Structure
17
+| Data Type | Description |
18
+|--|--|
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The frame ID. |
20
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item ID. |
21
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The slot ID. |

+ 17
- 14
src/317/317-Bank-X-items-part-1.md View File

@@ -1,16 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Bank
2
-x items part-1\|description=Sent when a player requests to bank an X
3
-amount of items.\|opcode=135\|type=Fixed\|length=6\|revision=317}} ==
4
-Bank X Items Part-1 ==
5
-
6
-=== Description ===
7
-
1
+# Bank X Items Part-1
8 2
 This packet is sent when a player requests to bank an X amount of items.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
12
-Types\#Standard data types\|Short\]\] \| The items slot. \|- \| Unsigned
13
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
14
-Standard Data Types\|Special A\]\] \| The interface ID. \|- \| \[\[Data
15
-Types\#Little Endian\|Little Endian\]\] \[\[Data Types\#Standard data
16
-types\|Short\]\] \| The item ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Bank x items part-1 |
8
+| Description | Sent when a player requests to bank an X amount of items. |
9
+| Opcode | 135 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The items slot. |
18
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The interface ID. |
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The item ID. |

+ 15
- 12
src/317/317-Bank-X-items-part-2.md View File

@@ -1,14 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=bank
2
-x items part-2\|description=Sent when a player enters an X amount of
3
-items they want to
4
-bank.\|opcode=208\|type=Fixed\|length=4\|revision=317}} == Bank X Items
5
-Part-2 ==
1
+# Bank X Items Part-2
2
+This packet is sent when a player enters an X amount of items they want to bank.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | bank x items part-2 |
8
+| Description | Sent when a player enters an X amount of items they want to bank. |
9
+| Opcode | 208 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
8 13
 
9
-This packet is sent when a player enters an X amount of items they want
10
-to bank.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Standard data types\|Integer\]\] \| The amount of the
14
-item you want to bank. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Int](/Data-Types.html#common-data-types) | The amount of the item you want to bank. |

+ 18
- 16
src/317/317-Bank-all-items.md View File

@@ -1,19 +1,21 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Bank
2
-all items\|description=Sent when a player banks all of a certain item
3
-they have in their
4
-inventory.\|opcode=129\|type=Fixed\|length=6\|revision=317}} == Bank 10
5
-Items ==
1
+# Bank 10 Items
2
+This packet is sent when a player banks all of a certain item they have in their inventory.
6 3
 
7
-=== Description ===
4
+Note: This packet is also used for selling/buying 10 items at a shop.
8 5
 
9
-This packet is sent when a player banks all of a certain item they have
10
-in their inventory. <br> '''Note:''' This packet is also used for
11
-selling/buying 10 items at a shop.
6
+## Packet Details
7
+| Key | Value |
8
+|--|--|
9
+| Name | Bank all items |
10
+| Description | Sent when a player banks all of a certain item they have in their inventory. |
11
+| Opcode | 129 |
12
+| Type | Fixed |
13
+| Length | 6 |
14
+| Revision | 317 |
12 15
 
13
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
14
-Unsigned \[\[Data Types\#Standard data types\|Short\]\] \[\[Data
15
-Types\#Non Standard Data Types\|Special A\]\] \| The items slot ID. \|-
16
-\| Unsigned \[\[Data Types\#Standard data types\|Short\]\] \| The
17
-interface ID. \|- \| Unsigned \[\[Data Types\#Standard data
18
-types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special A\]\]
19
-\| The item ID. \|- \|}
16
+## Packet Structure
17
+| Data Type | Description |
18
+|--|--|
19
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The items slot ID. |
20
+| Unsigned [Short](/Data-Types.html#common-data-types) | The interface ID. |
21
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item ID. |

+ 1
- 5
src/317/317-Begin-player-updating.md View File

@@ -1,6 +1,2 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] == Player Updating
2
-==
3
-
4
-=== Description ===
5
-
1
+# Player Updating
6 2
 This packet begins the player updating.

+ 15
- 12
src/317/317-Button-click.md View File

@@ -1,14 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Button click\|description=Sent when a player clicks an
3
-in-game button.\|opcode=185\|type=Fixed\|length=2\|revision=317}} ==
4
-Button click ==
1
+# Button click
2
+This is sent when a player clicks a button in-game, with the id of the button being clicked.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Button click |
8
+| Description | Sent when a player clicks an in-game button. |
9
+| Opcode | 185 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
7 13
 
8
-This is sent when a player clicks a button in-game, with the id of the
9
-button being clicked.
10
-
11
-=== Packet Structure ===
12
-
13
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
14
-data types\|Short\]\] \| The button id. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The button id. |

+ 16
- 12
src/317/317-Camera-movement.md View File

@@ -1,14 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Camera movement\|description=Sent when the player moves
3
-the camera.\|opcode=86\|type=Fixed\|length=4\|revision=317}} == Camera
4
-Movement ==
5
-
6
-=== Description ===
7
-
1
+# Camera Movement
8 2
 This packet is sent when a player moves their game camera.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Short\]\] \| The Y coordinate of
12
-the camera. \|- \| \[\[Data Types\#Standard data types\|Short\]\]
13
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The X
14
-coordinate of the camera. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Camera movement |
8
+| Description | Sent when the player moves the camera. |
9
+| Opcode | 86 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The Y coordinate of the camera. |
18
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The X coordinate of the camera. |

+ 70
- 56
src/317/317-Camera-shake.md View File

@@ -1,56 +1,70 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Camera oscillate\|description=Begin camera
3
-oscillation\|opcode=35\|type=Fixed\|length=4\|revision=317}} == Camera
4
-oscillate ==
5
-
6
-=== Description === Begins camera oscillation, which is implemented
7
-using a configurable sinusoidal oscillator to offset a specific degree
8
-of freedom.
9
-
10
-=== Packet Structure ===
11
-
12
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
13
-data types\|Byte\]\] \| Parameter (camera X, Z, Y, yaw, pitch) \|- \|
14
-\[\[Data Types\#Standard data types\|Byte\]\] \| Jitter - for
15
-randomization \|- \| \[\[Data Types\#Standard data types\|Byte\]\] \|
16
-Amplitude \|- \| \[\[Data Types\#Standard data types\|Byte\]\] \|
17
-Frequency (scaled by 100) \|- \|}
18
-
19
-=== Other Information === The oscillate event enables the client to
20
-oscillate one of 5 of it's position parameters, i.e. corresponding to
21
-the camera's degrees of freedom; parameters 0, 1, and 2 refer to the
22
-location of the camera, while 3 and 4 deal with the camera's
23
-orientation. Together, these enable complex effects involving
24
-manipulation of the camera position to give rise to simulated
25
-earth-quakes and camera shock. {\| border=2 ! Parameter ! Description
26
-\|- \| 0 \| Camera location along world X axis (a horizontal axis,
27
-aligned with map grid X) \|- \| 1 \| Camera location along world Z axis
28
-(vertical axis) \|- \| 2 \| Camera location along world Y axis (a
29
-horizontal axis, aligned with map grid Y) \|- \| 3 \| Camera orientation
30
-in world X plane w.r.t. world Z axis, i.e. yaw \|- \| 4 \| Camera
31
-orientation in world Z plane w.r.t. world X axis, i.e. pitch \|- \|}
32
-Note there is no built-in way to manipulate camera roll, as this is not
33
-one of the camera's degrees of freedom.
34
-
35
-=== What it's doing === Every time the world is rendered, each camera
36
-parameter that is enabled for oscillation is offset by a value computed
37
-as follows: {\| border=2 ! Calculation ! Formula \|- \| Delta \| (int)
38
-((Math.random() \* (double) (jitter \* 2 + 1) - (double) jitter) +
39
-Math.sin((double) phase \* ((double) frequency / 100D)) \* (double)
40
-amplitude); \|- \|} Each parameter's phase accumulator (phase) is
41
-incremented by 1 each logic update.
42
-
43
-=== Parameter === The offset itself is detailed as follows for each
44
-parameter: {\| border=2 ! Parameter ! Action \|- \| 0 \| camera\_x +=
45
-delta \|- \| 1 \| camera\_z += delta \|- \| 2 \| camera\_y += delta \|-
46
-\| 3 \| camera\_yaw = camera\_yaw + delta & 0x7ff; \|- \| 4 \|
47
-camera\_pitch += delta \|- \|} Note that the camera's yaw is corrected
48
-modulo 0x7ff, or 2048, which is equivalent to 2{{{pi}}} radians in
49
-Jagex's binary angle system. This is not done to the camera pitch, which
50
-is instead clamped (see below).
51
-
52
-=== Note === For oscillating the camera pitch, clamping is done to
53
-ensure the angle not out of bounds: {\| border=2 \|- \|if (camera\_pitch
54
-\< 128) then camera\_pitch = 128 \|- \|if (camera\_pitch \> 383) then
55
-camera\_pitch = 383 \|- \|} This is do to Jagex restricting the possible
56
-range of orientations the camera may take.
1
+# Camera oscillate
2
+Begins camera oscillation, which is implemented using a configurable sinusoidal oscillator to offset a specific degree of freedom.
3
+
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Camera oscillate |
8
+| Description | Begin camera oscillation. |
9
+| Opcode | 35 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | Parameter (camera X, Z, Y, yaw, pitch) |
18
+| [Byte](/Data-Types.html#common-data-types) | Jitter (for randomization) |
19
+| [Byte](/Data-Types.html#common-data-types) | Amplitude |
20
+| [Byte](/Data-Types.html#common-data-types) | Frequency (scaled by 100) |
21
+
22
+## Other Information
23
+The oscillate event enables the client to oscillate one of 5 of it's position parameters.
24
+i.e. corresponding to the camera's degrees of freedom; parameters 0, 1, and 2 refer to the location of the camera, while 3 and 4 deal with the camera's orientation.
25
+Together, these enable complex effects involving manipulation of the camera position to give rise to simulated earth-quakes and camera shock.
26
+
27
+| Parameter | Description |
28
+|--|--|
29
+| 0 | Camera location along world X axis (a horizontal axis, aligned with map grid X) |
30
+| 1 | Camera location along world Z axis (vertical axis) |
31
+| 2 | Camera location along world Y axis (a horizontal axis, aligned with map grid Y) |
32
+| 3 | Camera orientation in world X plane w.r.t. world Z axis, i.e. yaw |
33
+| 4 | Camera orientation in world Z plane w.r.t. world X axis, i.e. pitch |
34
+
35
+Note there is no built-in way to manipulate camera roll, as this is not one of the camera's degrees of freedom.
36
+
37
+## What it's doing
38
+Every time the world is rendered, each camera parameter that is enabled for oscillation is offset by a value computed as follows:
39
+
40
+| Calculation | Formula |
41
+|--|--|
42
+| Delta | `(int) ((Math.random() * (double) (jitter * 2 + 1) - (double) jitter) + Math.sin((double) phase * ((double) frequency / 100D)) * (double) amplitude);` |
43
+
44
+Each parameter's phase accumulator (phase) is incremented by 1 each logic update.
45
+
46
+## Parameter
47
+The offset itself is detailed as follows for each parameter:
48
+
49
+| Parameter | Action |
50
+|--|--|
51
+| 0 | `camera_x += delta` |
52
+| 1 | `camera_z += delta` |
53
+| 2 | `camera_y += delta` |
54
+| 3 | `camera_yaw = camera_yaw + delta & 0x7ff;` |
55
+| 4 | `camera_pitch += delta` |
56
+
57
+Note that the camera's yaw is corrected modulo 0x7ff, or 2048, which is equivalent to 2 \pi radians in Jagex's binary angle system.
58
+This is not done to the camera pitch, which is instead clamped (see below).
59
+
60
+## Note
61
+For oscillating the camera pitch, clamping is done to ensure the angle not out of bounds:
62
+
63
+```java
64
+if (camera_pitch < 128)
65
+    camera_pitch = 128
66
+if (camera_pitch > 383)
67
+    camera_pitch = 383
68
+```
69
+
70
+This is due to Jagex restricting the possible range of orientations the camera may take.

+ 15
- 10
src/317/317-Chat-interface-click.md View File

@@ -1,12 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Chat
2
-interface click\|description=Received when a button is pressed, in a
3
-chat interface.\|opcode=40\|type=Fixed\|length=2\|revision=317}} == Chat
4
-interface click ==
1
+# Chat interface click
2
+Received by the server when a button is pressed in a [Chat interface](Chat-interface.html).
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Chat interface click |
8
+| Description | Received when a button is pressed, in a chat interface. |
9
+| Opcode | 40 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
7 13
 
8
-Received by the server when a button is pressed in a chat interface
9
-\[http://rswiki.moparisthebest.com/index.php?title=317:Chat\_interface\].
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Standard data types\|Short\]\] \| Frame ID. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | Frame ID. |

+ 15
- 10
src/317/317-Chat-interface.md View File

@@ -1,12 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Chat
2
-interface\|description=Shows an interface in the chat
3
-box.\|opcode=164\|type=Fixed\|length=2\|revision=317}} == Chat Interface
4
-==
5
-
6
-=== Description ===
7
-
1
+# Chat Interface
8 2
 This packet attaches an interface to the chat box.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
12
-Types\#Standard data types\|Short\]\] \| The interface ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Chat interface |
8
+| Description | Shows an interface in the chat box. |
9
+| Opcode | 164 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The interface ID. |

+ 17
- 12
src/317/317-Chat-settings.md View File

@@ -1,14 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Chat
2
-settings\|description=Sends the chat privacy
3
-settings\|opcode=206\|type=Fixed\|length=3\|revision=317}} == Chat
4
-Settings ==
5
-
6
-=== Description ===
7
-
1
+# Chat Settings
8 2
 This packet sends the chat privacy settings.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Byte\]\] \| Public chat setting.
12
-\|- \| \[\[Data Types\#Standard data types\|Byte\]\] \| Private chat
13
-setting. \|- \| \[\[Data Types\#Standard data types\|Byte\]\] \| Trade
14
-setting. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Chat settings |
8
+| Description | Sends the chat privacy settings |
9
+| Opcode | 206 |
10
+| Type | Fixed |
11
+| Length | 3 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | Public chat setting. |
18
+| [Byte](/Data-Types.html#common-data-types) | Private chat setting. |
19
+| [Byte](/Data-Types.html#common-data-types) | Trade setting. |

+ 15
- 12
src/317/317-Clear-inventory.md View File

@@ -1,14 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Clear
2
-Inventory\|description=Used to set all of the items and item stacks in
3
-an inventory to
4
-nothing.\|opcode=72\|type=Fixed\|length=2\|revision=317}} == Clear
5
-inventory ==
1
+# Clear inventory
2
+Clears a given inventory, by setting all of its item ids to negative one and its item stacks to zero.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Clear Inventory |
8
+| Description | Used to set all of the items and item stacks in an inventory to nothing. |
9
+| Opcode | 72 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
8 13
 
9
-This packet creates a loop through a given inventory interface id and
10
-sets the item ids to negative one and the item stacks to zero.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
14
-Types\#Standard data types\|Short\]\] \| The interface ID. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The interface ID. |

+ 11
- 7
src/317/317-Clear-screen.md View File

@@ -1,8 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Clear
2
-screen\|description=Clears the screen of all open
3
-interfaces.\|opcode=219\|type=Fixed\|length=0\|revision=317}} == Clear
4
-Screen ==
5
-
6
-=== Description ===
7
-
1
+# Clear Screen
8 2
 Removes all open interfaces from the players screen.
3
+
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Clear screen |
8
+| Description | Clears the screen of all open interfaces. |
9
+| Opcode | 219 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 11
- 9
src/317/317-Close-window.md View File

@@ -1,10 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Close
2
-window\|description=Sent when a player presses the close, exit or cancel
3
-button on an
4
-interface.\|opcode=130\|type=Fixed\|length=0\|revision=317}} == Close
5
-Window ==
1
+# Close Window
2
+This packet is sent when a player presses the close, exit or cancel button on an interface.
6 3
 
7
-=== Description ===
8
-
9
-This packet is sent when a player presses the close, exit or cancel
10
-button on an interface.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Close window |
8
+| Description | Sent when a player presses the close, exit or cancel button on an interface. |
9
+| Opcode | 130 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 37
- 35
src/317/317-Construct-map-region.md View File

@@ -1,37 +1,39 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Construct map region\|description=Constructs a new map
3
-region from a palette of 8x8 tiles.\|opcode=241\|type=Variable
4
-Short\|length=N/A\|revision=317}} == Construct Map Region ==
5
-
6
-=== Description ===
7
-
8
-The construct map region packet sends a dynamic map region that is
9
-constructed by using groups of 8\*8 tiles. It is generally used for
10
-instanced areas, such as fight caves, and in later revisions, player
11
-owned houses.
12
-
13
-=== Packet Structure ===
14
-
15
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
16
-data types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special
17
-A\]\] \| The region Y coordinate (absolute Y coordinate / 8), plus 6.
18
-\|- \| \[\[\#Bit block\|Bit block\]\] \| See below. \|- \| \[\[Data
19
-Types\#Standard data types\|Short\]\] \| The region X coordinate
20
-(absolute X coordinate / 8), plus 6. \|}
21
-
22
-==== Bit block ====
23
-
24
-The bit block actually contains the 'palette' of map regions to make up
25
-the new region.
26
-
27
-There is a loop, like this, used to construct it:
28
-
29
-for(int z = 0; z \< 4; z++) { for(int x = 0; x \< 13; x++) { for(int y =
30
-0; y \< 13; y++) { // data for this region } } }
1
+# Construct Map Region
2
+The construct map region packet sends a dynamic map region that is constructed by using groups of 8x8 tiles.
3
+It is generally used for instanced areas, such as fight caves, and in later revisions, player owned houses.
4
+
5
+## Packet Details
6
+| Key | Value |
7
+|--|--|
8
+| Name | Construct map region |
9
+| Description | Constructs a new map region from a palette of 8x8 tiles. |
10
+| Opcode | 241 |
11
+| Type | Variable Short |
12
+| Length | N/A |
13
+| Revision | 317 |
14
+
15
+## Packet Structure
16
+| Data Type | Description |
17
+|--|--|
18
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The region Y coordinate (absolute Y coordinate / 8), plus 6. |
19
+| Bit block | See below. |
20
+| [Short](/Data-Types.html#common-data-types) | The region X coordinate (absolute X coordinate / 8), plus 6. |
21
+
22
+## Bit block
23
+The bit block contains the 'palette' of map regions to make up the new region.
24
+
25
+A loop is used to construct it, as follows:
26
+
27
+```java
28
+for (int z = 0; z < 4; z++) {
29
+    for(int x = 0; x < 13; x++) {
30
+        for(int y = 0; y < 13; y++) {
31
+            // data for this region
32
+        }
33
+    }
34
+}
35
+```
31 36
 
32 37
 The individual format in each iteration of the loop is:
33
-
34
--   '''1 bit''' - set to 0 to indicate to display nothing, 1 to display
35
-    a region
36
--   '''26 bits''' - if the flag above is set to 1 - region x \<\< 14 \|
37
-    region y \<\< 3
38
+* 1 bit - set to 0 to indicate to display nothing, 1 to display a region
39
+* 26 bits - if the flag above is set to 1: `region_x << 14 | region_y << 3`

+ 15
- 20
src/317/317-Create-Projectile.md View File

@@ -1,22 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] == Create Projectile
2
-==
3
-
4
-=== Description ===
5
-
1
+# Create Projectile
6 2
 Creates a projectile.
7 3
 
8
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
9
-\[\[Data Types\#Standard data types\|Byte\]\] \| Position offset \|- \|
10
-\[\[Data Types\#Standard data types\|Byte\]\] \| Second X offset \|- \|
11
-\[\[Data Types\#Standard data types\|Byte\]\] \| Second Y offset \|- \|
12
-\[\[Data Types\#Standard data types\|Short\]\] \| Target \|- \| \[\[Data
13
-Types\#Little Endian\|Little Endian\]\] \[\[Data Types\#Standard data
14
-types\|Short\]\] \| Graphic ID \|- \| \[\[Data Types\#Standard data
15
-types\|Byte\]\] \| Starting height \|- \| \[\[Data Types\#Standard data
16
-types\|Byte\]\] \| Ending height \|- \| \[\[Data Types\#Little
17
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
18
-\| Starting time \|- \| \[\[Data Types\#Little Endian\|Little Endian\]\]
19
-\[\[Data Types\#Standard data types\|Short\]\] \| Speed \|- \| \[\[Data
20
-Types\#Standard data types\|Byte\]\] \| Initial slope \|- \| \[\[Data
21
-Types\#Standard data types\|Byte\]\] \| Initial distance from source \|-
22
-\|}
4
+## Packet Structure
5
+| Data Type | Description |
6
+|--|--|
7
+| [Byte](/Data-Types.html#common-data-types) | Position offset |
8
+| [Byte](/Data-Types.html#common-data-types) | Second X offset |
9
+| [Byte](/Data-Types.html#common-data-types) | Second Y offset |
10
+| [Short](/Data-Types.html#common-data-types) | Target |
11
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | Graphic ID |
12
+| [Byte](/Data-Types.html#common-data-types) | Starting height |
13
+| [Byte](/Data-Types.html#common-data-types) | Ending height |
14
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | Starting time |
15
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | Speed |
16
+| [Byte](/Data-Types.html#common-data-types) | Initial slope |
17
+| [Byte](/Data-Types.html#common-data-types) | Initial distance from source |

+ 27
- 26
src/317/317-Design-screen.md View File

@@ -1,28 +1,29 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Design screen\|description=Sent when a player is choosing
3
-their character design
4
-options.\|opcode=101\|type=Fixed\|length=13\|revision=317}} == Design
5
-Screen ==
1
+# Design Screen
2
+This packet is sent when a player is choosing their character design options.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Design screen |
8
+| Description | Sent when a player is choosing their character design options. |
9
+| Opcode | 101 |
10
+| Type | Fixed |
11
+| Length | 13 |
12
+| Revision | 317 |
8 13
 
9
-This packet is sent when a player is choosing their character design
10
-options.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Standard data types\|Byte\]\] \| The players gender. \|-
14
-\| \[\[Data Types\#Standard data types\|Byte\]\] \| The players head
15
-model. \|- \| \[\[Data Types\#Standard data types\|Byte\]\] \| The
16
-players beard model. \|- \| \[\[Data Types\#Standard data
17
-types\|Byte\]\] \| The players torso model. \|- \| \[\[Data
18
-Types\#Standard data types\|Byte\]\] \| The players arm model. \|- \|
19
-\[\[Data Types\#Standard data types\|Byte\]\] \| The players hand model.
20
-\|- \| \[\[Data Types\#Standard data types\|Byte\]\] \| The players leg
21
-model \|- \| \[\[Data Types\#Standard data types\|Byte\]\] \| The
22
-players foot model. \|- \| \[\[Data Types\#Standard data types\|Byte\]\]
23
-\| The players hair color. \|- \| \[\[Data Types\#Standard data
24
-types\|Byte\]\] \| The players torso color. \|- \| \[\[Data
25
-Types\#Standard data types\|Byte\]\] \| The players leg color. \|- \|
26
-\[\[Data Types\#Standard data types\|Byte\]\] \| The players foot color.
27
-\|- \| \[\[Data Types\#Standard data types\|Byte\]\] \| The players skin
28
-color. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | The players gender. |
18
+| [Byte](/Data-Types.html#common-data-types) | The players head model. |
19
+| [Byte](/Data-Types.html#common-data-types) | The players beard model. |
20
+| [Byte](/Data-Types.html#common-data-types) | The players torso model. |
21
+| [Byte](/Data-Types.html#common-data-types) | The players arm model. |
22
+| [Byte](/Data-Types.html#common-data-types) | The players hand model. |
23
+| [Byte](/Data-Types.html#common-data-types) | The players leg model |
24
+| [Byte](/Data-Types.html#common-data-types) | The players foot model. |
25
+| [Byte](/Data-Types.html#common-data-types) | The players hair color. |
26
+| [Byte](/Data-Types.html#common-data-types) | The players torso color. |
27
+| [Byte](/Data-Types.html#common-data-types) | The players leg color. |
28
+| [Byte](/Data-Types.html#common-data-types) | The players foot color. |
29
+| [Byte](/Data-Types.html#common-data-types) | The players skin color. |

+ 15
- 29
src/317/317-Display-hint-icon.md View File

@@ -1,31 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Display hint icon\|description=Display a hint icon to the
3
-player.\|opcode=254\|type=Variable Byte\|length=N/A\|revision=317}}
4
-
5
-== Display Hint Icon ==
6
-
7
-=== Description ===
8
-
1
+# Display Hint Icon
9 2
 Displays a hint icon.
10 3
 
11
-=== Packet Structure ===
12
-
13
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
14
-data types\|Byte\]\] \| The Icon type \|- \|}
15
-
16
-=== if type == 1 ===
17
-
18
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
19
-data type\|Short\]\] \| Icon NPC target \|- \|}
20
-
21
-=== if type \>= 2 && type \<= 6 ===
22
-
23
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
24
-data type\|Short\]\] \| Icon X \|- \| \[\[Data Types\#Standard data
25
-type\|Short\]\] \| Icon Y \|- \| \[\[Data Types\#Standard data
26
-types\|Byte\]\] \| Icon draw height \|- \|}
27
-
28
-=== if type == 10 ===
29
-
30
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
31
-data type\|Short\]\] \| Icon player target \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Display hint icon |
8
+| Description | Display a hint icon to the player. |
9
+| Opcode | 254 |
10
+| Type | Variable Byte |
11
+| Length | N/A |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | The Icon type |

+ 17
- 12
src/317/317-Drop-item.md View File

@@ -1,14 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Drop
2
-item\|description=Sent when a player wants to drop an item onto the
3
-ground.\|opcode=87\|type=Fixed\|length=6\|revision=317}} == Drop Item ==
4
-
5
-=== Description ===
6
-
1
+# Drop Item
7 2
 This packet is sent when a player wants to drop an item onto the ground.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
11
-Standard Data Types\|Special A\]\] \| The item ID. \|- \| \[\[Data
12
-Types\#Standard data types\|Short\]\] \| The frame ID. \|- \| \[\[Data
13
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
14
-Types\|Special A\]\] \| The slot ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Drop item |
8
+| Description | Sent when a player wants to drop an item onto the ground. |
9
+| Opcode | 87 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item ID. |
18
+| [Short](/Data-Types.html#common-data-types) | The frame ID. |
19
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The slot ID. |

+ 11
- 7
src/317/317-Enter-name.md View File

@@ -1,8 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Enter
2
-name\|description=Opens up the name entry interface.
3
-\|opcode=187\|type=Fixed\|length=0\|revision=317}} == Enter name ==
1
+# Enter name
2
+Sending the packet to the client will make the client open up the "Enter name" interface for things such as friend-adding.
4 3
 
5
-=== Description ===
6
-
7
-Sending the packet to the client will make the client open up the "Enter
8
-name" interface for things such as friend-adding.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Enter name |
8
+| Description | Opens up the name entry interface. |
9
+| Opcode | 187 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 16
- 14
src/317/317-Equip-item.md View File

@@ -1,17 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Equip
2
-item\|description=Sent when a player equips an
3
-item.\|opcode=41\|type=Fixed\|length=6\|revision=317}} == Equip Item ==
4
-
5
-=== Description ===
6
-
1
+# Equip Item
7 2
 This is sent when a player equips an item in-game.
8 3
 
9
-=== Packet Structure ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Equip item |
8
+| Description | Sent when a player equips an item. |
9
+| Opcode | 41 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
10 13
 
11
-{\| border=2 ! Data type ! Description \|- \| Unsigned \[\[Data
12
-Types\#Standard data types\|Short\]\] \| The ID of the item. \|- \|
13
-Unsigned \[\[Data Types\#Standard data types\|Short\]\] \[\[Data
14
-Types\#Non Standard Data Types\|Special A\]\] \| The slot of the item.
15
-\|- \| Unsigned \[\[Data Types\#Standard data types\|Short\]\] \[\[Data
16
-Types\#Non Standard Data Types\|Special A\]\] \| The ID of the
17
-interface. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| Unsigned [Short](/Data-Types.html#common-data-types) | The ID of the item. |
18
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The slot of the item. |
19
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The ID of the interface. |

+ 32
- 17
src/317/317-Flash-sidebar.md View File

@@ -1,20 +1,35 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Flash
2
-sidebar\|description=Causes a sidebar icon to start
3
-flashing.\|opcode=24\|type=Fixed\|length=1\|revision=317}} == Flash
4
-sidebar ==
5
-
6
-=== Description ===
7
-
1
+# Flash sidebar
8 2
 This packet causes a sidebar icon to start flashing.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Byte\]\] \[\[Data Types\#Non
12
-Standard data types\|Special S\]\] \| The sidebar ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Flash sidebar |
8
+| Description | Causes a sidebar icon to start flashing. |
9
+| Opcode | 24 |
10
+| Type | Fixed |
11
+| Length | 1 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) [Special S](/Data-Types.html#bespoke-data-types) | The sidebar ID. |
13 18
 
14
-==== Values ==== The below are the different values for this packet. {\|
15
-border=2 ! Value ! Icon \|- \| 0 \|\| Attack type \|- \| -1 \|\| Stats
16
-\|- \| -2 \|\| Quests \|- \| -3 \|\| Inventory \|- \| -4 \|\| Wearing
17
-\|- \| -5 \|\| Prayer \|- \| -6 \|\| Magic \|- \| -7 \|\| '''EMPTY'''
18
-\|- \| -8 \|\| Friends list \|- \| -9 \|\| Ignore list \|- \| -10 \|\|
19
-Log out \|- \| -11 \|\| Settings \|- \| -12 \|\| Emotes \|- \| -13 \|\|
20
-Music \|- \|}
19
+## Values
20
+| Sidebar ID | Icon |
21
+|--|--|
22
+| 0 | Attack type |
23
+| -1 | Stats |
24
+| -2 | Quests |
25
+| -3 | Inventory |
26
+| -4 | Wearing |
27
+| -5 | Prayer |
28
+| -6 | Magic |
29
+| -7 | *EMPTY* |
30
+| -8 | Friends list |
31
+| -9 | Ignore list |
32
+| -10 | Log out |
33
+| -11 | Settings |
34
+| -12 | Emotes |
35
+| -13 | Music |

+ 15
- 12
src/317/317-Focus-change.md View File

@@ -1,14 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Focus
2
-change\|description=Sent when the game client window goes in and out of
3
-focus.\|opcode=3\|type=Fixed\|length=1\|revision=317}} == Focus Change
4
-==
1
+# Focus Change
2
+This packet is sent when the game client window goes in and out of focus. The payload consists of one byte that is either 1 or 0; 1 if the client is in focus and 0 if not.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Focus change |
8
+| Description | Sent when the game client window goes in and out of focus. |
9
+| Opcode | 3 |
10
+| Type | Fixed |
11
+| Length | 1 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when the game client window goes in and out of
9
-focus. The payload consists of one byte that is either 1 or 0; 1 if the
10
-client is in focus and 0 if not.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Standard data types\|Byte\]\] \| Whether or not the
14
-client is in focus. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | Whether or not the client is in focus. |

+ 15
- 11
src/317/317-Follow.md View File

@@ -1,13 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Follow\|description=Sent when a player clicks the follow
3
-option on another
4
-player\|opcode=39\|type=Fixed\|length=2\|revision=317}} == Follow ==
1
+# Follow
2
+This packet is sent when a player clicks the follow option on another player.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Follow |
8
+| Description | Sent when a player clicks the follow option on another player |
9
+| Opcode | 39 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when a player clicks the follow option on another
9
-player.
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-Unsigned \[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
13
-Types\#Standard data types\|Short\]\] \| The other players ID. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| Unsigned [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The other players ID. |

+ 18
- 18
src/317/317-Force-client-setting.md View File

@@ -1,22 +1,22 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Force
2
-client setting\|description=Forcefully alters a client setting value and
3
-default value to some supplied
4
-value.\|opcode=36\|type=Fixed\|length=3\|revision=317}} == Force Client
5
-Setting ==
1
+# Force Client Setting
2
+The client stores various user settings in an array, the default values are also stored in another array. This packet changes the default value for a setting and its current value to the one given.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Force client setting |
8
+| Description | Forcefully alters a client setting value and default value to some supplied value. |
9
+| Opcode | 36 |
10
+| Type | Fixed |
11
+| Length | 3 |
12
+| Revision | 317 |
8 13
 
9
-The client stores various user settings in an array, the default values
10
-are also stored in another array. This packet changes the default value
11
-for a setting and its current value to the one given.
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Little Endian](/Data-Types.html#little-endian) | Setting ID number. |
18
+| [Byte](/Data-Types.html#common-data-types) | New value (and default value) for the setting. |
12 19
 
13
-=== Packet Structure ===
14
-
15
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
16
-data types\|Short\]\] \[\[Data Types\#Byte Order\|Little Endian\]\] \|
17
-Setting ID number. \|- \| \[\[Data Types\#Standard data types\|Byte\]\]
18
-\| New value (and default value) for the setting. \|- \|}
19
-
20
-=== Other Information === Opcode 87 (length 6) is extremely similar in
21
-structure, but the new value is received as an Middle Endian Small Int.
20
+## Other Information
21
+Opcode 87 (length 6) is extremely similar in structure, but the new value is received as an Middle Endian Small Int.
22 22
 This suggests its for use with bigger setting values.

+ 14
- 13
src/317/317-Friends-list-status.md View File

@@ -1,16 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Friends list status\|description=Sends the friends list
3
-load status\|opcode=221\|type=Fixed\|length=1\|revision=317}} == Friends
4
-List Status ==
5
-
6
-=== Description ===
7
-
1
+# Friends List Status
8 2
 This packet sends the first list load status.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Byte\]\] \| The status of the
12
-friends list. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Friends list status |
8
+| Description | Sends the friends list load status |
9
+| Opcode | 221 |
10
+| Type | Fixed |
11
+| Length | 1 |
12
+| Revision | 317 |
13 13
 
14
-==== Values ==== The below are the different values for this packet. {\|
15
-border=2 ! Value ! Response \|- \| 0 \| Loading \|- \| 1 \| Connecting
16
-\|- \| 2 \| Loaded \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | The status of the friends list. |

+ 8
- 12
src/317/317-Ground-Item-Action.md View File

@@ -1,13 +1,9 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] == Ground Item
2
-Action ==
1
+# Ground Item Action
2
+This packet is sent when a player clicks the first option on a ground item.
3 3
 
4
-=== Description ===
5
-
6
-This packet is sent when a player clicks the first option on a ground
7
-item. === Packet Structure === {\|border=2 ! Data Type ! Description \|-
8
-\| \[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
9
-Types\#Standard data types\|Short\]\] \| The items X coordinate. \|- \|
10
-Additional \[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
11
-Types\#Standard data types\|Short\]\] \| The items Y coordinate. \|- \|
12
-Additional \[\[Data Types\#Standard data types\|Short\]\] \| The item
13
-ID. \|- \|}
4
+## Packet Structure
5
+| Data Type | Description |
6
+|--|--|
7
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The items X coordinate. |
8
+| Additional [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The items Y coordinate. |
9
+| Additional [Short](/Data-Types.html#common-data-types) | The item ID. |

+ 16
- 13
src/317/317-Hidden-Interface.md View File

@@ -1,15 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Hidden interface\|description=Sets an interface to be
3
-hidden until hovered
4
-over.\|opcode=171\|type=Fixed\|length=3\|revision=317}}
5
-
6
-== Hidden Interface ==
7
-
8
-=== Description ===
9
-
1
+# Hidden Interface
10 2
 Sets an interface to be hidden until hovered over.
11 3
 
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Standard data types\|Byte\]\] \| Hidden until hovered
14
-\|- \| \[\[Data Types\#Standard data types\|Short\]\] \| Interface Id
15
-\|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Hidden interface |
8
+| Description | Sets an interface to be hidden until hovered over. |
9
+| Opcode | 171 |
10
+| Type | Fixed |
11
+| Length | 3 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | Hidden until hovered |
18
+| [Short](/Data-Types.html#common-data-types) | Interface Id |

+ 11
- 9
src/317/317-Idle-logout.md View File

@@ -1,10 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Idle
2
-logout\|description=Sent when the player has become idle and should be
3
-logged out. \|opcode=202\|type=Fixed\|length=0\|revision=317}} == Idle
4
-logout ==
1
+# Idle logout
2
+This is sent when the player becomes idle and should be logged out. This is sent after the player is idle for 60 seconds, after that it is sent every 10 seconds as long as the player is idle.
5 3
 
6
-=== Description ===
7
-
8
-This is sent when the player becomes idle and should be logged out. This
9
-is sent after the player is idle for 60 seconds, after that it is sent
10
-every 10 seconds as long as the player is idle.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Idle logout |
8
+| Description | Sent when the player has become idle and should be logged out. |
9
+| Opcode | 202 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 11
- 7
src/317/317-Idle.md View File

@@ -1,8 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Idle\|description=Idle
3
-packet..\|opcode=0\|type=Fixed\|length=0\|revision=317}} == Idle ==
1
+# Idle
2
+Sent when the player is idle for the current cycle, and acts as a "ping" packet.
4 3
 
5
-=== Description ===
6
-
7
-Sent when the player is idle for the current cycle, and acts as a "ping"
8
-packet.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Idle |
8
+| Description | Idle packet.. |
9
+| Opcode | 0 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 15
- 15
src/317/317-Initialize-player.md View File

@@ -1,18 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Initialize player\|description=Sends the player's
3
-membership status and their current index on the server's player
4
-list.\|opcode=249\|type=Fixed\|length=3\|revision=317}} == Initialize
5
-Player ==
6
-
7
-=== Description ===
8
-
1
+# Initialize Player
9 2
 Sends the player membership flag and player list index.
10 3
 
11
-=== Packet Structure ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Initialize player |
8
+| Description | Sends the player's membership status and their current index on the server's player list. |
9
+| Opcode | 249 |
10
+| Type | Fixed |
11
+| Length | 3 |
12
+| Revision | 317 |
12 13
 
13
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
14
-data types\|Byte\]\] \[\[Data Types\#Non Standard Data Types\|Special
15
-A\]\] \| Membership flag (1 = member, 0 = free). \|- \| \[\[Data
16
-Types\#Little Endian\|Little Endian\]\] \[\[Data Types\#Standard data
17
-types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special A\]\]
18
-\| Player list index. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | Membership flag (1 = member, 0 = free). |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | Player list index. |

+ 11
- 7
src/317/317-Input-amount.md View File

@@ -1,8 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Input
2
-amount\|description=Opens up the amount input interface.
3
-\|opcode=27\|type=Fixed\|length=0\|revision=317}} == Input amount ==
1
+# Input amount
2
+Sending the packet to the client will make the client open up the "Input amount" interface over the chatbox for things such as Buy X and Bank X.
4 3
 
5
-=== Description ===
6
-
7
-Sending the packet to the client will make the client open up the "Input
8
-amount" interface over the chatbox for things such as Buy X and Bank X.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Input amount |
8
+| Description | Opens up the amount input interface. |
9
+| Opcode | 27 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 16
- 11
src/317/317-Interface-animation.md View File

@@ -1,13 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Interface animation\|description=Sets an interface's
3
-model animation\|opcode=200\|type=Fixed\|length=4\|revision=317}} ==
4
-Interface animation ==
5
-
6
-=== Description ===
7
-
1
+# Interface animation
8 2
 Sets an interface's model animation.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Short\]\] \| The interface ID \|-
12
-\| \[\[Data Types\#Standard data types\|Short\]\] \| The animation ID
13
-\|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Interface animation |
8
+| Description | Sets an interface's model animation |
9
+| Opcode | 200 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The interface ID |
18
+| [Short](/Data-Types.html#common-data-types) | The animation ID |

+ 23
- 19
src/317/317-Interface-color.md View File

@@ -1,23 +1,27 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Interface color\|description=This packet changes the
3
-color of an interface that is
4
-text.\|opcode=122\|type=Fixed\|length=4\|revision=317}} == Interface
5
-Color ==
6
-
7
-=== Description ===
8
-
1
+# Interface Color
9 2
 This packet changes the color of an interface that is text.
10 3
 
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
13
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
14
-Types\|Special A\]\] \| The interface ID. \|- \| \[\[Data Types\#Little
15
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
16
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The color. \|-
17
-\|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Interface color |
8
+| Description | This packet changes the color of an interface that is text. |
9
+| Opcode | 122 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The interface ID. |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The color. |
18 19
 
19
-=== Information === You use this packet to change the color of text in
20
-an interface.
20
+##  Information
21
+You use this packet to change the color of text in an interface.
21 22
 
22
-{\|border=2 ! Color ! Code \|- \| Green \| 0x3366 \|- \| Yellow \|
23
-0x33FF66 \|- \| Red \| 0x6000 \|- \|}
23
+| Color | Code |
24
+|--|--|
25
+| Green | 0x3366 |
26
+| Yellow | 0x33FF66 |
27
+| Red | 0x6000 |

+ 16
- 13
src/317/317-Interface-item.md View File

@@ -1,16 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Interface item\|description=Displays an item model inside
3
-an interface.\|opcode=246\|type=Fixed\|length=6\|revision=317}} ==
4
-Interface Item ==
5
-
6
-=== Description ===
7
-
1
+# Interface Item
8 2
 Displays an item model inside an interface.
9 3
 
10
-=== Packet Structure ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Interface item |
8
+| Description | Displays an item model inside an interface. |
9
+| Opcode | 246 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
11 13
 
12
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Little
13
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
14
-\|\| Interface ID. \|- \| \[\[Data Types\#Standard data types\|Short\]\]
15
-\|\| The item's model zoom. \|- \| \[\[Data Types\#Standard data
16
-types\|Short\]\] \|\| The item ID. \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | Interface ID. |
18
+| [Short](/Data-Types.html#common-data-types) | The item's model zoom. |
19
+| [Short](/Data-Types.html#common-data-types) | The item ID. |

+ 18
- 16
src/317/317-Interface-model-rotation.md View File

@@ -1,18 +1,20 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Interface model rotation\|description=Changes the zoom
3
-and rotation of the interface id's media
4
-given.\|opcode=230\|type=Fixed\|length=8\|revision=317}} == Interface
5
-Color ==
6
-
7
-=== Description ===
8
-
1
+# Interface Color
9 2
 Changes the zoom and rotation of the interface id's media given.
10 3
 
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Standard data types\|Word\]\] \[\[Data Types\#Non
13
-Standard Data Types\|Special A\]\] \| The zoom. \|- \| \[\[Data
14
-Types\#Standard data types\|Word\]\] \| The interface id. \|- \|
15
-\[\[Data Types\#Standard data types\|Word\]\] \| The rotation1. \|- \|
16
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
17
-Types\#Standard data types\|Word\]\] \[\[Data Types\#Non Standard data
18
-types\|Special A\]\] \| The rotation2. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Interface model rotation |
8
+| Description | Changes the zoom and rotation of the interface id's media given. |
9
+| Opcode | 230 |
10
+| Type | Fixed |
11
+| Length | 8 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The zoom. |
18
+| [Short](/Data-Types.html#common-data-types) | The interface id. |
19
+| [Short](/Data-Types.html#common-data-types) | The rotation1. |
20
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The rotation2. |

+ 17
- 13
src/317/317-Interface-offset.md View File

@@ -1,15 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Interface offset\|description=Sets the offset for drawing
3
-of an interface\|opcode=70\|type=Fixed\|length=6\|revision=317}} ==
4
-Interface offset ==
5
-
6
-=== Description ===
7
-
1
+# Interface offset
8 2
 Sets the offset for drawing of an interface.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Short\]\] \| The X offset \|- \|
12
-\[\[Data Types\#Byte Order\|Little Endian\]\] \[\[Data Types\#Standard
13
-data types\|Short\]\] \| The Y offset \|- \| \[\[Data Types\#Byte
14
-Order\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
15
-\| The interface ID \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Interface offset |
8
+| Description | Sets the offset for drawing of an interface |
9
+| Opcode | 70 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The X offset |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The Y offset |
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The interface ID |

+ 15
- 10
src/317/317-Interface-over-tab.md View File

@@ -1,12 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Interface over tab\|description=Draws an interface over
3
-the tab area.\|opcode=106\|type=Fixed\|length=1\|revision=317}} == Open
4
-Welcome Screen ==
5
-
6
-=== Description ===
7
-
1
+# Open Welcome Screen
8 2
 This packet draws an interface over the tab area.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data type\|Byte\]\] \[\[Data Types\#Non
12
-Standard data types\|Special C\]\] \| Interface ID \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Interface over tab |
8
+| Description | Draws an interface over the tab area. |
9
+| Opcode | 106 |
10
+| Type | Fixed |
11
+| Length | 1 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) [Special C](/Data-Types.html#bespoke-data-types) | Interface ID |

+ 20
- 18
src/317/317-Inventory-overlay.md View File

@@ -1,22 +1,24 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Inventory Overlay\|description=Overlays an interface on
3
-the inventory\|opcode=248\|type=Fixed\|length=4\|revision=317}} == Child
4
-Frame ==
1
+# Child Frame
2
+This packet overlays an interface in the inventory area. This is used in trading and staking.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Inventory Overlay |
8
+| Description | Overlays an interface on the inventory |
9
+| Opcode | 248 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
7 13
 
8
-This packet overlays an interface in the inventory area. This is used in
9
-trading and staking.
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The interface to open. |
18
+| [Short](/Data-Types.html#common-data-types) | The interface to overlay the inventory area. |
10 19
 
11
-=== Example ===
20
+## Example
21
+`sendFrame248(3323, 3321);`
12 22
 
13
-<pre>sendFrame248(3323, 3321);</pre>
14
-That will set the open interface to interface 3323, which is the trade
15
-interface, with the inventory overlay interface as 3321, which is an
16
-inventory type interface with offer actions.
17
-
18
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
19
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
20
-Standard data types\|Special A\]\] \| The interface to open. \|- \|
21
-\[\[Data Types\#Standard data types\|Short\]\] \| The interface to
22
-overlay the inventory area. \|- \|}
23
+That will set the open interface to interface 3323, which is the trade interface.
24
+With the inventory overlay interface as 3321, which is an inventory type interface with offer actions.

+ 17
- 16
src/317/317-Item-action-1.md View File

@@ -1,18 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Item
2
-action 1\|description=Sent when the player clicks the first option of an
3
-item.\|opcode=122\|type=Fixed\|length=6\|revision=317}} == Item Action 1
4
-==
1
+# Item Action 1
2
+This packet is sent when a player clicks the first option of an item, such as "Bury" for bones or "Eat" for food.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Item action 1 |
8
+| Description | Sent when the player clicks the first option of an item. |
9
+| Opcode | 122 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when a player clicks the first option of an item,
9
-such as "Bury" for bones or "Eat" for food.
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
13
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
14
-Types\|Special A\]\] \| The frame ID. \|- \| \[\[Data Types\#Standard
15
-data types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special
16
-A\]\] \| The slot the item is in. \|- \| \[\[Data Types\#LITTLE
17
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
18
-\| The ID of the item. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The frame ID. |
18
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The slot the item is in. |
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The ID of the item. |

+ 20
- 21
src/317/317-Item-on-floor.md View File

@@ -1,23 +1,22 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Item
2
-on floor\|description=Sent when a player uses an item on another item
3
-thats on the floor.\|opcode=25\|type=Fixed\|length=10\|revision=317}} ==
4
-Item on Floor==
1
+# Description
2
+This packet is sent when a player uses an item on another item thats on the floor.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Item on floor |
8
+| Description | Sent when a player uses an item on another item thats on the floor. |
9
+| Opcode | 25 |
10
+| Type | Fixed |
11
+| Length | 10 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when a player uses an item on another item thats on
9
-the floor.
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
13
-Types\#Standard data types\|Short\]\] \| The interface ID. \|- \|
14
-Unsigned \[\[Data Types\#Standard data types\|Short\]\] \[\[Data
15
-Types\#Non Standard Data Types\|Special A\]\] \| The item being used ID.
16
-\|- \| \[\[Data Types\#Standard data types\|Short\]\] \| The floor items
17
-ID. \|- \| Unsigned \[\[Data Types\#Standard data types\|Short\]\]
18
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The Y
19
-coordinate of the item. \|- \| Unsigned \[\[Data Types\#Little
20
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
21
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The items slot
22
-ID. \|- \| \[\[Data Types\#Standard data types\|Short\]\] \| The X
23
-coordinate of the item. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The interface ID. |
18
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item being used ID. |
19
+| [Short](/Data-Types.html#common-data-types) | The floor items ID. |
20
+| Unsigned [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The Y coordinate of the item. |
21
+| Unsigned [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The items slot ID. |
22
+| [Short](/Data-Types.html#common-data-types) | The X coordinate of the item. |

+ 16
- 12
src/317/317-Item-on-item.md View File

@@ -1,14 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Item
2
-on item\|description=Sent when a player uses an item on another
3
-item.\|opcode=53\|type=Fixed\|length=4\|revision=317}} == Item on Item
4
-==
5
-
6
-=== Description ===
7
-
1
+# Item on Item
8 2
 This packet is sent when a player uses an item on another item.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Short\]\] \| The item being used
12
-on's slot. \|- \| \[\[Data Types\#Standard data types\|Short\]\]
13
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The item being
14
-used's slot. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Item on item |
8
+| Description | Sent when a player uses an item on another item. |
9
+| Opcode | 53 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The item being used on's slot. |
18
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item being used's slot. |

+ 20
- 20
src/317/317-Item-on-object.md View File

@@ -1,22 +1,22 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Item
2
-on object\|description=Sent when a player uses an item on an
3
-objet.\|opcode=192\|type=Fixed\|length=12\|revision=317}} == Item on
4
-Object ==
5
-
6
-=== Description ===
7
-
1
+# Item on Object
8 2
 This packet is sent when a player uses an item on object.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
12
-Standard Data Types\|Special A\]\] \| The frame ID. \|- \| \[\[Data
13
-Types\#Little Endian\|Little Endian\]\] \[\[Data Types\#Standard data
14
-types\|Short\]\] \| The object ID. \|- \| \[\[Data Types\#Big
15
-Endian\|Big Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
16
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The objects Y
17
-coordinate. \|- \| \[\[Data Types\#Big Endian\|Big Endian\]\] \[\[Data
18
-Types\#Standard data types\|Short\]\] \| The items slot ID. \|- \|
19
-\[\[Data Types\#Big Endian\|Big Endian\]\] \[\[Data Types\#Standard data
20
-types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special A\]\]
21
-\| The objects X coordinate. \|- \| \[\[Data Types\#Standard data
22
-types\|Short\]\] \| The item ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Item on object |
8
+| Description | Sent when a player uses an item on an objet. |
9
+| Opcode | 192 |
10
+| Type | Fixed |
11
+| Length | 12 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The frame ID. |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The object ID. |
19
+| [Big Endian](/Data-Types.html#big-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects Y coordinate. |
20
+| [Big Endian](/Data-Types.html#big-endian) [Short](/Data-Types.html#common-data-types) | The items slot ID. |
21
+| [Big Endian](/Data-Types.html#big-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects X coordinate. |
22
+| [Short](/Data-Types.html#common-data-types) | The item ID. |

+ 18
- 14
src/317/317-Item-on-player.md View File

@@ -1,16 +1,20 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Item
2
-on player\|description=Sent when a player uses an item on another
3
-player.\|opcode=14\|type=Fixed\|length=8\|revision=317}} == Item on
4
-Player ==
5
-
6
-=== Description ===
7
-
1
+# Item on Player
8 2
 This packet is sent when a player uses an item on another player.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
12
-Standard Data Types\|Special A\]\] \| The frame ID. \|- \| \[\[Data
13
-Types\#Standard data types\|Short\]\] \| The other players ID. \|- \|
14
-\[\[Data Types\#Standard data types\|Short\]\] \| The item ID. \|- \|
15
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
16
-Types\#Standard data types\|Short\]\] \| The items slot ID. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Item on player |
8
+| Description | Sent when a player uses an item on another player. |
9
+| Opcode | 14 |
10
+| Type | Fixed |
11
+| Length | 8 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The frame ID. |
18
+| [Short](/Data-Types.html#common-data-types) | The other players ID. |
19
+| [Short](/Data-Types.html#common-data-types) | The item ID. |
20
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The items slot ID. |

+ 17
- 12
src/317/317-Light-item.md View File

@@ -1,14 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Light
2
-item\|description=Sent when a player attempts to light logs on
3
-fire.\|opcode=79\|type=Fixed\|length=6\|revision=317}} == Light Item ==
4
-
5
-=== Description ===
6
-
1
+# Light Item
7 2
 This packet is sent when a player attempts to light logs on fire.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-\[\[Data Types\#Standard data types\|Short\]\] \| The items Y
11
-coordinate. \|- \| Unsigned \[\[Data Types\#Standard data
12
-types\|Short\]\] \| The item ID. \|- \| \[\[Data Types\#Little
13
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
14
-\| The items X coordinate. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Light item |
8
+| Description | Sent when a player attempts to light logs on fire. |
9
+| Opcode | 79 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The items Y coordinate. |
18
+| Unsigned [Short](/Data-Types.html#common-data-types) | The item ID. |
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The items X coordinate. |

+ 23
- 19
src/317/317-Load-map-region.md View File

@@ -1,23 +1,27 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Load
2
-map region\|description=Makes the client load the specified map
3
-region.\|opcode=73\|type=Fixed\|length=4\|revision=317}} == Load Map
4
-Region ==
5
-
6
-=== Description ===
7
-
1
+# Load Map Region
8 2
 Makes the client load the specified map region.
9 3
 
10
-=== Packet Structure ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Load map region |
8
+| Description | Makes the client load the specified map region. |
9
+| Opcode | 73 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | Region X coordinate (absolute X / 8) plus 6. |
18
+| [Short](/Data-Types.html#common-data-types) | Region Y coordinate (absolute Y / 8) plus 6. |
11 19
 
12
-{\| border=2 ! Data type ! Description \|- \| \[\[Data Types\#Standard
13
-data types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special
14
-A\]\] \| Region X coordinate (absolute X / 8) plus 6. \|- \| \[\[Data
15
-Types\#Standard data types\|Short\]\] \| Region Y coordinate (absolute Y
16
-/ 8) plus 6. \|- \|}
20
+## Other Information
21
+There are various loops/arrays within the map  region loading functionality of the client which have been misunderstood by many.
17 22
 
18
-=== Other Information === There are various loops/arrays within the map
19
-region loading functionality of the client which have been misunderstood
20
-by many. {\| border=2 ! Loop type ! Description \|- \| 104 x 104 \|
21
-Maximum size of the client's load area \|- \| 8 x 8 \| Load blocks to
22
-speed up loading NPCs, Items and Objects \|- \| 13 x 13 \| Number of
23
-load blocks to load \|- \|}
23
+| Loop type | Description |
24
+|--|--|
25
+| 104 x 104 | Maximum size of the client's load area |
26
+| 8 x 8 | Load blocks to speed up loading NPCs, Items and Objects |
27
+| 13 x 13 | Number of load blocks to load |

+ 11
- 8
src/317/317-Loading-finished.md View File

@@ -1,9 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Loading finished\|description=Sent when the player is
3
-finished loading a map
4
-region\|opcode=121\|type=Fixed\|length=0\|revision=317}} == Loading
5
-Finished ==
6
-
7
-=== Description ===
8
-
1
+# Loading Finished
9 2
 This packet is sent when a player is finished loading a new map region.
3
+
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Loading finished |
8
+| Description | Sent when the player is finished loading a map region |
9
+| Opcode | 121 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 11
- 7
src/317/317-Logout.md View File

@@ -1,8 +1,12 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Logout\|description=Forces the client to
3
-logout.\|opcode=109\|type=Fixed\|length=0\|revision=317}} == Logout ==
1
+# Logout
2
+Forces the client to logout cleanly and return to the login screen, without attempting a reconnection.
4 3
 
5
-=== Description ===
6
-
7
-Forces the client to logout cleanly and return to the login screen,
8
-without attempting a reconnection.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Logout |
8
+| Description | Forces the client to logout. |
9
+| Opcode | 109 |
10
+| Type | Fixed |
11
+| Length | 0 |
12
+| Revision | 317 |

+ 17
- 9
src/317/317-Mage-NPC.md View File

@@ -1,10 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Mage
2
-NPC\|description=Sent when a player attempts to use a magic attack on an
3
-NPC.\|opcode=131\|type=Fixed\|length=4\|revision=317}} == Mage NPC ==
1
+# Mage NPC
2
+Sent when a player attempts to use a magic attack on an NPC.
4 3
 
5
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
6
-\[\[Data Types\#Non Standard Data Types\|Little Endian\]\] \[\[Data
7
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
8
-Types\|Special A\]\] \| ? \|- \| \[\[Data Types\#Standard data
9
-types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special A\]\]
10
-\| ? \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Mage NPC |
8
+| Description | Sent when a player attempts to use a magic attack on an NPC. |
9
+| Opcode | 131 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | ? |
18
+| [Little Endian](/Data-Types.html#little-endian) [Special A](/Data-Types.html#bespoke-data-types) | ? |

+ 18
- 15
src/317/317-Magic-on-items.md View File

@@ -1,17 +1,20 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Magic
2
-on items\|description=Sent when a player casts magic on the items in
3
-their inventory.\|opcode=237\|type=Fixed\|length=8\|revision=317}} ==
4
-Magic on Items ==
1
+# Magic on Items
2
+This packet is sent when a player casts magic (i.e. High Level Alchemy) on the items in their inventory.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Magic on items |
8
+| Description | Sent when a player casts magic on the items in their inventory. |
9
+| Opcode | 237 |
10
+| Type | Fixed |
11
+| Length | 8 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when a player casts magic (i.e. High Level Alchemy)
9
-on the items in their inventory.
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Standard data types\|Short\]\] \| The items slot ID. \|-
13
-\| \[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
14
-Standard Data Types\|Special A\]\] \| The item ID. \|- \| \[\[Data
15
-Types\#Standard data types\|Short\]\] \| The frame ID. \|- \| \[\[Data
16
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
17
-Types\|Special A\]\] \| The spell ID. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The items slot ID. |
18
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The item ID. |
19
+| [Short](/Data-Types.html#common-data-types) | The frame ID. |
20
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The spell ID. |

+ 16
- 11
src/317/317-Magic-on-player.md View File

@@ -1,13 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
1
+# Magic on Player
2
+This packet is sent when the player attempts to cast magic onto another.
2 3
 
3
-{{packet\|name=Magic on player\|description=This packet is send when a
4
-player attempts to cast magic on
5
-another\|opcode=249\|type=Fixed\|length=4\|revision=317}} == Magic on
6
-Player == === Description === This packet is sent when the player
7
-attempts to cast magic onto another.
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Magic on player |
8
+| Description | This packet is send when a player attempts to cast magic on another |
9
+| Opcode | 249 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
8 13
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-\[\[Data Types\#Standard data types\|Short\]\] \[\[Data Types\#Non
11
-Standard Data Types\|Special A\]\] \| The player index. \|- \| \[\[Data
12
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Byte
13
-Order\|Little\]\] \| The spell ID. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The player index. |
18
+| [Short](/Data-Types.html#common-data-types) [Little Endian](/Data-Types.html#little-endian) | The spell ID. |

+ 21
- 12
src/317/317-Minimap-State.md View File

@@ -1,15 +1,24 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Minimap State\|description=Sets the state of the clients
3
-minimap.\|opcode=99\|type=Fixed\|length=1\|revision=317}} == Minimap
4
-State ==
1
+# Minimap State
2
+This packet sets the Minimaps state, possible values are shown below.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Minimap State |
8
+| Description | Sets the state of the clients minimap. |
9
+| Opcode | 99 |
10
+| Type | Fixed |
11
+| Length | 1 |
12
+| Revision | 317 |
7 13
 
8
-This packet sets the Minimaps state
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Byte](/Data-Types.html#common-data-types) | The state. |
9 18
 
10
-'''States:''' \* 0 - '''Active''': Clickable and viewable \* 1
11
--'''Locked''': viewable but not clickable \* 2 -'''Blacked-out''':
12
-Minimap is replaced with black background
13
-
14
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
15
-\[\[Data Types\#byte\|byte\]\] \| The state. \|- \|}
19
+## Values
20
+| State | Description |
21
+|--|--|
22
+| 0 | **Active**: Clickable and viewable |
23
+| 1 | **Locked**: viewable but not clickable |
24
+| 2 | **Blacked-out**: Minimap is replaced with black background |

+ 1
- 4
src/317/317-Mouse-click.md View File

@@ -1,5 +1,2 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] == Mouse click ==
2
-
3
-=== Description ===
4
-
1
+# Mouse click
5 2
 This packet is sent when a player clicks somewhere on the game screen.

+ 18
- 17
src/317/317-Move-item.md View File

@@ -1,19 +1,20 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=Move
2
-item\|description=Sent when the player moves an item from one slot to
3
-another.\|opcode=214\|type=Fixed\|length=7\|revision=317}} == Move Item
4
-==
1
+# Move Item
2
+This packet is sent when a player moves an item from one slot to another.
5 3
 
6
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Move item |
8
+| Description | Sent when the player moves an item from one slot to another. |
9
+| Opcode | 214 |
10
+| Type | Fixed |
11
+| Length | 7 |
12
+| Revision | 317 |
7 13
 
8
-This packet is sent when a player moves an item from one slot to
9
-another.
10
-
11
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
12
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
13
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
14
-Types\|Special A\]\] \| The frame ID. \|- \| \[\[Data Types\#Standard
15
-data types\|Byte\]\] \| Insert mode. \|- \| \[\[Data Types\#Little
16
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
17
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| Starting slot.
18
-\|- \| \[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
19
-Types\#Standard data types\|Short\]\] \| New slot. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The frame ID. |
18
+| [Byte](/Data-Types.html#common-data-types) | Insert mode. |
19
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | Starting slot. |
20
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | New slot. |

+ 17
- 10
src/317/317-Music.md View File

@@ -1,12 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Audio\|description=Sets the audio to
3
-play.\|opcode=174\|type=Fixed\|length=N/A\|revision=317}} == Audio ==
4
-
5
-=== Description ===
6
-
1
+# Audio
7 2
 Sets what audio to play at a certain moment.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-\[\[Data Types\#Word\|Word\]\] \| The sound id. \|- \| \[\[Data
11
-Types\#Byte\|Byte\]\] \| The volume. \|- \| \[\[Data
12
-Types\#Word\|Word\]\] \| The delay. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Audio |
8
+| Description | Sets the audio to play. |
9
+| Opcode | 174 |
10
+| Type | Fixed |
11
+| Length | N/A |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Short](/Data-Types.html#common-data-types) | The sound id. |
18
+| [Byte](/Data-Types.html#common-data-types) | The volume. |
19
+| [Short](/Data-Types.html#common-data-types) | The delay. |

+ 2
- 6
src/317/317-NPC-Dialogue.md View File

@@ -1,6 +1,2 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] == NPC Dialogue ==
2
-
3
-=== Description ===
4
-
5
-This packet is what handles when the player hits the "Click here to
6
-continue".
1
+# NPC Dialogue
2
+This packet is what handles when the player hits the "Click here to continue".

+ 15
- 10
src/317/317-NPC-action-1.md View File

@@ -1,12 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=NPC
2
-action 1\|description=Sent when a player clicks the first option of an
3
-NPC.\|opcode=155\|type=Fixed\|length=2\|revision=317}} == NPC Action 1
4
-==
5
-
6
-=== Description ===
7
-
1
+# NPC Action 1
8 2
 This packet is sent when a player clicks the first option of an NPC.
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
12
-Types\#Standard data types\|Short\]\] \| The NPC index. \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | NPC action 1 |
8
+| Description | Sent when a player clicks the first option of an NPC. |
9
+| Opcode | 155 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The NPC index. |

+ 15
- 10
src/317/317-NPC-action-2.md View File

@@ -1,12 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=NPC
2
-action 2\|description=Sent when a player clicks the second action of an
3
-NPC.\|opcode=17\|type=Fixed\|length=2\|revision=317}} == NPC Action 2 ==
4
-
5
-=== Description ===
6
-
1
+# NPC Action 2
7 2
 This packet is sent when a player clicks the second action of an NPC.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
11
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
12
-Types\|Special A\]\] \| The NPC index. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | NPC action 2 |
8
+| Description | Sent when a player clicks the second action of an NPC. |
9
+| Opcode | 17 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The NPC index. |

+ 15
- 10
src/317/317-NPC-action-3.md View File

@@ -1,12 +1,17 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=NPC
2
-action 3\|description=Sent when a player clicks the third option of an
3
-NPC.\|opcode=21\|type=Fixed\|length=2\|revision=317}} == NPC Action 3 ==
4
-
5
-=== Description ===
6
-
1
+# NPC Action 3
7 2
 This packet is sent when a player clicks the third option of an NPC.
8 3
 
9
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
10
-Unsigned \[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
11
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
12
-Types\|Special A\]\] \| The NPC index. \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | NPC action 3 |
8
+| Description | Sent when a player clicks the third option of an NPC. |
9
+| Opcode | 21 |
10
+| Type | Fixed |
11
+| Length | 2 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| Unsigned [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The NPC index. |

+ 16
- 14
src/317/317-NPC-head-on-interface.md View File

@@ -1,16 +1,18 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\] {{packet\|name=NPC
2
-head on interface\|description=Places the head of an NPC on an
3
-interface\|opcode=75\|type=Fixed\|length=4\|revision=317}} == NPC head
4
-on interface ==
5
-
6
-=== Description ===
7
-
1
+# NPC head on interface
8 2
 Places the head of an NPC on an interface
9 3
 
10
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
11
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
12
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
13
-Types\|Special A\]\] \| The NPC ID \|- \| \[\[Data Types\#Little
14
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
15
-\[\[Data Types\#Non Standard Data Types\|Special A\]\] \| The 'slot' ID
16
-for where you wish to place the head \|- \|}
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | NPC head on interface |
8
+| Description | Places the head of an NPC on an interface |
9
+| Opcode | 75 |
10
+| Type | Fixed |
11
+| Length | 4 |
12
+| Revision | 317 |
13
+
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The NPC ID |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The 'slot' ID for where you wish to place the head |

+ 17
- 16
src/317/317-Object-action-1.md View File

@@ -1,18 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Object action 1\|description=Sent when the player clicks
3
-the first option of an
4
-object.\|opcode=132\|type=Fixed\|length=6\|revision=317}} == Object
5
-Action 1 ==
1
+# Object Action 1
2
+This packet is sent when a player clicks the first option of an object, such as "Cut" for trees or "Mine" for rocks.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Object action 1 |
8
+| Description | Sent when the player clicks the first option of an object. |
9
+| Opcode | 132 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
8 13
 
9
-This packet is sent when a player clicks the first option of an object,
10
-such as "Cut" for trees or "Mine" for rocks.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
14
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
15
-Types\|Special A\]\] \| The objects X coordinate. \|- \| \[\[Data
16
-Types\#Standard data types\|Short\]\] \| The objects ID. \|- \| \[\[Data
17
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
18
-Types\|Special A\]\] \| The objects Y coordinate. \|- \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects X coordinate. |
18
+| [Short](/Data-Types.html#common-data-types) | The objects ID. |
19
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects Y coordinate. |

+ 17
- 17
src/317/317-Object-action-2.md View File

@@ -1,19 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Object action 2\|description=Sent when the player clicks
3
-the second option available for an an
4
-object.\|opcode=252\|type=Fixed\|length=6\|revision=317}} == Object
5
-action 2 ==
1
+# Object action 2
2
+This packet is sent when a player clicks the second option available of an object, such as "Prospect" for rocks.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Object action 2 |
8
+| Description | Sent when the player clicks the second option available for an an object. |
9
+| Opcode | 252 |
10
+| Type | Fixed |
11
+| Length | 6 |
12
+| Revision | 317 |
8 13
 
9
-This packet is sent when a player clicks the second option available of
10
-an object, such as "Prospect" for rocks.
11
-
12
-=== Packet Structure === {\|border=2 ! Data Type ! Description \|- \|
13
-\[\[Data Types\#Little Endian\|Little Endian\]\] \[\[Data
14
-Types\#Standard data types\|Short\]\] \[\[Data Types\#Non Standard Data
15
-Types\|Special A\]\] \| The objects ID. \|- \| \[\[Data Types\#Little
16
-Endian\|Little Endian\]\] \[\[Data Types\#Standard data types\|Short\]\]
17
-\| The objects Y coordinate. \|- \| \[\[Data Types\#Standard data
18
-types\|Short\]\] \[\[Data Types\#Non Standard Data Types\|Special A\]\]
19
-\| The objects X coordinate. \|}
14
+## Packet Structure
15
+| Data Type | Description |
16
+|--|--|
17
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects ID. |
18
+| [Little Endian](/Data-Types.html#little-endian) [Short](/Data-Types.html#common-data-types) | The objects Y coordinate. |
19
+| [Short](/Data-Types.html#common-data-types) [Special A](/Data-Types.html#bespoke-data-types) | The objects X coordinate. |

+ 17
- 16
src/317/317-Object-action-3.md View File

@@ -1,18 +1,19 @@
1
-\[\[Category Packet\]\] \[\[Category Packet 317\]\]
2
-{{packet\|name=Object action 3\|description=Sent when a player clicks
3
-the third action available for an
4
-object.\|opcode=70\|type=Fixed\|length=6\|revision=317}} == Object
5
-Action 3 ==
1
+# Object Action 3
2
+This packet is sent when a player clicks the third action available for an object.
6 3
 
7
-=== Description ===
4
+## Packet Details
5
+| Key | Value |
6
+|--|--|
7
+| Name | Object action 3 |
8
+| Description | Sent when a player clicks the third action available for an object. |