Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 09-27-20, 06:35 PM
Replies: 16
Views: 387
Posted By Fizzlemizz
You are indeed correct. It does seem they've...

You are indeed correct. It does seem they've protected the closing for some reason.

Opening the map and pressing escape restores the game menu on escape, so some investigation as to what's going on...
Forum: Lua/XML Help 09-27-20, 05:25 PM
Replies: 16
Views: 387
Posted By Fizzlemizz
HD, Mage, Hunter.. all work (happy to try...

HD, Mage, Hunter.. all work (happy to try anything else you like).

If esc. doesn't cancel combat/targeting, it sounds like a keybind or other addon problem.
Forum: Lua/XML Help 09-27-20, 05:12 PM
Replies: 16
Views: 387
Posted By Fizzlemizz
local testButton = CreateFrame("Button", nil,...

local testButton = CreateFrame("Button", nil, WorldMapFrame, "UIPanelButtonTemplate")
testButton:SetPoint("CENTER", 0,...
Forum: Lua/XML Help 09-27-20, 05:02 PM
Replies: 16
Views: 387
Posted By Fizzlemizz
You're right, the HideUIPanel didn't work in...

You're right, the HideUIPanel didn't work in combat but the game menu did.

Remember, the first Esc. is possibly being chewed clearing the target so you have to press it twice.
Forum: Lua/XML Help 09-27-20, 04:19 PM
Replies: 16
Views: 387
Posted By Fizzlemizz
Works fine using WorldMapFrame:Hide() OR...

Works fine using WorldMapFrame:Hide() OR HideUIPanel(WorldMapFrame) while in combat and esc. after to open the game menu..

You've made testButton global, not sure what that might be doing.

This is...
Forum: Lua/XML Help 09-24-20, 10:59 AM
Replies: 10
Views: 874
Posted By Fizzlemizz
In the Beta/PTR you can type "/api C_Soulbinds"...

In the Beta/PTR you can type "/api C_Soulbinds" in-game, click on the pink link to get a list of functions, events and tables or, extract the code and open SoulbindsDocumentation.lua under the...
Forum: AddOn Help/Support 09-20-20, 08:31 PM
Replies: 7
Views: 1,214
Posted By Fizzlemizz
If you are running any other addon(s) that alter...

If you are running any other addon(s) that alter the TH frame, they might be "undoing" your code.

With what you have, it's probably easier to reduce all the code (after making a copy) to...
Forum: AddOn Help/Support 09-20-20, 06:27 PM
Replies: 7
Views: 1,214
Posted By Fizzlemizz
As Xrystal noted, you need to adjust the TH frame...

As Xrystal noted, you need to adjust the TH frame from the Blizzard addon, not one you've created.

local function main(self, event, ...)
local addon = ... -- Check for the addon that has just...
Forum: AddOn Help/Support 09-19-20, 12:10 AM
Replies: 6
Views: 2,213
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: 2,497
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: 4,390
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: 4,390
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: 4,390
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: 4,390
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: 4,390
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: 4,390
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: 4,390
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: 4,390
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,630
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,630
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: 6,542
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: 11,585
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: 6,542
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: 3,708
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: 3,708
Posted By Fizzlemizz
Try: PVPMatchResults.Onevent = onevents and don't...

Try:
PVPMatchResults.Onevent = onevents
and don't use:
PVPMatchResults:SetScript("OnEvent", onevents);
Showing results 1 to 25 of 500