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-14-19, 10:18 PM
Replies: 11
Views: 351
Posted By Fizzlemizz
if type(id) == "table" then id = tonumber(id)...

if type(id) == "table" then id = tonumber(id) end
Doesn't that just result in id being nil?
Forum: AddOn Help/Support 09-25-19, 10:22 AM
Replies: 6
Views: 537
Posted By Fizzlemizz
In the code I supplied I used SideBarFrame as the...

In the code I supplied I used SideBarFrame as the name given to the "Side bar" container panel. I don't know the actual name or how KgPanels names it panels (frames) for use in code so you will need...
Forum: AddOn Help/Support 09-24-19, 08:33 PM
Replies: 13
Views: 880
Posted By Fizzlemizz
Oops. /run MiniMapWorldMapButton:SetShown(not...

Oops.

/run MiniMapWorldMapButton:SetShown(not MiniMapWorldMapButton:IsShown())
Forum: AddOn Help/Support 09-24-19, 01:35 PM
Replies: 13
Views: 880
Posted By Fizzlemizz
I just Hide() it along with other MM related...

I just Hide() it along with other MM related assets when the game starts but you can test toggle it for yourself.

/run MinimapToggleButton:SetShown(not MinimapToggleButton:IsShown())

Assuming...
Forum: AddOn Help/Support 09-24-19, 11:06 AM
Replies: 6
Views: 537
Posted By Fizzlemizz
It could be something as simple as adjusting the...

It could be something as simple as adjusting the SetPoint of the side bar when the button is clicked

Something OnClick like:
local point = SideBarFrame:GetPoint(1)
SideBarFrame:ClearAllpoints()
if...
Forum: General Authoring Discussion 09-22-19, 08:54 AM
Replies: 6
Views: 505
Posted By Fizzlemizz
Have you tried to delay the set so the game has...

Have you tried to delay the set so the game has time to "get ready". Something like:

local frame = CreateFrame("PlayerModel", nil, UIParent, nil)
frame:SetSize(500, 500)
frame:SetPoint("CENTER",...
Forum: Lua/XML Help 09-19-19, 10:19 PM
Replies: 14
Views: 848
Posted By Fizzlemizz
Did you move your function or copy mine with the...

Did you move your function or copy mine with the table wipes? The code I posted works here as is.

If you remove/comment out SLFG_RoleMenu_Init you should get a control with no drop list when you...
Forum: Lua/XML Help 09-19-19, 09:41 PM
Replies: 14
Views: 848
Posted By Fizzlemizz
dm = CreateFrame("FRAME", "SLFG_RoleMenu", panel,...

dm = CreateFrame("FRAME", "SLFG_RoleMenu", panel, "UIDropDownMenuTemplate")
dm:SetPoint("LEFT", SLFG_RoleText, "RIGHT", 0, -2)
UIDropDownMenu_SetWidth(dm, 70)
...
Forum: Lua/XML Help 09-19-19, 08:44 PM
Replies: 14
Views: 848
Posted By Fizzlemizz
local SLFG_DungeonList = { "Ragefire Chasm...

local SLFG_DungeonList = {
"Ragefire Chasm (RFC)",
"Wailing Caverns (WC)",
"Deadmines (VC)",
"Shadowfang Keep (SFK)",
"Blackfathom Deeps (BFD)",
"Stockade (Stocks)",
...
Forum: Lua/XML Help 09-19-19, 06:12 PM
Replies: 14
Views: 848
Posted By Fizzlemizz
List of button attributes info.owner = [Frame] ...

List of button attributes
info.owner = [Frame] -- Dropdown frame that "owns" the current dropdownlist

In the following you would want to pass the button, not the buttons owner (self instead of...
Forum: Lua/XML Help 09-17-19, 06:12 PM
Replies: 6
Views: 677
Posted By Fizzlemizz
At a guess, other addons are possibly hooking the...

At a guess, other addons are possibly hooking the Blizzard OpenBag(id, force), CloseBag(id) functions for bags.

GUILDBANKFRAME_OPENED/GUILDBANKFRAME_CLOSED
BANKFRAME_OPENED/BANKFRAME_CLOSED
Forum: Lua/XML Help 09-17-19, 05:52 PM
Replies: 5
Views: 491
Posted By Fizzlemizz
options.args.reputationBar["**"][i] =...

options.args.reputationBar["**"][i] = options.args.reputationBar["**"][i]

I don't know Ace but setting and getting(reading) would be two different things (metatables). This statement is doing...
Forum: AddOn Help/Support 09-09-19, 08:24 PM
Replies: 5
Views: 716
Posted By Fizzlemizz
If the sendChat does work, your event handler...

If the sendChat does work, your event handler doesn't have any parameters to "receive" any events and the if/elseif checks will always fail.

function FSMB:OnEvent(event, ...)
local arg1, arg2, arg3...
Forum: Lua/XML Help 09-09-19, 12:07 PM
Replies: 7
Views: 809
Posted By Fizzlemizz
Blizzard is probably doing a SetPoint without a...

Blizzard is probably doing a SetPoint without a corresponding ClearAllPoints on a frame you are also moving.

You could try "killing off" the frames SetPoint function

frame.SetPoint = function() end
Forum: Chit-Chat 09-06-19, 10:27 PM
Replies: 5
Views: 1,450
Posted By Fizzlemizz
Only the Blizzard gods know and I doubt they...

Only the Blizzard gods know and I doubt they would tell without reason.
Forum: AddOn Help/Support 09-03-19, 09:49 AM
Replies: 4
Views: 404
Posted By Fizzlemizz
TEXT was one of those functions like...

TEXT was one of those functions like getglobal/setglobal that found better mechanisms to replace them. TEXT was eventually removed (somewhere around MoP I think) whereas getglobal/setglobal still sit...
Forum: General Authoring Discussion 09-01-19, 04:16 PM
Replies: 6
Views: 561
Posted By Fizzlemizz
Modified BfA. The Blizzcon preview was a 7.x...

Modified BfA.

The Blizzcon preview was a 7.x derivative.
Forum: Lua/XML Help 08-20-19, 07:07 PM
Replies: 4
Views: 416
Posted By Fizzlemizz
/run GameMenuFrame = nil then press escape will...

/run GameMenuFrame = nil

then press escape will certainly give an error:
attempt to index global 'GameMenuFrame' (a nil value)
so if you're not using alt-f4 to exit the game, it must be there...
Forum: Lua/XML Help 08-20-19, 04:34 PM
Replies: 4
Views: 416
Posted By Fizzlemizz
/run print(GameMenuFrame) works in 8.2

/run print(GameMenuFrame)
works in 8.2
Forum: Lua/XML Help 08-17-19, 08:48 AM
Replies: 4
Views: 592
Posted By Fizzlemizz
The _G[] isn't required unless you're looking up...

The _G[] isn't required unless you're looking up the frame name as a string.

local f = Createframe("Frame", "FizzleFrameX", UIParent)
FizzleFrameX.Texture = FizzleFrameX:CreatTexture()
Forum: General Authoring Discussion 08-13-19, 12:01 PM
Replies: 2
Views: 379
Posted By Fizzlemizz
There are no categories for Classic addons ATM,...

There are no categories for Classic addons ATM, it just one big list until the Overlords and ladies magic the plumbing into being.

To actually add an addon you can use the "Upload your Addon" button...
Forum: AddOn Help/Support 08-10-19, 04:12 PM
Replies: 9
Views: 449
Posted By Fizzlemizz
I like PLAYER_LOGIN because you don't have to...

I like PLAYER_LOGIN because you don't have to check for an addon name, it only fires once and that one time after all addons have loaded and before PLAYER_ENTERING_WORLD. Then again, I'm lazy :)
Forum: AddOn Help/Support 08-10-19, 11:16 AM
Replies: 9
Views: 449
Posted By Fizzlemizz
SavedVariables are initially nil so if they...

SavedVariables are initially nil so if they require meaning other than that then you need to initialise them first time in.

PLAYER_LOGIN event
if not SimpleMap then
SimpleMap = 1
-- or...
Forum: AddOn Help/Support 08-10-19, 10:06 AM
Replies: 9
Views: 449
Posted By Fizzlemizz
WorldMapFrame.BlackoutFrame.Blackout:SetAlpha(0) ...

WorldMapFrame.BlackoutFrame.Blackout:SetAlpha(0)

WorldMapFrame.ScrollContainer.GetCursorPosition = function(f)
local x,y = MapCanvasScrollControllerMixin.GetCursorPosition(f);
local s =...
Forum: Lua/XML Help 07-22-19, 08:09 PM
Replies: 4
Views: 1,053
Posted By Fizzlemizz
Isn't BuffFrame anchored to...

Isn't BuffFrame anchored to UIParent?

Edit:
function UIParent_UpdateTopFramePositions()
local topOffset = 0;
local buffsAreaTopOffset = 0;

if (OrderHallCommandBar and...
Showing results 1 to 25 of 500