Jump to content

eqhugo

Members
  • Posts

    1
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

eqhugo's Achievements

Newbie

Newbie (1/3)

0

Reputation

  1. Hi! blueboy, I fix bot quests command to display quest locate title. Here is the QuestTitleLocalization.patch diff --git a/src/game/PlayerbotAI.cpp b/src/game/PlayerbotAI.cpp index 1ab9116..66b352f 100644 --- a/src/game/PlayerbotAI.cpp +++ b/src/game/PlayerbotAI.cpp @@ -2699,13 +2699,20 @@ void PlayerbotAI::HandleCommand(const std::string& text, Player& fromPlayer) if(uint32 questId = m_bot->GetQuestSlotQuestId(slot)) { Quest const* pQuest = sObjectMgr.GetQuestTemplate(questId); + + std::string questTitle = pQuest->GetTitle(); + m_bot->GetPlayerbotAI()->QuestLocalization(questTitle, questId); + if (m_bot->GetQuestStatus(questId) == QUEST_STATUS_COMPLETE) { hasCompleteQuests = true; - comout << " |cFFFFFF00|Hquest:" << questId << ':' << pQuest->GetQuestLevel() << "|h[" << pQuest->GetTitle() << "]|h|r"; + comout << " |cFFFFFF00|Hquest:" << questId << ':' << pQuest->GetQuestLevel() << "|h[" << questTitle << "]|h|r"; } else { hasIncompleteQuests = true; - incomout << " |cFFFFFF00|Hquest:" << questId << ':' << pQuest->GetQuestLevel() << "|h[" << pQuest->GetTitle() << "]|h|r"; + incomout << " |cFFFFFF00|Hquest:" << questId << ':' << pQuest->GetQuestLevel() << "|h[" << questTitle << "]|h|r"; } } } Hope this helps Cheers
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use