Skip to content

feat(debug): WG-tailored .cfbg debug with team-desync checks#157

Merged
Nyeriah merged 1 commit into
azerothcore:masterfrom
Nyeriah:feat/cfbg-debug-wg
May 31, 2026
Merged

feat(debug): WG-tailored .cfbg debug with team-desync checks#157
Nyeriah merged 1 commit into
azerothcore:masterfrom
Nyeriah:feat/cfbg-debug-wg

Conversation

@Nyeriah

@Nyeriah Nyeriah commented May 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a Wintergrasp section to .cfbg debug focused on the inspected player: WG zone presence, WarTime, and the player's own membership in core's Queue / Invited / InWar sets per team.
  • Adds an oddity scan that flags team-desync between the CFBG fake record and the side core actually tracks the player on (e.g. fake = Horde but sitting in PlayersInWar[Alliance]), plus stale no-op fakes, fakes lingering outside WG with no BG context, and fakes present while CFBG.Battlefield.Enable=0.
  • Keeps the output player/character-focused — no global queue/zone tallies.

Test plan

  • .cfbg debug on a player outside any BG/BF — shows no oddities.
  • .cfbg debug on a faked player in WG during war — confirm WarTime + correct set membership, no oddities.
  • Force a desync (e.g. faked Horde while still in core's Alliance war set) and confirm the oddity line fires.
  • .cfbg debug on a player faked outside the WG zone and not in a BG — confirm the cleanup-leak oddity fires.

🤖 Generated with Claude Code

Extends the existing .cfbg debug command with a Wintergrasp section
focused on the inspected player: WG zone presence, WarTime, and the
player's own membership in core's Queue/Invited/InWar sets per team.

Adds an oddity scan that surfaces team-desync between the CFBG fake
record and the side core actually tracks the player on, e.g. a player
faked as Horde while sitting in PlayersInWar[Alliance]. Also flags
stale no-op fakes, fakes lingering outside WG with no BG context, and
fakes present while CFBG.Battlefield.Enable=0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Nyeriah Nyeriah merged commit c8d0e3c into azerothcore:master May 31, 2026
1 check passed
@Nyeriah Nyeriah deleted the feat/cfbg-debug-wg branch May 31, 2026 23:11
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