Has the ability to hook the OnLoad handler for this frame been removed/blocked? I had written a small addon that allowed you to move the Objective Tracker around, but some time ago, it stopped working.
e.g. My hook looked like this:
local function MyFunc(self)
self:SetParent(MyFrame)
self:SetPoint("TOPLEFT")
self.HeaderMenu.MinimizeButton:SetPoint("TOPRIGHT", MyFrame)
end
. . .
if event == "PLAYER_LOGIN" then
ObjectiveTrackerFrame:HookScript("OnLoad", MyFunc)
end
This used to work perfectly, but now, MyFunc never fires. I’ve tried working around it and using
hooksecurefunc(ObjectiveTrackerFrame, "SetPoint", MyFunc)
this does work, but I get multiple initial C Stack Overflow errors once on client load, but once I close the Lua Error window, I don’t get those errors again until another client load e.g. /reload, etc, and my addon seems to work as intended.
Any help would be appreciated.