Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help Today, 12:24 PM
Replies: 4
Views: 68
Posted By Fizzlemizz
To save information between sessions you need to...

To save information between sessions you need to add a setting you your .toc file

for use by ALL characters (or set up a character specific mechanism here):
## SavedVariables: xxx
Information saved...
Forum: Lua/XML Help Today, 11:20 AM
Replies: 4
Views: 68
Posted By Fizzlemizz
You've given no context as to the where, when and...

You've given no context as to the where, when and how this code is called. Makes it almost impossible to comment other than to say the first line doesn't seem to to have anything to do with the other...
Forum: Lua/XML Help 06-11-21, 08:54 PM
Replies: 6
Views: 933
Posted By Fizzlemizz
You are indeed. The script handler gets passed a...

You are indeed.

The script handler gets passed a parameter (self) (the widget) and you then pass it on to your function by declaring function(self)... end for the script to call.

The "self" in the...
Forum: Lua/XML Help 06-10-21, 11:46 PM
Replies: 6
Views: 933
Posted By Fizzlemizz
If buttonName was global, each click would print...

If buttonName was global, each click would print the last thing it was set to at the time of the click. If say another addon was using buttonName accidently as a global, it could be set to anything...
Forum: Lua/XML Help 06-10-21, 11:04 PM
Replies: 6
Views: 933
Posted By Fizzlemizz
Where you're setting the OnClick for each button,...

Where you're setting the OnClick for each button, you're using a fixed string to print.

print(buttonName)
Where is buttonName defined? If it's global and being overwritten before you get to click...
Forum: AddOn Help/Support 06-04-21, 12:44 PM
Replies: 1
Views: 151
Posted By Fizzlemizz
Instead of changing the file, try dragging the...

Instead of changing the file, try dragging the button to where you want it while in-game.
Forum: AddOn Help/Support 06-04-21, 11:38 AM
Replies: 1
Views: 139
Posted By Fizzlemizz
Those presumably are for any frames created...

Those presumably are for any frames created before PLAYER_LOGIN using SetUserPlaced.

If those frames from a backup no longer exist at PLAYER_LOGIN or don't have SetUserPlaced I'm guessing the game...
Forum: Lua/XML Help 05-31-21, 08:13 PM
Replies: 1
Views: 250
Posted By Fizzlemizz
ToggleWarlockCheckbox:SetScript("OnClick",...

ToggleWarlockCheckbox:SetScript("OnClick", CheckBox_OnClick)

While there are possible possabilities, the CheckBox_OnClick function from the line above doesn't seem to exist in the code you posted....
Forum: Lua/XML Help 05-30-21, 09:22 AM
Replies: 1
Views: 204
Posted By Fizzlemizz
In every version of the game up to Classic...

In every version of the game up to Classic Vanilla, frames were created with a backdrop by default. Since then (Shadowlands/Classic TBC), backdrops are optional and you have to "add" them to your...
Forum: Lua/XML Help 05-30-21, 09:07 AM
Replies: 15
Views: 1,067
Posted By Fizzlemizz
The error indicates that you've added something...

The error indicates that you've added something to the namespace.wishlists[raid] table that is not a frame, texture, fontstring etc. A quick check before the SetPoint would be to see what you're...
Forum: Lua/XML Help 05-28-21, 08:08 AM
Replies: 5
Views: 290
Posted By Fizzlemizz
Line 182 should be changed...

Line 182 should be changed from

KBT_Display_Frame=CreateFrame("FRAME","KBT_Display_Frame",UIParent);

to be

KBT_Display_Frame=CreateFrame("FRAME","KBT_Display_Frame",UIParent, BackdropTemplateMixin...
Forum: Lua/XML Help 05-27-21, 09:27 PM
Replies: 5
Views: 290
Posted By Fizzlemizz
There's no mention of tframe in the code you...

There's no mention of tframe in the code you posted and the error and the code don't seem to match up.

Maybe the error and the code are from different clients? Error in Classic, code from Retail or...
Forum: Lua/XML Help 05-27-21, 12:44 PM
Replies: 9
Views: 663
Posted By Fizzlemizz
Have you checked for the obvious things like: Is...

Have you checked for the obvious things like:

Is there a chance the character has a self.db but not a self.db.profile.useClassRep making local useClassRep nil in RepByZoneGetRacialRep()?
Forum: Lua/XML Help 05-26-21, 08:55 PM
Replies: 2
Views: 287
Posted By Fizzlemizz
The ActionButtonTemplate is setting an absolute...

The ActionButtonTemplate is setting an absolute size for the NormalTexture rather than using SetPoint() relative to the frame.
Classic, #NoChanges ;)
local x, t

x = CreateFrame("Button",...
Forum: Lua/XML Help 05-26-21, 08:43 PM
Replies: 2
Views: 287
Posted By Fizzlemizz
It does. Are they being re-sized again somewhere...

It does. Are they being re-sized again somewhere else in your code?

Edit: You mean on Classic..
Forum: Lua/XML Help 05-25-21, 11:31 AM
Replies: 3
Views: 331
Posted By Fizzlemizz
Use a toggle depending on what you want to...

Use a toggle depending on what you want to toggle.


local SomeBooleanVariable -- could be a SavedVaraible to save between sessions.
SlashCmdList.MYSLASHFUNCTION = function(msg)
...
Forum: General Authoring Discussion 05-25-21, 10:23 AM
Replies: 5
Views: 409
Posted By Fizzlemizz
For people that dolwnload manually (and there are...

For people that dolwnload manually (and there are some) only having to download/unzip once then copy to the different path makes life easier especially as the number of Classic cients grow and no...
Forum: Lua/XML Help 05-25-21, 12:22 AM
Replies: 9
Views: 663
Posted By Fizzlemizz
You have the .zip in your previous post to undo...

You have the .zip in your previous post to undo whatever it was :)
Forum: Lua/XML Help 05-24-21, 11:52 PM
Replies: 9
Views: 663
Posted By Fizzlemizz
As far as I can tell, in the set for useClassRep...

As far as I can tell, in the set for useClassRep (Options.lua line 83) you have
self.racialRepID, self.racialRepName = self:GetRacialRep()
Is self:GetRacialRep() returning anything at this point?
Forum: General Authoring Discussion 05-24-21, 11:04 PM
Replies: 5
Views: 409
Posted By Fizzlemizz
I don't think the MyAddon-Mainline.toc will be...

I don't think the MyAddon-Mainline.toc will be usable until 9.1 so best to leave MyAddon.toc as the "Retail" .toc.

This might have changed...
Forum: Lua/XML Help 05-24-21, 09:32 PM
Replies: 1
Views: 234
Posted By Fizzlemizz
First decision. Do you want to make seperate xml...

First decision. Do you want to make seperate xml frames for classic and non-classic

If yes then:
Classic: (same as always)
<Frame name="TestFrame" parent="UIParent">
<Size x="300"...
Forum: Lua/XML Help 05-24-21, 08:26 PM
Replies: 6
Views: 262
Posted By Fizzlemizz
<Frame name="TestFrame" parent="UIParent"> <Size...

<Frame name="TestFrame" parent="UIParent">
<Size x="300" y="300"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Scripts>
<OnLoad inherit="prepend">
if BackdropTemplateMixin...
Forum: Lua/XML Help 05-24-21, 08:06 PM
Replies: 6
Views: 262
Posted By Fizzlemizz
<Scripts> <OnLoad inherit="prepend"> if...

<Scripts>
<OnLoad inherit="prepend">
if BackdropTemplateMixin then -- if this is NOT a Classic type frame, add the backdrop mixin
Mixin(self,...
Forum: Lua/XML Help 05-24-21, 06:59 PM
Replies: 6
Views: 262
Posted By Fizzlemizz
This would mean you are calling...

This would mean you are calling frame:SetBackdropColor(...) on a frame that doesn't the mixin set. Maybe a frame created using CreateFrame() with a template that doesn't set a backdrop by...
Forum: Lua/XML Help 05-24-21, 04:47 PM
Replies: 6
Views: 262
Posted By Fizzlemizz
Will...

Will (https://www.wowinterface.com/forums/showpost.php?p=339241&postcount=3) allow you use the same xml frame in either Classic (era) or BCC or Retail by using the OnLoad script to check is the mixin...
Showing results 1 to 25 of 500