Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Fizzlemizz
Forum: General Authoring Discussion 03-12-17, 11:49 AM
Replies: 18
Views: 684
Posted By Fizzlemizz
In the section where you have the...

In the section where you have the line:
MouseLookFrame:RegisterEvent("PLAYER_ENTERING_WORLD")
Add the line:
MouseLookFrame:RegisterEvent("CINEMATIC_START")

Next, before the line:
if event ==...
Forum: Lua/XML Help 03-04-17, 11:51 PM
Replies: 7
Views: 369
Posted By Fizzlemizz
A string of characters is being parsed to obtain...

A string of characters is being parsed to obtain a final solution. The shorter you can make that string to obtain the desired outcome, the more efficient. The parser is also looking for...
Forum: News 02-25-17, 12:31 AM
Replies: 3
Views: 1,320
Posted By Fizzlemizz
Thank you for the heads up Cairenn and co., it is...

Thank you for the heads up Cairenn and co., it is appreciated.
Forum: General Authoring Discussion 02-21-17, 10:31 AM
Replies: 16
Views: 702
Posted By Fizzlemizz
for i=1, 2 do ... end lua is 1 based but that...

for i=1, 2 do
...
end

lua is 1 based but that would have worked also as the keys will be created when you add items to the table. If you print the key in the pairs loop it will print 1, 2 etc.
Forum: General Authoring Discussion 02-21-17, 09:28 AM
Replies: 16
Views: 702
Posted By Fizzlemizz
for key, value in pairs(debuffs) do local name,...

for key, value in pairs(debuffs) do
local name, _, _, _, _, duration, expires = UnitDebuff("raid1", value)
-- do whatever here
end


does an unordered loop throught the table.
Forum: Lua/XML Help 02-14-17, 05:17 PM
Replies: 5
Views: 278
Posted By Fizzlemizz
The function is running every time you use a...

The function is running every time you use a portal, take a boat/zeplin, enter/leave a battlegournd, arena, order hall etc.

local frame = CreateFrame("Frame")
frame:SetScript("OnEvent",...
Forum: Lua/XML Help 02-14-17, 03:10 PM
Replies: 2
Views: 148
Posted By Fizzlemizz
local function createEditBox( nomEditBox,...

local function createEditBox( nomEditBox, frameParent, posX, posY, text, longueur)
local nomEditBox = CreateFrame("EditBox", tostring( nomEditBox ), frameParent, "InputBoxTemplate")
...
Forum: Lua/XML Help 02-12-17, 08:27 PM
Replies: 2
Views: 143
Posted By Fizzlemizz
The first time in it is nil causing the...

The first time in it is nil causing the processing of the function to stop and keep repeating. When you initialse the variable, initialise it to zero and any others you intend to do math on from the...
Forum: General Authoring Discussion 02-09-17, 01:53 PM
Replies: 5
Views: 289
Posted By Fizzlemizz
You get get oversized bobbers in Legion from...

You get get oversized bobbers in Legion from vendors.
Forum: General Authoring Discussion 02-09-17, 12:30 AM
Replies: 12
Views: 389
Posted By Fizzlemizz
As far as I know, noone has found a silver bullet...

As far as I know, noone has found a silver bullet event after PLAYER_ENERING_WORLD to cover all situations. Even Blizzard uses multiple events to cover login, logout/login and /reload scenarios for...
Forum: General Authoring Discussion 02-08-17, 09:44 AM
Replies: 12
Views: 389
Posted By Fizzlemizz
The calendar is LoadOnDemand so won't actually be...

The calendar is LoadOnDemand so won't actually be loaded and it's functions/data available until after the user clicks the calendar button.

You could try at PLAYER_ENTERING_WORLD:


if not...
Forum: AddOn Search/Requests 02-07-17, 03:33 PM
Replies: 14
Views: 680
Posted By Fizzlemizz
If you move all the fontstring creation/placement...

If you move all the fontstring creation/placement up to where you create the frame you should be good.

Something like:

local Addon, events = CreateFrame("Frame", "LegionHonor", UIParent),...
Forum: AddOn Search/Requests 02-07-17, 02:25 PM
Replies: 14
Views: 680
Posted By Fizzlemizz
Probably need to see all the code but...

Probably need to see all the code but PLAYER_ENTERING_WORLD fires every time you see a loading screen so this at least will create duplicates (overwrites).

Try creating at PLAYER_LOGIN or just in...
Forum: AddOn Search/Requests 02-07-17, 02:01 PM
Replies: 14
Views: 680
Posted By Fizzlemizz
You're probably creating a new fontstring or...

You're probably creating a new fontstring or frame with the fontstring every time you set the text.

Create each once and then re-use the one fontstring:SetText(...)
Forum: Lua/XML Help 02-05-17, 11:18 PM
Replies: 12
Views: 319
Posted By Fizzlemizz
Recursion is fine. To print an unordered...

Recursion is fine. To print an unordered list:

local C = {
test = {
A = {
"AA",
"AB",
"AC",
},
B = {
Forum: Lua/XML Help 02-05-17, 10:35 PM
Replies: 12
Views: 319
Posted By Fizzlemizz
Essentially the local size variable is a pointer...

Essentially the local size variable is a pointer (reference) to the C.size key creating a shortcut to reaching that key. Everything under it remains the same as calling C.size.xxx.yyy.

You could...
Forum: Lua/XML Help 02-05-17, 10:27 PM
Replies: 12
Views: 319
Posted By Fizzlemizz
What I said was not entirely correct. You can...

What I said was not entirely correct. You can shorten table calls by setting a local variable to the nearest common parent key. In this case,

local size = C.size
local iconSize =...
Forum: Lua/XML Help 02-05-17, 10:09 PM
Replies: 12
Views: 319
Posted By Fizzlemizz
No. Table keys don't have parents like widgets do...

No. Table keys don't have parents like widgets do assuming that's what you a thinking.
Forum: Lua/XML Help 02-05-17, 09:58 PM
Replies: 12
Views: 319
Posted By Fizzlemizz
Instead of setting C.castbar[unit].iconSize to a...

Instead of setting C.castbar[unit].iconSize to a string ('height"), leave it as nil to default to the unitframe height:

local iconSize = C.size.portrait[unit].size or C.size.unitframe[unit].height
Forum: AddOn Help/Support 02-05-17, 10:23 AM
Replies: 1
Views: 248
Posted By Fizzlemizz
These errors usually indicate taint has caused an...

These errors usually indicate taint has caused an error and rarely points to the actual addon causing the original taint.

This means disabling addons and brining them back in small groups then once...
Forum: Lua/XML Help 01-28-17, 01:58 PM
Replies: 10
Views: 411
Posted By Fizzlemizz
Confusing <Script> with <Scripts> as did Minuen,...

Confusing <Script> with <Scripts> as did Minuen, my bad. Athough the <Script> tag is also still usable.
Forum: Lua/XML Help 01-28-17, 09:39 AM
Replies: 10
Views: 411
Posted By Fizzlemizz
See the code SDPhantom posted for the current...

See the code SDPhantom posted for the current usage. The old way still works.
Forum: Lua/XML Help 01-27-17, 10:41 PM
Replies: 10
Views: 411
Posted By Fizzlemizz
If you had invalid XML you wouldn't see the frame...

If you had invalid XML you wouldn't see the frame at all.

Calling a global function "Main_OnLoad" is not a great idea, it's possibly a common enough name another addon may have overwritten it.. Try...
Forum: Lua/XML Help 01-25-17, 08:55 PM
Replies: 5
Views: 403
Posted By Fizzlemizz
Also PLAYER_ENTERING_WORLD fires every time you...

Also PLAYER_ENTERING_WORLD fires every time you see a loading screen. Do you really want to do the Initialisation every time you take portal, boat, zeplin etc.? As Seerah mentioned you could use...
Forum: General Authoring Discussion 01-25-17, 06:23 PM
Replies: 18
Views: 684
Posted By Fizzlemizz
Don't. You're not licensed to as it's "All...

Don't.

You're not licensed to as it's "All Rights Reserved". You could send the changes to the author and see if they are willing to included them (I have no need to be credited) but I wouldn't...
Showing results 1 to 25 of 500