mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-15 13:35:08 +00:00
feat(Core/Load): Add debug logs for zone and area assignment (#22509)
This commit is contained in:
@@ -4455,7 +4455,8 @@ Minigob.Manabonk.Enable = 1
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Calculate.Creature.Zone.Area.Data
|
# Calculate.Creature.Zone.Area.Data
|
||||||
# Description: Calculate at loading creature zoneId / areaId and save in creature table (WARNING: SLOW WORLD SERVER STARTUP)
|
# Description: Calculate at loading creature zoneId / areaId and save in creature table
|
||||||
|
# WARNING: SLOW WORLD SERVER STARTUP. Should only be used for debugging.
|
||||||
# Default: 0 - (Do not show)
|
# Default: 0 - (Do not show)
|
||||||
#
|
#
|
||||||
|
|
||||||
@@ -4463,7 +4464,8 @@ Calculate.Creature.Zone.Area.Data = 0
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Calculate.Gameoject.Zone.Area.Data
|
# Calculate.Gameoject.Zone.Area.Data
|
||||||
# Description: Calculate at loading gameobject zoneId / areaId and save in gameobject table (WARNING: SLOW WORLD SERVER STARTUP)
|
# Description: Calculate at loading gameobject zoneId / areaId and save in gameobject table
|
||||||
|
# WARNING: SLOW WORLD SERVER STARTUP. Should only be used for debugging.
|
||||||
# Default: 0 - (Do not show)
|
# Default: 0 - (Do not show)
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|||||||
@@ -2257,6 +2257,9 @@ void ObjectMgr::LoadCreatures()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sWorld->getBoolConfig(CONFIG_CALCULATE_CREATURE_ZONE_AREA_DATA))
|
||||||
|
LOG_INFO("server.loading", "Calculating zone and area fields. This may take a moment...");
|
||||||
|
|
||||||
// Build single time for check spawnmask
|
// Build single time for check spawnmask
|
||||||
std::map<uint32, uint32> spawnMasks;
|
std::map<uint32, uint32> spawnMasks;
|
||||||
for (uint32 i = 0; i < sMapStore.GetNumRows(); ++i)
|
for (uint32 i = 0; i < sMapStore.GetNumRows(); ++i)
|
||||||
@@ -2621,6 +2624,9 @@ void ObjectMgr::LoadGameobjects()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sWorld->getBoolConfig(CONFIG_CALCULATE_GAMEOBJECT_ZONE_AREA_DATA))
|
||||||
|
LOG_INFO("server.loading", "Calculating zone and area fields. This may take a moment...");
|
||||||
|
|
||||||
// build single time for check spawnmask
|
// build single time for check spawnmask
|
||||||
std::map<uint32, uint32> spawnMasks;
|
std::map<uint32, uint32> spawnMasks;
|
||||||
for (uint32 i = 0; i < sMapStore.GetNumRows(); ++i)
|
for (uint32 i = 0; i < sMapStore.GetNumRows(); ++i)
|
||||||
|
|||||||
Reference in New Issue
Block a user