Questie

Questie

122M Downloads

Issue to track an achievment

Bhahlou opened this issue · 2 comments

commented

Description

When I shift-click an achievment to track it, I get the following error:

11x ...ceQuestie/Modules/Tracker/QuestieTracker.lua:2096: attempt to call global 'GetMouseFocus' (a nil value)
[string "@Questie/Modules/Tracker/QuestieTracker.lua"]:2096: in function TrackAchieve' [string "@Questie/Modules/Tracker/QuestieTracker.lua"]:1764: in function <...ceQuestie/Modules/Tracker/QuestieTracker.lua:1764> [string "=[C]"]: in function AddTrackedAchievement'
[string "@Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua"]:934: in function AchievementButton_ToggleTracking' [string "@Blizzard_AchievementUI/Cata/Blizzard_AchievementUI.lua"]:888: in function AchievementButton_OnClick'
[string "*Blizzard_AchievementUI.xml:1128_OnClick"]:1: in function <[string "*Blizzard_AchievementUI.xml:1128_OnClick"]:1>

Locals:
self =

{
started = true
last_achieveId = 5871
alreadyHooked = true
alreadyHookedSecure = true
private =
{
}
}
achieveId = 5871
now = 402004.462000
mouseFocus = nil
frameMatch = nil
(*temporary) = nil
(*temporary) = "attempt to call global 'GetMouseFocus' (a nil value)"
QuestieTracker =
{
started = true
last_achieveId = 5871
alreadyHooked = true
alreadyHookedSecure = true
private =
{
}
}
l10n =
{
zoneLookup =
{
}
objectNameLookup =
{
}
continentLookup =
{
}
questCategoryLookup =
{
}
translations =
{
}
private =
{
}
zoneCategoryLookup =
{
}
}
lastAchieveId = 402004.462000

Questie version

v10.6.4

Game flavor

Cata

commented

If I remember correctly, I had the same issue on Firelands RPT with ItemRack, and GetMouseFocus() was removed and replaced by GetMouseFoci()

Related API change:
https://warcraft.wiki.gg/wiki/Patch_11.0.0/API_changes

Related ItemRack issue:
Rottenbeer/ItemRack#268

commented

Already fixed in 33e0649 and will be released in a minute.

Thanks for reporting this @Bhahlou ❤️