Trinitycore: Core/Misc: Log more information in asserts

Created on 17 Dec 2018  路  6Comments  路  Source: TrinityCore/TrinityCore

Description:

Improvement to https://github.com/TrinityCore/TrinityCore/pull/22783

Current behaviour:

Map shows only MapID.

Changes proposed:

Include name to MapID

Steps to reproduce the problem:

  1. get a crash
  2. see ramdom map id
  3. go dig wiki to find what map is :)

Branch(es):

CHANGEME 3.3.5 for now

TC rev. hash/commit:

6658de05db81 (N/R)

Operating system: (N/R)

Branch-3.3.5a Priority-FutureFeatureRequest

Most helpful comment

soon someone will ask for a screenshot of the location in the crashlog! xD

All 6 comments

soon someone will ask for a screenshot of the location in the crashlog! xD

Maybe someone is capable of writing a script tool to add in the /contrib/ folder to translate the map ID to its in-game name, or even a debug tool? Wouldn't hurt, I presume.

no need of external things:

TC> lo map mechanar
TC>554 - [Tempest Keep: The Mechanar][Instance]

OK, fair enough. I thought you meant translating the numerical ID if someone is uncertain about the map name.

even better:
MapID: 601 Azjol Nerub
and
Aura: Id: 53472 Pound
and
Creature Entry: 29120 Anub'arak

Done

Was this page helpful?
0 / 5 - 0 ratings