Skip to content

Add server-side debug-draw toolkit (.debug vis: cells/LoS/path/collis…#386

Open
Krilliac wants to merge 2 commits into
mangoszero:masterfrom
Krilliac:feature/debug-visualizers
Open

Add server-side debug-draw toolkit (.debug vis: cells/LoS/path/collis…#386
Krilliac wants to merge 2 commits into
mangoszero:masterfrom
Krilliac:feature/debug-visualizers

Conversation

@Krilliac

@Krilliac Krilliac commented Jun 20, 2026

Copy link
Copy Markdown
Contributor

…ion/height)

Engine-style debug markers spawned server-side and visible to the GM: map cells, line-of-sight, pathfinding (navmesh), collision raycasts and terrain height. Markers are colour-coded temporary gameobjects that auto-despawn, with per-instance hover tooltips showing each marker's captured values (hit coords, path point/type, height delta, ...) via a reserved GOOBER entry pool + a GO-query name override. Includes an optional colour-matched glow companion, a .debug vis clear to remove them on demand, .debug visual to play a spell-visual, and .debug perf for world-tick timing stats.

Apply src/game/DebugVis/sql/debugvis_marker_pool.sql once to create the marker pool.


This change is Reviewable

@codacy-production

codacy-production Bot commented Jun 20, 2026

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 2 high

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
Compatibility 2 high

View in Codacy

🟢 Metrics 116 complexity · 0 duplication

Metric Results
Complexity 116
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@AppVeyorBot

Copy link
Copy Markdown

Krilliac and others added 2 commits June 20, 2026 22:25
…ion/height)

Engine-style debug markers spawned server-side and visible to the GM: map cells,
line-of-sight, pathfinding (navmesh), collision raycasts and terrain height. Markers
are colour-coded temporary gameobjects that auto-despawn, with per-instance hover
tooltips showing each marker's captured values (hit coords, path point/type, height
delta, ...) via a reserved GOOBER entry pool + a GO-query name override. Includes an
optional colour-matched glow companion, a .debug vis clear to remove them on demand,
.debug visual <SpellVisualKit id> to play a spell-visual, and .debug perf for
world-tick timing stats.

Apply src/game/DebugVis/sql/debugvis_marker_pool.sql once to create the marker pool.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… options

One above the movement PR's 2026062000 so the value resolves cleanly to the highest
when both PRs merge. ConfVersion and MANGOSD_CONFIG_VERSION both derive from
MANGOS_WORLD_VER, prompting servers to refresh config after the DebugVis.* additions.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Krilliac Krilliac force-pushed the feature/debug-visualizers branch from fca3992 to f06239e Compare June 21, 2026 03:28
@AppVeyorBot

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants