Skip to content

Fix/mmaps config overrides and aliases#200

Closed
hermensbas wants to merge 25 commits into
Playerbotfrom
fix/mmaps-config-overrides-and-aliases
Closed

Fix/mmaps config overrides and aliases#200
hermensbas wants to merge 25 commits into
Playerbotfrom
fix/mmaps-config-overrides-and-aliases

Conversation

@hermensbas

Copy link
Copy Markdown
Collaborator

Summary

Three small fixes to the mmaps config parser and shipped YAML so mmaps-config.yaml actually behaves the way its docs and example claim:

  • YAML keys renamed to singular (vertexPerMapEdge / vertexPerTileEdge) — the parser only reads the singular form (matching every C++ struct, default, and variable name), but the shipped YAML wrote the plural. Plural keys were silently ignored, hidden by C++ defaults that happen to match.
  • vertexPerTileEdge map override — the struct field and resolver path already existed, but the YAML loader never populated it from mapsOverrides. Wired up.
  • maxSimplificationError per-map / per-tile override — promised by the YAML docs and example, but the parser ignored it at both override levels and the resolver hardcoded the global value. Now follows the same resolveFloat pattern as the walkable* parameters.

Impact

No mmap regeneration needed. Default-config builds produce identical output. Only configs that previously relied on the silently-broken plural keys, or used the documented-but-unimplemented overrides, will see different output — and in those cases the new behaviour matches what was already documented.

@hermensbas hermensbas force-pushed the fix/mmaps-config-overrides-and-aliases branch from f7ab9be to a8fac36 Compare May 2, 2026 16:56
blinkysc and others added 19 commits May 5, 2026 20:16
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
…azerothcore#25724)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
…25738)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
…zerothcore#25679)

Co-authored-by: Steffen Schmidt <Steffen.Schmidt@bit-in.de>
…e#25754)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…hcore#25764)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: ariel- <ariel-@users.noreply.github.com>
…ction (azerothcore#25719)

Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
Co-authored-by: Shauren <shauren.trinity@gmail.com>
@hermensbas hermensbas force-pushed the fix/mmaps-config-overrides-and-aliases branch 6 times, most recently from 40731b4 to cf9c6e9 Compare May 10, 2026 01:17
@hermensbas hermensbas force-pushed the fix/mmaps-config-overrides-and-aliases branch from cf9c6e9 to 1e5d46f Compare May 10, 2026 15:31
@hermensbas hermensbas closed this May 10, 2026
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.

9 participants