Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help 11-21-21, 07:28 PM
Replies: 6
Views: 478
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: 297
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: 297
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: 7
Views: 937
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: 7
Views: 937
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: 560
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: 956
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: 956
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: 956
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: 956
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,370
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,370
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,370
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,370
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...
Forum: Lua/XML Help 09-28-21, 11:52 AM
Replies: 2
Views: 604
Posted By Fizzlemizz
There is also build-in function to return the...

There is also build-in function to return the breakdown with icons.
print("All Items Repaired:", GetMoneyString(cost, true))
Forum: Lua/XML Help 09-22-21, 09:49 AM
Replies: 3
Views: 646
Posted By Fizzlemizz
Your .toc, as presented, has the Reputation.lua...

Your .toc, as presented, has the Reputation.lua file effectively commented out with the # so it doesn't load making EPDBC.HookRepBar nil.
Forum: Lua/XML Help 09-07-21, 10:54 AM
Replies: 3
Views: 687
Posted By Fizzlemizz
Not that I know of. I imagine people might...

Not that I know of.

I imagine people might create an external process for parsing the SavedVariable file to something else rather than doing it in-game. It would all end up in the same place as...
Forum: Lua/XML Help 09-07-21, 12:19 AM
Replies: 3
Views: 687
Posted By Fizzlemizz
You could just change CRE_GuildRoster = { ...

You could just change
CRE_GuildRoster = {
{

to
CRE_GuildRoster = {
["Players"] = {

in the SavedVariables file (your addon will need to be ready for the change next login):
Forum: AddOn Help/Support 08-30-21, 04:07 PM
Replies: 10
Views: 1,033
Posted By Fizzlemizz
You have a timing problem between when you ask...

You have a timing problem between when you ask for data and when it is ready to use.
I couldn't find an event that worked to tell you when the mount information has been cached so I bodged something...
Forum: AddOn Help/Support 08-30-21, 10:59 AM
Replies: 10
Views: 1,033
Posted By Fizzlemizz
You've set up your data tables (sectionNames and...

You've set up your data tables (sectionNames and mountList) as globals. They should really be included in your namespace table (core.sectionNames and core.mountList).

You could add the collection...
Forum: Lua/XML Help 08-08-21, 12:10 PM
Replies: 4
Views: 769
Posted By Fizzlemizz
You have several lines in your table(s) that...

You have several lines in your table(s) that aren't terminated with commas
"I've been expecting you."
being the first.

If you're not getting errors then there's something wrong with whatever...
Forum: Lua/XML Help 07-30-21, 06:41 PM
Replies: 12
Views: 1,748
Posted By Fizzlemizz
It might be better to watch the 2.5.2 PTR and how...

It might be better to watch the 2.5.2 PTR and how it progresses.
Forum: Lua/XML Help 07-22-21, 11:11 AM
Replies: 4
Views: 757
Posted By Fizzlemizz
Presumably you would be doing that as part of...

Presumably you would be doing that as part of initialising the list with it's data.
Forum: Lua/XML Help 07-21-21, 10:27 AM
Replies: 4
Views: 757
Posted By Fizzlemizz
fSlider:SetThumbTexture("pathToMyAddon.tga") local...

fSlider:SetThumbTexture("pathToMyAddon.tga")
local t = fSlider:GetThumbTexture()
t:SetTexCoord(0.25, 0.75, 0.125, 0.875)
Forum: Lua/XML Help 07-18-21, 01:08 PM
Replies: 5
Views: 1,161
Posted By Fizzlemizz
The function for a slash command receives a...

The function for a slash command receives a single string parameter. If you want to interpret that into say commmands and parameters, you need to break down the string that is passed...
Showing results 1 to 25 of 500