Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Fizzlemizz
Forum: AddOn Help/Support Yesterday, 12:10 AM
Replies: 4
Views: 273
Posted By Fizzlemizz
Do you have an addon that "helps" with hunter...

Do you have an addon that "helps" with hunter quests?

It's probably an addon anchoring the QuestFrame to/from the WorldFrame without a ClearAllpoints or anchoring it to WorldFrame and a...
Forum: Graphics Help 09-08-20, 09:54 PM
Replies: 2
Views: 1,459
Posted By Fizzlemizz
For this example, you're creating a new texture...

For this example, you're creating a new texture every update. Create it once when you create the frame and adjust that texture.

local SPHowFrame = CreateFrame("Frame", nil,...
Forum: AddOn Help/Support 09-04-20, 01:36 PM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
You're not actually initialising itemsCnt until...

You're not actually initialising itemsCnt until after getItemAction() is called or the set function is called with a value.

If the defaults table doesn't have an itemsCnt setting then...
Forum: AddOn Help/Support 09-04-20, 10:21 AM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
On closer look, you're creating all your...

On closer look, you're creating all your functions a globals. While that's entirely up to you, the global space is shared by all other 3rd party addons and the the Blizzard UI. Blizzard tends use the...
Forum: AddOn Help/Support 09-04-20, 10:03 AM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
You're creating myOptionsTable when your .lua...

You're creating myOptionsTable when your .lua file is loaded which is before the system has loaded your saved variables:

game reads your .lua file does what it needs at that stage (in this case...
Forum: AddOn Help/Support 09-03-20, 08:47 PM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
One place would be right before you...

One place would be right before you :RegisterOptionsTable(...) assuming you do this after the saved variables have loaded.

If that doesn't work (or that's what you are already doing) then showing...
Forum: AddOn Help/Support 09-03-20, 02:57 PM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
From the error, it seems you are creating the...

From the error, it seems you are creating the selectAction table too early ie. before AMine.db exists in the game (before AceDB has initialised it or before the game has loaded it).
Forum: AddOn Help/Support 09-03-20, 01:24 PM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
I'm not sure of the correlation between AMineDB,...

I'm not sure of the correlation between AMineDB, AMine.db(used in the OP) and the creation of the selectAction table in this context?
Forum: AddOn Help/Support 09-03-20, 01:00 PM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
I assumed AMine.db was example code taken from...

I assumed AMine.db was example code taken from elsewhere

Are you sure you're not creating the selectAction table before the saved variables have loaded (ie. before you've initalised AceDB)?
Forum: AddOn Help/Support 09-03-20, 10:20 AM
Replies: 17
Views: 3,075
Posted By Fizzlemizz
The db being referred to is a saved variables...

The db being referred to is a saved variables table setup using AceDB. Strip off everything before the last dot and pretend like it's a simple variable.

max = AMine.db.profile.actionCnt

local...
Forum: Lua/XML Help 09-02-20, 03:11 PM
Replies: 4
Views: 1,162
Posted By Fizzlemizz
Use pairs() for i,v in pairs(mountList) do...

Use pairs()
for i,v in pairs(mountList) do print(i,v) end
Forum: Lua/XML Help 09-02-20, 10:22 AM
Replies: 4
Views: 1,162
Posted By Fizzlemizz
Why not replace: else print("NLoot: Invalid...

Why not replace:
else
print("NLoot: Invalid Command, Input '/nl help' to get a list of available commands")
return

with:

else
-- if required check if input is a player in your...
Forum: Lua/XML Help 09-01-20, 11:34 PM
Replies: 18
Views: 5,361
Posted By Fizzlemizz
local frameA = CreateFrame("Frame", "frameA",...

local frameA = CreateFrame("Frame", "frameA", UIParent)
frameAButton1 = CreateFrame("Button", "frameAButton1", frameA)
frameAButton1:ClearAllPoints()
frameAButton1:SetPoint("CENTER", 0,...
Forum: PTR API and Graphics Changes 08-31-20, 10:03 AM
Replies: 14
Views: 9,254
Posted By Fizzlemizz
local completed =...

local completed = C_QuestLog.GetAllCompletedQuestIDs()
for i=1, #completed do
local id = completed[i]
-- do whatever with the id
end
Forum: Lua/XML Help 08-28-20, 08:28 PM
Replies: 18
Views: 5,361
Posted By Fizzlemizz
Or create single frames with their component...

Or create single frames with their component parts as keys on the frame.

local frameA = CreateFrame("Frame", nil, UIParent)
frameA.Button1 = CreateFrame("Button", nil, frameA)
frameA.Texture1 =...
Forum: Lua/XML Help 08-27-20, 08:35 PM
Replies: 4
Views: 2,963
Posted By Fizzlemizz
The mixin created the method on the frame...

The mixin created the method on the frame ie.

function frame:OnEvent(self, event, ...)
-- OnEvent code
end

the xml frames OnEvent <Script> tag tells it to use the frame method.

What I posted...
Forum: Lua/XML Help 08-27-20, 12:27 AM
Replies: 4
Views: 2,963
Posted By Fizzlemizz
Try: PVPMatchResults.Onevent = onevents and don't...

Try:
PVPMatchResults.Onevent = onevents
and don't use:
PVPMatchResults:SetScript("OnEvent", onevents);
Forum: PTR General Discussion 08-24-20, 06:13 PM
Replies: 3
Views: 1,326
Posted By Fizzlemizz
local background =...

local background = "interface\\AddOns\\aPanels\\media\\halback"
local border = "interface\\AddOns\\aPanels\\media\\border"

local panels,n = {},0
local aPanels =...
Forum: PTR API and Graphics Changes 08-17-20, 01:19 PM
Replies: 29
Views: 12,422
Posted By Fizzlemizz
A side note for future travelers, applying the...

A side note for future travelers, applying the Mixin directly would primarily be used for frames you didn't create but wanted to set a backdrop on (as p3lim pointed out earlier in the thread).

In...
Forum: PTR API and Graphics Changes 08-17-20, 01:02 PM
Replies: 14
Views: 9,254
Posted By Fizzlemizz
local numTokenTypes =...

local numTokenTypes = C_CurrencyInfo.GetCurrencyListSize();

A good place to start looking (https://github.com/Stanzilla/WoWUIBugs/wiki/9.0.1-Consolidated-UI-Changes).
Forum: PTR API and Graphics Changes 08-17-20, 08:45 AM
Replies: 29
Views: 12,422
Posted By Fizzlemizz
There a several places the library would need to...

There a several places the library would need to be updated depending on which parts you are using.

Things like around line 517 in InitializeTooltip(tooltip, key)
local backdrop =...
Forum: PTR General Discussion 08-11-20, 01:04 PM
Replies: 4
Views: 1,916
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: 1,916
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: 29
Views: 12,422
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: 16
Views: 11,093
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...
Showing results 1 to 25 of 500