Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Fizzlemizz
Forum: PTR General Discussion 08-11-20, 01:04 PM
Replies: 4
Views: 383
Posted By Fizzlemizz
It's early...ish beta and given the breadth of...

It's early...ish beta and given the breadth of the problem and that at least one solution is in the wind, it's probably a bit early for radical surgery. Unless of course you feel the need :cool:.
Forum: PTR General Discussion 08-10-20, 12:44 PM
Replies: 4
Views: 383
Posted By Fizzlemizz
It seems this...

It seems this (https://github.com/Stanzilla/WoWUIBugs/wiki/9.0.1.35213-UI-Issues-and-Concerns) is an ongoing problem.
Forum: PTR API and Graphics Changes 08-06-20, 11:45 AM
Replies: 22
Views: 4,686
Posted By Fizzlemizz
It would be local BackdropFrames =...

It would be
local BackdropFrames = _G[AddOn.BackdropFrames[i]]
unless the table stored the reference to the created frame rather than its name.

It would depend on whether the template (common method...
Forum: Lua/XML Help 08-05-20, 09:04 PM
Replies: 15
Views: 4,085
Posted By Fizzlemizz
I had no problem with the binding loging in from...

I had no problem with the binding loging in from start-up, logout/login etc. Might I suggest you may have an addon binding the key(s) on a login event after your addons does and that event might not...
Forum: PTR API and Graphics Changes 08-05-20, 08:49 PM
Replies: 3
Views: 495
Posted By Fizzlemizz
Presumably it would be "mixed in" when you...

Presumably it would be "mixed in" when you inherit the ActionButtonTemplate and everything else would remain the same. Much like the Backdrops.

If there is a "ActionBarActionButtonMixin:Update()"...
Forum: Lua/XML Help 08-04-20, 08:25 PM
Replies: 15
Views: 4,085
Posted By Fizzlemizz
local myTestingKeybindingItemName,...

local myTestingKeybindingItemName, myTestingKeybindingItemLink, myTestingKeybindingItemID

local function addItemToTable(itemLink)
if not myTestingKeybindingTableOfItems...
Forum: PTR API and Graphics Changes 08-03-20, 01:10 AM
Replies: 22
Views: 4,686
Posted By Fizzlemizz
Once again, not mine. I don't have beta...

Once again, not mine. I don't have beta access.

This would need to add some "pass-through" methods to the parent frame if you are modifying the backdrop during play and want to maintain the single...
Forum: Lua/XML Help 08-02-20, 11:33 PM
Replies: 15
Views: 4,085
Posted By Fizzlemizz
SavedVariables are global, TableOfItems is not...

SavedVariables are global, TableOfItems is not really a unique enough name for a global. Same goes for frame names, "myTest" is not really a unique enough name for a global. You might be binding to...
Forum: PTR API and Graphics Changes 08-02-20, 10:08 AM
Replies: 22
Views: 4,686
Posted By Fizzlemizz
Test and add a backdrop frame in the OnLoad...

Test and add a backdrop frame in the OnLoad script:

This adds an extra frame for the backdrop rather than just inheriting the template.
<Frame>
<Scripts>
<OnLoad>
if...
Forum: General Authoring Discussion 08-02-20, 10:02 AM
Replies: 3
Views: 1,182
Posted By Fizzlemizz
Possibly UPDATE_CHAT_WINDOWS...

Possibly UPDATE_CHAT_WINDOWS (https://wow.gamepedia.com/UPDATE_CHAT_WINDOWS)
Forum: PTR API and Graphics Changes 07-28-20, 10:18 AM
Replies: 22
Views: 4,686
Posted By Fizzlemizz
Same as normal. The Mixin that is applied when...

Same as normal. The Mixin that is applied when using the template applies all the pre 9x backdrop methods to the frame. Nothing really changes once you've inherited the template.

if not f.Backdrop...
Forum: Lua/XML Help 07-24-20, 12:28 PM
Replies: 8
Views: 1,508
Posted By Fizzlemizz
TargetFrame:SetScript("OnLoad", test) Given this...

TargetFrame:SetScript("OnLoad", test)
Given this is a Blizzard frame and non "load-on-demand" Blizzard code loads before 3rd party addons, by the time your code tries to set the TargetFrame OnLoad...
Forum: Lua/XML Help 07-24-20, 11:16 AM
Replies: 8
Views: 1,508
Posted By Fizzlemizz
Does the target have a buff or is it a debuff...

Does the target have a buff or is it a debuff (something bad you applied)?
/run print("UnitBuff", UnitBuff("target",1), "UnitDebuff", UnitDebuff("target",1))
Forum: Lua/XML Help 07-24-20, 10:48 AM
Replies: 8
Views: 1,508
Posted By Fizzlemizz
Do you need to check for a buff? It seems you...

Do you need to check for a buff? It seems you could alter the frames regardless of buff so long as you only do it once for each (assuming frame:CreateBeautyBorder creates a new frame each...
Forum: Lua/XML Help 07-23-20, 11:41 AM
Replies: 8
Views: 1,508
Posted By Fizzlemizz
The function is called only when the frames...

The function is called only when the frames .threatNumericIndicator shows/hides. Try running the function after hooking it to set an initial state.

Slight change to SkinTarget:
local function...
Forum: PTR API and Graphics Changes 07-20-20, 08:22 PM
Replies: 22
Views: 4,686
Posted By Fizzlemizz
Using: BackdropTemplateMixin and...

Using:
BackdropTemplateMixin and "BackdropTemplate"
Allows the same code to exist/run in both 8.x and 9+ versions ie. if the mixin doesn't exist, don't use the template and if it does, magic it in.
Forum: PTR API and Graphics Changes 07-20-20, 06:21 PM
Replies: 22
Views: 4,686
Posted By Fizzlemizz
local f = CreateFrame("Frame", nil, self,...

local f = CreateFrame("Frame", nil, self, BackdropTemplateMixin and "BackdropTemplate")
Testing for BackdropTemplateMixin is to differentiate between 9 and pre 9.

Then use as normal:
f:SetBackdrop({...
Forum: PTR General Discussion 07-17-20, 06:27 PM
Replies: 4
Views: 2,489
Posted By Fizzlemizz
This would be nice and fingers will be crossed.

This would be nice and fingers will be crossed.
Forum: General Authoring Discussion 07-15-20, 12:59 PM
Replies: 5
Views: 1,660
Posted By Fizzlemizz
SetRaidTarget("unit", 0) See: SetRaidTarget...

SetRaidTarget("unit", 0)

See: SetRaidTarget (https://wow.gamepedia.com/API_SetRaidTarget)
Forum: AddOn Help/Support 07-15-20, 09:34 AM
Replies: 11
Views: 1,399
Posted By Fizzlemizz
A single frame can monitor multiple events or in...

A single frame can monitor multiple events or in this case, the same event for more than one unit.

local function AuraCheck(self, event, ...)
local unit = ...
if unit == "target"...
Forum: Lua/XML Help 07-13-20, 10:08 AM
Replies: 7
Views: 1,248
Posted By Fizzlemizz
My bad, I was thinking of my derived ColourPicker...

My bad, I was thinking of my derived ColourPicker button.

I guess the question becomes, what are you doing in ShowColorPicker to gather the variables you want to pass that you couldn't do directly...
Forum: Lua/XML Help 07-12-20, 08:09 PM
Replies: 7
Views: 1,248
Posted By Fizzlemizz
1. The vararg needs to go at th end. local...

1. The vararg needs to go at th end.
local function ShowColorPicker(changedCallback, r, g, b, a)
....
end


local myPackedColor = {1, 1, 1, 1};
ShowColorPicker(myColorCallback,...
Forum: Lua/XML Help 06-30-20, 03:40 AM
Replies: 15
Views: 999
Posted By Fizzlemizz
It depends on how much "extra" processing you...

It depends on how much "extra" processing you might add to the event call(s).

On it's own it's probably not an overly great burden.
Forum: Lua/XML Help 06-30-20, 03:27 AM
Replies: 15
Views: 999
Posted By Fizzlemizz
RegisterAllEvents...

RegisterAllEvents (https://wow.gamepedia.com/API_Frame_RegisterAllEvents)
/etrace might also be useful.
Forum: Lua/XML Help 06-30-20, 01:25 AM
Replies: 2
Views: 613
Posted By Fizzlemizz
At it's simplest, you have a table of "active"...

At it's simplest, you have a table of "active" frames. As they become no-longer "active" you move the frame to a "pool" table of inactive frames (delete the frame reference from the active table and...
Showing results 1 to 25 of 500