Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help Today, 10:06 AM
Replies: 7
Views: 457
Posted By Fizzlemizz
Kanegasi makes valid points and may well be...

Kanegasi makes valid points and may well be closer to best method. This is a rework of the original with just an "ignore" for non-player friendlies.
I've been scratching my head as to if/why I would...
Forum: Lua/XML Help Yesterday, 11:11 AM
Replies: 7
Views: 457
Posted By Fizzlemizz
You want the whitelist on your character and...

You want the whitelist on your character and other friendly "players".

Everyone else has no buffs or everyone else has all buffs?
Forum: Lua/XML Help 01-17-22, 11:15 AM
Replies: 7
Views: 457
Posted By Fizzlemizz
You should be able to do something like...

You should be able to do something like changing:

local function Mixin(baseFrame)
baseFrame.UnitFrame.BuffFrame.ShouldShowBuff = newShouldShowBuff
end

too:
local function Mixin(baseFrame)
if not...
Forum: Lua/XML Help 01-07-22, 01:54 PM
Replies: 4
Views: 365
Posted By Fizzlemizz
Retail.... In vanilla try: /run...

Retail....

In vanilla try:
/run print(CastingInfo())
as per (https://wowpedia.fandom.com/wiki/API_UnitCastingInfo) although target information is more limited in vanilla so that may not be possible...
Forum: Lua/XML Help 01-07-22, 01:16 PM
Replies: 4
Views: 365
Posted By Fizzlemizz
Do you have a target selected? Is it casting...

Do you have a target selected? Is it casting anything?

Works when I target myself, and cast a mount spell.
Forum: Lua/XML Help 01-06-22, 09:39 AM
Replies: 6
Views: 484
Posted By Fizzlemizz
Indeed, I left the T out of the function...

Indeed, I left the T out of the function declaration... oops

local T = C_Timer.NewTicker(1, function(T)
Forum: Lua/XML Help 01-05-22, 09:35 AM
Replies: 6
Views: 484
Posted By Fizzlemizz
The code posted was intended to replace your...

The code posted was intended to replace your code, not be used in it :eek:.
Forum: Lua/XML Help 01-05-22, 07:52 AM
Replies: 6
Views: 484
Posted By Fizzlemizz
You can't unkook something, just alter what the...

You can't unkook something, just alter what the hook function does,

You could use OnUpdate on a frame of your own and when the CUSTOMFRAME is found, hide your frame (that stops it's OnUpdate from...
Forum: General Authoring Discussion 01-03-22, 10:15 AM
Replies: 6
Views: 422
Posted By Fizzlemizz
Yes........

Yes........
Forum: General Authoring Discussion 01-02-22, 11:10 PM
Replies: 6
Views: 422
Posted By Fizzlemizz
SetCVar("scriptErrors", 0) /console is just...

SetCVar("scriptErrors", 0)

/console is just macro for SetCVar.

But errors should really be fixed rather than ignored.
Forum: Lua/XML Help 12-05-21, 07:33 PM
Replies: 9
Views: 2,204
Posted By Fizzlemizz
In 9x frames no longer had a the backdrop system...

In 9x frames no longer had a the backdrop system automatically applied to all of them, you had to manually add it to frames that needed a backdrop so Blizz added the system to the GameTooltip.

In...
Forum: Lua/XML Help 11-21-21, 07:28 PM
Replies: 6
Views: 718
Posted By Fizzlemizz
Somewhere, adding the extra lines has created a...

Somewhere, adding the extra lines has created a recursive call that gets back to RepByZone:SwitchedZones()

Simple check, change:
function RepByZone:SwitchedZones()
to:
local count = 0
function...
Forum: Lua/XML Help 11-15-21, 12:17 PM
Replies: 4
Views: 508
Posted By Fizzlemizz
local function fromGT(self) print("Button...

local function fromGT(self)
print("Button Clicked!")
AutoStoreGuildBankItem(1,1);
end

UIConfig.GT1toBagButton:SetScript("OnClick", fromGT);


Adding the brackets to fromGT() in the SetScript...
Forum: Lua/XML Help 11-15-21, 11:55 AM
Replies: 4
Views: 508
Posted By Fizzlemizz
Code that runs before anything declared as local...

Code that runs before anything declared as local can't "see" it.

Move your fromGT function declaration to before you start creating the buttons (or at least before the SetScripts(xxx) section)

You...
Forum: Lua/XML Help 11-11-21, 10:32 PM
Replies: 9
Views: 2,204
Posted By Fizzlemizz
As I believe it's mentioned elsewhere, frames are...

As I believe it's mentioned elsewhere, frames are just special types of tables so:

GameTooltip.GetBackdrop is the same as GameTooltip["GetBackdrop"] ie. test the existance/value of the GetBackdrop...
Forum: Lua/XML Help 11-08-21, 10:49 AM
Replies: 9
Views: 2,204
Posted By Fizzlemizz
GameTooltip.NineSlice:GetBackdrop() Although it's...

GameTooltip.NineSlice:GetBackdrop()
Although it's not really going to solve any problems caused by the underlying change.

There is a GameToolTip widget type (like a Frame or a Button widget type)...
Forum: Lua/XML Help 11-01-21, 03:26 PM
Replies: 4
Views: 826
Posted By Fizzlemizz
idTip...

idTip (https://www.wowinterface.com/downloads/info17033-idTip.html).

A bit more than just NPC ids but...
Forum: AddOn Help/Support 10-27-21, 03:19 PM
Replies: 12
Views: 1,266
Posted By Fizzlemizz
You can't use Python (or any language, other than...

You can't use Python (or any language, other than an extremely restricted sub-set of lua, or binaries created in any language or ...) in a WoW addon.

Addons (the extremely restricted sub-set of the...
Forum: AddOn Help/Support 10-27-21, 12:50 PM
Replies: 12
Views: 1,266
Posted By Fizzlemizz
"this" is using information from what looks like...

"this" is using information from what looks like a SavedVariables table (SniperDB) which would be the "cache".

It's not really, it's just a list of item information that could be sourced from...
Forum: AddOn Help/Support 10-27-21, 12:11 AM
Replies: 12
Views: 1,266
Posted By Fizzlemizz
The difference between the web api and searching...

The difference between the web api and searching in game is that to do the same thing in-game you would have to actually be at the AH with the AH UI open all day. You can't be off questing, raiding...
Forum: AddOn Help/Support 10-26-21, 07:44 PM
Replies: 12
Views: 1,266
Posted By Fizzlemizz
In-game addons and your Python script are...

In-game addons and your Python script are accessing two seperate APIs. You can't access both APIs from the same code (in-game addons can't access the web API and Python can access the in-game...
Forum: Lua/XML Help 10-15-21, 12:28 PM
Replies: 7
Views: 1,628
Posted By Fizzlemizz
I updated my original code so the each time you...

I updated my original code so the each time you /kl ... it adds 5 extra entries to the selected source table before initialising. It shows that extra source entries just means more scrolling to get...
Forum: Lua/XML Help 10-15-21, 08:59 AM
Replies: 7
Views: 1,628
Posted By Fizzlemizz
When you call ADDON.SpellRow:CreateRow(parent,...

When you call ADDON.SpellRow:CreateRow(parent, index, spell) the self inside that function refers to the ADDON.SpellRow table. You're saving each new row as ADDON.SpellRow.frame and overwriting the...
Forum: Lua/XML Help 10-14-21, 07:04 PM
Replies: 7
Views: 1,628
Posted By Fizzlemizz
Not really. Your code is trying to...

Not really.

Your code is trying to ADDON.SpellRow:CreateRow(..) for every entry in your source table. When you switch to a different source table you ADDON.SpellRow:CreateRow(..) for any entries...
Forum: Lua/XML Help 10-14-21, 12:00 PM
Replies: 7
Views: 1,628
Posted By Fizzlemizz
You don't create new rows in the list, you create...

You don't create new rows in the list, you create the number of rows you want to display and then re-use them with information from your source table as you scroll through it. If you want to change...
Showing results 1 to 25 of 500