diff options
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 238 |
1 files changed, 119 insertions, 119 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index ddfd915c5b5..f15e02118c6 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -213,7 +213,7 @@ void ObjectMgr::LoadPlayerInfoInCache() while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded info about %d players", m_mPlayerInfoMap.size()); } @@ -336,7 +336,7 @@ void ObjectMgr::LoadCreatureLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 creature locale strings. DB table `locales_creature` is empty."); return; } @@ -383,7 +383,7 @@ void ObjectMgr::LoadCreatureLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu creature locale strings", (unsigned long)mCreatureLocaleMap.size() ); } @@ -404,7 +404,7 @@ void ObjectMgr::LoadNpcOptionLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 npc_option locale strings. DB table `locales_npc_option` is empty."); return; } @@ -451,7 +451,7 @@ void ObjectMgr::LoadNpcOptionLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu npc_option locale strings", (unsigned long)mNpcOptionLocaleMap.size() ); } @@ -467,7 +467,7 @@ void ObjectMgr::LoadPointOfInterestLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 points_of_interest locale strings. DB table `locales_points_of_interest` is empty."); return; } @@ -502,7 +502,7 @@ void ObjectMgr::LoadPointOfInterestLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu points_of_interest locale strings", (unsigned long)mPointOfInterestLocaleMap.size() ); } @@ -521,7 +521,7 @@ void ObjectMgr::LoadCreatureTemplates() loader.Load(sCreatureStorage); sLog.outString( ">> Loaded %u creature definitions", sCreatureStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); std::set<uint32> heroicEntries; // already loaded heroic value in creatures std::set<uint32> hasHeroicEntries; // already loaded creatures with heroic entry values @@ -779,7 +779,7 @@ void ObjectMgr::LoadCreatureAddons() sCreatureInfoAddonStorage.Load(); sLog.outString( ">> Loaded %u creature template addons", sCreatureInfoAddonStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); // check data correctness and convert 'auras' for(uint32 i = 1; i < sCreatureInfoAddonStorage.MaxEntry; ++i) @@ -797,7 +797,7 @@ void ObjectMgr::LoadCreatureAddons() sCreatureDataAddonStorage.Load(); sLog.outString( ">> Loaded %u creature addons", sCreatureDataAddonStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); // check data correctness and convert 'auras' for(uint32 i = 1; i < sCreatureDataAddonStorage.MaxEntry; ++i) @@ -859,7 +859,7 @@ void ObjectMgr::LoadEquipmentTemplates() } } sLog.outString( ">> Loaded %u equipment template", sEquipmentStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); // This DBC is currently only used for item templates and creature equipments checks. sItemStore.Clear(); @@ -910,7 +910,7 @@ void ObjectMgr::LoadCreatureModelInfo() sCreatureModelStorage.Load(); sLog.outString( ">> Loaded %u creature model based info", sCreatureModelStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); // check if combat_reach is valid for(uint32 i = 1; i < sCreatureModelStorage.MaxEntry; ++i) @@ -945,7 +945,7 @@ void ObjectMgr::LoadCreatures() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded 0 creature. DB table `creature` is empty."); return; } @@ -1067,7 +1067,7 @@ void ObjectMgr::LoadCreatures() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu creatures", (unsigned long)mCreatureDataMap.size() ); } @@ -1120,7 +1120,7 @@ void ObjectMgr::LoadGameobjects() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded 0 gameobjects. DB table `gameobject` is empty."); return; } @@ -1195,7 +1195,7 @@ void ObjectMgr::LoadGameobjects() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu gameobjects", (unsigned long)mGameObjectDataMap.size()); } @@ -1246,7 +1246,7 @@ void ObjectMgr::LoadCreatureRespawnTimes() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 creature respawn time."); return; } @@ -1270,7 +1270,7 @@ void ObjectMgr::LoadCreatureRespawnTimes() delete result; sLog.outString( ">> Loaded %lu creature respawn times", (unsigned long)mCreatureRespawnTimes.size() ); - sLog.outString(""); + sLog.outString(); } void ObjectMgr::LoadGameobjectRespawnTimes() @@ -1288,7 +1288,7 @@ void ObjectMgr::LoadGameobjectRespawnTimes() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 gameobject respawn time."); return; } @@ -1312,7 +1312,7 @@ void ObjectMgr::LoadGameobjectRespawnTimes() delete result; sLog.outString( ">> Loaded %lu gameobject respawn times", (unsigned long)mGORespawnTimes.size() ); - sLog.outString(""); + sLog.outString(); } // name must be checked to correctness (if received) before call this function @@ -1414,7 +1414,7 @@ void ObjectMgr::LoadItemLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 Item locale strings. DB table `locales_item` is empty."); return; } @@ -1462,7 +1462,7 @@ void ObjectMgr::LoadItemLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu Item locale strings", (unsigned long)mItemLocaleMap.size() ); } @@ -1480,7 +1480,7 @@ void ObjectMgr::LoadItemPrototypes() SQLItemLoader loader; loader.Load(sItemStorage); sLog.outString( ">> Loaded %u item prototypes", sItemStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); // check data correctness for(uint32 i = 1; i < sItemStorage.MaxEntry; ++i) @@ -1881,7 +1881,7 @@ void ObjectMgr::LoadPetLevelInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u level pet stats definitions", count ); sLog.outErrorDb( "Error loading `pet_levelstats` table or empty table."); return; @@ -1942,7 +1942,7 @@ void ObjectMgr::LoadPetLevelInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u level pet stats definitions", count ); } @@ -1995,7 +1995,7 @@ void ObjectMgr::LoadPlayerInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u player create definitions", count ); sLog.outErrorDb( "Error loading `playercreateinfo` table or empty table."); exit(1); @@ -2071,7 +2071,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u player create definitions", count ); } @@ -2088,7 +2088,7 @@ void ObjectMgr::LoadPlayerInfo() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u custom player create items", count ); } else @@ -2140,7 +2140,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u custom player create items", count ); } } @@ -2160,7 +2160,7 @@ void ObjectMgr::LoadPlayerInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u player create spells", count ); sLog.outErrorDb( "Error loading player starting spells or empty table."); } @@ -2196,7 +2196,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u player create spells", count ); } } @@ -2212,7 +2212,7 @@ void ObjectMgr::LoadPlayerInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u player create actions", count ); sLog.outErrorDb( "Error loading `playercreateinfo_action` table or empty table."); } @@ -2251,7 +2251,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u player create actions", count ); } } @@ -2267,7 +2267,7 @@ void ObjectMgr::LoadPlayerInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u level health/mana definitions", count ); sLog.outErrorDb( "Error loading `player_classlevelstats` table or empty table."); exit(1); @@ -2316,7 +2316,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u level health/mana definitions", count ); } @@ -2358,7 +2358,7 @@ void ObjectMgr::LoadPlayerInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u level stats definitions", count ); sLog.outErrorDb( "Error loading `player_levelstats` table or empty table."); exit(1); @@ -2416,7 +2416,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u level stats definitions", count ); } @@ -2481,7 +2481,7 @@ void ObjectMgr::LoadPlayerInfo() { barGoLink bar( 1 ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u xp for level definitions", count ); sLog.outErrorDb( "Error loading `player_xp_for_level` table or empty table."); exit(1); @@ -2516,7 +2516,7 @@ void ObjectMgr::LoadPlayerInfo() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u xp for level definitions", count ); } @@ -2648,7 +2648,7 @@ void ObjectMgr::LoadGuilds() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u guild definitions", count ); return; } @@ -2675,7 +2675,7 @@ void ObjectMgr::LoadGuilds() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u guild definitions", count ); } @@ -2692,7 +2692,7 @@ void ObjectMgr::LoadArenaTeams() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u arenateam definitions", count ); return; } @@ -2717,7 +2717,7 @@ void ObjectMgr::LoadArenaTeams() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u arenateam definitions", count ); } @@ -2736,7 +2736,7 @@ void ObjectMgr::LoadGroups() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u group definitions", count ); return; } @@ -2762,7 +2762,7 @@ void ObjectMgr::LoadGroups() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u group definitions", count ); // -- loading members -- @@ -2868,10 +2868,10 @@ void ObjectMgr::LoadGroups() delete result; } - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u group-instance binds total", count ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u group members total", count ); } @@ -2920,7 +2920,7 @@ void ObjectMgr::LoadQuests() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded 0 quests definitions" ); sLog.outErrorDb("`quest_template` table is empty!"); return; @@ -3509,7 +3509,7 @@ void ObjectMgr::LoadQuests() } } - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu quests definitions", (unsigned long)mQuestTemplates.size() ); } @@ -3535,7 +3535,7 @@ void ObjectMgr::LoadQuestLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 Quest locale strings. DB table `locales_quest` is empty."); return; } @@ -3645,7 +3645,7 @@ void ObjectMgr::LoadQuestLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu Quest locale strings", (unsigned long)mQuestLocaleMap.size() ); } @@ -3657,7 +3657,7 @@ void ObjectMgr::LoadPetCreateSpells() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded 0 pet create spells" ); sLog.outErrorDb("`petcreateinfo_spell` table is empty!"); return; @@ -3696,7 +3696,7 @@ void ObjectMgr::LoadPetCreateSpells() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u pet create spells", count ); } @@ -3718,7 +3718,7 @@ void ObjectMgr::LoadScripts(ScriptMapMap& scripts, char const* tablename) barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u script definitions", count ); return; } @@ -3940,7 +3940,7 @@ void ObjectMgr::LoadScripts(ScriptMapMap& scripts, char const* tablename) delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u script definitions", count ); } @@ -4090,7 +4090,7 @@ void ObjectMgr::LoadItemTexts() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u item pages", count ); return; } @@ -4112,7 +4112,7 @@ void ObjectMgr::LoadItemTexts() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u item texts", count ); } @@ -4122,7 +4122,7 @@ void ObjectMgr::LoadPageTexts() sPageTextStore.Load(); sLog.outString( ">> Loaded %u page texts", sPageTextStore.RecordCount ); - sLog.outString(""); + sLog.outString(); for(uint32 i = 1; i < sPageTextStore.MaxEntry; ++i) { @@ -4172,7 +4172,7 @@ void ObjectMgr::LoadPageTextLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 PageText locale strings. DB table `locales_page_text` is empty."); return; } @@ -4208,7 +4208,7 @@ void ObjectMgr::LoadPageTextLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu PageText locale strings", (unsigned long)mPageTextLocaleMap.size() ); } @@ -4263,7 +4263,7 @@ void ObjectMgr::LoadInstanceTemplate() } sLog.outString( ">> Loaded %u Instance Template definitions", sInstanceTemplate.RecordCount ); - sLog.outString(""); + sLog.outString(); } GossipText const *ObjectMgr::GetGossipText(uint32 Text_ID) const @@ -4284,7 +4284,7 @@ void ObjectMgr::LoadGossipText() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u npc texts", count ); return; } @@ -4327,7 +4327,7 @@ void ObjectMgr::LoadGossipText() } } while( result->NextRow() ); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u npc texts", count ); delete result; } @@ -4353,7 +4353,7 @@ void ObjectMgr::LoadNpcTextLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 NpcText locale strings. DB table `locales_npc_text` is empty."); return; } @@ -4403,7 +4403,7 @@ void ObjectMgr::LoadNpcTextLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu NpcText locale strings", (unsigned long)mNpcTextLocaleMap.size() ); } @@ -4421,7 +4421,7 @@ void ObjectMgr::ReturnOrDeleteOldMails(bool serverUp) { barGoLink bar(1); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Only expired mails (need to be return or delete) or DB table `mail` is empty."); return; // any mails need to be returned or deleted } @@ -4508,7 +4508,7 @@ void ObjectMgr::ReturnOrDeleteOldMails(bool serverUp) } while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u mails", count ); } @@ -4525,7 +4525,7 @@ void ObjectMgr::LoadQuestAreaTriggers() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u quest trigger points", count ); return; } @@ -4573,7 +4573,7 @@ void ObjectMgr::LoadQuestAreaTriggers() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u quest trigger points", count ); } @@ -4590,7 +4590,7 @@ void ObjectMgr::LoadTavernAreaTriggers() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u tavern triggers", count ); return; } @@ -4618,7 +4618,7 @@ void ObjectMgr::LoadTavernAreaTriggers() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u tavern triggers", count ); } @@ -4634,7 +4634,7 @@ void ObjectMgr::LoadAreaTriggerScripts() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u areatrigger scripts", count ); return; } @@ -4662,7 +4662,7 @@ void ObjectMgr::LoadAreaTriggerScripts() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u areatrigger scripts", count ); } @@ -4820,7 +4820,7 @@ void ObjectMgr::LoadGraveyardZones() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u graveyard-zone links", count ); return; } @@ -4870,7 +4870,7 @@ void ObjectMgr::LoadGraveyardZones() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u graveyard-zone links", count ); } @@ -5087,7 +5087,7 @@ void ObjectMgr::LoadAreaTriggerTeleports() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u area trigger teleport definitions", count ); return; } @@ -5139,7 +5139,7 @@ void ObjectMgr::LoadAreaTriggerTeleports() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u area trigger teleport definitions", count ); } @@ -5158,7 +5158,7 @@ void ObjectMgr::LoadAccessRequirements() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u access requirement definitions", count ); return; } @@ -5254,7 +5254,7 @@ void ObjectMgr::LoadAccessRequirements() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u access requirement definitions", count ); } @@ -5520,7 +5520,7 @@ void ObjectMgr::LoadGameObjectLocales() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded 0 gameobject locale strings. DB table `locales_gameobject` is empty."); return; } @@ -5572,7 +5572,7 @@ void ObjectMgr::LoadGameObjectLocales() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %lu gameobject locale strings", (unsigned long)mGameObjectLocaleMap.size() ); } @@ -5768,7 +5768,7 @@ void ObjectMgr::LoadGameobjectInfo() } sLog.outString( ">> Loaded %u game object templates", sGOStorage.RecordCount ); - sLog.outString(""); + sLog.outString(); } void ObjectMgr::LoadExplorationBaseXP() @@ -5782,7 +5782,7 @@ void ObjectMgr::LoadExplorationBaseXP() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u BaseXP definitions", count ); return; } @@ -5803,7 +5803,7 @@ void ObjectMgr::LoadExplorationBaseXP() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u BaseXP definitions", count ); } @@ -5830,7 +5830,7 @@ void ObjectMgr::LoadPetNames() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u pet name parts", count ); return; } @@ -5854,7 +5854,7 @@ void ObjectMgr::LoadPetNames() while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u pet name parts", count ); } @@ -5871,7 +5871,7 @@ void ObjectMgr::LoadPetNumber() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded the max pet number: %d", m_hiPetNumber-1); } @@ -5909,7 +5909,7 @@ void ObjectMgr::LoadCorpses() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u corpses", count ); return; } @@ -5938,7 +5938,7 @@ void ObjectMgr::LoadCorpses() while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u corpses", count ); } @@ -5958,7 +5958,7 @@ void ObjectMgr::LoadReputationOnKill() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded 0 creature award reputation definitions. DB table `creature_onkill_reputation` is empty."); return; } @@ -6016,7 +6016,7 @@ void ObjectMgr::LoadReputationOnKill() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded %u creature award reputation definitions", count); } @@ -6033,7 +6033,7 @@ void ObjectMgr::LoadPointsOfInterest() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded 0 Points of Interest definitions. DB table `points_of_interest` is empty."); return; } @@ -6068,7 +6068,7 @@ void ObjectMgr::LoadPointsOfInterest() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded %u Points of Interest definitions", count); } @@ -6085,7 +6085,7 @@ void ObjectMgr::LoadWeatherZoneChances() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded 0 weather definitions. DB table `game_weather` is empty."); return; } @@ -6131,7 +6131,7 @@ void ObjectMgr::LoadWeatherZoneChances() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded %u weather definitions", count); } @@ -6225,7 +6225,7 @@ void ObjectMgr::LoadQuestRelationsHelper(QuestRelations& map,char const* table) bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded 0 quest relations from %s. DB table `%s` is empty.",table,table); return; } @@ -6253,7 +6253,7 @@ void ObjectMgr::LoadQuestRelationsHelper(QuestRelations& map,char const* table) delete result; - sLog.outString(""); + sLog.outString(); sLog.outString(">> Loaded %u quest relations from %s", count,table); } @@ -6326,7 +6326,7 @@ void ObjectMgr::LoadReservedPlayersNames() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u reserved player names", count ); return; } @@ -6355,7 +6355,7 @@ void ObjectMgr::LoadReservedPlayersNames() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u reserved player names", count ); } @@ -6526,7 +6526,7 @@ void ObjectMgr::LoadGameObjectForQuests() { barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded 0 GameObjects for quests" ); return; } @@ -6571,7 +6571,7 @@ void ObjectMgr::LoadGameObjectForQuests() } } - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u GameObjects for quests", count ); } @@ -6598,7 +6598,7 @@ bool ObjectMgr::LoadTrinityStrings(DatabaseType& db, char const* table, int32 mi bar.step(); - sLog.outString(""); + sLog.outString(); if(min_value == MIN_TRINITY_STRING_ID) // error only in case internal strings sLog.outErrorDb(">> Loaded 0 trinity strings. DB table `%s` is empty. Cannot continue.",table); else @@ -6664,7 +6664,7 @@ bool ObjectMgr::LoadTrinityStrings(DatabaseType& db, char const* table, int32 mi delete result; - sLog.outString(""); + sLog.outString(); if(min_value == MIN_TRINITY_STRING_ID) // internal Trinity strings sLog.outString( ">> Loaded %u Trinity strings from table %s", count,table); else @@ -6706,7 +6706,7 @@ void ObjectMgr::LoadSpellDisabledEntrys() barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u disabled spells", total_count ); return; } @@ -6736,7 +6736,7 @@ void ObjectMgr::LoadSpellDisabledEntrys() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u disabled spells from `spell_disabled`", total_count); } @@ -6753,7 +6753,7 @@ void ObjectMgr::LoadFishingBaseSkillLevel() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded `skill_fishing_base_level`, table is empty!"); return; } @@ -6782,7 +6782,7 @@ void ObjectMgr::LoadFishingBaseSkillLevel() delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u areas for fishing base skill level", count ); } @@ -7078,7 +7078,7 @@ void ObjectMgr::LoadGameTele() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded `game_tele`, table is empty!"); return; } @@ -7123,7 +7123,7 @@ void ObjectMgr::LoadGameTele() while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %u GameTeleports", count ); } @@ -7212,7 +7212,7 @@ void ObjectMgr::LoadTrainerSpell() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded `npc_trainer`, table is empty!"); return; } @@ -7293,7 +7293,7 @@ void ObjectMgr::LoadTrainerSpell() } while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %d Trainers", count ); } @@ -7313,7 +7313,7 @@ void ObjectMgr::LoadVendors() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded `npc_vendor`, table is empty!"); return; } @@ -7343,7 +7343,7 @@ void ObjectMgr::LoadVendors() } while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %d Vendors ", count ); } @@ -7359,7 +7359,7 @@ void ObjectMgr::LoadNpcTextId() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded `npc_gossip`, table is empty!"); return; } @@ -7394,7 +7394,7 @@ void ObjectMgr::LoadNpcTextId() } while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %d NpcTextId ", count ); } @@ -7413,7 +7413,7 @@ void ObjectMgr::LoadNpcOptions() bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded `npc_option`, table is empty!"); return; } @@ -7446,7 +7446,7 @@ void ObjectMgr::LoadNpcOptions() } while (result->NextRow()); delete result; - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %d npc_option entries", count ); } @@ -7577,7 +7577,7 @@ void ObjectMgr::LoadScriptNames() { barGoLink bar( 1 ); bar.step(); - sLog.outString(""); + sLog.outString(); sLog.outErrorDb(">> Loaded empty set of Script Names!"); return; } @@ -7594,7 +7594,7 @@ void ObjectMgr::LoadScriptNames() delete result; std::sort(m_scriptNames.begin(), m_scriptNames.end()); - sLog.outString(""); + sLog.outString(); sLog.outString( ">> Loaded %d Script Names", count ); } |