Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 02-14-20, 11:21 AM
Replies: 2
Views: 129
Posted By Fizzlemizz
Being a custom panel builder KG won't actually...

Being a custom panel builder KG won't actually create panels until some deferred time (probably at PLAYER_ENTRING_WOLRD or possibly PLAYER_LOGIN)

ADDON_LOADED will fire for your addon and every...
Forum: Lua/XML Help 02-08-20, 01:49 PM
Replies: 3
Views: 182
Posted By Fizzlemizz
You're creating a new fontstring on top of...

You're creating a new fontstring on top of previous ones each time the OnEvent function is called. Just create one and update its text.


local frame = CreateFrame("Button", "save-disk_frame",...
Forum: General Authoring Discussion 02-07-20, 07:40 AM
Replies: 1
Views: 253
Posted By Fizzlemizz
You don't tell us what the Set and Get functions...

You don't tell us what the Set and Get functions are doing (setting the colours I'm guessing at here). Also, OnEvent and OnUpdate are two different scripts to do two different things. The game will...
Forum: Lua/XML Help 02-04-20, 01:46 PM
Replies: 8
Views: 436
Posted By Fizzlemizz
If you can't do it as a macro because the...

If you can't do it as a macro because the hardware event is required for the second /say or the /in is seemingly being swallowed, you won't be able to do it as an addon.
Forum: Lua/XML Help 02-03-20, 05:34 PM
Replies: 8
Views: 436
Posted By Fizzlemizz
Requires a hardware event for certain channels...

Requires a hardware event for certain channels now.
https://wow.gamepedia.com/API_SendChatMessage
Forum: AddOn Help/Support 01-30-20, 11:26 AM
Replies: 16
Views: 671
Posted By Fizzlemizz
Something like: local EventFrame =...

Something like:


local EventFrame = CreateFrame("Frame", "BloodDragonAzMover", UIParent)
EventFrame:Hide()
EventFrame:SetSize(50, 15)
EventFrame:SetFrameStrata("HIGH")
EventFrame:SetPoint("TOPLEFT",...
Forum: AddOn Help/Support 01-30-20, 08:54 AM
Replies: 16
Views: 671
Posted By Fizzlemizz
Because the addon is LOD, its frame is created...

Because the addon is LOD, its frame is created after the PLAYER_LOGIN event which means SetUserPlaced (https://wow.gamepedia.com/API_Frame_SetUserPlaced) doesn't work (save/restore the last known...
Forum: AddOn Help/Support 01-29-20, 09:14 AM
Replies: 16
Views: 671
Posted By Fizzlemizz
Small qualifier, ADDON_LOADED will trigger for...

Small qualifier,

ADDON_LOADED will trigger for the addon that registers for the event and any other addons that load after** it (addons that load before "yours" will not trigger the...
Forum: Lua/XML Help 01-20-20, 09:56 PM
Replies: 5
Views: 295
Posted By Fizzlemizz
According to LibQtip, AddLine returns a number so...

According to LibQtip, AddLine returns a number so at 142:
line = tooltip:AddLine(npc.name, npc.item, format("%d/%d", count, 5))

then at 144 you:

tooltip:SetScript(line, "OnMouseUp", UseTomTom,...
Forum: AddOn Search/Requests 01-16-20, 05:44 PM
Replies: 2
Views: 375
Posted By Fizzlemizz
It has a frame with a "circle" to show your...

It has a frame with a "circle" to show your progress, as you go around, the frame turns red when you go "out-of-bounds". These days the leeway for the amount you can go OoB is pretty slack.
Forum: General Authoring Discussion 01-14-20, 05:29 PM
Replies: 2
Views: 737
Posted By Fizzlemizz
Presumably the /api (Blizzard API documentation...

Presumably the /api (Blizzard API documentation addon) is up-to-date as can be but I haven't gone through it.
Forum: Lua/XML Help 12-24-19, 01:37 PM
Replies: 4
Views: 500
Posted By Fizzlemizz
In my rune code I check that start has been given...

In my rune code I check that start has been given a value (Blizzard does also in their UpdateRunes function which probably means GetRuneCooldown can return nil for start no matter what the online...
Forum: AddOn Help/Support 12-17-19, 10:42 AM
Replies: 2
Views: 626
Posted By Fizzlemizz
https://www.wowinterface.com/downloads/info24042-C...

https://www.wowinterface.com/downloads/info24042-Cecile_RecipeTooltip.html

Did you copy a retail version addon over to Classic?
Forum: Lua/XML Help 12-14-19, 12:43 AM
Replies: 2
Views: 393
Posted By Fizzlemizz
Install BugGrabber...

Install BugGrabber (https://www.wowinterface.com/downloads/info23141-BugGrabber.html) and BugSack (https://www.wowinterface.com/downloads/info5995-BugSack.html) to show the errors you're...
Forum: Classic - AddOn Help/Support 11-24-19, 12:12 AM
Replies: 3
Views: 263
Posted By Fizzlemizz
Something like: local units = {} units.player =...

Something like:

local units = {}
units.player = CreateFrame("PlayerModel", nil, UIParent)
units.player:SetSize(150, 200)
units.player:SetPoint("CENTER", UIParent, "CENTER", 0,...
Forum: Lua/XML Help 10-14-19, 10:18 PM
Replies: 11
Views: 711
Posted By Fizzlemizz
if type(id) == "table" then id = tonumber(id)...

if type(id) == "table" then id = tonumber(id) end
Doesn't that just result in id being nil?
Forum: AddOn Help/Support 09-25-19, 10:22 AM
Replies: 6
Views: 1,138
Posted By Fizzlemizz
In the code I supplied I used SideBarFrame as the...

In the code I supplied I used SideBarFrame as the name given to the "Side bar" container panel. I don't know the actual name or how KgPanels names it panels (frames) for use in code so you will need...
Forum: AddOn Help/Support 09-24-19, 08:33 PM
Replies: 13
Views: 1,842
Posted By Fizzlemizz
Oops. /run MiniMapWorldMapButton:SetShown(not...

Oops.

/run MiniMapWorldMapButton:SetShown(not MiniMapWorldMapButton:IsShown())
Forum: AddOn Help/Support 09-24-19, 01:35 PM
Replies: 13
Views: 1,842
Posted By Fizzlemizz
I just Hide() it along with other MM related...

I just Hide() it along with other MM related assets when the game starts but you can test toggle it for yourself.

/run MinimapToggleButton:SetShown(not MinimapToggleButton:IsShown())

Assuming...
Forum: AddOn Help/Support 09-24-19, 11:06 AM
Replies: 6
Views: 1,138
Posted By Fizzlemizz
It could be something as simple as adjusting the...

It could be something as simple as adjusting the SetPoint of the side bar when the button is clicked

Something OnClick like:
local point = SideBarFrame:GetPoint(1)
SideBarFrame:ClearAllpoints()
if...
Forum: General Authoring Discussion 09-22-19, 08:54 AM
Replies: 6
Views: 933
Posted By Fizzlemizz
Have you tried to delay the set so the game has...

Have you tried to delay the set so the game has time to "get ready". Something like:

local frame = CreateFrame("PlayerModel", nil, UIParent, nil)
frame:SetSize(500, 500)
frame:SetPoint("CENTER",...
Forum: Lua/XML Help 09-19-19, 10:19 PM
Replies: 14
Views: 1,911
Posted By Fizzlemizz
Did you move your function or copy mine with the...

Did you move your function or copy mine with the table wipes? The code I posted works here as is.

If you remove/comment out SLFG_RoleMenu_Init you should get a control with no drop list when you...
Forum: Lua/XML Help 09-19-19, 09:41 PM
Replies: 14
Views: 1,911
Posted By Fizzlemizz
dm = CreateFrame("FRAME", "SLFG_RoleMenu", panel,...

dm = CreateFrame("FRAME", "SLFG_RoleMenu", panel, "UIDropDownMenuTemplate")
dm:SetPoint("LEFT", SLFG_RoleText, "RIGHT", 0, -2)
UIDropDownMenu_SetWidth(dm, 70)
...
Forum: Lua/XML Help 09-19-19, 08:44 PM
Replies: 14
Views: 1,911
Posted By Fizzlemizz
local SLFG_DungeonList = { "Ragefire Chasm...

local SLFG_DungeonList = {
"Ragefire Chasm (RFC)",
"Wailing Caverns (WC)",
"Deadmines (VC)",
"Shadowfang Keep (SFK)",
"Blackfathom Deeps (BFD)",
"Stockade (Stocks)",
...
Forum: Lua/XML Help 09-19-19, 06:12 PM
Replies: 14
Views: 1,911
Posted By Fizzlemizz
List of button attributes info.owner = [Frame] ...

List of button attributes
info.owner = [Frame] -- Dropdown frame that "owns" the current dropdownlist

In the following you would want to pass the button, not the buttons owner (self instead of...
Showing results 1 to 25 of 500