Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 01-13-19, 03:00 PM
Replies: 3
Views: 152
Posted By Fizzlemizz
comment out gui:Release(widget) at line 13. The...

comment out
gui:Release(widget)
at line 13.

The disappearing child would happen also if you left the Release in, commented out the RegisterEvent, clicked close and then /tsmsc.
Forum: Lua/XML Help 01-12-19, 12:17 PM
Replies: 5
Views: 143
Posted By Fizzlemizz
It's not my forte so this is probably not very...

It's not my forte so this is probably not very efficient if it does work.


local valid = string.gsub(myString, "[i:]+[0-9]+", replaceString)
Forum: General Authoring Discussion 01-10-19, 10:37 PM
Replies: 2
Views: 184
Posted By Fizzlemizz
You can Highlight selected text but you can't...

You can Highlight selected text but you can't programmatically access the clipboard only CTRL-C/CTRL-V etc.

local backdrop = {
bgFile = "Interface/BUTTONS/WHITE8X8",
edgeFile =...
Forum: General Authoring Discussion 01-07-19, 03:51 PM
Replies: 3
Views: 193
Posted By Fizzlemizz
I'm not sure if this is what you are after but...

I'm not sure if this is what you are after but you could give the work to the animation system:
local f = CreateFrame("Frame","AnimationByOnUpdate",UIParent)
f:SetSize(64,64)
local texture =...
Forum: Lua/XML Help 01-07-19, 03:08 PM
Replies: 4
Views: 160
Posted By Fizzlemizz
Toggling the show state of secure frames like...

Toggling the show state of secure frames like unit frames and action bars can be problematic because if you do it in combat you will get errors.

Normally you would register the condition(s) you want...
Forum: Lua/XML Help 01-07-19, 09:04 AM
Replies: 4
Views: 160
Posted By Fizzlemizz
Use IsShown() rather than IsVisible()

Use IsShown() rather than IsVisible()
Forum: Tutorials & Other Helpful Info. 01-07-19, 03:25 AM
Replies: 1
Views: 222
Posted By Fizzlemizz
Thank you Ketho, this is greatly appreciated.

Thank you Ketho, this is greatly appreciated.
Forum: Lua/XML Help 01-07-19, 03:14 AM
Replies: 12
Views: 265
Posted By Fizzlemizz
This is one basic approach. Where you create your...

This is one basic approach. Where you create your radio buttons, you could use something like (added some print statements to see what is happening):


content2.RadioButtons = {}
local function...
Forum: Lua/XML Help 01-06-19, 01:19 PM
Replies: 12
Views: 265
Posted By Fizzlemizz
addon.toc ... File1.lua File2.lua File1.lua local...

addon.toc
...
File1.lua
File2.lua

File1.lua
local _, Core = ...
Core.Hello = "Hello from file 1"
Forum: Lua/XML Help 01-06-19, 11:58 AM
Replies: 12
Views: 265
Posted By Fizzlemizz
Rusmikey: Think of each .lua file as a function...

Rusmikey: Think of each .lua file as a function in its own right and each file is passed several (currently two paramters). The first is the name of the addon the file is in and, the second is a...
Forum: AddOn Help/Support 01-05-19, 02:50 PM
Replies: 5
Views: 223
Posted By Fizzlemizz
If you open the Launcher then...

If you open the Launcher then select:
Options/Show In Explorer

That will make sure you are using the correct game folder (just in case).

Then it's
_retail_\Interface\Addons
Forum: Lua/XML Help 01-04-19, 12:22 PM
Replies: 8
Views: 261
Posted By Fizzlemizz
The error is saying the parameter (unit) passed...

The error is saying the parameter (unit) passed wasn't valid not that the function UnitInVehicle was nil.

Possibly a typo that didn't register when you looked back over the code.
Forum: AddOn Search/Requests 01-04-19, 11:21 AM
Replies: 1
Views: 222
Posted By Fizzlemizz
Good luck in your future endeavours and thank you...

Good luck in your future endeavours and thank you for all your help and insights.

Have Fun.
Forum: Lua/XML Help 01-04-19, 11:17 AM
Replies: 8
Views: 261
Posted By Fizzlemizz
What is the actual error you are getting?

What is the actual error you are getting?
Forum: General Authoring Discussion 01-01-19, 12:06 AM
Replies: 4
Views: 213
Posted By Fizzlemizz
Your original code with a few print...

Your original code with a few print statements

Slot = {}
print("Slot =", Slot)
Slot.__index = Slot

setmetatable(Slot, {
__index = Container, -- makes the inheritance work
...
Forum: General Authoring Discussion 12-31-18, 07:59 PM
Replies: 4
Views: 213
Posted By Fizzlemizz
function Slot:is_a() adds the method to the table...

function Slot:is_a()
adds the method to the table when it is "built". Later when you call Slot:_init()
local s = Slot(1,1)

self.is_a = "Slot"
overwrites the function(method) with the string...
Forum: AddOn Help/Support 12-28-18, 01:51 PM
Replies: 4
Views: 221
Posted By Fizzlemizz
Your original code seemed to be comparing...

Your original code seemed to be comparing spellName to a stored variable, possibly a mount name. Instead of the spell name, you can use the spell id.

local MountManager =...
Forum: AddOn Help/Support 12-27-18, 04:33 PM
Replies: 4
Views: 221
Posted By Fizzlemizz
According to the documentation, the payload (...)...

According to the documentation, the payload (...) for UNIT_SPELLCAST_SUCCEEDED is:

unitTarget, Type = string, Nilable = false
castGUID, Type = string, Nilable = false
spellID, Type = number, Nilable...
Forum: General Authoring Discussion 12-25-18, 02:52 PM
Replies: 4
Views: 212
Posted By Fizzlemizz
Your message FontString has a SetPoint of CENTER...

Your message FontString has a SetPoint of CENTER to your event frame which has no SetPoint. The SetText function was an "if needed" thought you might add to JDoubleU00MessageBox frame to set the text...
Forum: General Authoring Discussion 12-25-18, 02:02 AM
Replies: 4
Views: 212
Posted By Fizzlemizz
You can create any frame you want to...

You can create any frame you want to "popup/show()" your messages


local function ShowMessage(text)
if not JDoubleU00MessageBox then
local f = CreateFrame("Frame", "JDoubleU00MessageBox",...
Forum: Lua/XML Help 12-24-18, 01:41 PM
Replies: 6
Views: 300
Posted By Fizzlemizz
The last reported update I know of was from 5.0...

The last reported update I know of was from 5.0 to 5.1 (https://wow.gamepedia.com/Lua) with patch 2.0.
Forum: AddOn Help/Support 12-23-18, 11:05 AM
Replies: 10
Views: 284
Posted By Fizzlemizz
I didn't. I downloaded your addon and followed...

I didn't. I downloaded your addon and followed the code.

From what you posted and looking at DewDrop code I knew DewDrop expected a desc key in the table it was examinning.

From the error I knew...
Forum: AddOn Help/Support 12-22-18, 08:54 PM
Replies: 10
Views: 284
Posted By Fizzlemizz
If I have it right, it seems to be complaining...

If I have it right, it seems to be complaining that
BossTalk.cmdtable.desc
is not a string.

BossTalk.cmdtable seems to contain
type = 'group'
and
args = { ... }
but no "desc" key meaning its type...
Forum: AddOn Help/Support 12-22-18, 08:12 PM
Replies: 10
Views: 284
Posted By Fizzlemizz
print(options, type(options.desc)) Goes in...

print(options, type(options.desc))
Goes in DewDrop before the line "return '"desc" must be a string', position".

print(bosses, type(bosses.desc))
Goes in your code initially after declaring the...
Forum: AddOn Help/Support 12-22-18, 06:07 PM
Replies: 10
Views: 284
Posted By Fizzlemizz
Around line 975 if options ~= baseOptions...

Around line 975
if options ~= baseOptions then
if kind == "header" then
elseif type(options.desc) ~= "string" then
-- This is where I would check the table is what is expected.
return '"desc"...
Showing results 1 to 25 of 500