feat(debug): WG-tailored .cfbg debug with team-desync checks#157
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.cfbg debugfocused on the inspected player: WG zone presence, WarTime, and the player's own membership in core's Queue / Invited / InWar sets per team.PlayersInWar[Alliance]), plus stale no-op fakes, fakes lingering outside WG with no BG context, and fakes present whileCFBG.Battlefield.Enable=0.Test plan
.cfbg debugon a player outside any BG/BF — shows no oddities..cfbg debugon a faked player in WG during war — confirm WarTime + correct set membership, no oddities..cfbg debugon a player faked outside the WG zone and not in a BG — confirm the cleanup-leak oddity fires.🤖 Generated with Claude Code