Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.13 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 05-14-22, 11:44 AM
Replies: 2
Views: 212
Posted By Fizzlemizz
The problem being the dropdown menu is a common...

The problem being the dropdown menu is a common widget that gets updated depending on the initialise function.

This should work but because it's hooking the dropdown menus OnHide you never know what...
Forum: Lua/XML Help 05-08-22, 11:49 AM
Replies: 9
Views: 369
Posted By Fizzlemizz
If PLAYER_LOGIN didn't fire until after PEW then...

If PLAYER_LOGIN didn't fire until after PEW then all my addons would be broken. It should fire only once after all inital ADDON_LOADEDs have happened and before PEW.

Which might have caused a...
Forum: Lua/XML Help 05-08-22, 08:58 AM
Replies: 9
Views: 369
Posted By Fizzlemizz
First install seemed to work. GUI popped up,...

First install seemed to work. GUI popped up, PrintCommands() ran, slash command worked, events were processed and in expected order.

Worked just the same after exiting and deleting the SV file.

And...
Forum: Lua/XML Help 05-08-22, 12:22 AM
Replies: 9
Views: 369
Posted By Fizzlemizz
On the face of it it looks like it should work...

On the face of it it looks like it should work but what's here obviously isn't the entire addon.

If you cut the addon down (create a test addon) to just this code and it works then the problem is...
Forum: Lua/XML Help 05-07-22, 09:03 PM
Replies: 9
Views: 369
Posted By Fizzlemizz
What is TSM_StringConverter and is it LOD? If...

What is TSM_StringConverter and is it LOD?

If it is, maybe it is loaded by the "host" addon at PLAYER_LOGIN meaning that event will have already passed before TSM_StringConverter is loaded... or...
Forum: Macro Help 05-07-22, 09:00 AM
Replies: 2
Views: 226
Posted By Fizzlemizz
See the new (9.1.5) restrictions on...

See the new (9.1.5) restrictions on DeleteCursorItem (https://wowpedia.fandom.com/wiki/API_DeleteCursorItem)
Forum: Lua/XML Help 05-05-22, 02:07 PM
Replies: 2
Views: 247
Posted By Fizzlemizz
It looks like the addons config. hasn't had a...

It looks like the addons config. hasn't had a chance to register it's Ace layout options.

If the addon has a slash command to open it's options, it might be better to use that if you're not doing it...
Forum: Lua/XML Help 05-03-22, 12:07 PM
Replies: 7
Views: 339
Posted By Fizzlemizz
With something like SUF, it's highly unlikely...

With something like SUF, it's highly unlikely your problem is the addon load order but more likely the event and event processing order where SUF does it's actual profile/frame initialisation...
Forum: Lua/XML Help 05-03-22, 10:34 AM
Replies: 7
Views: 339
Posted By Fizzlemizz
Yeah, dependancies won't work if you're talking...

Yeah, dependancies won't work if you're talking about making your addon a dependacy of someone elses.

Probably need to see if there some way to re-initialise SUF after you've done your changes.

If...
Forum: Lua/XML Help 05-03-22, 09:35 AM
Replies: 7
Views: 339
Posted By Fizzlemizz
Make addon 1 a dependancy of addon 2 in its .toc....

Make addon 1 a dependancy of addon 2 in its .toc. Optional or Required depending on wether addon 1 may be installed or not.

## OptDeps: AddOn1
or
## RequiredDeps: AddOn1
Forum: Lua/XML Help 04-28-22, 10:24 PM
Replies: 3
Views: 310
Posted By Fizzlemizz
text:SetPoint("TOPLEFT", 5,...

text:SetPoint("TOPLEFT", 5, -15)
text:SetSize(raidLockoutFrame:GetWidth() - 10, 12) -- fixed with/height


Adjust numbers to suit.

If the string itself has new line characters (\n) they will need to...
Forum: Lua/XML Help 04-24-22, 10:29 AM
Replies: 3
Views: 543
Posted By Fizzlemizz
You don't need to explicitly add the "nil" but...

You don't need to explicitly add the "nil" but you need to use :SetTexture on both.
Forum: Lua/XML Help 04-24-22, 10:06 AM
Replies: 3
Views: 543
Posted By Fizzlemizz
That or just...

That or just FocusFrameNameBackground:SetTexture() is fine.
Forum: Lua/XML Help 04-21-22, 01:33 AM
Replies: 4
Views: 357
Posted By Fizzlemizz
local f =...

local f = CreateFrame("Frame","PantherWelcome",UIParent, "BackdropTemplate")
Forum: Lua/XML Help 04-21-22, 01:09 AM
Replies: 4
Views: 357
Posted By Fizzlemizz
Every frame used to have a backdrop if it was...

Every frame used to have a backdrop if it was needed or not. Now they are optional (at least in retail, I don't think change has been backported to the classics yet but...?).

In retail, your frames...
Forum: Lua/XML Help 04-20-22, 08:25 PM
Replies: 2
Views: 271
Posted By Fizzlemizz
Those all seem to be frames from Load On Demand...

Those all seem to be frames from Load On Demand addons so you're probably trying to hook them before they exist.

What you need to do is find the Blizzard addon they belong to.
Create a frame and...
Forum: AddOn Help/Support 04-07-22, 01:31 PM
Replies: 5
Views: 455
Posted By Fizzlemizz
The Lua/XML support...

The Lua/XML support (https://www.wowinterface.com/forums/forumdisplay.php?f=16) forum is probably best
Forum: AddOn Help/Support 04-07-22, 12:35 PM
Replies: 5
Views: 455
Posted By Fizzlemizz
Most addons rely on updating when things happen...

Most addons rely on updating when things happen in-game. They are notified of these "happenings" through an event system.

If you just put code in a .lua file withouot setting up a method to listen...
Forum: AddOn Help/Support 04-07-22, 10:10 AM
Replies: 5
Views: 455
Posted By Fizzlemizz
You need to wait until the game knows something...

You need to wait until the game knows something about the characther you just logged in to, try (your code didn't mention where the frame is anchored so I made that bit up):
frame:SetSize(5,...
Forum: Lua/XML Help 04-06-22, 03:13 PM
Replies: 4
Views: 448
Posted By Fizzlemizz
The method attribute is used if the script is a...

The method attribute is used if the script is a method of the frame (usually added to the frame via a mixin attribute included in the <Frame ...> tag).

Because your function is a global (and so long...
Forum: Lua/XML Help 04-04-22, 09:29 AM
Replies: 1
Views: 480
Posted By Fizzlemizz
Every time it's shown you run...

Every time it's shown you run listview_CreateList

Every time listview_CreateList is run, among other things, it creates a new fontstring on the buttons so you are getting overlay.

Maybe change your...
Forum: Lua/XML Help 03-29-22, 02:34 PM
Replies: 6
Views: 514
Posted By Fizzlemizz
The UNIT_AURA event can now come with table where...

The UNIT_AURA event can now come with table where it didn't before. The tables will take up memory until they are cleaned up by the garbage collector.

The more often UNIT_AURA fires, the more...
Forum: Lua/XML Help 03-29-22, 12:22 PM
Replies: 6
Views: 514
Posted By Fizzlemizz
frame:RegisterEvent will send the event for all...

frame:RegisterEvent will send the event for all units (it will ignore the "player" parameter).

If you want to register an event for a particular unit (or units) you need to use...
Forum: Lua/XML Help 03-29-22, 11:50 AM
Replies: 6
Views: 514
Posted By Fizzlemizz
I can't see anything that would cause this code...

I can't see anything that would cause this code to continuously consume memory. The new table payload of UNIT_ARUA will cause a temporary increase until it is garbage...
Forum: AddOn Search/Requests 03-18-22, 11:43 PM
Replies: 9
Views: 722
Posted By Fizzlemizz
if oldstanding and oldstanding<newstanding...

if oldstanding and oldstanding<newstanding then
TrackedFactions starts as an empty table so oldstanding will always be nil until a new faction entry is added.
if not oldstanding or...
Showing results 1 to 25 of 500