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 10-19-20, 01:29 PM
Replies: 4
Views: 175
Posted By Fizzlemizz
The first entry refers to the point on the target...

The first entry refers to the point on the target object to want to anchor the start of the line too (there is no second "attachto" point al-la SetPoint()).

line1:SetStartPoint("BOTTOMLEFT", f, 10,...
Forum: Lua/XML Help 10-19-20, 11:39 AM
Replies: 4
Views: 202
Posted By Fizzlemizz
What is SHOW that is being upper()ed in the slash...

What is SHOW that is being upper()ed in the slash command?

TSMSC_DB.isShown = not TSMSC_DB.isShown
if TSMSC_DB.isShown then
-- what is actioning the showing of the fame here?
else
-- what is...
Forum: Lua/XML Help 10-16-20, 01:01 PM
Replies: 4
Views: 316
Posted By Fizzlemizz
Presumably window.lua line 256 (just before the...

Presumably window.lua line 256 (just before the line causing the error by calling xx:Setbackdrop(...))
if not xxx.SetBackdrop then
Mixin(xxx, BackdropTemplateMixin)
end
xx:Setbackdrop(...)

xxx...
Forum: General Authoring Discussion 10-15-20, 05:14 PM
Replies: 1
Views: 163
Posted By Fizzlemizz
The basics would be something like: local...

The basics would be something like:
local maxNotifications = 3
local f = CreateFrame("Frame")
f:RegisterEvent("UNIT_HAPPINESS")
f.happiness = 0
f.happinessCount = 0
f:SetScript("OnEvent",...
Forum: Lua/XML Help 10-15-20, 12:08 AM
Replies: 4
Views: 419
Posted By Fizzlemizz
hooksecurefunc(C_GuildInfo, "GuildRoster",...

hooksecurefunc(C_GuildInfo, "GuildRoster", function()
nextGuildRoster = GetTime() + 0.1
end)


C_GuildInfo is the [table] part of the error.
Forum: Lua/XML Help 10-14-20, 04:35 PM
Replies: 13
Views: 462
Posted By Fizzlemizz
Tied myself up overthinking with the first...

Tied myself up overthinking with the first example code use of passing in a string.

/run print(FriendsFont_Large.SetFont) works in-game.
Forum: Lua/XML Help 10-14-20, 04:14 PM
Replies: 13
Views: 462
Posted By Fizzlemizz
Locals: obj = "AchievementFont_Small" looks like...

Locals:
obj = "AchievementFont_Small"

looks like a font name (or rather object) to me ;)
Forum: Lua/XML Help 10-14-20, 03:36 PM
Replies: 13
Views: 462
Posted By Fizzlemizz
SetFont("AchievementFont_Small",GMFONTS["B"],...

SetFont("AchievementFont_Small",GMFONTS["B"], 12)

The first parameter of your local SetFont function is supposed to be a FontString widget rather than the font...
Forum: Lua/XML Help 10-14-20, 12:09 PM
Replies: 4
Views: 419
Posted By Fizzlemizz
New C_GuildInfo API In game: "/api C_GuildInfo"...

New C_GuildInfo API
In game: "/api C_GuildInfo" click the pink link,

9.0 changes (https://github.com/Stanzilla/WoWUIBugs/wiki/9.0.1-Consolidated-UI-Changes)
Forum: Lua/XML Help 10-13-20, 11:29 PM
Replies: 2
Views: 401
Posted By Fizzlemizz
9.0 Changes...

9.0 Changes (https://github.com/Stanzilla/WoWUIBugs/wiki/9.0.1-Consolidated-UI-Changes)

Backdrops have moved to their own template.
Forum: Lua/XML Help 10-01-20, 12:29 AM
Replies: 1
Views: 639
Posted By Fizzlemizz
You can just have one frame that hosts several...

You can just have one frame that hosts several Fontstrings and updates them as required (OnEvent, OnUpdate, or both) eg:

local fpsCheck = 3 -- update ~3 seconds

local AshStats =...
Forum: Lua/XML Help 09-27-20, 06:35 PM
Replies: 16
Views: 1,826
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: 1,826
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: 1,826
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: 1,826
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: 1,826
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: 3,149
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: 4,002
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: 4,002
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: 6,409
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: 4,770
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: 5,934
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: 5,934
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: 5,934
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: 5,934
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...
Showing results 1 to 25 of 500