mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Logging: Change a few more logging messages to LOG_FILTER_SERVER_LOADING
consistency!
This commit is contained in:
@@ -712,7 +712,7 @@ void ConditionMgr::LoadConditions(bool isReload)
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 conditions. DB table `conditions` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 conditions. DB table `conditions` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ void LoadRandomEnchantmentsTable()
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> 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.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 Item Enchantment definitions. DB table `item_enchantment_template` is empty.");
|
||||
}
|
||||
|
||||
uint32 GetItemEnchantMod(int32 entry)
|
||||
|
||||
@@ -210,7 +210,7 @@ void GameEventMgr::LoadFromDB()
|
||||
if (!result)
|
||||
{
|
||||
mGameEvent.clear();
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 game events. DB table `game_event` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 game events. DB table `game_event` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1172,7 +1172,7 @@ void ObjectMgr::LoadLinkedRespawn()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 linked respawns. DB table `linked_respawn` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 linked respawns. DB table `linked_respawn` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -1403,7 +1403,7 @@ void ObjectMgr::LoadCreatures()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creatures. DB table `creature` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 creatures. DB table `creature` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -1712,7 +1712,7 @@ void ObjectMgr::LoadGameobjects()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gameobjects. DB table `gameobject` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 gameobjects. DB table `gameobject` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -2565,7 +2565,7 @@ void ObjectMgr::LoadItemTemplateAddon()
|
||||
} while (result->NextRow());
|
||||
}
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u item addon templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u item addon templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
}
|
||||
|
||||
void ObjectMgr::LoadItemScriptNames()
|
||||
@@ -2591,7 +2591,7 @@ void ObjectMgr::LoadItemScriptNames()
|
||||
} while (result->NextRow());
|
||||
}
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u item script names in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u item script names in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
}
|
||||
|
||||
ItemTemplate const* ObjectMgr::GetItemTemplate(uint32 entry)
|
||||
@@ -2615,7 +2615,7 @@ void ObjectMgr::LoadVehicleTemplateAccessories()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 vehicle template accessories. DB table `vehicle_template_accessory` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 vehicle template accessories. DB table `vehicle_template_accessory` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -2710,7 +2710,7 @@ void ObjectMgr::LoadPetLevelInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level pet stats definitions. DB table `pet_levelstats` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 level pet stats definitions. DB table `pet_levelstats` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -2857,7 +2857,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
if (!result)
|
||||
{
|
||||
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 player create definitions. DB table `playercreateinfo` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 player create definitions. DB table `playercreateinfo` is empty.");
|
||||
exit(1);
|
||||
}
|
||||
else
|
||||
@@ -3015,7 +3015,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");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 player create spells. DB table `%s` is empty.", sWorld->getBoolConfig(CONFIG_START_ALL_SPELLS) ? "playercreateinfo_spell_custom" : "playercreateinfo_spell");
|
||||
|
||||
}
|
||||
else
|
||||
@@ -3071,7 +3071,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 player create actions. DB table `playercreateinfo_action` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 player create actions. DB table `playercreateinfo_action` is empty.");
|
||||
|
||||
}
|
||||
else
|
||||
@@ -3117,7 +3117,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level stats definitions. DB table `player_levelstats` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 level stats definitions. DB table `player_levelstats` is empty.");
|
||||
|
||||
exit(1);
|
||||
}
|
||||
@@ -3234,7 +3234,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.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 xp for level definitions. DB table `player_xp_for_level` is empty.");
|
||||
|
||||
exit(1);
|
||||
}
|
||||
@@ -3444,7 +3444,7 @@ void ObjectMgr::LoadQuests()
|
||||
" FROM quest_template");
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 quests definitions. DB table `quest_template` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 quests definitions. DB table `quest_template` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -4986,7 +4986,7 @@ void ObjectMgr::LoadInstanceEncounters()
|
||||
QueryResult result = WorldDatabase.Query("SELECT entry, creditType, creditEntry, lastEncounterDungeon FROM instance_encounters");
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 instance encounters, table is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 instance encounters, table is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -6446,7 +6446,7 @@ void ObjectMgr::LoadExplorationBaseXP()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 BaseXP definitions. DB table `exploration_basexp` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 BaseXP definitions. DB table `exploration_basexp` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -6671,7 +6671,7 @@ void ObjectMgr::LoadReputationOnKill()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creature award reputation definitions. DB table `creature_onkill_reputation` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 creature award reputation definitions. DB table `creature_onkill_reputation` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -6859,7 +6859,7 @@ void ObjectMgr::LoadPointsOfInterest()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -6905,7 +6905,7 @@ void ObjectMgr::LoadQuestPOI()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 quest POI definitions. DB table `quest_poi` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 quest POI definitions. DB table `quest_poi` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -6973,7 +6973,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 spellclick spells. DB table `npc_spellclick_spells` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 spellclick spells. DB table `npc_spellclick_spells` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -7076,7 +7076,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());
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 quest relations from `%s`, table is empty.", table.c_str());
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -7447,7 +7447,7 @@ bool ObjectMgr::LoadTrinityStrings(const char* table, int32 min_value, int32 max
|
||||
if (!result)
|
||||
{
|
||||
if (min_value == MIN_TRINITY_STRING_ID) // error only in case internal strings
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 trinity strings. DB table `%s` is empty. Cannot continue.", table);
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 trinity strings. DB table `%s` is empty. Cannot continue.", table);
|
||||
else
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 string templates. DB table `%s` is empty.", table);
|
||||
|
||||
@@ -7523,7 +7523,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.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 areas for fishing base skill level. DB table `skill_fishing_base_level` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -7631,7 +7631,7 @@ void ObjectMgr::LoadGameTele()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 GameTeleports. DB table `game_tele` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 GameTeleports. DB table `game_tele` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -7771,7 +7771,7 @@ void ObjectMgr::LoadMailLevelRewards()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 level dependent mail rewards. DB table `mail_level_reward` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 level dependent mail rewards. DB table `mail_level_reward` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -7913,7 +7913,7 @@ void ObjectMgr::LoadTrainerSpell()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Trainers. DB table `npc_trainer` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 Trainers. DB table `npc_trainer` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -7996,7 +7996,7 @@ void ObjectMgr::LoadVendors()
|
||||
if (!result)
|
||||
{
|
||||
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 Vendors. DB table `npc_vendor` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 Vendors. DB table `npc_vendor` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8043,7 +8043,7 @@ void ObjectMgr::LoadGossipMenu()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gossip_menu entries. DB table `gossip_menu` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 gossip_menu entries. DB table `gossip_menu` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -8089,7 +8089,7 @@ void ObjectMgr::LoadGossipMenuItems()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gossip_menu_option entries. DB table `gossip_menu_option` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 gossip_menu_option entries. DB table `gossip_menu_option` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -8480,7 +8480,7 @@ void ObjectMgr::LoadFactionChangeAchievements()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 faction change achievement pairs. DB table `player_factionchange_achievement` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 faction change achievement pairs. DB table `player_factionchange_achievement` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -8551,7 +8551,7 @@ void ObjectMgr::LoadFactionChangeSpells()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 faction change spell pairs. DB table `player_factionchange_spells` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 faction change spell pairs. DB table `player_factionchange_spells` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -8622,7 +8622,7 @@ void ObjectMgr::LoadHotfixData()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded 0 hotfix info entries. DB table `hotfix_data` is empty.");
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 hotfix info entries. DB table `hotfix_data` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8644,7 +8644,7 @@ void ObjectMgr::LoadHotfixData()
|
||||
}
|
||||
while (result->NextRow());
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, ">> Loaded %u hotfix info entries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u hotfix info entries in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
}
|
||||
|
||||
GameObjectTemplate const* ObjectMgr::GetGameObjectTemplate(uint32 entry)
|
||||
|
||||
@@ -1483,7 +1483,7 @@ void LoadLootTemplates_Creature()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u creature loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Disenchant()
|
||||
@@ -1517,7 +1517,7 @@ void LoadLootTemplates_Disenchant()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> 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");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 disenchanting loot templates. DB table `disenchant_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Fishing()
|
||||
@@ -1541,7 +1541,7 @@ void LoadLootTemplates_Fishing()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u fishing loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Gameobject()
|
||||
@@ -1575,7 +1575,7 @@ void LoadLootTemplates_Gameobject()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u gameobject loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Item()
|
||||
@@ -1599,7 +1599,7 @@ void LoadLootTemplates_Item()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u item loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Milling()
|
||||
@@ -1628,7 +1628,7 @@ void LoadLootTemplates_Milling()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u milling loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Pickpocketing()
|
||||
@@ -1662,7 +1662,7 @@ void LoadLootTemplates_Pickpocketing()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u pickpocketing loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Prospecting()
|
||||
@@ -1691,7 +1691,7 @@ void LoadLootTemplates_Prospecting()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u prospecting loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Mail()
|
||||
@@ -1715,7 +1715,7 @@ void LoadLootTemplates_Mail()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u mail loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Skinning()
|
||||
@@ -1749,7 +1749,7 @@ void LoadLootTemplates_Skinning()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded %u skinning loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Spell()
|
||||
@@ -1791,7 +1791,7 @@ void LoadLootTemplates_Spell()
|
||||
if (count)
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> 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");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 spell loot templates. DB table `spell_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Reference()
|
||||
|
||||
@@ -48,7 +48,7 @@ void WaypointMgr::Load()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 waypoints. DB table `waypoint_data` is empty!");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 waypoints. DB table `waypoint_data` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ void LoadSkillDiscoveryTable()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 skill discovery definitions. DB table `skill_discovery_template` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 skill discovery definitions. DB table `skill_discovery_template` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -60,7 +60,7 @@ void LoadSkillExtraItemTable()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 spell specialization definitions. DB table `skill_extra_item_template` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 spell specialization definitions. DB table `skill_extra_item_template` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ void WardenCheckMgr::LoadWardenChecks()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_WARDEN, ">> Loaded 0 Warden checks. DB table `warden_checks` is empty!");
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 Warden checks. DB table `warden_checks` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -164,7 +164,7 @@ void WardenCheckMgr::LoadWardenOverrides()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_WARDEN, ">> Loaded 0 Warden action overrides. DB table `warden_action` is empty!");
|
||||
sLog->outInfo(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 Warden action overrides. DB table `warden_action` is empty!");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ void LoadWeatherData()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
sLog->outError(LOG_FILTER_SQL, ">> Loaded 0 weather definitions. DB table `game_weather` is empty.");
|
||||
sLog->outError(LOG_FILTER_SERVER_LOADING, ">> Loaded 0 weather definitions. DB table `game_weather` is empty.");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user