Displaying M+ loot table

You can tell if a specific addon is loaded by using...IsAddOnLoaded("AddOnName")You can tell if a specific addon is Load-On-Demand by using...IsAddOnLoadOnDemand("AddOnName")You can force a Load-On-Demand addon to load by using...LoadAddOn("AddOnName")
Thanks a lot!
However, I noticed the raider.io tooltip may not show up, even if the addon is loaded (in case the score is under 270). How can I check if a certain frame is loaded/visible?
Type /fstack (same again to close). This will allow you to see the shown frames that exist under the mouse cursor as it moves around the game field and their names if they have one.

Mouse over the raider.io frame while shown and write down it's name (names are case sensitive) or post a screenshot of the frames list.

You might then hook its OnShow/OnHide scripts to move the table frame as required. I don't raider.io so screenshots of the two states might also help.
The only levels that matter are 4, 7 and 10.
11/08/2018 12:46 PMPosted by Fizzlemizz
Type /fstack (same again to close). This will allow you to see the shown frames that exist under the mouse cursor as it moves around the game field and their names if they have one.

Mouse over the raider.io frame while shown and write down it's name (names are case sensitive) or post a screenshot of the frames list.

You might then hook its OnShow/OnHide scripts to move the table frame as required. I don't raider.io so screenshots of the two states might also help.


RaiderIO_ProfileTooltip
How exactly do i use the onshow/onhide events?
Like:


local frame = _G["RaiderIO_ProfileTooltip"]
if (frame)
frame:SetScript("OnShow", showLootTableWithIO())
else
showLootTable()
end
I was waiting for the screenshots that show the with/without raider.io. Even if I downloaded it and figured out how to use, I have no idea exactly what it is you are seeing or how it might be fixed.
When R.IO is on:
https://imgur.com/m7giwlL

When R.IO is off/hidden:
https://imgur.com/t9TXvD0
A bit of a stab in the dark so first make a make a backup copy of your addon before trying this.

Where you have :
mplustable:SetPoint("TOPLEFT",...
change it too
mplustable:SetPoint("TOPLEFT", PVEFrameCloseButton, "TOPRIGHT", -5, -5)
mplustable:SetScript("OnEvent", function(self)
if RaiderIO_ProfileTooltip then
hooksecurefunc(RaiderIO_ProfileTooltip, "ShowProfile", function()
mplustable:ClearAllPoints()
if RaiderIO_ProfileTooltip:IsShown() then
mplustable:SetPoint("TOPLEFT", RaiderIO_ProfileTooltip, "TOPRIGHT", 0, 0)
else
mplustable:SetPoint("TOPLEFT", PVEFrameCloseButton, "TOPRIGHT", -5, -5)
end
end)
end
end)
mplustable:RegisterEvent("PLAYER_LOGIN")


This "should" anchor your table to the top right of the RaiderIO tooltip if it is shown, otherwise to the top right of the PVE frame.