Temp Disable BG Loading

This commit is contained in:
Antz 2020-02-25 13:26:57 +00:00 committed by Antz
parent 6621d820ca
commit ff99651246

View file

@ -1060,7 +1060,7 @@ void World::SetInitialWorldSettings()
!MapManager::ExistMapAndVMap(609, 2355.84f, -5664.77f))) || // Death Knight !MapManager::ExistMapAndVMap(609, 2355.84f, -5664.77f))) || // Death Knight
(m_configUint32Values[CONFIG_UINT32_EXPANSION] >= EXPANSION_MOP && (m_configUint32Values[CONFIG_UINT32_EXPANSION] >= EXPANSION_MOP &&
!MapManager::ExistMapAndVMap(870, 3001.38f, -542.47f))) // Pandaren !MapManager::ExistMapAndVMap(870, 3001.38f, -542.47f))) // Pandaren
{ {
sLog.outError("Correct *.map files not found in path '%smaps' or *.vmtree/*.vmtile files in '%svmaps'. Please place *.map and vmap files in appropriate directories or correct the DataDir value in the mangosd.conf file.", m_dataPath.c_str(), m_dataPath.c_str()); sLog.outError("Correct *.map files not found in path '%smaps' or *.vmtree/*.vmtile files in '%svmaps'. Please place *.map and vmap files in appropriate directories or correct the DataDir value in the mangosd.conf file.", m_dataPath.c_str(), m_dataPath.c_str());
Log::WaitBeforeContinueIfNeed(); Log::WaitBeforeContinueIfNeed();
exit(1); exit(1);
@ -1427,11 +1427,13 @@ void World::SetInitialWorldSettings()
sLog.outString("Loading GameObjects for quests..."); sLog.outString("Loading GameObjects for quests...");
sObjectMgr.LoadGameObjectForQuests(); sObjectMgr.LoadGameObjectForQuests();
sLog.outString("Loading BattleMasters..."); sLog.outString("Loading BattleMasters..Broken.");
sBattleGroundMgr.LoadBattleMastersEntry(); // TODO: Broken ATM
//sBattleGroundMgr.LoadBattleMastersEntry();
sLog.outString("Loading BattleGround event indexes..."); sLog.outString("Loading BattleGround event indexes...Broken");
sBattleGroundMgr.LoadBattleEventIndexes(); // TODO: Broken ATM
//sBattleGroundMgr.LoadBattleEventIndexes();
sLog.outString("Loading GameTeleports..."); sLog.outString("Loading GameTeleports...");
sObjectMgr.LoadGameTele(); sObjectMgr.LoadGameTele();
@ -1562,13 +1564,15 @@ void World::SetInitialWorldSettings()
sLog.outString(); sLog.outString();
///- Initialize Battlegrounds ///- Initialize Battlegrounds
sLog.outString("Starting BattleGround System"); sLog.outString("Starting BattleGround System... BROKEN");
sBattleGroundMgr.CreateInitialBattleGrounds(); // TODO: Fix these
sBattleGroundMgr.InitAutomaticArenaPointDistribution(); //sBattleGroundMgr.CreateInitialBattleGrounds();
//sBattleGroundMgr.InitAutomaticArenaPointDistribution();
///- Initialize Outdoor PvP ///- Initialize Outdoor PvP
sLog.outString("Starting Outdoor PvP System"); sLog.outString("Starting Outdoor PvP System ... BROKEN");
sOutdoorPvPMgr.InitOutdoorPvP(); // TODO: Fix these
//sOutdoorPvPMgr.InitOutdoorPvP();
// Not sure if this can be moved up in the sequence (with static data loading) as it uses MapManager // Not sure if this can be moved up in the sequence (with static data loading) as it uses MapManager
sLog.outString("Loading Transports..."); sLog.outString("Loading Transports...");