From 91ba9fba88bb9af4c9998da664842165b12c8ed6 Mon Sep 17 00:00:00 2001 From: Kamron Batman <3953314+kamronbatman@users.noreply.github.com> Date: Thu, 1 Jan 2026 16:40:39 -0800 Subject: [PATCH] docs: Expand packet documentation with variants, sub-commands, and fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Mahjong packets (0xDA) with 18 sub-commands (6 outgoing, 12 incoming) - Add Bulletin Board incoming packets (0x71) with 4 sub-commands - Add Corpse Equipment packet (0x89) - Convert 0x6F Secure Trade to variants (Cancel, Toggle Accept, Update Gold) - Convert 0xB8 Profile Request to variants (Display, Edit) - Convert 0xAD Unicode Speech to variants with encoded keyword documentation - Move 0xD7 base packet from player.json to encoded.json for consistency - Fix dropdown arrow positioning in HTML template - Fix packet sorting for embedded subIds (0xBF/0x22 format) - Add reflexive relationships between related packets - Update 0x3C container content with corpse usage notes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Distribution/Data/packets.html | 44 +- .../Data/packets/incoming/bulletinboard.json | 250 +++++ .../Data/packets/incoming/encoded.json | 142 +++ .../Data/packets/incoming/mahjong.json | 879 +++++++++++++++++- Distribution/Data/packets/incoming/map.json | 24 +- .../Data/packets/incoming/message.json | 251 +++-- .../Data/packets/incoming/mobile.json | 242 ++--- .../Data/packets/incoming/player.json | 150 +-- .../Data/packets/incoming/securetrade.json | 144 +++ .../Data/packets/outgoing/account.json | 12 +- .../Data/packets/outgoing/container.json | 8 +- .../Data/packets/outgoing/corpse.json | 76 ++ .../Data/packets/outgoing/entity.json | 8 +- Distribution/Data/packets/outgoing/gump.json | 8 +- .../Data/packets/outgoing/mahjong.json | 187 +++- Distribution/Data/packets/outgoing/map.json | 33 +- .../Data/packets/outgoing/message.json | 7 + .../Data/packets/outgoing/mobile.json | 16 +- .../Data/packets/outgoing/movement.json | 4 +- .../Data/packets/outgoing/player.json | 14 + .../Data/packets/outgoing/securetrade.json | 8 + Distribution/Data/web/packets.html | 46 +- 22 files changed, 2095 insertions(+), 458 deletions(-) create mode 100644 Distribution/Data/packets/incoming/bulletinboard.json create mode 100644 Distribution/Data/packets/incoming/securetrade.json create mode 100644 Distribution/Data/packets/outgoing/corpse.json diff --git a/Distribution/Data/packets.html b/Distribution/Data/packets.html index 2bfcf7762..890497be6 100644 --- a/Distribution/Data/packets.html +++ b/Distribution/Data/packets.html @@ -62,6 +62,15 @@ margin-left: 1rem; padding-left: 0.75rem; } + select { + appearance: none; + -webkit-appearance: none; + -moz-appearance: none; + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d5bf74' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); + background-repeat: no-repeat; + background-position: right 0.75rem center; + padding-right: 2rem; + } @@ -208,14 +217,6 @@ - - - + + +