Merge branch 'master' into 4.3.4 (Only the Logging System One)
Conflicts: src/server/game/AI/EventAI/CreatureEventAI.cpp src/server/game/AI/EventAI/CreatureEventAIMgr.cpp src/server/game/Achievements/AchievementMgr.cpp src/server/game/Battlegrounds/ArenaTeam.cpp src/server/game/Battlegrounds/BattlegroundMgr.cpp src/server/game/DataStores/DBCStores.cpp src/server/game/Entities/DynamicObject/DynamicObject.cpp src/server/game/Entities/Object/Object.cpp src/server/game/Entities/Object/Updates/UpdateData.cpp src/server/game/Entities/Player/Player.cpp src/server/game/Entities/Unit/Unit.cpp src/server/game/Globals/ObjectMgr.cpp src/server/game/Guilds/Guild.cpp src/server/game/Guilds/GuildMgr.cpp src/server/game/Handlers/AuctionHouseHandler.cpp src/server/game/Handlers/BattleGroundHandler.cpp src/server/game/Handlers/BattlefieldHandler.cpp src/server/game/Handlers/CalendarHandler.cpp src/server/game/Handlers/CharacterHandler.cpp src/server/game/Handlers/ChatHandler.cpp src/server/game/Handlers/GroupHandler.cpp src/server/game/Handlers/GuildHandler.cpp src/server/game/Handlers/ItemHandler.cpp src/server/game/Handlers/MailHandler.cpp src/server/game/Handlers/MiscHandler.cpp src/server/game/Handlers/MovementHandler.cpp src/server/game/Handlers/NPCHandler.cpp src/server/game/Handlers/PetitionsHandler.cpp src/server/game/Handlers/QuestHandler.cpp src/server/game/Handlers/SpellHandler.cpp src/server/game/Handlers/TradeHandler.cpp src/server/game/Instances/InstanceScript.cpp src/server/game/Server/WorldSession.cpp src/server/game/Server/WorldSocket.cpp src/server/game/Spells/Auras/SpellAuraEffects.cpp src/server/game/Spells/Auras/SpellAuras.cpp src/server/game/Spells/SpellEffects.cpp src/server/game/Spells/SpellMgr.cpp src/server/game/Tools/PlayerDump.cpp src/server/game/World/World.cpp src/server/scripts/Commands/cs_modify.cpp src/server/scripts/Commands/cs_reload.cpp src/server/scripts/EasternKingdoms/zone_silverpine_forest.cpp
This commit is contained in:
commit
86afccc8ff
243 files changed
+4510
-4493
No files matched your search
@@ -219,7 +219,7 @@ public:
|
||||
|
||||
static bool HandleReloadAllLootCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables...");
|
||||
LoadLootTables();
|
||||
handler->SendGlobalGMSysMessage("DB tables `*_loot_template` reloaded.");
|
||||
sConditionMgr->LoadConditions(true);
|
||||
@@ -242,7 +242,7 @@ public:
|
||||
HandleReloadQuestPOICommand(handler, "a");
|
||||
HandleReloadQuestTemplateCommand(handler, "a");
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Quests Relations...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Quests Relations...");
|
||||
sObjectMgr->LoadQuestRelations();
|
||||
handler->SendGlobalGMSysMessage("DB tables `*_questrelation` and `*_involvedrelation` reloaded.");
|
||||
return true;
|
||||
@@ -257,7 +257,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Scripts...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Scripts...");
|
||||
HandleReloadEventScriptsCommand(handler, "a");
|
||||
HandleReloadSpellScriptsCommand(handler, "a");
|
||||
handler->SendGlobalGMSysMessage("DB tables `*_scripts` reloaded.");
|
||||
@@ -319,7 +319,7 @@ public:
|
||||
|
||||
static bool HandleReloadConfigCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading config settings...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading config settings...");
|
||||
sWorld->LoadConfigSettings(true);
|
||||
sMapMgr->InitializeVisibilityDistanceInfo();
|
||||
handler->SendGlobalGMSysMessage("World config settings reloaded.");
|
||||
@@ -328,7 +328,7 @@ public:
|
||||
|
||||
static bool HandleReloadAccessRequirementCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Access Requirement definitions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Access Requirement definitions...");
|
||||
sObjectMgr->LoadAccessRequirements();
|
||||
handler->SendGlobalGMSysMessage("DB table `access_requirement` reloaded.");
|
||||
return true;
|
||||
@@ -336,7 +336,7 @@ public:
|
||||
|
||||
static bool HandleReloadAchievementCriteriaDataCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Additional Achievement Criteria Data...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Additional Achievement Criteria Data...");
|
||||
sAchievementMgr->LoadAchievementCriteriaData();
|
||||
handler->SendGlobalGMSysMessage("DB table `achievement_criteria_data` reloaded.");
|
||||
return true;
|
||||
@@ -344,7 +344,7 @@ public:
|
||||
|
||||
static bool HandleReloadAchievementRewardCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Achievement Reward Data...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Achievement Reward Data...");
|
||||
sAchievementMgr->LoadRewards();
|
||||
handler->SendGlobalGMSysMessage("DB table `achievement_reward` reloaded.");
|
||||
return true;
|
||||
@@ -352,7 +352,7 @@ public:
|
||||
|
||||
static bool HandleReloadAreaTriggerTavernCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Tavern Area Triggers...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Tavern Area Triggers...");
|
||||
sObjectMgr->LoadTavernAreaTriggers();
|
||||
handler->SendGlobalGMSysMessage("DB table `areatrigger_tavern` reloaded.");
|
||||
return true;
|
||||
@@ -360,7 +360,7 @@ public:
|
||||
|
||||
static bool HandleReloadAreaTriggerTeleportCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading AreaTrigger teleport definitions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading AreaTrigger teleport definitions...");
|
||||
sObjectMgr->LoadAreaTriggerTeleports();
|
||||
handler->SendGlobalGMSysMessage("DB table `areatrigger_teleport` reloaded.");
|
||||
return true;
|
||||
@@ -368,7 +368,7 @@ public:
|
||||
|
||||
static bool HandleReloadAutobroadcastCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Autobroadcasts...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Autobroadcasts...");
|
||||
sWorld->LoadAutobroadcasts();
|
||||
handler->SendGlobalGMSysMessage("DB table `autobroadcast` reloaded.");
|
||||
return true;
|
||||
@@ -383,7 +383,7 @@ public:
|
||||
|
||||
static bool HandleReloadOnKillReputationCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading creature award reputation definitions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading creature award reputation definitions...");
|
||||
sObjectMgr->LoadReputationOnKill();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_onkill_reputation` reloaded.");
|
||||
return true;
|
||||
@@ -391,7 +391,7 @@ public:
|
||||
|
||||
static bool HandleReloadCreatureSummonGroupsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Reloading creature summon groups...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Reloading creature summon groups...");
|
||||
sObjectMgr->LoadTempSummons();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_summon_groups` reloaded.");
|
||||
return true;
|
||||
@@ -425,7 +425,7 @@ public:
|
||||
continue;
|
||||
}
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Reloading creature template entry %u", entry);
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Reloading creature template entry %u", entry);
|
||||
|
||||
Field* fields = result->Fetch();
|
||||
|
||||
@@ -517,7 +517,7 @@ public:
|
||||
|
||||
static bool HandleReloadCreatureQuestRelationsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Quests Relations... (`creature_questrelation`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Loading Quests Relations... (`creature_questrelation`)");
|
||||
sObjectMgr->LoadCreatureQuestRelations();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_questrelation` (creature quest givers) reloaded.");
|
||||
return true;
|
||||
@@ -525,7 +525,7 @@ public:
|
||||
|
||||
static bool HandleReloadLinkedRespawnCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Linked Respawns... (`creature_linked_respawn`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Loading Linked Respawns... (`creature_linked_respawn`)");
|
||||
sObjectMgr->LoadLinkedRespawn();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_linked_respawn` (creature linked respawns) reloaded.");
|
||||
return true;
|
||||
@@ -533,7 +533,7 @@ public:
|
||||
|
||||
static bool HandleReloadCreatureQuestInvRelationsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Quests Relations... (`creature_involvedrelation`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Loading Quests Relations... (`creature_involvedrelation`)");
|
||||
sObjectMgr->LoadCreatureInvolvedRelations();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_involvedrelation` (creature quest takers) reloaded.");
|
||||
return true;
|
||||
@@ -541,7 +541,7 @@ public:
|
||||
|
||||
static bool HandleReloadGossipMenuCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `gossip_menu` Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `gossip_menu` Table!");
|
||||
sObjectMgr->LoadGossipMenu();
|
||||
handler->SendGlobalGMSysMessage("DB table `gossip_menu` reloaded.");
|
||||
sConditionMgr->LoadConditions(true);
|
||||
@@ -550,7 +550,7 @@ public:
|
||||
|
||||
static bool HandleReloadGossipMenuOptionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `gossip_menu_option` Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `gossip_menu_option` Table!");
|
||||
sObjectMgr->LoadGossipMenuItems();
|
||||
handler->SendGlobalGMSysMessage("DB table `gossip_menu_option` reloaded.");
|
||||
sConditionMgr->LoadConditions(true);
|
||||
@@ -559,7 +559,7 @@ public:
|
||||
|
||||
static bool HandleReloadGOQuestRelationsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Quests Relations... (`gameobject_questrelation`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Loading Quests Relations... (`gameobject_questrelation`)");
|
||||
sObjectMgr->LoadGameobjectQuestRelations();
|
||||
handler->SendGlobalGMSysMessage("DB table `gameobject_questrelation` (gameobject quest givers) reloaded.");
|
||||
return true;
|
||||
@@ -567,7 +567,7 @@ public:
|
||||
|
||||
static bool HandleReloadGOQuestInvRelationsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Loading Quests Relations... (`gameobject_involvedrelation`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Loading Quests Relations... (`gameobject_involvedrelation`)");
|
||||
sObjectMgr->LoadGameobjectInvolvedRelations();
|
||||
handler->SendGlobalGMSysMessage("DB table `gameobject_involvedrelation` (gameobject quest takers) reloaded.");
|
||||
return true;
|
||||
@@ -575,7 +575,7 @@ public:
|
||||
|
||||
static bool HandleReloadQuestAreaTriggersCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Quest Area Triggers...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Quest Area Triggers...");
|
||||
sObjectMgr->LoadQuestAreaTriggers();
|
||||
handler->SendGlobalGMSysMessage("DB table `areatrigger_involvedrelation` (quest area triggers) reloaded.");
|
||||
return true;
|
||||
@@ -583,12 +583,12 @@ public:
|
||||
|
||||
static bool HandleReloadQuestTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Quest Templates...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Quest Templates...");
|
||||
sObjectMgr->LoadQuests();
|
||||
handler->SendGlobalGMSysMessage("DB table `quest_template` (quest definitions) reloaded.");
|
||||
|
||||
/// dependent also from `gameobject` but this table not reloaded anyway
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading GameObjects for quests...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading GameObjects for quests...");
|
||||
sObjectMgr->LoadGameObjectForQuests();
|
||||
handler->SendGlobalGMSysMessage("Data GameObjects for quests reloaded.");
|
||||
return true;
|
||||
@@ -596,7 +596,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesCreatureCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`creature_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`creature_loot_template`)");
|
||||
LoadLootTemplates_Creature();
|
||||
LootTemplates_Creature.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `creature_loot_template` reloaded.");
|
||||
@@ -606,7 +606,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesDisenchantCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`disenchant_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`disenchant_loot_template`)");
|
||||
LoadLootTemplates_Disenchant();
|
||||
LootTemplates_Disenchant.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `disenchant_loot_template` reloaded.");
|
||||
@@ -616,7 +616,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesFishingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`fishing_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`fishing_loot_template`)");
|
||||
LoadLootTemplates_Fishing();
|
||||
LootTemplates_Fishing.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `fishing_loot_template` reloaded.");
|
||||
@@ -626,7 +626,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesGameobjectCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`gameobject_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`gameobject_loot_template`)");
|
||||
LoadLootTemplates_Gameobject();
|
||||
LootTemplates_Gameobject.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `gameobject_loot_template` reloaded.");
|
||||
@@ -636,7 +636,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesItemCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`item_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`item_loot_template`)");
|
||||
LoadLootTemplates_Item();
|
||||
LootTemplates_Item.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `item_loot_template` reloaded.");
|
||||
@@ -646,7 +646,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesMillingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`milling_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`milling_loot_template`)");
|
||||
LoadLootTemplates_Milling();
|
||||
LootTemplates_Milling.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `milling_loot_template` reloaded.");
|
||||
@@ -656,7 +656,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesPickpocketingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`pickpocketing_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`pickpocketing_loot_template`)");
|
||||
LoadLootTemplates_Pickpocketing();
|
||||
LootTemplates_Pickpocketing.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `pickpocketing_loot_template` reloaded.");
|
||||
@@ -666,7 +666,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesProspectingCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`prospecting_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`prospecting_loot_template`)");
|
||||
LoadLootTemplates_Prospecting();
|
||||
LootTemplates_Prospecting.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `prospecting_loot_template` reloaded.");
|
||||
@@ -676,7 +676,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesMailCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`mail_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`mail_loot_template`)");
|
||||
LoadLootTemplates_Mail();
|
||||
LootTemplates_Mail.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `mail_loot_template` reloaded.");
|
||||
@@ -686,7 +686,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesReferenceCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`reference_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`reference_loot_template`)");
|
||||
LoadLootTemplates_Reference();
|
||||
handler->SendGlobalGMSysMessage("DB table `reference_loot_template` reloaded.");
|
||||
sConditionMgr->LoadConditions(true);
|
||||
@@ -695,7 +695,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesSkinningCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`skinning_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`skinning_loot_template`)");
|
||||
LoadLootTemplates_Skinning();
|
||||
LootTemplates_Skinning.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `skinning_loot_template` reloaded.");
|
||||
@@ -705,7 +705,7 @@ public:
|
||||
|
||||
static bool HandleReloadLootTemplatesSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`spell_loot_template`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Loot Tables... (`spell_loot_template`)");
|
||||
LoadLootTemplates_Spell();
|
||||
LootTemplates_Spell.CheckLootRefs();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_loot_template` reloaded.");
|
||||
@@ -715,7 +715,7 @@ public:
|
||||
|
||||
static bool HandleReloadTrinityStringCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading trinity_string Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading trinity_string Table!");
|
||||
sObjectMgr->LoadTrinityStrings();
|
||||
handler->SendGlobalGMSysMessage("DB table `trinity_string` reloaded.");
|
||||
return true;
|
||||
@@ -730,7 +730,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading warden_action Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading warden_action Table!");
|
||||
sWardenCheckMgr->LoadWardenOverrides();
|
||||
handler->SendGlobalGMSysMessage("DB table `warden_action` reloaded.");
|
||||
return true;
|
||||
@@ -738,7 +738,7 @@ public:
|
||||
|
||||
static bool HandleReloadNpcTrainerCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `npc_trainer` Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `npc_trainer` Table!");
|
||||
sObjectMgr->LoadTrainerSpell();
|
||||
handler->SendGlobalGMSysMessage("DB table `npc_trainer` reloaded.");
|
||||
return true;
|
||||
@@ -746,7 +746,7 @@ public:
|
||||
|
||||
static bool HandleReloadNpcVendorCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `npc_vendor` Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `npc_vendor` Table!");
|
||||
sObjectMgr->LoadVendors();
|
||||
handler->SendGlobalGMSysMessage("DB table `npc_vendor` reloaded.");
|
||||
return true;
|
||||
@@ -754,7 +754,7 @@ public:
|
||||
|
||||
static bool HandleReloadPointsOfInterestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `points_of_interest` Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `points_of_interest` Table!");
|
||||
sObjectMgr->LoadPointsOfInterest();
|
||||
handler->SendGlobalGMSysMessage("DB table `points_of_interest` reloaded.");
|
||||
return true;
|
||||
@@ -762,7 +762,7 @@ public:
|
||||
|
||||
static bool HandleReloadQuestPOICommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Quest POI ..." );
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Quest POI ..." );
|
||||
sObjectMgr->LoadQuestPOI();
|
||||
handler->SendGlobalGMSysMessage("DB Table `quest_poi` and `quest_poi_points` reloaded.");
|
||||
return true;
|
||||
@@ -770,7 +770,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellClickSpellsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `npc_spellclick_spells` Table!");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `npc_spellclick_spells` Table!");
|
||||
sObjectMgr->LoadNPCSpellClickSpells();
|
||||
handler->SendGlobalGMSysMessage("DB table `npc_spellclick_spells` reloaded.");
|
||||
return true;
|
||||
@@ -778,7 +778,7 @@ public:
|
||||
|
||||
static bool HandleReloadReservedNameCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Loading ReservedNames... (`reserved_name`)");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Loading ReservedNames... (`reserved_name`)");
|
||||
sObjectMgr->LoadReservedPlayersNames();
|
||||
handler->SendGlobalGMSysMessage("DB table `reserved_name` (player reserved names) reloaded.");
|
||||
return true;
|
||||
@@ -786,7 +786,7 @@ public:
|
||||
|
||||
static bool HandleReloadReputationRewardRateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `reputation_reward_rate` Table!" );
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `reputation_reward_rate` Table!" );
|
||||
sObjectMgr->LoadReputationRewardRate();
|
||||
handler->SendGlobalSysMessage("DB table `reputation_reward_rate` reloaded.");
|
||||
return true;
|
||||
@@ -794,7 +794,7 @@ public:
|
||||
|
||||
static bool HandleReloadReputationSpilloverTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading `reputation_spillover_template` Table!" );
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading `reputation_spillover_template` Table!" );
|
||||
sObjectMgr->LoadReputationSpilloverTemplate();
|
||||
handler->SendGlobalSysMessage("DB table `reputation_spillover_template` reloaded.");
|
||||
return true;
|
||||
@@ -802,7 +802,7 @@ public:
|
||||
|
||||
static bool HandleReloadSkillDiscoveryTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Skill Discovery Table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Skill Discovery Table...");
|
||||
LoadSkillDiscoveryTable();
|
||||
handler->SendGlobalGMSysMessage("DB table `skill_discovery_template` (recipes discovered at crafting) reloaded.");
|
||||
return true;
|
||||
@@ -810,7 +810,7 @@ public:
|
||||
|
||||
static bool HandleReloadSkillExtraItemTemplateCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Skill Extra Item Table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Skill Extra Item Table...");
|
||||
LoadSkillExtraItemTable();
|
||||
handler->SendGlobalGMSysMessage("DB table `skill_extra_item_template` (extra item creation when crafting) reloaded.");
|
||||
return true;
|
||||
@@ -818,7 +818,7 @@ public:
|
||||
|
||||
static bool HandleReloadSkillFishingBaseLevelCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Skill Fishing base level requirements...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Skill Fishing base level requirements...");
|
||||
sObjectMgr->LoadFishingBaseSkillLevel();
|
||||
handler->SendGlobalGMSysMessage("DB table `skill_fishing_base_level` (fishing base level for zone/subzone) reloaded.");
|
||||
return true;
|
||||
@@ -826,7 +826,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellAreaCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading SpellArea Data...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading SpellArea Data...");
|
||||
sSpellMgr->LoadSpellAreas();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_area` (spell dependences from area/quest/auras state) reloaded.");
|
||||
return true;
|
||||
@@ -834,7 +834,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellRequiredCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Required Data... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Required Data... ");
|
||||
sSpellMgr->LoadSpellRequired();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_required` reloaded.");
|
||||
return true;
|
||||
@@ -842,7 +842,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellGroupsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Groups...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Groups...");
|
||||
sSpellMgr->LoadSpellGroups();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_group` (spell groups) reloaded.");
|
||||
return true;
|
||||
@@ -850,7 +850,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellLearnSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Learn Spells...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Learn Spells...");
|
||||
sSpellMgr->LoadSpellLearnSpells();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_learn_spell` reloaded.");
|
||||
return true;
|
||||
@@ -858,7 +858,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellLinkedSpellCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Linked Spells...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Linked Spells...");
|
||||
sSpellMgr->LoadSpellLinked();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_linked_spell` reloaded.");
|
||||
return true;
|
||||
@@ -866,7 +866,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellProcEventCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Proc Event conditions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Proc Event conditions...");
|
||||
sSpellMgr->LoadSpellProcEvents();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_proc_event` (spell proc trigger requirements) reloaded.");
|
||||
return true;
|
||||
@@ -874,7 +874,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellProcsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Proc conditions and data...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Proc conditions and data...");
|
||||
sSpellMgr->LoadSpellProcs();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_proc` (spell proc conditions and data) reloaded.");
|
||||
return true;
|
||||
@@ -882,7 +882,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellBonusesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Bonus Data...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Bonus Data...");
|
||||
sSpellMgr->LoadSpellBonusess();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_bonus_data` (spell damage/healing coefficients) reloaded.");
|
||||
return true;
|
||||
@@ -890,7 +890,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellTargetPositionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell target coordinates...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell target coordinates...");
|
||||
sSpellMgr->LoadSpellTargetPositions();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_target_position` (destination coordinates for spell targets) reloaded.");
|
||||
return true;
|
||||
@@ -898,7 +898,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellThreatsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Aggro Spells Definitions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Aggro Spells Definitions...");
|
||||
sSpellMgr->LoadSpellThreats();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_threat` (spell aggro definitions) reloaded.");
|
||||
return true;
|
||||
@@ -906,7 +906,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellGroupStackRulesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell Group Stack Rules...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell Group Stack Rules...");
|
||||
sSpellMgr->LoadSpellGroupStackRules();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_group_stack_rules` (spell stacking definitions) reloaded.");
|
||||
return true;
|
||||
@@ -914,7 +914,7 @@ public:
|
||||
|
||||
static bool HandleReloadSpellPetAurasCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Spell pet auras...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Spell pet auras...");
|
||||
sSpellMgr->LoadSpellPetAuras();
|
||||
handler->SendGlobalGMSysMessage("DB table `spell_pet_auras` reloaded.");
|
||||
return true;
|
||||
@@ -922,7 +922,7 @@ public:
|
||||
|
||||
static bool HandleReloadPageTextsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Page Texts...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Page Texts...");
|
||||
sObjectMgr->LoadPageTexts();
|
||||
handler->SendGlobalGMSysMessage("DB table `page_texts` reloaded.");
|
||||
return true;
|
||||
@@ -930,7 +930,7 @@ public:
|
||||
|
||||
static bool HandleReloadItemEnchantementsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Item Random Enchantments Table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Item Random Enchantments Table...");
|
||||
LoadRandomEnchantmentsTable();
|
||||
handler->SendGlobalGMSysMessage("DB table `item_enchantment_template` reloaded.");
|
||||
return true;
|
||||
@@ -946,7 +946,7 @@ public:
|
||||
}
|
||||
|
||||
if (*args != 'a')
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Scripts from `event_scripts`...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Scripts from `event_scripts`...");
|
||||
|
||||
sObjectMgr->LoadEventScripts();
|
||||
|
||||
@@ -966,7 +966,7 @@ public:
|
||||
}
|
||||
|
||||
if (*args != 'a')
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Scripts from `waypoint_scripts`...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Scripts from `waypoint_scripts`...");
|
||||
|
||||
sObjectMgr->LoadWaypointScripts();
|
||||
|
||||
@@ -979,7 +979,7 @@ public:
|
||||
static bool HandleReloadWpCommand(ChatHandler* handler, const char* args)
|
||||
{
|
||||
if (*args != 'a')
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Waypoints data from 'waypoints_data'");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Waypoints data from 'waypoints_data'");
|
||||
|
||||
sWaypointMgr->Load();
|
||||
|
||||
@@ -999,7 +999,7 @@ public:
|
||||
}
|
||||
|
||||
if (*args != 'a')
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Scripts from `spell_scripts`...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Scripts from `spell_scripts`...");
|
||||
|
||||
sObjectMgr->LoadSpellScripts();
|
||||
|
||||
@@ -1011,7 +1011,7 @@ public:
|
||||
|
||||
static bool HandleReloadDbScriptStringCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Script strings from `db_script_string`...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Script strings from `db_script_string`...");
|
||||
sObjectMgr->LoadDbScriptStrings();
|
||||
handler->SendGlobalGMSysMessage("DB table `db_script_string` reloaded.");
|
||||
return true;
|
||||
@@ -1019,7 +1019,7 @@ public:
|
||||
|
||||
static bool HandleReloadGameGraveyardZoneCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Graveyard-zone links...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Graveyard-zone links...");
|
||||
|
||||
sObjectMgr->LoadGraveyardZones();
|
||||
|
||||
@@ -1030,7 +1030,7 @@ public:
|
||||
|
||||
static bool HandleReloadGameTeleCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Game Tele coordinates...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Game Tele coordinates...");
|
||||
|
||||
sObjectMgr->LoadGameTele();
|
||||
|
||||
@@ -1041,9 +1041,9 @@ public:
|
||||
|
||||
static bool HandleReloadDisablesCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading disables table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading disables table...");
|
||||
DisableMgr::LoadDisables();
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Checking quest disables...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Checking quest disables...");
|
||||
DisableMgr::CheckQuestDisables();
|
||||
handler->SendGlobalGMSysMessage("DB table `disables` reloaded.");
|
||||
return true;
|
||||
@@ -1051,7 +1051,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesAchievementRewardCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Achievement Reward Data...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Achievement Reward Data...");
|
||||
sAchievementMgr->LoadRewardLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_achievement_reward` reloaded.");
|
||||
return true;
|
||||
@@ -1059,7 +1059,7 @@ public:
|
||||
|
||||
static bool HandleReloadLfgRewardsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading lfg dungeon rewards...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading lfg dungeon rewards...");
|
||||
sLFGMgr->LoadRewards();
|
||||
handler->SendGlobalGMSysMessage("DB table `lfg_dungeon_rewards` reloaded.");
|
||||
return true;
|
||||
@@ -1067,7 +1067,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesCreatureCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Creature ...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Creature ...");
|
||||
sObjectMgr->LoadCreatureLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_creature` reloaded.");
|
||||
return true;
|
||||
@@ -1075,7 +1075,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesCreatureTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Creature Texts...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Creature Texts...");
|
||||
sCreatureTextMgr->LoadCreatureTextLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_creature_text` reloaded.");
|
||||
return true;
|
||||
@@ -1083,7 +1083,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesGameobjectCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Gameobject ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Gameobject ... ");
|
||||
sObjectMgr->LoadGameObjectLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_gameobject` reloaded.");
|
||||
return true;
|
||||
@@ -1091,7 +1091,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesGossipMenuOptionCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Gossip Menu Option ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Gossip Menu Option ... ");
|
||||
sObjectMgr->LoadGossipMenuItemsLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_gossip_menu_option` reloaded.");
|
||||
return true;
|
||||
@@ -1099,7 +1099,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesItemCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Item ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Item ... ");
|
||||
sObjectMgr->LoadItemLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_item` reloaded.");
|
||||
return true;
|
||||
@@ -1107,7 +1107,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesNpcTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales NPC Text ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales NPC Text ... ");
|
||||
sObjectMgr->LoadNpcTextLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_npc_text` reloaded.");
|
||||
return true;
|
||||
@@ -1115,7 +1115,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesPageTextCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Page Text ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Page Text ... ");
|
||||
sObjectMgr->LoadPageTextLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_page_text` reloaded.");
|
||||
return true;
|
||||
@@ -1123,7 +1123,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesPointsOfInterestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Points Of Interest ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Points Of Interest ... ");
|
||||
sObjectMgr->LoadPointOfInterestLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_points_of_interest` reloaded.");
|
||||
return true;
|
||||
@@ -1131,7 +1131,7 @@ public:
|
||||
|
||||
static bool HandleReloadLocalesQuestCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Locales Quest ... ");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Locales Quest ... ");
|
||||
sObjectMgr->LoadQuestLocales();
|
||||
handler->SendGlobalGMSysMessage("DB table `locales_quest` reloaded.");
|
||||
return true;
|
||||
@@ -1139,7 +1139,7 @@ public:
|
||||
|
||||
static bool HandleReloadMailLevelRewardCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Player level dependent mail rewards...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Player level dependent mail rewards...");
|
||||
sObjectMgr->LoadMailLevelRewards();
|
||||
handler->SendGlobalGMSysMessage("DB table `mail_level_reward` reloaded.");
|
||||
return true;
|
||||
@@ -1148,7 +1148,7 @@ public:
|
||||
static bool HandleReloadAuctionsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
///- Reload dynamic data tables from the database
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Auctions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Auctions...");
|
||||
sAuctionMgr->LoadAuctionItems();
|
||||
sAuctionMgr->LoadAuctions();
|
||||
handler->SendGlobalGMSysMessage("Auctions reloaded.");
|
||||
@@ -1157,7 +1157,7 @@ public:
|
||||
|
||||
static bool HandleReloadConditions(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Conditions...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Conditions...");
|
||||
sConditionMgr->LoadConditions(true);
|
||||
handler->SendGlobalGMSysMessage("Conditions reloaded.");
|
||||
return true;
|
||||
@@ -1165,7 +1165,7 @@ public:
|
||||
|
||||
static bool HandleReloadCreatureText(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Creature Texts...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Creature Texts...");
|
||||
sCreatureTextMgr->LoadCreatureTexts();
|
||||
handler->SendGlobalGMSysMessage("Creature Texts reloaded.");
|
||||
return true;
|
||||
@@ -1173,7 +1173,7 @@ public:
|
||||
|
||||
static bool HandleReloadSmartScripts(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Re-Loading Smart Scripts...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Re-Loading Smart Scripts...");
|
||||
sSmartScriptMgr->LoadSmartAIFromDB();
|
||||
handler->SendGlobalGMSysMessage("Smart Scripts reloaded.");
|
||||
return true;
|
||||
@@ -1181,7 +1181,7 @@ public:
|
||||
|
||||
static bool HandleReloadVehicleAccessoryCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Reloading vehicle_accessory table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Reloading vehicle_accessory table...");
|
||||
sObjectMgr->LoadVehicleAccessories();
|
||||
handler->SendGlobalGMSysMessage("Vehicle accessories reloaded.");
|
||||
return true;
|
||||
@@ -1189,7 +1189,7 @@ public:
|
||||
|
||||
static bool HandleReloadVehicleTemplateAccessoryCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Reloading vehicle_template_accessory table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Reloading vehicle_template_accessory table...");
|
||||
sObjectMgr->LoadVehicleTemplateAccessories();
|
||||
handler->SendGlobalGMSysMessage("Vehicle template accessories reloaded.");
|
||||
return true;
|
||||
@@ -1198,7 +1198,7 @@ public:
|
||||
|
||||
static bool HandleReloadPhaseDefinitionsCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Reloading phase_definitions table...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Reloading phase_definitions table...");
|
||||
sObjectMgr->LoadPhaseDefinitions();
|
||||
sWorld->UpdatePhaseDefinitions();
|
||||
handler->SendGlobalGMSysMessage("Phase Definitions reloaded.");
|
||||
@@ -1207,7 +1207,7 @@ public:
|
||||
|
||||
static bool HandleReloadRBACCommand(ChatHandler* handler, const char* /*args*/)
|
||||
{
|
||||
sLog->outInfo(LOG_FILTER_GENERAL, "Reloading RBAC tables...");
|
||||
TC_LOG_INFO(LOG_FILTER_GENERAL, "Reloading RBAC tables...");
|
||||
sAccountMgr->LoadRBAC();
|
||||
sWorld->ReloadRBAC();
|
||||
handler->SendGlobalGMSysMessage("RBAC data reloaded.");
|
||||
|
||||
Reference in new issue
Block a user