From 32a7e1c345f213fd39d2dd0dadccd9dc449af4f4 Mon Sep 17 00:00:00 2001 From: Hyphie <31455641+Hyphie24@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:22:43 -0400 Subject: [PATCH 1/4] 11.0.5 QuestID Rename --- WQAchievements.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WQAchievements.lua b/WQAchievements.lua index d4629f2..8bda574 100644 --- a/WQAchievements.lua +++ b/WQAchievements.lua @@ -187,7 +187,7 @@ function WQA:OnEnable() local quests = C_TaskQuest.GetQuestsForPlayerByMapID(mapID) if quests then for j = 1, #quests do - local questID = quests[j].questId + local questID = quests[j].questID local numQuestRewards = GetNumQuestLogRewards(questID) if numQuestRewards > 0 then GetQuestLogRewardInfo(1, questID) @@ -932,7 +932,7 @@ function WQA:Reward() local quests = C_TaskQuest.GetQuestsForPlayerByMapID(mapID) if quests then for i = 1, #quests do - local questID = quests[i].questId + local questID = quests[i].questID local questTagInfo = GetQuestTagInfo(questID) local worldQuestType = 0 if questTagInfo then @@ -1570,7 +1570,7 @@ function WQA:GetRewardLinkByMissionID(missionID, key, value, i) return self:GetRewardLinkByID(missionID, key, value, i) end -function WQA:GetRewardLinkByID(questId, key, value, i) +function WQA:GetRewardLinkByID(questID, key, value, i) local k, v = key, value local link = nil if k == "achievement" then From 1dca9dbb4db7e1b5bd6b8b8b8557a3ab5f815bf6 Mon Sep 17 00:00:00 2001 From: Hyphie <31455641+Hyphie24@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:29:45 -0400 Subject: [PATCH 2/4] 11.0.5 QuestID rename --- Achievements.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Achievements.lua b/Achievements.lua index 619cb93..f246d6d 100644 --- a/Achievements.lua +++ b/Achievements.lua @@ -132,13 +132,13 @@ function WQA.Achievements:Register_MISSION_TABLE(achievement, index, criteriaQue if achievement.criteria and achievement.criteria[index] then if type(achievement.criteria[index]) == "table" then - for _, questId in pairs(achievement.criteria[index]) do - WQA:AddRewardToMission(questId, "ACHIEVEMENT", id) + for _, questID in pairs(achievement.criteria[index]) do + WQA:AddRewardToMission(questID, "ACHIEVEMENT", id) end else - local questId = achievement.criteria[index] - if questId then - WQA:AddRewardToMission(questId, "ACHIEVEMENT", id) + local questID = achievement.criteria[index] + if questID then + WQA:AddRewardToMission(questID, "ACHIEVEMENT", id) end end else From b751d27b409a5161b43879ccdb628c2d5d3a681f Mon Sep 17 00:00:00 2001 From: Hyphie <31455641+Hyphie24@users.noreply.github.com> Date: Tue, 22 Oct 2024 19:30:07 -0400 Subject: [PATCH 3/4] 11.0.5 QuestID Rename --- Options.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Options.lua b/Options.lua index c78562d..b43e17b 100644 --- a/Options.lua +++ b/Options.lua @@ -526,8 +526,8 @@ function WQA:UpdateOptions() end, disabled = function() local mapId = self.data.custom.mapID - local questId = self.data.custom.wqID - return (questId == nil or questId == "") or + local questID = self.data.custom.wqID + return (questID == nil or questID == "") or (self.data.custom.questType == "QUEST_PIN" and (mapId == nil or mapId == "")) end }, From 9b9e73338e3e8d3f73319c472f16d454f0848a68 Mon Sep 17 00:00:00 2001 From: Hyphie <31455641+Hyphie24@users.noreply.github.com> Date: Thu, 24 Oct 2024 03:15:57 -0400 Subject: [PATCH 4/4] GetQuestsForPlayerByMapID Change Removed GetQuestsForPlayerByMapID changed to GetQuestsOnMap --- WQAchievements.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WQAchievements.lua b/WQAchievements.lua index 8bda574..68509f1 100644 --- a/WQAchievements.lua +++ b/WQAchievements.lua @@ -184,7 +184,7 @@ function WQA:OnEnable() for i = 1, #self.ZoneIDList do for _, mapID in pairs(self.ZoneIDList[i]) do if self.db.profile.options.zone[mapID] == true then - local quests = C_TaskQuest.GetQuestsForPlayerByMapID(mapID) + local quests = C_TaskQuest.GetQuestsOnMap(mapID) if quests then for j = 1, #quests do local questID = quests[j].questID @@ -929,7 +929,7 @@ function WQA:Reward() for i in pairs(self.ZoneIDList) do for _, mapID in pairs(self.ZoneIDList[i]) do if self.db.profile.options.zone[mapID] == true then - local quests = C_TaskQuest.GetQuestsForPlayerByMapID(mapID) + local quests = C_TaskQuest.GetQuestsOnMap(mapID) if quests then for i = 1, #quests do local questID = quests[i].questID