aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorSpp <spp@jorge.gr>2012-08-03 15:54:54 +0200
committerSpp <spp@jorge.gr>2012-08-03 15:54:54 +0200
commit634776e0bcc90e610a3f736e8ddf75792ad9b73e (patch)
treefbe98d997a68f99062eed13070c707a8a4b5e76d /src/server
parent55ce180f2867700b28921d99f9a0cb9c83330c91 (diff)
Fix compile under windows
Diffstat (limited to 'src/server')
-rwxr-xr-xsrc/server/game/AI/EventAI/CreatureEventAIMgr.cpp2
-rw-r--r--src/server/game/AI/SmartScripts/SmartScriptMgr.cpp6
-rwxr-xr-xsrc/server/game/Achievements/AchievementMgr.cpp24
-rwxr-xr-xsrc/server/game/Addons/AddonMgr.cpp4
-rw-r--r--src/server/game/AuctionHouse/AuctionHouseMgr.cpp12
-rw-r--r--src/server/game/Battlegrounds/ArenaTeamMgr.cpp4
-rwxr-xr-xsrc/server/game/Battlegrounds/BattlegroundMgr.cpp10
-rwxr-xr-xsrc/server/game/Battlegrounds/Zones/BattlegroundRV.cpp2
-rwxr-xr-xsrc/server/game/Conditions/ConditionMgr.cpp4
-rwxr-xr-xsrc/server/game/Conditions/DisableMgr.cpp8
-rwxr-xr-xsrc/server/game/DataStores/DBCStores.cpp2
-rwxr-xr-xsrc/server/game/DungeonFinding/LFGMgr.cpp4
-rwxr-xr-xsrc/server/game/Entities/Creature/CreatureGroups.cpp4
-rwxr-xr-xsrc/server/game/Entities/Item/ItemEnchantmentMgr.cpp4
-rwxr-xr-xsrc/server/game/Entities/Transport/Transport.cpp8
-rwxr-xr-xsrc/server/game/Events/GameEventMgr.cpp66
-rwxr-xr-xsrc/server/game/Globals/ObjectMgr.cpp268
-rw-r--r--src/server/game/Groups/GroupMgr.cpp12
-rw-r--r--src/server/game/Guilds/GuildMgr.cpp34
-rwxr-xr-xsrc/server/game/Instances/InstanceSaveMgr.cpp2
-rwxr-xr-xsrc/server/game/Loot/LootMgr.cpp24
-rwxr-xr-xsrc/server/game/Movement/Waypoints/WaypointManager.cpp4
-rwxr-xr-xsrc/server/game/OutdoorPvP/OutdoorPvPMgr.cpp4
-rwxr-xr-xsrc/server/game/Scripting/ScriptMgr.cpp2
-rwxr-xr-xsrc/server/game/Scripting/ScriptSystem.cpp14
-rwxr-xr-xsrc/server/game/Skills/SkillDiscovery.cpp4
-rwxr-xr-xsrc/server/game/Skills/SkillExtraItems.cpp4
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp74
-rwxr-xr-xsrc/server/game/Texts/CreatureTextMgr.cpp6
-rwxr-xr-xsrc/server/game/Tickets/TicketMgr.cpp6
-rw-r--r--src/server/game/Tools/CharacterDatabaseCleaner.cpp2
-rw-r--r--src/server/game/Warden/WardenCheckMgr.cpp12
-rwxr-xr-xsrc/server/game/Weather/WeatherMgr.cpp4
-rwxr-xr-xsrc/server/game/World/World.cpp14
-rw-r--r--src/server/shared/AutoPtr.h2
-rwxr-xr-xsrc/server/shared/Database/MySQLConnection.cpp2
-rw-r--r--src/server/shared/Logging/Appender.h2
-rwxr-xr-xsrc/server/shared/Packets/ByteBuffer.h8
38 files changed, 334 insertions, 334 deletions
diff --git a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
index 2d7c64bf5df..7289a4eed28 100755
--- a/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
+++ b/src/server/game/AI/EventAI/CreatureEventAIMgr.cpp
@@ -209,7 +209,7 @@ void CreatureEventAIMgr::LoadCreatureEventAI_Scripts()
sLog->outError(LOG_FILTER_SQL, "CreatureEventAI: Event %u has script for non-existing creature entry (%u), skipping.", i, creature_id);
continue;
}
-
+
// Only on the first script
if (cInfo->AIName != "EventAI" && m_CreatureEventAI_Event_Map[creature_id].empty())
sLog->outError(LOG_FILTER_SQL, "Creature entry %u has EventAI scripts, but its AIName is not 'EventAI' - possible AI-mismatch?", temp.creature_id);
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
index 1723e96a08a..7a997609b5d 100644
--- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
@@ -51,7 +51,7 @@ void SmartWaypointMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 SmartAI Waypoint Paths. DB table `waypoints` is empty.");
-
+
return;
}
@@ -89,7 +89,7 @@ void SmartWaypointMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u SmartAI waypoint paths (total %u waypoints) in %u ms", count, total, GetMSTimeDiffToNow(oldMSTime));
-
+
}
SmartWaypointMgr::~SmartWaypointMgr()
@@ -118,7 +118,7 @@ void SmartAIMgr::LoadSmartAIFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 SmartAI scripts. DB table `smartai_scripts` is empty.");
-
+
return;
}
diff --git a/src/server/game/Achievements/AchievementMgr.cpp b/src/server/game/Achievements/AchievementMgr.cpp
index be4ce974f70..191d91b61a7 100755
--- a/src/server/game/Achievements/AchievementMgr.cpp
+++ b/src/server/game/Achievements/AchievementMgr.cpp
@@ -2202,7 +2202,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
if (sAchievementCriteriaStore.GetNumRows() == 0)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 achievement criteria.");
-
+
return;
}
@@ -2220,7 +2220,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
}
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded %lu achievement criteria in %u ms", (unsigned long)m_AchievementCriteriasByType->size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AchievementGlobalMgr::LoadAchievementReferenceList()
@@ -2230,7 +2230,7 @@ void AchievementGlobalMgr::LoadAchievementReferenceList()
if (sAchievementStore.GetNumRows() == 0)
{
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded 0 achievement references.");
-
+
return;
}
@@ -2251,7 +2251,7 @@ void AchievementGlobalMgr::LoadAchievementReferenceList()
const_cast<AchievementEntry*>(achievement)->mapID = 631; // Correct map requirement (currently has Ulduar)
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded %u achievement references in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AchievementGlobalMgr::LoadAchievementCriteriaData()
@@ -2265,7 +2265,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaData()
if (!result)
{
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded 0 additional achievement criteria data. DB table `achievement_criteria_data` is empty.");
-
+
return;
}
@@ -2397,7 +2397,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaData()
}
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded %u additional achievement criteria data in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AchievementGlobalMgr::LoadCompletedAchievements()
@@ -2409,7 +2409,7 @@ void AchievementGlobalMgr::LoadCompletedAchievements()
if (!result)
{
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded 0 completed achievements. DB table `character_achievement` is empty.");
-
+
return;
}
@@ -2437,7 +2437,7 @@ void AchievementGlobalMgr::LoadCompletedAchievements()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded %lu completed achievements in %u ms", (unsigned long)m_allCompletedAchievements.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AchievementGlobalMgr::LoadRewards()
@@ -2452,7 +2452,7 @@ void AchievementGlobalMgr::LoadRewards()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 achievement rewards. DB table `achievement_reward` is empty.");
-
+
return;
}
@@ -2544,7 +2544,7 @@ void AchievementGlobalMgr::LoadRewards()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded %u achievement rewards in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AchievementGlobalMgr::LoadRewardLocales()
@@ -2560,7 +2560,7 @@ void AchievementGlobalMgr::LoadRewardLocales()
if (!result)
{
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded 0 achievement reward locale strings. DB table `locales_achievement_reward` is empty");
-
+
return;
}
@@ -2587,5 +2587,5 @@ void AchievementGlobalMgr::LoadRewardLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_ACHIEVEMENTSYS, ">> Loaded %lu achievement reward locale strings in %u ms", (unsigned long)m_achievementRewardLocales.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
diff --git a/src/server/game/Addons/AddonMgr.cpp b/src/server/game/Addons/AddonMgr.cpp
index 2d1d02cf5d1..6af87827917 100755
--- a/src/server/game/Addons/AddonMgr.cpp
+++ b/src/server/game/Addons/AddonMgr.cpp
@@ -44,7 +44,7 @@ void LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 known addons. DB table `addons` is empty!");
-
+
return;
}
@@ -64,7 +64,7 @@ void LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u known addons in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SaveAddon(AddonInfo const& addon)
diff --git a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp
index 57ab63cdd16..ab08262a928 100644
--- a/src/server/game/AuctionHouse/AuctionHouseMgr.cpp
+++ b/src/server/game/AuctionHouse/AuctionHouseMgr.cpp
@@ -264,7 +264,7 @@ void AuctionHouseMgr::LoadAuctionItems()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 auction items. DB table `auctionhouse` or `item_instance` is empty!");
-
+
return;
}
@@ -297,7 +297,7 @@ void AuctionHouseMgr::LoadAuctionItems()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u auction items in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AuctionHouseMgr::LoadAuctions()
@@ -310,7 +310,7 @@ void AuctionHouseMgr::LoadAuctions()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 auctions. DB table `auctionhouse` is empty.");
-
+
return;
}
@@ -336,7 +336,7 @@ void AuctionHouseMgr::LoadAuctions()
CharacterDatabase.CommitTransaction(trans);
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u auctions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void AuctionHouseMgr::AddAItem(Item* it)
@@ -735,7 +735,7 @@ void AuctionHouseMgr::DeleteExpiredAuctionsAtStartup()
if (!expAuctions)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> No expired auctions to delete");
-
+
return;
}
@@ -783,7 +783,7 @@ void AuctionHouseMgr::DeleteExpiredAuctionsAtStartup()
} while (expAuctions->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Deleted %u expired auctions in %u ms", expirecount, GetMSTimeDiffToNow(oldMSTime));
-
+
}
diff --git a/src/server/game/Battlegrounds/ArenaTeamMgr.cpp b/src/server/game/Battlegrounds/ArenaTeamMgr.cpp
index a36be0e7749..665742c97b1 100644
--- a/src/server/game/Battlegrounds/ArenaTeamMgr.cpp
+++ b/src/server/game/Battlegrounds/ArenaTeamMgr.cpp
@@ -102,7 +102,7 @@ void ArenaTeamMgr::LoadArenaTeams()
if (!result)
{
sLog->outInfo(LOG_FILTER_BATTLEGROUND, ">> Loaded 0 arena teams. DB table `arena_team` is empty!");
-
+
return;
}
@@ -133,7 +133,7 @@ void ArenaTeamMgr::LoadArenaTeams()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_BATTLEGROUND, ">> Loaded %u arena teams in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ArenaTeamMgr::DistributeArenaPoints()
diff --git a/src/server/game/Battlegrounds/BattlegroundMgr.cpp b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
index b2615d3e54c..290da0bb31f 100755
--- a/src/server/game/Battlegrounds/BattlegroundMgr.cpp
+++ b/src/server/game/Battlegrounds/BattlegroundMgr.cpp
@@ -684,7 +684,7 @@ void BattlegroundMgr::CreateInitialBattlegrounds()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 battlegrounds. DB table `battleground_template` is empty.");
-
+
return;
}
@@ -772,7 +772,7 @@ void BattlegroundMgr::CreateInitialBattlegrounds()
}
data.StartMaxDist = fields[9].GetFloat();
-
+
selectionWeight = fields[10].GetUInt8();
data.scriptId = sObjectMgr->GetScriptId(fields[11].GetCString());
data.BattlegroundName = bl->name[sWorld->GetDefaultDbcLocale()];
@@ -793,7 +793,7 @@ void BattlegroundMgr::CreateInitialBattlegrounds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_BATTLEGROUND, ">> Loaded %u battlegrounds in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void BattlegroundMgr::InitAutomaticArenaPointDistribution()
@@ -1078,7 +1078,7 @@ void BattlegroundMgr::LoadBattleMastersEntry()
if (!result)
{
sLog->outInfo(LOG_FILTER_BATTLEGROUND, ">> Loaded 0 battlemaster entries. DB table `battlemaster_entry` is empty!");
-
+
return;
}
@@ -1103,7 +1103,7 @@ void BattlegroundMgr::LoadBattleMastersEntry()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_BATTLEGROUND, ">> Loaded %u battlemaster entries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
HolidayIds BattlegroundMgr::BGTypeToWeekendHolidayId(BattlegroundTypeId bgTypeId)
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp
index 561cac54025..769df5445c7 100755
--- a/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp
+++ b/src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp
@@ -245,6 +245,6 @@ void BattlegroundRV::TogglePillarCollision()
gob->SendUpdateToPlayer(player);
}
}
-
+
SetPillarCollision(!apply);
} \ No newline at end of file
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp
index e6acefcce48..67ba643dd97 100755
--- a/src/server/game/Conditions/ConditionMgr.cpp
+++ b/src/server/game/Conditions/ConditionMgr.cpp
@@ -713,7 +713,7 @@ void ConditionMgr::LoadConditions(bool isReload)
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 conditions. DB table `conditions` is empty!");
-
+
return;
}
@@ -927,7 +927,7 @@ void ConditionMgr::LoadConditions(bool isReload)
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u conditions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool ConditionMgr::addToLootTemplate(Condition* cond, LootTemplate* loot)
diff --git a/src/server/game/Conditions/DisableMgr.cpp b/src/server/game/Conditions/DisableMgr.cpp
index 99a492a224e..6215cf5bb75 100755
--- a/src/server/game/Conditions/DisableMgr.cpp
+++ b/src/server/game/Conditions/DisableMgr.cpp
@@ -60,7 +60,7 @@ void LoadDisables()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 disables. DB table `disables` is empty!");
-
+
return;
}
@@ -229,7 +229,7 @@ void LoadDisables()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u disables in %u ms", total_count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void CheckQuestDisables()
@@ -240,7 +240,7 @@ void CheckQuestDisables()
if (!count)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Checked 0 quest disables.");
-
+
return;
}
@@ -260,7 +260,7 @@ void CheckQuestDisables()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Checked %u quest disables in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool IsDisabledFor(DisableType type, uint32 entry, Unit const* unit, uint8 flags)
diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp
index abf385b1463..48ceda2a212 100755
--- a/src/server/game/DataStores/DBCStores.cpp
+++ b/src/server/game/DataStores/DBCStores.cpp
@@ -637,7 +637,7 @@ void LoadDBCStores(const std::string& dataPath)
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Initialized %d data stores in %u ms", DBCFileCount, GetMSTimeDiffToNow(oldMSTime));
-
+
}
SimpleFactionsList const* GetFactionTeamList(uint32 faction)
diff --git a/src/server/game/DungeonFinding/LFGMgr.cpp b/src/server/game/DungeonFinding/LFGMgr.cpp
index 05385361e1b..3a2a044ca3b 100755
--- a/src/server/game/DungeonFinding/LFGMgr.cpp
+++ b/src/server/game/DungeonFinding/LFGMgr.cpp
@@ -136,7 +136,7 @@ void LFGMgr::LoadRewards()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 lfg dungeon rewards. DB table `lfg_dungeon_rewards` is empty!");
-
+
return;
}
@@ -184,7 +184,7 @@ void LFGMgr::LoadRewards()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_LFG, ">> Loaded %u lfg dungeon rewards in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void LFGMgr::Update(uint32 diff)
diff --git a/src/server/game/Entities/Creature/CreatureGroups.cpp b/src/server/game/Entities/Creature/CreatureGroups.cpp
index 6468e611b13..21ed1a23828 100755
--- a/src/server/game/Entities/Creature/CreatureGroups.cpp
+++ b/src/server/game/Entities/Creature/CreatureGroups.cpp
@@ -85,7 +85,7 @@ void FormationMgr::LoadCreatureFormations()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creatures in formations. DB table `creature_formations` is empty!");
-
+
return;
}
@@ -137,7 +137,7 @@ void FormationMgr::LoadCreatureFormations()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_UNITS, ">> Loaded %u creatures in formations in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void CreatureGroup::AddMember(Creature* member)
diff --git a/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp b/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp
index c6ed8a2925a..0478173b96e 100755
--- a/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp
+++ b/src/server/game/Entities/Item/ItemEnchantmentMgr.cpp
@@ -71,12 +71,12 @@ void LoadRandomEnchantmentsTable()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_PLAYER_ITEMS, ">> Loaded %u Item Enchantment definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
else
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Item Enchantment definitions. DB table `item_enchantment_template` is empty.");
-
+
}
}
diff --git a/src/server/game/Entities/Transport/Transport.cpp b/src/server/game/Entities/Transport/Transport.cpp
index 238b6e9cd5a..52d5c9114ff 100755
--- a/src/server/game/Entities/Transport/Transport.cpp
+++ b/src/server/game/Entities/Transport/Transport.cpp
@@ -36,7 +36,7 @@ void MapManager::LoadTransports()
if (!result)
{
sLog->outInfo(LOG_FILTER_TRANSPORTS, ">> Loaded 0 transports. DB table `transports` is empty!");
-
+
return;
}
@@ -122,7 +122,7 @@ void MapManager::LoadTransports()
}
sLog->outInfo(LOG_FILTER_TRANSPORTS, ">> Loaded %u transports in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void MapManager::LoadTransportNPCs()
@@ -135,7 +135,7 @@ void MapManager::LoadTransportNPCs()
if (!result)
{
sLog->outInfo(LOG_FILTER_TRANSPORTS, ">> Loaded 0 transport NPCs. DB table `creature_transport` is empty!");
-
+
return;
}
@@ -167,7 +167,7 @@ void MapManager::LoadTransportNPCs()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_TRANSPORTS, ">> Loaded %u transport npcs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
Transport::Transport(uint32 period, uint32 script) : GameObject(), m_pathTime(0), m_timer(0),
diff --git a/src/server/game/Events/GameEventMgr.cpp b/src/server/game/Events/GameEventMgr.cpp
index e1141f785e1..afbae063e5e 100755
--- a/src/server/game/Events/GameEventMgr.cpp
+++ b/src/server/game/Events/GameEventMgr.cpp
@@ -211,7 +211,7 @@ void GameEventMgr::LoadFromDB()
{
mGameEvent.clear();
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 game events. DB table `game_event` is empty.");
-
+
return;
}
@@ -261,7 +261,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
sLog->outInfo(LOG_FILTER_GAMEEVENTS, "Loading Game Event Saves Data...");
@@ -274,7 +274,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 game event saves in game events. DB table `game_event_save` is empty.");
-
+
}
else
{
@@ -307,7 +307,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u game event saves in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -320,7 +320,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 game event prerequisites in game events. DB table `game_event_prerequisite` is empty.");
-
+
}
else
{
@@ -358,7 +358,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u game event prerequisites in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -373,7 +373,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 creatures in game events. DB table `game_event_creature` is empty");
-
+
}
else
{
@@ -401,7 +401,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u creatures in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -416,7 +416,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 gameobjects in game events. DB table `game_event_gameobject` is empty.");
-
+
}
else
{
@@ -444,7 +444,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u gameobjects in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -459,7 +459,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 model/equipment changes in game events. DB table `game_event_model_equip` is empty.");
-
+
}
else
{
@@ -501,7 +501,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u model/equipment changes in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -515,7 +515,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 quests additions in game events. DB table `game_event_creature_quest` is empty.");
-
+
}
else
{
@@ -542,7 +542,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u quests additions in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -556,7 +556,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 go quests additions in game events. DB table `game_event_gameobject_quest` is empty.");
-
+
}
else
{
@@ -583,7 +583,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u quests additions in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -597,7 +597,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 quest event conditions in game events. DB table `game_event_quest_condition` is empty.");
-
+
}
else
{
@@ -626,7 +626,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u quest event conditions in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -640,7 +640,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 conditions in game events. DB table `game_event_condition` is empty.");
-
+
}
else
{
@@ -668,7 +668,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u conditions in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -682,7 +682,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 condition saves in game events. DB table `game_event_condition_save` is empty.");
-
+
}
else
{
@@ -716,7 +716,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u condition saves in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -730,7 +730,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 npcflags in game events. DB table `game_event_npcflag` is empty.");
-
+
}
else
{
@@ -756,7 +756,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u npcflags in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -770,7 +770,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 seasonal quests additions in game events. DB table `game_event_seasonal_questrelation` is empty.");
-
+
}
else
{
@@ -800,7 +800,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u quests additions in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -814,7 +814,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 vendor additions in game events. DB table `game_event_npc_vendor` is empty.");
-
+
}
else
{
@@ -866,7 +866,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u vendor additions in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -880,7 +880,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 battleground holidays in game events. DB table `game_event_condition` is empty.");
-
+
}
else
{
@@ -904,7 +904,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u battleground holidays in game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -919,7 +919,7 @@ void GameEventMgr::LoadFromDB()
if (!result)
{
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded 0 pools for game events. DB table `game_event_pool` is empty.");
-
+
}
else
{
@@ -953,7 +953,7 @@ void GameEventMgr::LoadFromDB()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GAMEEVENTS, ">> Loaded %u pools for game events in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
}
@@ -1030,7 +1030,7 @@ void GameEventMgr::StartArenaSeason()
StartEvent(eventId, true);
sLog->outInfo(LOG_FILTER_GAMEEVENTS, "Arena Season %u started...", season);
-
+
}
uint32 GameEventMgr::Update() // return the next event delay in ms
diff --git a/src/server/game/Globals/ObjectMgr.cpp b/src/server/game/Globals/ObjectMgr.cpp
index 9cbf9ed1ee2..fc4386633ff 100755
--- a/src/server/game/Globals/ObjectMgr.cpp
+++ b/src/server/game/Globals/ObjectMgr.cpp
@@ -297,7 +297,7 @@ void ObjectMgr::LoadCreatureLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu creature locale strings in %u ms", (unsigned long)_creatureLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadGossipMenuItemsLocales()
@@ -334,7 +334,7 @@ void ObjectMgr::LoadGossipMenuItemsLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu gossip_menu_option locale strings in %u ms", (unsigned long)_gossipMenuItemsLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadPointOfInterestLocales()
@@ -361,7 +361,7 @@ void ObjectMgr::LoadPointOfInterestLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu points_of_interest locale strings in %u ms", (unsigned long)_pointOfInterestLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadCreatureTemplates()
@@ -389,7 +389,7 @@ void ObjectMgr::LoadCreatureTemplates()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 creature template definitions. DB table `creature_template` is empty.");
-
+
return;
}
@@ -492,7 +492,7 @@ void ObjectMgr::LoadCreatureTemplates()
CheckCreatureTemplate(&itr->second);
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadCreatureTemplateAddons()
@@ -505,7 +505,7 @@ void ObjectMgr::LoadCreatureTemplateAddons()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 creature template addon definitions. DB table `creature_template_addon` is empty.");
-
+
return;
}
@@ -564,7 +564,7 @@ void ObjectMgr::LoadCreatureTemplateAddons()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature template addons in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::CheckCreatureTemplate(CreatureTemplate const* cInfo)
@@ -882,7 +882,7 @@ void ObjectMgr::LoadCreatureAddons()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 creature addon definitions. DB table `creature_addon` is empty.");
-
+
return;
}
@@ -948,7 +948,7 @@ void ObjectMgr::LoadCreatureAddons()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature addons in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
CreatureAddon const* ObjectMgr::GetCreatureAddon(uint32 lowguid)
@@ -987,7 +987,7 @@ void ObjectMgr::LoadEquipmentTemplates()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 creature equipment templates. DB table `creature_equip_template` is empty!");
-
+
return;
}
@@ -1040,7 +1040,7 @@ void ObjectMgr::LoadEquipmentTemplates()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u equipment templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
CreatureModelInfo const* ObjectMgr::GetCreatureModelInfo(uint32 modelId)
@@ -1118,7 +1118,7 @@ void ObjectMgr::LoadCreatureModelInfo()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 creature model definitions. DB table `creature_model_info` is empty.");
-
+
return;
}
@@ -1163,7 +1163,7 @@ void ObjectMgr::LoadCreatureModelInfo()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature model based info in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadLinkedRespawn()
@@ -1177,7 +1177,7 @@ void ObjectMgr::LoadLinkedRespawn()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 linked respawns. DB table `linked_respawn` is empty.");
-
+
return;
}
@@ -1349,7 +1349,7 @@ void ObjectMgr::LoadLinkedRespawn()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded " UI64FMTD " linked respawns in %u ms", uint64(_linkedRespawnStore.size()), GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool ObjectMgr::SetCreatureLinkedRespawn(uint32 guidLow, uint32 linkedGuidLow)
@@ -1409,7 +1409,7 @@ void ObjectMgr::LoadCreatures()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creatures. DB table `creature` is empty.");
-
+
return;
}
@@ -1536,7 +1536,7 @@ void ObjectMgr::LoadCreatures()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creatures in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::AddCreatureToGrid(uint32 guid, CreatureData const* data)
@@ -1719,7 +1719,7 @@ void ObjectMgr::LoadGameobjects()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gameobjects. DB table `gameobject` is empty.");
-
+
return;
}
@@ -1841,7 +1841,7 @@ void ObjectMgr::LoadGameobjects()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu gameobjects in %u ms", (unsigned long)_gameObjectDataStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::AddGameobjectToGrid(uint32 guid, GameObjectData const* data)
@@ -2010,7 +2010,7 @@ void ObjectMgr::LoadItemLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu Item locale strings in %u ms", (unsigned long)_itemLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadItemTemplates()
@@ -2053,7 +2053,7 @@ void ObjectMgr::LoadItemTemplates()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 item templates. DB table `item_template` is empty.");
-
+
return;
}
@@ -2615,7 +2615,7 @@ void ObjectMgr::LoadItemTemplates()
sLog->outError(LOG_FILTER_SQL, "Item (Entry: %u) does not exist in `item_template` but is referenced in `CharStartOutfit.dbc`", *itr);
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u item templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
ItemTemplate const* ObjectMgr::GetItemTemplate(uint32 entry)
@@ -2651,7 +2651,7 @@ void ObjectMgr::LoadItemSetNameLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded " UI64FMTD " Item set name locale strings in %u ms", uint64(_itemSetNameLocaleStore.size()), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadItemSetNames()
@@ -2680,7 +2680,7 @@ void ObjectMgr::LoadItemSetNames()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 item set names. DB table `item_set_names` is empty.");
-
+
return;
}
@@ -2735,7 +2735,7 @@ void ObjectMgr::LoadItemSetNames()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u item set names in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadVehicleTemplateAccessories()
@@ -2752,7 +2752,7 @@ void ObjectMgr::LoadVehicleTemplateAccessories()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 vehicle template accessories. DB table `vehicle_template_accessory` is empty.");
-
+
return;
}
@@ -2792,7 +2792,7 @@ void ObjectMgr::LoadVehicleTemplateAccessories()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u Vehicle Template Accessories in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadVehicleAccessories()
@@ -2809,7 +2809,7 @@ void ObjectMgr::LoadVehicleAccessories()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 Vehicle Accessories in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
return;
}
@@ -2837,7 +2837,7 @@ void ObjectMgr::LoadVehicleAccessories()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u Vehicle Accessories in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadPetLevelInfo()
@@ -2850,7 +2850,7 @@ void ObjectMgr::LoadPetLevelInfo()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level pet stats definitions. DB table `pet_levelstats` is empty.");
-
+
return;
}
@@ -2930,7 +2930,7 @@ void ObjectMgr::LoadPetLevelInfo()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u level pet stats definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
PetLevelInfo const* ObjectMgr::GetPetLevelInfo(uint32 creature_id, uint8 level) const
@@ -2996,7 +2996,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
-
+
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 player create definitions. DB table `playercreateinfo` is empty.");
exit(1);
}
@@ -3072,7 +3072,7 @@ void ObjectMgr::LoadPlayerInfo()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u player create definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -3086,7 +3086,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 custom player create items. DB table `playercreateinfo_item` is empty.");
-
+
}
else
{
@@ -3144,7 +3144,7 @@ void ObjectMgr::LoadPlayerInfo()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u custom player create items in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -3159,7 +3159,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 player create spells. DB table `%s` is empty.", sWorld->getBoolConfig(CONFIG_START_ALL_SPELLS) ? "playercreateinfo_spell_custom" : "playercreateinfo_spell");
-
+
}
else
{
@@ -3201,7 +3201,7 @@ void ObjectMgr::LoadPlayerInfo()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u player create spells in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -3216,7 +3216,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 player create actions. DB table `playercreateinfo_action` is empty.");
-
+
}
else
{
@@ -3248,7 +3248,7 @@ void ObjectMgr::LoadPlayerInfo()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u player create actions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -3263,7 +3263,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level health/mana definitions. DB table `game_event_condition` is empty.");
-
+
exit(1);
}
@@ -3330,7 +3330,7 @@ void ObjectMgr::LoadPlayerInfo()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u level health/mana definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
// Loading levels data (class/race dependent)
@@ -3344,7 +3344,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level stats definitions. DB table `player_levelstats` is empty.");
-
+
exit(1);
}
@@ -3444,7 +3444,7 @@ void ObjectMgr::LoadPlayerInfo()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u level stats definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
// Loading xp per level data
@@ -3462,7 +3462,7 @@ void ObjectMgr::LoadPlayerInfo()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 xp for level definitions. DB table `player_xp_for_level` is empty.");
-
+
exit(1);
}
@@ -3503,7 +3503,7 @@ void ObjectMgr::LoadPlayerInfo()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u xp for level definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -3661,7 +3661,7 @@ void ObjectMgr::LoadQuests()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 quests definitions. DB table `quest_template` is empty.");
-
+
return;
}
@@ -4290,7 +4290,7 @@ void ObjectMgr::LoadQuests()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu quests definitions in %u ms", (unsigned long)_questTemplates.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadQuestLocales()
@@ -4339,7 +4339,7 @@ void ObjectMgr::LoadQuestLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu Quest locale strings in %u ms", (unsigned long)_questLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadScripts(ScriptsType type)
@@ -4368,7 +4368,7 @@ void ObjectMgr::LoadScripts(ScriptsType type)
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 script definitions. DB table `%s` is empty!", tableName.c_str());
-
+
return;
}
@@ -4660,7 +4660,7 @@ void ObjectMgr::LoadScripts(ScriptsType type)
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u script definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadGameObjectScripts()
@@ -4805,7 +4805,7 @@ void ObjectMgr::LoadSpellScriptNames()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 spell script names. DB table `spell_script_names` is empty!");
-
+
return;
}
@@ -4853,7 +4853,7 @@ void ObjectMgr::LoadSpellScriptNames()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u spell script names in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::ValidateSpellScripts()
@@ -4863,7 +4863,7 @@ void ObjectMgr::ValidateSpellScripts()
if (_spellScriptsStore.empty())
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Validated 0 scripts.");
-
+
return;
}
@@ -4911,7 +4911,7 @@ void ObjectMgr::ValidateSpellScripts()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Validated %u scripts in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadPageTexts()
@@ -4924,7 +4924,7 @@ void ObjectMgr::LoadPageTexts()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 page texts. DB table `page_text` is empty!");
-
+
return;
}
@@ -4954,7 +4954,7 @@ void ObjectMgr::LoadPageTexts()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u page texts in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
PageText const* ObjectMgr::GetPageText(uint32 pageEntry)
@@ -4990,7 +4990,7 @@ void ObjectMgr::LoadPageTextLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu PageText locale strings in %u ms", (unsigned long)_pageTextLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadInstanceTemplate()
@@ -5003,7 +5003,7 @@ void ObjectMgr::LoadInstanceTemplate()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 instance templates. DB table `page_text` is empty!");
-
+
return;
}
@@ -5033,7 +5033,7 @@ void ObjectMgr::LoadInstanceTemplate()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u instance templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
InstanceTemplate const* ObjectMgr::GetInstanceTemplate(uint32 mapID)
@@ -5054,7 +5054,7 @@ void ObjectMgr::LoadInstanceEncounters()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 instance encounters, table is empty!");
-
+
return;
}
@@ -5123,7 +5123,7 @@ void ObjectMgr::LoadInstanceEncounters()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u instance encounters in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
GossipText const* ObjectMgr::GetGossipText(uint32 Text_ID) const
@@ -5144,7 +5144,7 @@ void ObjectMgr::LoadGossipText()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u npc texts", count);
-
+
return;
}
_gossipTextStore.rehash(result->GetRowCount());
@@ -5184,7 +5184,7 @@ void ObjectMgr::LoadGossipText()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u npc texts in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadNpcTextLocales()
@@ -5227,7 +5227,7 @@ void ObjectMgr::LoadNpcTextLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu NpcText locale strings in %u ms", (unsigned long)_npcTextLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
//not very fast function but it is called only once a day, or on starting-up
@@ -5253,7 +5253,7 @@ void ObjectMgr::ReturnOrDeleteOldMails(bool serverUp)
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> No expired mails found.");
-
+
return; // any mails need to be returned or deleted
}
@@ -5357,7 +5357,7 @@ void ObjectMgr::ReturnOrDeleteOldMails(bool serverUp)
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Processed %u expired mails: %u deleted and %u returned in %u ms", deletedCount + returnedCount, deletedCount, returnedCount, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadQuestAreaTriggers()
@@ -5371,7 +5371,7 @@ void ObjectMgr::LoadQuestAreaTriggers()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 quest trigger points. DB table `areatrigger_involvedrelation` is empty.");
-
+
return;
}
@@ -5416,7 +5416,7 @@ void ObjectMgr::LoadQuestAreaTriggers()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u quest trigger points in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadTavernAreaTriggers()
@@ -5430,7 +5430,7 @@ void ObjectMgr::LoadTavernAreaTriggers()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 tavern triggers. DB table `areatrigger_tavern` is empty.");
-
+
return;
}
@@ -5455,7 +5455,7 @@ void ObjectMgr::LoadTavernAreaTriggers()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u tavern triggers in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadAreaTriggerScripts()
@@ -5468,7 +5468,7 @@ void ObjectMgr::LoadAreaTriggerScripts()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 areatrigger scripts. DB table `areatrigger_scripts` is empty.");
-
+
return;
}
@@ -5493,7 +5493,7 @@ void ObjectMgr::LoadAreaTriggerScripts()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u areatrigger scripts in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
uint32 ObjectMgr::GetNearestTaxiNode(float x, float y, float z, uint32 mapid, uint32 team)
@@ -5612,7 +5612,7 @@ void ObjectMgr::LoadGraveyardZones()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 graveyard-zone links. DB table `game_graveyard_zone` is empty.");
-
+
return;
}
@@ -5659,7 +5659,7 @@ void ObjectMgr::LoadGraveyardZones()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u graveyard-zone links in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
WorldSafeLocsEntry const* ObjectMgr::GetDefaultGraveYard(uint32 team)
@@ -5905,7 +5905,7 @@ void ObjectMgr::LoadAreaTriggerTeleports()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 area trigger teleport definitions. DB table `areatrigger_teleport` is empty.");
-
+
return;
}
@@ -5952,7 +5952,7 @@ void ObjectMgr::LoadAreaTriggerTeleports()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u area trigger teleport definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadAccessRequirements()
@@ -5966,7 +5966,7 @@ void ObjectMgr::LoadAccessRequirements()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 access requirement definitions. DB table `access_requirement` is empty.");
-
+
return;
}
@@ -6044,7 +6044,7 @@ void ObjectMgr::LoadAccessRequirements()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u access requirement definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
/*
@@ -6269,7 +6269,7 @@ void ObjectMgr::LoadGameObjectLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %lu gameobject locale strings in %u ms", (unsigned long)_gameObjectLocaleStore.size(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
inline void CheckGOLockId(GameObjectTemplate const* goInfo, uint32 dataN, uint32 N)
@@ -6346,7 +6346,7 @@ void ObjectMgr::LoadGameObjectTemplate()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 gameobject definitions. DB table `gameobject_template` is empty.");
-
+
return;
}
@@ -6516,7 +6516,7 @@ void ObjectMgr::LoadGameObjectTemplate()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u game object templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadExplorationBaseXP()
@@ -6528,7 +6528,7 @@ void ObjectMgr::LoadExplorationBaseXP()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 BaseXP definitions. DB table `exploration_basexp` is empty.");
-
+
return;
}
@@ -6545,7 +6545,7 @@ void ObjectMgr::LoadExplorationBaseXP()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u BaseXP definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
uint32 ObjectMgr::GetBaseXP(uint8 level)
@@ -6569,7 +6569,7 @@ void ObjectMgr::LoadPetNames()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 pet name parts. DB table `pet_name_generation` is empty!");
-
+
return;
}
@@ -6590,7 +6590,7 @@ void ObjectMgr::LoadPetNames()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u pet name parts in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadPetNumber()
@@ -6605,7 +6605,7 @@ void ObjectMgr::LoadPetNumber()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded the max pet number: %d in %u ms", _hiPetNumber-1, GetMSTimeDiffToNow(oldMSTime));
-
+
}
std::string ObjectMgr::GeneratePetName(uint32 entry)
@@ -6639,7 +6639,7 @@ void ObjectMgr::LoadCorpses()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 corpses. DB table `corpse` is empty.");
-
+
return;
}
@@ -6668,7 +6668,7 @@ void ObjectMgr::LoadCorpses()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u corpses in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadReputationRewardRate()
@@ -6683,7 +6683,7 @@ void ObjectMgr::LoadReputationRewardRate()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded `reputation_reward_rate`, table is empty!");
-
+
return;
}
@@ -6731,7 +6731,7 @@ void ObjectMgr::LoadReputationRewardRate()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u reputation_reward_rate in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadReputationOnKill()
@@ -6752,7 +6752,7 @@ void ObjectMgr::LoadReputationOnKill()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creature award reputation definitions. DB table `creature_onkill_reputation` is empty.");
-
+
return;
}
@@ -6805,7 +6805,7 @@ void ObjectMgr::LoadReputationOnKill()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature award reputation definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadReputationSpilloverTemplate()
@@ -6820,7 +6820,7 @@ void ObjectMgr::LoadReputationSpilloverTemplate()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded `reputation_spillover_template`, table is empty.");
-
+
return;
}
@@ -6917,7 +6917,7 @@ void ObjectMgr::LoadReputationSpilloverTemplate()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u reputation_spillover_template in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadPointsOfInterest()
@@ -6934,7 +6934,7 @@ void ObjectMgr::LoadPointsOfInterest()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty.");
-
+
return;
}
@@ -6964,7 +6964,7 @@ void ObjectMgr::LoadPointsOfInterest()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u Points of Interest definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadQuestPOI()
@@ -6981,7 +6981,7 @@ void ObjectMgr::LoadQuestPOI()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 quest POI definitions. DB table `quest_poi` is empty.");
-
+
return;
}
@@ -7036,7 +7036,7 @@ void ObjectMgr::LoadQuestPOI()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u quest POI definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadNPCSpellClickSpells()
@@ -7050,7 +7050,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 spellclick spells. DB table `npc_spellclick_spells` is empty.");
-
+
return;
}
@@ -7104,7 +7104,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u spellclick definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::DeleteCreatureData(uint32 guid)
@@ -7154,7 +7154,7 @@ void ObjectMgr::LoadQuestRelationsHelper(QuestRelations& map, std::string table,
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 quest relations from `%s`, table is empty.", table.c_str());
-
+
return;
}
@@ -7183,7 +7183,7 @@ void ObjectMgr::LoadQuestRelationsHelper(QuestRelations& map, std::string table,
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u quest relations from %s in %u ms", count, table.c_str(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadGameobjectQuestRelations()
@@ -7253,7 +7253,7 @@ void ObjectMgr::LoadReservedPlayersNames()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 reserved player names. DB table `reserved_name` is empty!");
-
+
return;
}
@@ -7280,7 +7280,7 @@ void ObjectMgr::LoadReservedPlayersNames()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u reserved player names in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool ObjectMgr::IsReservedName(const std::string& name) const
@@ -7434,7 +7434,7 @@ void ObjectMgr::LoadGameObjectForQuests()
if (sObjectMgr->GetGameObjectTemplates()->empty())
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 GameObjects for quests");
-
+
return;
}
@@ -7483,7 +7483,7 @@ void ObjectMgr::LoadGameObjectForQuests()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u GameObjects for quests in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool ObjectMgr::LoadTrinityStrings(const char* table, int32 min_value, int32 max_value)
@@ -7532,7 +7532,7 @@ bool ObjectMgr::LoadTrinityStrings(const char* table, int32 min_value, int32 max
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 trinity strings. DB table `%s` is empty. Cannot continue.", table);
else
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 string templates. DB table `%s` is empty.", table);
-
+
return false;
}
@@ -7575,7 +7575,7 @@ bool ObjectMgr::LoadTrinityStrings(const char* table, int32 min_value, int32 max
else
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u string templates from %s in %u ms", count, table, GetMSTimeDiffToNow(oldMSTime));
-
+
return true;
}
@@ -7607,7 +7607,7 @@ void ObjectMgr::LoadFishingBaseSkillLevel()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 areas for fishing base skill level. DB table `skill_fishing_base_level` is empty.");
-
+
return;
}
@@ -7632,7 +7632,7 @@ void ObjectMgr::LoadFishingBaseSkillLevel()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u areas for fishing base skill level in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool ObjectMgr::CheckDeclinedNames(std::wstring w_ownname, DeclinedName const& names)
@@ -7716,7 +7716,7 @@ void ObjectMgr::LoadGameTele()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 GameTeleports. DB table `game_tele` is empty!");
-
+
return;
}
@@ -7758,7 +7758,7 @@ void ObjectMgr::LoadGameTele()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u GameTeleports in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
GameTele const* ObjectMgr::GetGameTele(const std::string& name) const
@@ -7857,7 +7857,7 @@ void ObjectMgr::LoadMailLevelRewards()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level dependent mail rewards. DB table `mail_level_reward` is empty.");
-
+
return;
}
@@ -7903,7 +7903,7 @@ void ObjectMgr::LoadMailLevelRewards()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u level dependent mail rewards in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::AddSpellToTrainer(uint32 entry, uint32 spell, uint32 spellCost, uint32 reqSkill, uint32 reqSkillValue, uint32 reqLevel)
@@ -8000,7 +8000,7 @@ void ObjectMgr::LoadTrainerSpell()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Trainers. DB table `npc_trainer` is empty!");
-
+
return;
}
@@ -8024,7 +8024,7 @@ void ObjectMgr::LoadTrainerSpell()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %d Trainers in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
int ObjectMgr::LoadReferenceVendor(int32 vendor, int32 item, std::set<uint32> *skip_vendors)
@@ -8080,7 +8080,7 @@ void ObjectMgr::LoadVendors()
QueryResult result = WorldDatabase.Query("SELECT entry, item, maxcount, incrtime, ExtendedCost FROM npc_vendor ORDER BY entry, slot ASC");
if (!result)
{
-
+
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Vendors. DB table `npc_vendor` is empty!");
return;
}
@@ -8115,7 +8115,7 @@ void ObjectMgr::LoadVendors()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %d Vendors in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadGossipMenu()
@@ -8129,7 +8129,7 @@ void ObjectMgr::LoadGossipMenu()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gossip_menu entries. DB table `gossip_menu` is empty!");
-
+
return;
}
@@ -8157,7 +8157,7 @@ void ObjectMgr::LoadGossipMenu()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u gossip_menu entries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadGossipMenuItems()
@@ -8176,7 +8176,7 @@ void ObjectMgr::LoadGossipMenuItems()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gossip_menu_option entries. DB table `gossip_menu_option` is empty!");
-
+
return;
}
@@ -8221,7 +8221,7 @@ void ObjectMgr::LoadGossipMenuItems()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u gossip_menu_option entries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::AddVendorItem(uint32 entry, uint32 item, int32 maxcount, uint32 incrtime, uint32 extendedCost, bool persist /*= true*/)
@@ -8384,7 +8384,7 @@ void ObjectMgr::LoadScriptNames()
if (!result)
{
-
+
sLog->outError(LOG_FILTER_SQL, ">> Loaded empty set of Script Names!");
return;
}
@@ -8400,7 +8400,7 @@ void ObjectMgr::LoadScriptNames()
std::sort(_scriptNamesStore.begin(), _scriptNamesStore.end());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %d Script Names in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
uint32 ObjectMgr::GetScriptId(const char *name)
@@ -8504,7 +8504,7 @@ void ObjectMgr::LoadCreatureClassLevelStats()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 creature base stats. DB table `creature_classlevelstats` is empty.");
-
+
return;
}
@@ -8553,7 +8553,7 @@ void ObjectMgr::LoadCreatureClassLevelStats()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature base stats in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadFactionChangeAchievements()
@@ -8565,7 +8565,7 @@ void ObjectMgr::LoadFactionChangeAchievements()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 faction change achievement pairs. DB table `player_factionchange_achievement` is empty.");
-
+
return;
}
@@ -8590,7 +8590,7 @@ void ObjectMgr::LoadFactionChangeAchievements()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u faction change achievement pairs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadFactionChangeItems()
@@ -8602,7 +8602,7 @@ void ObjectMgr::LoadFactionChangeItems()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 faction change item pairs. DB table `player_factionchange_items` is empty.");
-
+
return;
}
@@ -8627,7 +8627,7 @@ void ObjectMgr::LoadFactionChangeItems()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u faction change item pairs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadFactionChangeSpells()
@@ -8639,7 +8639,7 @@ void ObjectMgr::LoadFactionChangeSpells()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 faction change spell pairs. DB table `player_factionchange_spells` is empty.");
-
+
return;
}
@@ -8664,7 +8664,7 @@ void ObjectMgr::LoadFactionChangeSpells()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u faction change spell pairs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ObjectMgr::LoadFactionChangeReputations()
@@ -8676,7 +8676,7 @@ void ObjectMgr::LoadFactionChangeReputations()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 faction change reputation pairs. DB table `player_factionchange_reputations` is empty.");
-
+
return;
}
@@ -8701,7 +8701,7 @@ void ObjectMgr::LoadFactionChangeReputations()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u faction change reputation pairs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
GameObjectTemplate const* ObjectMgr::GetGameObjectTemplate(uint32 entry)
diff --git a/src/server/game/Groups/GroupMgr.cpp b/src/server/game/Groups/GroupMgr.cpp
index acec13ab2c3..3a758f6df30 100644
--- a/src/server/game/Groups/GroupMgr.cpp
+++ b/src/server/game/Groups/GroupMgr.cpp
@@ -126,7 +126,7 @@ void GroupMgr::LoadGroups()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 group definitions. DB table `groups` is empty!");
-
+
return;
}
@@ -152,7 +152,7 @@ void GroupMgr::LoadGroups()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u group definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Group members...");
@@ -170,7 +170,7 @@ void GroupMgr::LoadGroups()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 group members. DB table `group_member` is empty!");
-
+
return;
}
@@ -191,7 +191,7 @@ void GroupMgr::LoadGroups()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u group members in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Group instance saves...");
@@ -204,7 +204,7 @@ void GroupMgr::LoadGroups()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 group-instance saves. DB table `group_instance` is empty!");
-
+
return;
}
@@ -236,6 +236,6 @@ void GroupMgr::LoadGroups()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u group-instance saves in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
diff --git a/src/server/game/Guilds/GuildMgr.cpp b/src/server/game/Guilds/GuildMgr.cpp
index 35a217200ad..dab67c59d2a 100644
--- a/src/server/game/Guilds/GuildMgr.cpp
+++ b/src/server/game/Guilds/GuildMgr.cpp
@@ -106,7 +106,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild definitions. DB table `guild` is empty.");
-
+
return;
}
else
@@ -129,7 +129,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -147,7 +147,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild ranks. DB table `guild_rank` is empty.");
-
+
}
else
{
@@ -165,7 +165,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild ranks in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -190,7 +190,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild members. DB table `guild_member` is empty.");
-
+
}
else
{
@@ -209,7 +209,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild members int %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -227,7 +227,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild bank tab rights. DB table `guild_bank_right` is empty.");
-
+
}
else
{
@@ -245,7 +245,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u bank tab rights in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -262,7 +262,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild event logs. DB table `guild_eventlog` is empty.");
-
+
}
else
{
@@ -280,7 +280,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild event logs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -298,7 +298,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild bank event logs. DB table `guild_bank_eventlog` is empty.");
-
+
}
else
{
@@ -316,7 +316,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild bank event logs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -334,7 +334,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild bank tabs. DB table `guild_bank_tab` is empty.");
-
+
}
else
{
@@ -352,7 +352,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild bank tabs in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -372,7 +372,7 @@ void GuildMgr::LoadGuilds()
if (!result)
{
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded 0 guild bank tab items. DB table `guild_bank_item` or `item_instance` is empty.");
-
+
}
else
{
@@ -390,7 +390,7 @@ void GuildMgr::LoadGuilds()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GUILD, ">> Loaded %u guild bank tab items in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
@@ -413,6 +413,6 @@ void GuildMgr::LoadGuilds()
}
sLog->outInfo(LOG_FILTER_GUILD, ">> Validated data of loaded guilds in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
}
diff --git a/src/server/game/Instances/InstanceSaveMgr.cpp b/src/server/game/Instances/InstanceSaveMgr.cpp
index 6e76f37c9d6..4ca7f97c02b 100755
--- a/src/server/game/Instances/InstanceSaveMgr.cpp
+++ b/src/server/game/Instances/InstanceSaveMgr.cpp
@@ -276,7 +276,7 @@ void InstanceSaveManager::LoadInstances()
sInstanceSaveMgr->LoadResetTimes();
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded instances in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
void InstanceSaveManager::LoadResetTimes()
diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp
index ddacf64507f..6f49a555950 100755
--- a/src/server/game/Loot/LootMgr.cpp
+++ b/src/server/game/Loot/LootMgr.cpp
@@ -1481,7 +1481,7 @@ void LoadLootTemplates_Creature()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
-
+
}
void LoadLootTemplates_Disenchant()
@@ -1515,7 +1515,7 @@ void LoadLootTemplates_Disenchant()
sLog->outInfo(LOG_FILTER_LOOT, ">> Loaded %u disenchanting loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 disenchanting loot templates. DB table `disenchant_loot_template` is empty");
-
+
}
void LoadLootTemplates_Fishing()
@@ -1541,7 +1541,7 @@ void LoadLootTemplates_Fishing()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
-
+
}
void LoadLootTemplates_Gameobject()
@@ -1577,7 +1577,7 @@ void LoadLootTemplates_Gameobject()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
-
+
}
void LoadLootTemplates_Item()
@@ -1603,7 +1603,7 @@ void LoadLootTemplates_Item()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
-
+
}
void LoadLootTemplates_Milling()
@@ -1634,7 +1634,7 @@ void LoadLootTemplates_Milling()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
-
+
}
void LoadLootTemplates_Pickpocketing()
@@ -1670,7 +1670,7 @@ void LoadLootTemplates_Pickpocketing()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
-
+
}
void LoadLootTemplates_Prospecting()
@@ -1701,7 +1701,7 @@ void LoadLootTemplates_Prospecting()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
-
+
}
void LoadLootTemplates_Mail()
@@ -1727,7 +1727,7 @@ void LoadLootTemplates_Mail()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
-
+
}
void LoadLootTemplates_Skinning()
@@ -1763,7 +1763,7 @@ void LoadLootTemplates_Skinning()
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
-
+
}
void LoadLootTemplates_Spell()
@@ -1806,7 +1806,7 @@ void LoadLootTemplates_Spell()
sLog->outInfo(LOG_FILTER_LOOT, ">> Loaded %u spell loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
else
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 spell loot templates. DB table `spell_loot_template` is empty");
-
+
}
void LoadLootTemplates_Reference()
@@ -1835,5 +1835,5 @@ void LoadLootTemplates_Reference()
LootTemplates_Reference.ReportUnusedIds(lootIdSet);
sLog->outInfo(LOG_FILTER_LOOT, ">> Loaded refence loot templates in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
diff --git a/src/server/game/Movement/Waypoints/WaypointManager.cpp b/src/server/game/Movement/Waypoints/WaypointManager.cpp
index a23c84b0134..214fd23fc8a 100755
--- a/src/server/game/Movement/Waypoints/WaypointManager.cpp
+++ b/src/server/game/Movement/Waypoints/WaypointManager.cpp
@@ -49,7 +49,7 @@ void WaypointMgr::Load()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 waypoints. DB table `waypoint_data` is empty!");
-
+
return;
}
@@ -87,7 +87,7 @@ void WaypointMgr::Load()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u waypoints in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void WaypointMgr::ReloadPath(uint32 id)
diff --git a/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp b/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp
index 3da3efe4823..5ada88cdf7a 100755
--- a/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp
+++ b/src/server/game/OutdoorPvP/OutdoorPvPMgr.cpp
@@ -47,7 +47,7 @@ void OutdoorPvPMgr::InitOutdoorPvP()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 outdoor PvP definitions. DB table `outdoorpvp_template` is empty.");
-
+
return;
}
@@ -107,7 +107,7 @@ void OutdoorPvPMgr::InitOutdoorPvP()
}
sLog->outInfo(LOG_FILTER_OUTDOORPVP, ">> Loaded %u outdoor PvP definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void OutdoorPvPMgr::AddZone(uint32 zoneid, OutdoorPvP* handle)
diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp
index 0ce3878db96..f5adf67a9ab 100755
--- a/src/server/game/Scripting/ScriptMgr.cpp
+++ b/src/server/game/Scripting/ScriptMgr.cpp
@@ -257,7 +257,7 @@ void ScriptMgr::Initialize()
AddScripts();
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded %u C++ scripts in %u ms", GetScriptCount(), GetMSTimeDiffToNow(oldMSTime));
-
+
}
void ScriptMgr::Unload()
diff --git a/src/server/game/Scripting/ScriptSystem.cpp b/src/server/game/Scripting/ScriptSystem.cpp
index 6337a358866..f24b01306c5 100755
--- a/src/server/game/Scripting/ScriptSystem.cpp
+++ b/src/server/game/Scripting/ScriptSystem.cpp
@@ -30,14 +30,14 @@ void SystemMgr::LoadScriptTexts()
sLog->outInfo(LOG_FILTER_TSCR, "TSCR: Loading Script Texts additional data...");
uint32 oldMSTime = getMSTime();
-
+
// 0 1 2 3
QueryResult result = WorldDatabase.Query("SELECT entry, sound, type, language, emote FROM script_texts");
if (!result)
{
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded 0 additional Script Texts data. DB table `script_texts` is empty.");
-
+
return;
}
@@ -84,7 +84,7 @@ void SystemMgr::LoadScriptTexts()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded %u additional Script Texts data in %u ms", uiCount, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SystemMgr::LoadScriptTextsCustom()
@@ -99,7 +99,7 @@ void SystemMgr::LoadScriptTextsCustom()
if (!result)
{
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded 0 additional Custom Texts data. DB table `custom_texts` is empty.");
-
+
return;
}
@@ -146,7 +146,7 @@ void SystemMgr::LoadScriptTextsCustom()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded %u additional Custom Texts data.", uiCount);
-
+
}
void SystemMgr::LoadScriptWaypoints()
@@ -171,7 +171,7 @@ void SystemMgr::LoadScriptWaypoints()
if (!result)
{
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded 0 Script Waypoints. DB table `script_waypoint` is empty.");
-
+
return;
}
@@ -207,5 +207,5 @@ void SystemMgr::LoadScriptWaypoints()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_TSCR, ">> Loaded %u Script Waypoint nodes in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
diff --git a/src/server/game/Skills/SkillDiscovery.cpp b/src/server/game/Skills/SkillDiscovery.cpp
index 96a3538c759..d9cfbe6b69c 100755
--- a/src/server/game/Skills/SkillDiscovery.cpp
+++ b/src/server/game/Skills/SkillDiscovery.cpp
@@ -56,7 +56,7 @@ void LoadSkillDiscoveryTable()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 skill discovery definitions. DB table `skill_discovery_template` is empty.");
-
+
return;
}
@@ -154,7 +154,7 @@ void LoadSkillDiscoveryTable()
}
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u skill discovery definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
uint32 GetExplicitDiscoverySpell(uint32 spellId, Player* player)
diff --git a/src/server/game/Skills/SkillExtraItems.cpp b/src/server/game/Skills/SkillExtraItems.cpp
index 869f5476719..9cb4c145b3d 100755
--- a/src/server/game/Skills/SkillExtraItems.cpp
+++ b/src/server/game/Skills/SkillExtraItems.cpp
@@ -61,7 +61,7 @@ void LoadSkillExtraItemTable()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 spell specialization definitions. DB table `skill_extra_item_template` is empty.");
-
+
return;
}
@@ -111,7 +111,7 @@ void LoadSkillExtraItemTable()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u spell specialization definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool canCreateExtraItems(Player* player, uint32 spellId, float &additionalChance, uint8 &additionalMax)
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 2b0e71b4dd8..3cc3a877337 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -1156,7 +1156,7 @@ void SpellMgr::LoadSpellRanks()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell rank records. DB table `spell_ranks` is empty.");
-
+
return;
}
@@ -1252,7 +1252,7 @@ void SpellMgr::LoadSpellRanks()
} while (!finished);
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell rank records in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellRequired()
@@ -1268,7 +1268,7 @@ void SpellMgr::LoadSpellRequired()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell required records. DB table `spell_required` is empty.");
-
+
return;
}
@@ -1313,7 +1313,7 @@ void SpellMgr::LoadSpellRequired()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell required records in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellLearnSkills()
@@ -1351,7 +1351,7 @@ void SpellMgr::LoadSpellLearnSkills()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u Spell Learn Skills from DBC in %u ms", dbc_count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellLearnSpells()
@@ -1365,7 +1365,7 @@ void SpellMgr::LoadSpellLearnSpells()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell learn spells. DB table `spell_learn_spell` is empty.");
-
+
return;
}
@@ -1454,7 +1454,7 @@ void SpellMgr::LoadSpellLearnSpells()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell learn spells + %u found in DBC in %u ms", count, dbc_count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellTargetPositions()
@@ -1468,7 +1468,7 @@ void SpellMgr::LoadSpellTargetPositions()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell target coordinates. DB table `spell_target_position` is empty.");
-
+
return;
}
@@ -1574,7 +1574,7 @@ void SpellMgr::LoadSpellTargetPositions()
}*/
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell teleport coordinates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellGroups()
@@ -1589,7 +1589,7 @@ void SpellMgr::LoadSpellGroups()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell group definitions. DB table `spell_group` is empty.");
-
+
return;
}
@@ -1656,7 +1656,7 @@ void SpellMgr::LoadSpellGroups()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell group definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellGroupStackRules()
@@ -1670,7 +1670,7 @@ void SpellMgr::LoadSpellGroupStackRules()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell group stack rules. DB table `spell_group_stack_rules` is empty.");
-
+
return;
}
@@ -1701,7 +1701,7 @@ void SpellMgr::LoadSpellGroupStackRules()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell group stack rules in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellProcEvents()
@@ -1715,7 +1715,7 @@ void SpellMgr::LoadSpellProcEvents()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell proc event conditions. DB table `spell_proc_event` is empty.");
-
+
return;
}
@@ -1765,7 +1765,7 @@ void SpellMgr::LoadSpellProcEvents()
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u extra and %u custom spell proc event conditions in %u ms", count, customProc, GetMSTimeDiffToNow(oldMSTime));
else
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u extra spell proc event conditions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellProcs()
@@ -1779,7 +1779,7 @@ void SpellMgr::LoadSpellProcs()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell proc conditions and data. DB table `spell_proc` is empty.");
-
+
return;
}
@@ -1906,7 +1906,7 @@ void SpellMgr::LoadSpellProcs()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell proc conditions and data in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellBonusess()
@@ -1920,7 +1920,7 @@ void SpellMgr::LoadSpellBonusess()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell bonus data. DB table `spell_bonus_data` is empty.");
-
+
return;
}
@@ -1947,7 +1947,7 @@ void SpellMgr::LoadSpellBonusess()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u extra spell bonus data in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellThreats()
@@ -1961,7 +1961,7 @@ void SpellMgr::LoadSpellThreats()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 aggro generating spells. DB table `spell_threat` is empty.");
-
+
return;
}
@@ -1988,7 +1988,7 @@ void SpellMgr::LoadSpellThreats()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u SpellThreatEntries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSkillLineAbilityMap()
@@ -2010,7 +2010,7 @@ void SpellMgr::LoadSkillLineAbilityMap()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u SkillLineAbility MultiMap Data in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellPetAuras()
@@ -2024,7 +2024,7 @@ void SpellMgr::LoadSpellPetAuras()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell pet auras. DB table `spell_pet_auras` is empty.");
-
+
return;
}
@@ -2072,7 +2072,7 @@ void SpellMgr::LoadSpellPetAuras()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell pet auras in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
// Fill custom data about enchancments
@@ -2113,7 +2113,7 @@ void SpellMgr::LoadEnchantCustomAttr()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u custom enchant attributes in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellEnchantProcData()
@@ -2127,7 +2127,7 @@ void SpellMgr::LoadSpellEnchantProcData()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell enchant proc event conditions. DB table `spell_enchant_proc_data` is empty.");
-
+
return;
}
@@ -2157,7 +2157,7 @@ void SpellMgr::LoadSpellEnchantProcData()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u enchant proc data definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellLinked()
@@ -2171,7 +2171,7 @@ void SpellMgr::LoadSpellLinked()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 linked spells. DB table `spell_linked_spell` is empty.");
-
+
return;
}
@@ -2210,7 +2210,7 @@ void SpellMgr::LoadSpellLinked()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u linked spells in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadPetLevelupSpellMap()
@@ -2267,7 +2267,7 @@ void SpellMgr::LoadPetLevelupSpellMap()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u pet levelup and default spells for %u families in %u ms", count, family_count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
bool LoadPetDefaultSpells_helper(CreatureTemplate const* cInfo, PetDefaultSpellsEntry& petDefSpells)
@@ -2352,7 +2352,7 @@ void SpellMgr::LoadPetDefaultSpells()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded addition spells for %u pet spell data entries in %u ms", countData, GetMSTimeDiffToNow(oldMSTime));
-
+
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, "Loading summonable creature templates...");
oldMSTime = getMSTime();
@@ -2396,7 +2396,7 @@ void SpellMgr::LoadPetDefaultSpells()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u summonable creature templates in %u ms", countCreature, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellAreas()
@@ -2415,7 +2415,7 @@ void SpellMgr::LoadSpellAreas()
if (!result)
{
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded 0 spell area requirements. DB table `spell_area` is empty.");
-
+
return;
}
@@ -2596,7 +2596,7 @@ void SpellMgr::LoadSpellAreas()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded %u spell area requirements in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadSpellInfoStore()
@@ -2613,7 +2613,7 @@ void SpellMgr::LoadSpellInfoStore()
}
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded spell custom attributes in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::UnloadSpellInfoStore()
@@ -2926,7 +2926,7 @@ void SpellMgr::LoadSpellCustomAttr()
CreatureAI::FillAISpellInfo();
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loaded spell custom attributes in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SpellMgr::LoadDbcDataCorrections()
@@ -3570,5 +3570,5 @@ void SpellMgr::LoadDbcDataCorrections()
properties->Type = SUMMON_TYPE_TOTEM;
sLog->outInfo(LOG_FILTER_SPELLS_AURAS, ">> Loading spell dbc data corrections in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
diff --git a/src/server/game/Texts/CreatureTextMgr.cpp b/src/server/game/Texts/CreatureTextMgr.cpp
index 32d361faa9a..f64043b7038 100755
--- a/src/server/game/Texts/CreatureTextMgr.cpp
+++ b/src/server/game/Texts/CreatureTextMgr.cpp
@@ -78,7 +78,7 @@ void CreatureTextMgr::LoadCreatureTexts()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 ceature texts. DB table `creature_texts` is empty.");
-
+
return;
}
@@ -137,7 +137,7 @@ void CreatureTextMgr::LoadCreatureTexts()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature texts for %u creatures in %u ms", textCount, creatureCount, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void CreatureTextMgr::LoadCreatureTextLocales()
@@ -167,7 +167,7 @@ void CreatureTextMgr::LoadCreatureTextLocales()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u creature localized texts in %u ms", textCount, GetMSTimeDiffToNow(oldMSTime));
-
+
}
uint32 CreatureTextMgr::SendChat(Creature* source, uint8 textGroup, uint64 whisperGuid /*= 0*/, ChatMsg msgType /*= CHAT_MSG_ADDON*/, Language language /*= LANG_ADDON*/, TextRange range /*= TEXT_RANGE_NORMAL*/, uint32 sound /*= 0*/, Team team /*= TEAM_OTHER*/, bool gmOnly /*= false*/, Player* srcPlr /*= NULL*/)
diff --git a/src/server/game/Tickets/TicketMgr.cpp b/src/server/game/Tickets/TicketMgr.cpp
index aedb27a040f..d03ffbbb1f6 100755
--- a/src/server/game/Tickets/TicketMgr.cpp
+++ b/src/server/game/Tickets/TicketMgr.cpp
@@ -264,7 +264,7 @@ void TicketMgr::LoadTickets()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 GM tickets. DB table `gm_tickets` is empty!");
-
+
return;
}
@@ -291,7 +291,7 @@ void TicketMgr::LoadTickets()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u GM tickets in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void TicketMgr::LoadSurveys()
@@ -304,7 +304,7 @@ void TicketMgr::LoadSurveys()
_lastSurveyId = (*result)[0].GetUInt32();
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded GM Survey count from database in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
void TicketMgr::AddTicket(GmTicket* ticket)
diff --git a/src/server/game/Tools/CharacterDatabaseCleaner.cpp b/src/server/game/Tools/CharacterDatabaseCleaner.cpp
index 0619491f364..2bd9a157e73 100644
--- a/src/server/game/Tools/CharacterDatabaseCleaner.cpp
+++ b/src/server/game/Tools/CharacterDatabaseCleaner.cpp
@@ -64,7 +64,7 @@ void CharacterDatabaseCleaner::CleanDatabase()
sWorld->SetCleaningFlags(flags);
sLog->outInfo(LOG_FILTER_GENERAL, ">> Cleaned character database in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
}
void CharacterDatabaseCleaner::CheckUnique(const char* column, const char* table, bool (*check)(uint32))
diff --git a/src/server/game/Warden/WardenCheckMgr.cpp b/src/server/game/Warden/WardenCheckMgr.cpp
index 177f373c978..f6daba76c1a 100644
--- a/src/server/game/Warden/WardenCheckMgr.cpp
+++ b/src/server/game/Warden/WardenCheckMgr.cpp
@@ -44,7 +44,7 @@ void WardenCheckMgr::LoadWardenChecks()
if (!sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED))
{
sLog->outInfo(LOG_FILTER_WARDEN, ">> Warden disabled, loading checks skipped.");
-
+
return;
}
@@ -53,7 +53,7 @@ void WardenCheckMgr::LoadWardenChecks()
if (!result)
{
sLog->outInfo(LOG_FILTER_WARDEN, ">> Loaded 0 Warden checks. DB table `warden_checks` is empty!");
-
+
return;
}
@@ -146,7 +146,7 @@ void WardenCheckMgr::LoadWardenChecks()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_WARDEN, ">> Loaded %u warden checks.", count);
-
+
}
void WardenCheckMgr::LoadWardenOverrides()
@@ -155,7 +155,7 @@ void WardenCheckMgr::LoadWardenOverrides()
if (!sWorld->getBoolConfig(CONFIG_WARDEN_ENABLED))
{
sLog->outInfo(LOG_FILTER_WARDEN, ">> Warden disabled, loading check overrides skipped.");
-
+
return;
}
@@ -165,7 +165,7 @@ void WardenCheckMgr::LoadWardenOverrides()
if (!result)
{
sLog->outInfo(LOG_FILTER_WARDEN, ">> Loaded 0 Warden action overrides. DB table `warden_action` is empty!");
-
+
return;
}
@@ -195,7 +195,7 @@ void WardenCheckMgr::LoadWardenOverrides()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_WARDEN, ">> Loaded %u warden action overrides.", count);
-
+
}
WardenCheck* WardenCheckMgr::GetWardenDataById(uint16 Id)
diff --git a/src/server/game/Weather/WeatherMgr.cpp b/src/server/game/Weather/WeatherMgr.cpp
index 150e9f845ec..0e7f1c87b26 100755
--- a/src/server/game/Weather/WeatherMgr.cpp
+++ b/src/server/game/Weather/WeatherMgr.cpp
@@ -94,7 +94,7 @@ void LoadWeatherData()
if (!result)
{
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 weather definitions. DB table `game_weather` is empty.");
-
+
return;
}
@@ -138,7 +138,7 @@ void LoadWeatherData()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u weather definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
void SendFineWeatherUpdateToPlayer(Player* player)
diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp
index 717cfd67ac6..3a13f48d807 100755
--- a/src/server/game/World/World.cpp
+++ b/src/server/game/World/World.cpp
@@ -1246,7 +1246,7 @@ void World::SetInitialWorldSettings()
sGameEventMgr->Initialize();
///- Loading strings. Getting no records means core load has to be canceled because no error message can be output.
-
+
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Trinity strings...");
if (!sObjectMgr->LoadTrinityStrings())
exit(1); // Error message displayed in function already
@@ -1314,7 +1314,7 @@ void World::SetInitialWorldSettings()
sObjectMgr->SetDBCLocaleIndex(GetDefaultDbcLocale()); // Get once for all the locale index of DBC language (console/broadcasts)
sLog->outInfo(LOG_FILTER_GENERAL, ">> Localization strings loaded in %u ms", GetMSTimeDiffToNow(oldMSTime));
-
+
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Page Texts...");
sObjectMgr->LoadPageTexts();
@@ -1794,7 +1794,7 @@ void World::DetectDBCLang()
m_defaultDbcLocale = LocaleConstant(default_locale);
sLog->outInfo(LOG_FILTER_GENERAL, "Using %s DBC Locale as default. All available DBC locales: %s", localeNames[m_defaultDbcLocale], availableLocalsStr.empty() ? "<none>" : availableLocalsStr.c_str());
-
+
}
void World::RecordTimeDiff(const char *text, ...)
@@ -1834,7 +1834,7 @@ void World::LoadAutobroadcasts()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 autobroadcasts definitions. DB table `autobroadcast` is empty!");
-
+
return;
}
@@ -1852,7 +1852,7 @@ void World::LoadAutobroadcasts()
} while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u autobroadcasts definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
/// Update the World !
@@ -2835,7 +2835,7 @@ void World::LoadWorldStates()
if (!result)
{
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 world states. DB table `worldstates` is empty!");
-
+
return;
}
@@ -2850,7 +2850,7 @@ void World::LoadWorldStates()
while (result->NextRow());
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u world states in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
-
+
}
// Setting a worldstate will save it to DB
diff --git a/src/server/shared/AutoPtr.h b/src/server/shared/AutoPtr.h
index 988c46cc5a2..19f0680c267 100644
--- a/src/server/shared/AutoPtr.h
+++ b/src/server/shared/AutoPtr.h
@@ -27,7 +27,7 @@ namespace Trinity
{
public:
AutoPtr() : ACE_Strong_Bound_Ptr<Pointer, Lock>() {}
-
+
AutoPtr(Pointer* x)
{
ACE_Strong_Bound_Ptr<Pointer, Lock>::reset(x);
diff --git a/src/server/shared/Database/MySQLConnection.cpp b/src/server/shared/Database/MySQLConnection.cpp
index 324efab067e..7332cb3ec01 100755
--- a/src/server/shared/Database/MySQLConnection.cpp
+++ b/src/server/shared/Database/MySQLConnection.cpp
@@ -175,7 +175,7 @@ bool MySQLConnection::Execute(const char* sql)
return false;
}
- else
+ else
sLog->outDebug(LOG_FILTER_SQL, "[%u ms] SQL: %s", getMSTimeDiff(_s, getMSTime()), sql);
}
diff --git a/src/server/shared/Logging/Appender.h b/src/server/shared/Logging/Appender.h
index 992554d59aa..c32f51e5a88 100644
--- a/src/server/shared/Logging/Appender.h
+++ b/src/server/shared/Logging/Appender.h
@@ -2,7 +2,7 @@
#define APPENDER_H
#include "Define.h"
-
+#include <time.h>
#include <string>
#include <map>
diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h
index 6912e841bc3..045c5fd91c8 100755
--- a/src/server/shared/Packets/ByteBuffer.h
+++ b/src/server/shared/Packets/ByteBuffer.h
@@ -480,12 +480,12 @@ class ByteBuffer
{
if (!sLog->ShouldLog(LOG_FILTER_NETWORKIO, LOG_LEVEL_TRACE)) // optimize disabled debug output
return;
-
+
uint32 j = 1, k = 1;
-
+
std::ostringstream o;
o << "STORAGE_SIZE: " << size();
-
+
for (uint32 i = 0; i < size(); ++i)
{
char buf[3];
@@ -501,7 +501,7 @@ class ByteBuffer
++k;
++j;
}
-
+
o << buf;
}
o << " ";