Skip to content

Row 205 S5a: a hidden GM shows only to GMs - #1011

Merged
neeerp merged 1 commit into
masterfrom
v83/gm-hide-broadcast
Oct 25, 2026
Merged

neeerp merged 1 commit into
masterfrom
v83/gm-hide-broadcast

Conversation

@neeerp

@neeerp neeerp commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Row 205 S5a (report b177 R1-R4): a hidden GM is absent for those who aren't GMs.

v83's user pool drops every 0xA2..0xCC packet whose character id it doesn't know (FUN_00972401, FUN_009724f9), so the field now sends packets about a hidden GM only to those who see them (sees: not hidden, or the viewer is a GM).

  • FieldActor::broadcast_by / broadcast_seen_by / broadcast_about: chat, moves, attacks, chairs, effects, buffs, pets, summons, MP eater, beholder and mini-room balloons go only to GMs while the sender hides.
  • FieldRequest::BroadcastAll for packets about the map, which everyone still sees: /h 2-scope notices, the OX wrong answer, a jukebox's song. The magnet pull also goes to everyone, since it is about the mob.
  • The GM's summons leave with the hide (removed silently) and come back with the unhide. A late joiner doesn't get a hidden GM's summons.
  • HC: ChatReceivedHandler drops chat from a character the stage doesn't know, as v83 does.
  • Docs: agent_docs/server-architecture.md (!hide).

Mob control, damage (R5) and directory lookups (R6) follow in S5b.

Tests: runtime and net lib tests with skill data (what_a_hidden_gm_does_shows_only_to_gms), the full harness suite (305/305), and gm_skills (the stranger doesn't hear a hidden GM) plus jukebox on the final commit.

…cts, buffs, pets, summons, room balloons) show only to GMs, as v83 drops what is about a character it doesn't know; summons go and come back with the hide; FieldRequest::BroadcastAll for the map's own packets (notices, OX, the jukebox's song); HC drops chat from an unknown character (report b177 R1-R4)
@neeerp
neeerp merged commit 53dc7d4 into master Oct 25, 2026
1 check passed
@neeerp
neeerp deleted the v83/gm-hide-broadcast branch October 25, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant