Generated by scripts/gen_packet_index.sh from
src/Modules/Packets.bb,
src/Modules/ServerNet.bb, and
src/Modules/ClientNet.bb. Do not edit this
file by hand β rerun the generator after touching any of those files.
This is the index of the 56 packet types the engine exchanges between server and client. Per-packet detail pages (when they exist) cover sub-codes, field layouts, and validation requirements. For the wire-encoding primitives and handler conventions, see:
encoding.mdβRCE_StrFromInt$/RCE_IntFromStr/ClampWorldCoord#/ length-prefixed strings.handler-conventions.mdβ soft-fail discipline, bounds-then-deref, iterator-during-iteration, handle-Null discipline.
| Code | Meaning |
|---|---|
| CβS | Client to server. Untrusted input; every handler must apply soft-fail and bounds-check disciplines. |
| SβC | Server to client. Trusted source; client handlers are reliability/latency-tolerance focused. |
| Both | Both directions implement a handler. Usually different sub-codes per side. |
| Unused | Constant declared but no live handler in either dispatch table. Candidates for removal. |
Per-packet detail pages live under packets/. When a page exists,
the "Detail" column links into it; otherwise it shows β. Filling out per-packet
pages is a per-iteration documentation task β see CONTRIBUTING.md.
| ID | Packet | Direction | Server handler | Client handler | Detail |
|---|---|---|---|---|---|
| 1 | P_CreateAccount |
CβS | ServerNet.bb:2344 | β | β |
| 2 | P_VerifyAccount |
CβS | ServerNet.bb:2398 | β | β |
| 3 | P_FetchCharacter |
CβS | ServerNet.bb:2590 | β | β |
| 4 | P_CreateCharacter |
CβS | ServerNet.bb:2714 | β | β |
| 5 | P_DeleteCharacter |
CβS | ServerNet.bb:2951 | β | β |
| 6 | P_ChangePassword |
CβS | ServerNet.bb:2533 | β | β |
| 7 | P_FetchActors |
CβS | ServerNet.bb:2236 | β | β |
| 8 | P_FetchItems |
Unused | β | β | β |
| 9 | P_ChangeArea |
Both | ServerNet.bb:734 | ClientNet.bb:1633 | β |
| 10 | P_FetchUpdateFiles |
CβS | ServerNet.bb:2221 | β | β |
| 11 | P_NewActor |
SβC | β | ClientNet.bb:1592 | β |
| 12 | P_StartGame |
CβS | ServerNet.bb:2100 | β | β |
| 13 | P_ActorGone |
SβC | β | ClientNet.bb:1556 | β |
| 14 | P_StandardUpdate |
Both | ServerNet.bb:1796 | ClientNet.bb:1496 | P_StandardUpdate |
| 15 | P_InventoryUpdate |
Both | ServerNet.bb:1608 | ClientNet.bb:1277 | P_InventoryUpdate |
| 16 | P_ChatMessage |
Both | ServerNet.bb:186 | ClientNet.bb:1219 | P_ChatMessage |
| 17 | P_WeatherChange |
SβC | β | ClientNet.bb:1272 | β |
| 18 | P_AttackActor |
Both | ServerNet.bb:1582 | ClientNet.bb:1115 | P_AttackActor |
| 19 | P_ActorDead |
SβC | β | ClientNet.bb:1071 | β |
| 20 | P_RightClick |
CβS | ServerNet.bb:1454 | β | β |
| 21 | P_Dialog |
Both | ServerNet.bb:1300 | ClientNet.bb:1027 | β |
| 22 | P_StatUpdate |
SβC | β | ClientNet.bb:996 | P_StatUpdate |
| 23 | P_QuestLog |
SβC | β | ClientNet.bb:955 | β |
| 24 | P_GoldChange |
SβC | β | ClientNet.bb:947 | β |
| 25 | P_NameChange |
SβC | β | ClientNet.bb:936 | β |
| 26 | P_KnownSpellUpdate |
SβC | β | ClientNet.bb:823 | β |
| 27 | P_SpellUpdate |
CβS | ServerNet.bb:1130 | β | P_SpellUpdate |
| 28 | P_CreateEmitter |
SβC | β | ClientNet.bb:772 | β |
| 29 | P_Sound |
SβC | β | ClientNet.bb:739 | β |
| 30 | P_AnimateActor |
SβC | β | ClientNet.bb:713 | β |
| 31 | P_ActionBarUpdate |
CβS | ServerNet.bb:1098 | β | β |
| 32 | P_XPUpdate |
SβC | β | ClientNet.bb:689 | β |
| 33 | P_ScreenFlash |
SβC | β | ClientNet.bb:679 | β |
| 34 | P_Music |
SβC | β | ClientNet.bb:758 | β |
| 35 | P_OpenTrading |
Both | ServerNet.bb:823 | ClientNet.bb:582 | β |
| 36 | P_ActorEffect |
SβC | β | ClientNet.bb:493 | β |
| 37 | P_Projectile |
SβC | β | ClientNet.bb:217 | β |
| 38 | P_PartyUpdate |
SβC | β | ClientNet.bb:483 | β |
| 39 | P_AppearanceUpdate |
SβC | β | ClientNet.bb:268 | β |
| 40 | P_CloseTrading |
SβC | β | ClientNet.bb:573 | β |
| 41 | P_UpdateTrading |
Both | ServerNet.bb:786 | ClientNet.bb:533 | β |
| 42 | P_SelectScenery |
SβC | β | ClientNet.bb:255 | β |
| 43 | P_ItemScript |
CβS | ServerNet.bb:1393 | β | β |
| 44 | P_EatItem |
CβS | ServerNet.bb:1326 | β | β |
| 45 | P_ItemHealth |
SβC | β | ClientNet.bb:249 | β |
| 46 | P_Jump |
Both | ServerNet.bb:1080 | ClientNet.bb:241 | β |
| 47 | P_Dismount |
CβS | ServerNet.bb:1781 | β | β |
| 48 | P_FloatingNumber |
SβC | β | ClientNet.bb:205 | β |
| 49 | P_RepositionActor |
Both | ServerNet.bb:727 | ClientNet.bb:180 | β |
| 50 | P_Speech |
SβC | β | ClientNet.bb:733 | β |
| 51 | P_ProgressBar |
Both | ServerNet.bb:1289 | ClientNet.bb:151 | β |
| 52 | P_BubbleMessage |
SβC | β | ClientNet.bb:1209 | β |
| 53 | P_ScriptInput |
Both | ServerNet.bb:1321 | ClientNet.bb:1020 | β |
| 60 | P_KickedPlayer |
SβC | β | ClientNet.bb:1780 | β |
| 61 | P_Examine |
CβS | ServerNet.bb:1517 | β | β |
| 62 | P_Trade |
CβS | ServerNet.bb:1558 | β | β |
encoding.mdβ wire-encoding primitives and conventionshandler-conventions.mdβ handler discipline patternspackets/β per-packet detail pages (incrementally filled)../modules/packets.mdβ overview of packet routing in the engine../../src/Modules/Packets.bbβ the canonical declarations../../CLAUDE.mdβ agent-facing dev guide, including wire encoding, soft-fail, bounds-check, handle-Null discipline