mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Logs: Fix more logs
the others have exit,so they continue to be error because they are critical
This commit is contained in:
@@ -2287,7 +2287,7 @@ void AchievementGlobalMgr::LoadAchievementCriteriaList()
|
||||
|
||||
if (sAchievementCriteriaStore.GetNumRows() == 0)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 achievement criteria.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 achievement criteria.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2574,7 +2574,7 @@ void AchievementGlobalMgr::LoadRewards()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 achievement rewards. DB table `achievement_reward` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 achievement rewards. DB table `achievement_reward` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -535,7 +535,7 @@ void BattlegroundMgr::LoadBattlegroundTemplates()
|
||||
QueryResult result = WorldDatabase.Query("SELECT ID, MinPlayersPerTeam, MaxPlayersPerTeam, MinLvl, MaxLvl, AllianceStartLoc, AllianceStartO, HordeStartLoc, HordeStartO, StartMaxDist, Weight, ScriptName FROM battleground_template");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 battlegrounds. DB table `battleground_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 battlegrounds. DB table `battleground_template` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -1036,7 +1036,7 @@ void ConditionMgr::LoadConditions(bool isReload)
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 conditions. DB table `conditions` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 conditions. DB table `conditions` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ void LFGMgr::LoadRewards()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 lfg dungeon rewards. DB table `lfg_dungeon_rewards` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 lfg dungeon rewards. DB table `lfg_dungeon_rewards` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ void LFGMgr::LoadLFGDungeons(bool reload /* = false */)
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 lfg entrance positions. DB table `lfg_dungeon_template` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 lfg entrance positions. DB table `lfg_dungeon_template` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ void FormationMgr::LoadCreatureFormations()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 creatures in formations. DB table `creature_formations` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 creatures in formations. DB table `creature_formations` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ void LoadRandomEnchantmentsTable()
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u Item Enchantment definitions in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
}
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 Item Enchantment definitions. DB table `item_enchantment_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 Item Enchantment definitions. DB table `item_enchantment_template` is empty.");
|
||||
}
|
||||
|
||||
uint32 GetItemEnchantMod(int32 entry)
|
||||
|
||||
@@ -223,7 +223,7 @@ void GameEventMgr::LoadFromDB()
|
||||
if (!result)
|
||||
{
|
||||
mGameEvent.clear();
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 game events. DB table `game_event` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 game events. DB table `game_event` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -3195,7 +3195,7 @@ void ObjectMgr::LoadVehicleTemplateAccessories()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 vehicle template accessories. DB table `vehicle_template_accessory` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 vehicle template accessories. DB table `vehicle_template_accessory` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3289,7 +3289,7 @@ void ObjectMgr::LoadPetLevelInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 level pet stats definitions. DB table `pet_levelstats` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 level pet stats definitions. DB table `pet_levelstats` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3583,7 +3583,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 player create skills. DB table `playercreateinfo_skills` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 player create skills. DB table `playercreateinfo_skills` is empty.");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3657,7 +3657,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 player create spells. DB table `playercreateinfo_spell_custom` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 player create spells. DB table `playercreateinfo_spell_custom` is empty.");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -3718,7 +3718,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
QueryResult result = WorldDatabase.PQuery("SELECT raceMask, classMask, spell FROM playercreateinfo_cast_spell");
|
||||
|
||||
if (!result)
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 player create cast spells. DB table `playercreateinfo_cast_spell` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 player create cast spells. DB table `playercreateinfo_cast_spell` is empty.");
|
||||
else
|
||||
{
|
||||
uint32 count = 0;
|
||||
@@ -3775,7 +3775,7 @@ void ObjectMgr::LoadPlayerInfo()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 player create actions. DB table `playercreateinfo_action` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 player create actions. DB table `playercreateinfo_action` is empty.");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -4203,7 +4203,7 @@ void ObjectMgr::LoadQuests()
|
||||
" FROM quest_template");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 quests definitions. DB table `quest_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 quests definitions. DB table `quest_template` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -4254,7 +4254,7 @@ void ObjectMgr::LoadQuests()
|
||||
{
|
||||
QueryResult result = WorldDatabase.PQuery("SELECT %s FROM %s", loader.QueryFields, loader.TableName);
|
||||
if (!result)
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 quest %s. DB table `%s` is empty.", loader.TableDesc, loader.TableName);
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 quest %s. DB table `%s` is empty.", loader.TableDesc, loader.TableName);
|
||||
else
|
||||
{
|
||||
do
|
||||
@@ -5593,7 +5593,7 @@ void ObjectMgr::LoadInstanceEncounters()
|
||||
QueryResult result = WorldDatabase.Query("SELECT entry, creditType, creditEntry, lastEncounterDungeon FROM instance_encounters");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 instance encounters, table is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 instance encounters, table is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7253,7 +7253,7 @@ void ObjectMgr::LoadExplorationBaseXP()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 BaseXP definitions. DB table `exploration_basexp` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 BaseXP definitions. DB table `exploration_basexp` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7360,7 +7360,7 @@ void ObjectMgr::LoadReputationRewardRate()
|
||||
QueryResult result = WorldDatabase.Query("SELECT faction, quest_rate, quest_daily_rate, quest_weekly_rate, quest_monthly_rate, quest_repeatable_rate, creature_rate, spell_rate FROM reputation_reward_rate");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded `reputation_reward_rate`, table is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded `reputation_reward_rate`, table is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7455,7 +7455,7 @@ void ObjectMgr::LoadReputationOnKill()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 creature award reputation definitions. DB table `creature_onkill_reputation` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 creature award reputation definitions. DB table `creature_onkill_reputation` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7615,7 +7615,7 @@ void ObjectMgr::LoadPointsOfInterest()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7660,7 +7660,7 @@ void ObjectMgr::LoadQuestPOI()
|
||||
QueryResult result = WorldDatabase.Query("SELECT QuestID, id, ObjectiveIndex, MapID, WorldMapAreaId, Floor, Priority, Flags FROM quest_poi order by QuestID");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 quest POI definitions. DB table `quest_poi` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 quest POI definitions. DB table `quest_poi` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7752,7 +7752,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 spellclick spells. DB table `npc_spellclick_spells` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 spellclick spells. DB table `npc_spellclick_spells` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -7846,7 +7846,7 @@ void ObjectMgr::LoadQuestRelationsHelper(QuestRelations& map, QuestRelationsReve
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 quest relations from `%s`, table is empty.", table.c_str());
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 quest relations from `%s`, table is empty.", table.c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8206,7 +8206,7 @@ bool ObjectMgr::LoadTrinityStrings()
|
||||
QueryResult result = WorldDatabase.Query("SELECT entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8 FROM trinity_string");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 trinity strings. DB table `trinity_string` is empty. You have imported an incorrect database for more info search for TCE00003 on forum.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 trinity strings. DB table `trinity_string` is empty. You have imported an incorrect database for more info search for TCE00003 on forum.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -8252,7 +8252,7 @@ void ObjectMgr::LoadFishingBaseSkillLevel()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 areas for fishing base skill level. DB table `skill_fishing_base_level` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 areas for fishing base skill level. DB table `skill_fishing_base_level` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8371,7 +8371,7 @@ void ObjectMgr::LoadGameTele()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 GameTeleports. DB table `game_tele` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 GameTeleports. DB table `game_tele` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8529,7 +8529,7 @@ void ObjectMgr::LoadMailLevelRewards()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 level dependent mail rewards. DB table `mail_level_reward` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 level dependent mail rewards. DB table `mail_level_reward` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8796,7 +8796,7 @@ void ObjectMgr::LoadGossipMenu()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 gossip_menu IDs. DB table `gossip_menu` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 gossip_menu IDs. DB table `gossip_menu` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -8834,7 +8834,7 @@ void ObjectMgr::LoadGossipMenuItems()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 gossip_menu_option IDs. DB table `gossip_menu_option` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 gossip_menu_option IDs. DB table `gossip_menu_option` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -9055,7 +9055,7 @@ void ObjectMgr::LoadScriptNames()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded empty set of Script Names!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded empty set of Script Names!");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -9324,7 +9324,7 @@ void ObjectMgr::LoadFactionChangeAchievements()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 faction change achievement pairs. DB table `player_factionchange_achievement` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 faction change achievement pairs. DB table `player_factionchange_achievement` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -9394,7 +9394,7 @@ void ObjectMgr::LoadFactionChangeQuests()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 faction change quest pairs. DB table `player_factionchange_quests` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 faction change quest pairs. DB table `player_factionchange_quests` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -9464,7 +9464,7 @@ void ObjectMgr::LoadFactionChangeSpells()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 faction change spell pairs. DB table `player_factionchange_spells` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 faction change spell pairs. DB table `player_factionchange_spells` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -812,7 +812,7 @@ void LoadLootTemplates_Creature()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u creature loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 creature loot templates. DB table `creature_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Disenchant()
|
||||
@@ -845,7 +845,7 @@ void LoadLootTemplates_Disenchant()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u disenchanting loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 disenchanting loot templates. DB table `disenchant_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 disenchanting loot templates. DB table `disenchant_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Fishing()
|
||||
@@ -868,7 +868,7 @@ void LoadLootTemplates_Fishing()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u fishing loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 fishing loot templates. DB table `fishing_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Gameobject()
|
||||
@@ -902,7 +902,7 @@ void LoadLootTemplates_Gameobject()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u gameobject loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 gameobject loot templates. DB table `gameobject_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Item()
|
||||
@@ -926,7 +926,7 @@ void LoadLootTemplates_Item()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u item loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 item loot templates. DB table `item_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Milling()
|
||||
@@ -955,7 +955,7 @@ void LoadLootTemplates_Milling()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u milling loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 milling loot templates. DB table `milling_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Pickpocketing()
|
||||
@@ -989,7 +989,7 @@ void LoadLootTemplates_Pickpocketing()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u pickpocketing loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 pickpocketing loot templates. DB table `pickpocketing_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Prospecting()
|
||||
@@ -1018,7 +1018,7 @@ void LoadLootTemplates_Prospecting()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u prospecting loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 prospecting loot templates. DB table `prospecting_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Mail()
|
||||
@@ -1042,7 +1042,7 @@ void LoadLootTemplates_Mail()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u mail loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 mail loot templates. DB table `mail_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Skinning()
|
||||
@@ -1076,7 +1076,7 @@ void LoadLootTemplates_Skinning()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u skinning loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 skinning loot templates. DB table `skinning_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Spell()
|
||||
@@ -1116,7 +1116,7 @@ void LoadLootTemplates_Spell()
|
||||
if (count)
|
||||
TC_LOG_INFO("server.loading", ">> Loaded %u spell loot templates in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
|
||||
else
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 spell loot templates. DB table `spell_loot_template` is empty");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 spell loot templates. DB table `spell_loot_template` is empty");
|
||||
}
|
||||
|
||||
void LoadLootTemplates_Reference()
|
||||
|
||||
@@ -31,7 +31,7 @@ void WaypointMgr::Load()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 waypoints. DB table `waypoint_data` is empty!");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 waypoints. DB table `waypoint_data` is empty!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ void OutdoorPvPMgr::InitOutdoorPvP()
|
||||
QueryResult result = WorldDatabase.Query("SELECT TypeId, ScriptName FROM outdoorpvp_template");
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 outdoor PvP definitions. DB table `outdoorpvp_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 outdoor PvP definitions. DB table `outdoorpvp_template` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ void LoadSkillDiscoveryTable()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 skill discovery definitions. DB table `skill_discovery_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 skill discovery definitions. DB table `skill_discovery_template` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ void LoadSkillPerfectItemTable()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 spell perfection definitions. DB table `skill_perfect_item_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 spell perfection definitions. DB table `skill_perfect_item_template` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -148,7 +148,7 @@ void LoadSkillExtraItemTable()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 spell specialization definitions. DB table `skill_extra_item_template` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 spell specialization definitions. DB table `skill_extra_item_template` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ void LoadWeatherData()
|
||||
|
||||
if (!result)
|
||||
{
|
||||
TC_LOG_ERROR("server.loading", ">> Loaded 0 weather definitions. DB table `game_weather` is empty.");
|
||||
TC_LOG_INFO("server.loading", ">> Loaded 0 weather definitions. DB table `game_weather` is empty.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user