Map showing all battles
Zaphod392 opened this issue ยท 7 comments
Seeing all pet battles, and the search window is missing:
5x PetTracker\Features\MapFilter.lua:56: doesn't have a "OnClick" script
[string "=[C]"]: in function SetScript' [string "@PetTracker\Features\MapFilter.lua"]:56: in function
Init'
[string "@PetTracker\Features\MapFilter.lua"]:25: in function <PetTracker\Features\MapFilter.lua:24>
[string "=[C]"]: in function OnMapChanged' [string "@Blizzard_WorldMap\Blizzard_WorldMap.lua"]:231: in function
OnMapChanged'
[string "@Blizzard_MapCanvas\Blizzard_MapCanvas.lua"]:37: in function SetMapID' [string "@Blizzard_WorldMap\Blizzard_WorldMap.lua"]:242: in function <...rfaceBlizzard_WorldMap\Blizzard_WorldMap.lua:240> [string "=(tail call)"]: ? [string "=[C]"]: ? [string "=[C]"]: in function
Show'
[string "@FrameXML\UIParent.lua"]:3283: in function <FrameXML\UIParent.lua:3273>
[string "=[C]"]: in function ShowUIPanel' [string "@FrameXML\QuestLogOwnerMixin.lua"]:103: in function
SetDisplayState'
[string "@FrameXML\QuestLogOwnerMixin.lua"]:41: in function HandleUserActionToggleSelf' [string "@Blizzard_WorldMap\Blizzard_WorldMap.lua"]:432: in function
ToggleWorldMap'
[string "TOGGLEWORLDMAP"]:1: in function <[string "TOGGLEWORLDMAP"]:1>
Locals:
(*temporary) = {
InitializeDropDown = defined @Blizzard_WorldMap\Blizzard_WorldMapTemplates.lua:19
OnLoad = defined @Blizzard_WorldMap\Blizzard_WorldMapTemplates.lua:3
Refresh = defined @Blizzard_WorldMap\Blizzard_WorldMapTemplates.lua:7
Left = WorldMapFrameLeft {
}
Icon = WorldMapFrameIcon {
}
Right = WorldMapFrameRight {
}
0 =
relativeFrame = {
}
Button = WorldMapFrameButton {
}
Text = WorldMapFrameText {
}
Middle = WorldMapFrameMiddle {
}
noResize = 1
}
(*temporary) = "OnClick"
(*temporary) = defined @PetTracker\Features\MapFilter.lua:56
NOTE: This fix will only work on the version that existed BEFORE 1/16/2020.
This quick fix will prevent the errors, but still not make this work 100% (see comments below)
: edit the file \PetTracker\Features\MapFilter.lua
About line 56 should wrap the overlay statement with the if
new:
if overlay.OnClick ~=nil then
overlay:SetScript('OnClick', function()
SushiDropFrame:Toggle('TOPLEFT', overlay, 'BOTTOMLEFT', 0, -15, true, self.ShowTrackingTypes)
end)
end
old:
overlay:SetScript('OnClick', function()
SushiDropFrame:Toggle('TOPLEFT', overlay, 'BOTTOMLEFT', 0, -15, true, self.ShowTrackingTypes)
end)
Those lines you suggest changing don't appear in the version I have that was downloaded/updated on Jan. 17. Putting those lines in breaks PetTracker further.
Those lines you suggest changing don't appear in the version I have that was downloaded/updated on Jan. 17. Putting those lines in breaks PetTracker further.
Yes this quick fix was for the previous version. There has since been an update by the author. If the lines are different in the new version, then I wouldn't suggest making those changes.
Those lines you suggest changing don't appear in the version I have that was downloaded/updated on Jan. 17. Putting those lines in breaks PetTracker further.
Yes this quick fix was for the previous version. There has since been an update by the author. If the lines are different in the new version, then I wouldn't suggest making those changes.
Well, the update from 5 days ago is still broken. Badly. No pets show on the world map. There's no search box. And I think there are lots of errors. Next time I play, I'll try and capture them and post them. PetTracker is pretty useless in this state.
Those lines you suggest changing don't appear in the version I have that was downloaded/updated on Jan. 17. Putting those lines in breaks PetTracker further.
Yes this quick fix was for the previous version. There has since been an update by the author. If the lines are different in the new version, then I wouldn't suggest making those changes.
Well, the update from 5 days ago is still broken. Badly. No pets show on the world map. There's no search box. And I think there are lots of errors. Next time I play, I'll try and capture them and post them. PetTracker is pretty useless in this state.
Not sure why yours is so broken. Only thing that seems to not be working is the drop-down on the world map. Typing "missing" into the search works as above.