Thread Tools Display Modes
06-27-21, 02:43 AM   #1
longgegame
A Murloc Raider
Join Date: Jul 2016
Posts: 4
what 's the frame name of QueueStats frame and LFGstats frame?

I cant use /fstack to get the frame name of them

this frame only shows up when mouseover the MinimapButton...

https://imgur.com/a/ULY0XGZ
https://imgur.com/a/gU1Yea6

there are photos of the frames...

I want to always show them, not only mouseover the MinimapButton...

Last edited by longgegame : 06-27-21 at 02:48 AM.
  Reply With Quote
06-27-21, 04:37 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
It looks like its a Tooltip frame.

I'm not sure if tooltips can be shown permanently, but the blizzard code for the minimap buttons in question should show how the tooltip is filled with its information so that you can put it in a frame you can make permanent in that eventuality.

/fstack on the minimap buttons will give you their name and finding their Blizzard code somewhere in the files downloaded from the game - such as at ( https://www.townlong-yak.com/framexml/live ) will help you identifiy the code blocks in question.


This might be what you are looking for. From the minimap.lua file.

Lua Code:
  1. function MiniMapInstanceDifficulty_OnEnter(self)
  2.     local _, instanceType, difficulty, _, maxPlayers, playerDifficulty, isDynamicInstance, _, instanceGroupSize, lfgID = GetInstanceInfo();
  3.     local isLFR = select(8, GetDifficultyInfo(difficulty))
  4.     if (isLFR and lfgID) then
  5.         GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT", 8, 8);
  6.         local name = GetLFGDungeonInfo(lfgID);
  7.         GameTooltip:SetText(RAID_FINDER, 1, 1, 1);
  8.         GameTooltip:AddLine(name);
  9.         GameTooltip:Show();
  10.     end
  11. end
  12. function GuildInstanceDifficulty_OnEnter(self)
  13.     local guildName = GetGuildInfo("player");
  14.     local _, instanceType, _, _, maxPlayers = GetInstanceInfo();
  15.     local _, numGuildPresent, numGuildRequired, xpMultiplier = InGuildParty();
  16.     -- hack alert
  17.     if ( instanceType == "arena" ) then
  18.         maxPlayers = numGuildRequired;
  19.     end
  20.     GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT", 8, 8);
  21.     GameTooltip:SetText(GUILD_GROUP, 1, 1, 1);
  22.     if ( xpMultiplier < 1 ) then
  23.         GameTooltip:AddLine(string.format(GUILD_ACHIEVEMENTS_ELIGIBLE_MINXP, numGuildRequired, maxPlayers, guildName, xpMultiplier * 100), nil, nil, nil, true);
  24.     elseif ( xpMultiplier > 1 ) then
  25.         GameTooltip:AddLine(string.format(GUILD_ACHIEVEMENTS_ELIGIBLE_MAXXP, guildName, xpMultiplier * 100), nil, nil, nil, true);
  26.     else
  27.         if ( instanceType == "party" and maxPlayers == 5 ) then
  28.             numGuildRequired = 4;
  29.         end
  30.         GameTooltip:AddLine(string.format(GUILD_ACHIEVEMENTS_ELIGIBLE, numGuildRequired, maxPlayers, guildName), nil, nil, nil, true);
  31.     end
  32.     GameTooltip:Show();
  33. end
__________________

Last edited by Xrystal : 06-27-21 at 04:41 AM.
  Reply With Quote
06-27-21, 05:18 AM   #3
longgegame
A Murloc Raider
Join Date: Jul 2016
Posts: 4
Originally Posted by Xrystal View Post
It looks like its a Tooltip frame.

I'm not sure if tooltips can be shown permanently, but the blizzard code for the minimap buttons in question should show how the tooltip is filled with its information so that you can put it in a frame you can make permanent in that eventuality.
THANK YOU ! BIG LOVE ! GOING TO TEST NOW
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » what 's the frame name of QueueStats frame and LFGstats frame?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off