Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.06 seconds.
Search: Posts Made By: Fizzlemizz
Forum: Lua/XML Help Yesterday, 02:45 PM
Replies: 2
Views: 91
Posted By Fizzlemizz
Depends but the simplest just see it in your chat...

Depends but the simplest just see it in your chat frame would be:

if (arg2 == "SPELL_AURA_APPLIED") then --do stuffs
print(arg4, "cast", arg10, "on", arg7)
end

You could use...
Forum: AddOn Search/Requests 07-26-22, 10:27 AM
Replies: 6
Views: 523
Posted By Fizzlemizz
You neeed to make sure you're using the correct...

You neeed to make sure you're using the correct frames

SizeName(TargetFrameToT)
SizeName(FocusFrame)

The UI uses the TargetofTargetFrameTemplate to create ToT frames but uses the parents frame...
Forum: AddOn Help/Support 07-25-22, 09:24 PM
Replies: 3
Views: 367
Posted By Fizzlemizz
If you have an OnLoad you can set the backdrop...

If you have an OnLoad you can set the backdrop there:

<Ui xmlns="http://www.blizzard.com/wow/ui/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Frame name="BCHFrame" parent="UIParent" ...
Forum: AddOn Search/Requests 07-25-22, 10:17 AM
Replies: 6
Views: 523
Posted By Fizzlemizz
You could do something like: local function...

You could do something like:

local function SizeName(self)
local font, size = self.name:GetFont()
self.name:SetFont(font, size-2)
end
SizeName(PlayerFrame)
SizeName(TargetFrame)
for i=1, 4...
Forum: Lua/XML Help 07-14-22, 04:12 PM
Replies: 1
Views: 315
Posted By Fizzlemizz
If you want to see the whole table (and the local...

If you want to see the whole table (and the local is important so you don't screw up other addons or the game UI).
local spellInfo = GetSpellPowerCost(133)
for k, v in pairs(spellInfo) do
...
Forum: Lua/XML Help 07-07-22, 12:43 PM
Replies: 5
Views: 591
Posted By Fizzlemizz
Tables with string keys are unordered but you can...

Tables with string keys are unordered but you can use pairs to return the key/values in whatever order they're found in.

ipairs is for a numerically orderd tables, the same as
for i=1, #table do
...
Forum: Lua/XML Help 07-07-22, 12:16 PM
Replies: 5
Views: 591
Posted By Fizzlemizz
ItemTable = { { ["ItemName"] = "Edgewalker...

ItemTable = {
{
["ItemName"] = "Edgewalker Longboots",
["ItemID"] = 28545,
["ItemLink"] = "|cffa335ee|Hitem:28545:2657:24028:24061:::::70:::::::::|h[Edgewalker Longboots]|h|r",
}, --...
Forum: AddOn Search/Requests 07-06-22, 04:35 PM
Replies: 4
Views: 408
Posted By Fizzlemizz
You should be able to change all of those using...

You should be able to change all of those using xxx:SetTextColor(r, g, b).

The colours can be changed by code on individual fontstrings changing the text colour or by the text itself containing...
Forum: AddOn Search/Requests 07-06-22, 10:08 AM
Replies: 4
Views: 408
Posted By Fizzlemizz
First check if your UI addon does this. There...

First check if your UI addon does this.
There are several font objects used in the UI you would have to find to change but the most common ones are GameFontNormal (GameFontNormalSmall,...
Forum: Lua/XML Help 07-03-22, 08:04 PM
Replies: 4
Views: 326
Posted By Fizzlemizz
Possibly use a table with the slots to process...

Possibly use a table with the slots to process and remove them when the corresponding event comes in. Once empty, resume normal processing... something, something a cat...
Forum: Lua/XML Help 07-03-22, 06:14 PM
Replies: 4
Views: 326
Posted By Fizzlemizz
The system returns the event when the thing...

The system returns the event when the thing happens. You've unregisterd and re-registered the event in a single process and requested x things to happen in between.

It's still processing equipment...
Forum: Graphics Help 06-29-22, 11:10 AM
Replies: 2
Views: 358
Posted By Fizzlemizz
What about a Backdrop using...

What about a Backdrop using "Interface\\Tooltips\\UI-Tooltip-Border" as the border texture?
Forum: Tutorials & Other Helpful Info. 06-20-22, 08:37 PM
Replies: 8
Views: 622
Posted By Fizzlemizz
BACKDROP_TOOLTIP_16_16_5555 doesn't exist...

BACKDROP_TOOLTIP_16_16_5555 doesn't exist (anymore?)
Forum: AddOn Help/Support 06-07-22, 06:32 PM
Replies: 1
Views: 482
Posted By Fizzlemizz
This in an addon that loads with the...

This in an addon that loads with the Blizzard_TradeSkillUI will add the recipe ID to the text.

You can use that (or whatever you need) to do your calculation and add that text instead. The Count...
Forum: AddOn Search/Requests 06-03-22, 11:06 AM
Replies: 8
Views: 900
Posted By Fizzlemizz
Not really because way too lazy. I've updated...

Not really because way too lazy.

I've updated the code in my OP to add totals for characters. In order to get it to work properly you will need to follow the Notes after...
Forum: AddOn Search/Requests 06-01-22, 08:19 PM
Replies: 8
Views: 900
Posted By Fizzlemizz
You could probably get the information from the...

You could probably get the information from the Elvui SavedVariables but I've never used the addon and have no idea how it's data is structured.

It's global information and using it to display...
Forum: AddOn Search/Requests 05-31-22, 12:21 PM
Replies: 8
Views: 900
Posted By Fizzlemizz
You can't get this information for other...

You can't get this information for other characters, just the one currently logged on.

It requires a bunch of code to save data as each character logs on/off or has their bank balance updated. It...
Forum: AddOn Search/Requests 05-27-22, 04:04 PM
Replies: 8
Views: 900
Posted By Fizzlemizz
You can't "programatically" send text to the...

You can't "programatically" send text to the clipboard. You need the frame to display the text that you then select and CTRL-C to get it onto the clipboard.

You can create a frame with an EditBox...
Forum: Lua/XML Help 05-26-22, 09:43 AM
Replies: 7
Views: 522
Posted By Fizzlemizz
Kanegasi mentioned that PutItemInBag requires a...

Kanegasi mentioned that PutItemInBag requires a bag id. (InventorySlotId) not a bag number and these start at 20 (bag 1+19 = 20).

Using the table keeps track of where you put the last item instead...
Forum: Lua/XML Help 05-24-22, 11:25 PM
Replies: 7
Views: 522
Posted By Fizzlemizz
Bag 0 is the backpack so checking there first for...

Bag 0 is the backpack so checking there first for empty slots is probably not what you're looking for.

for bag = 1, 4 do

Edit:
In a tight loop, the bag inventory doesn't update in time so you the...
Forum: Lua/XML Help 05-14-22, 11:44 AM
Replies: 3
Views: 629
Posted By Fizzlemizz
The problem being the dropdown menu is a common...

The problem being the dropdown menu is a common widget that gets updated depending on the initialise function.

This should work but because it's hooking the dropdown menus OnHide you never know what...
Forum: Lua/XML Help 05-08-22, 11:49 AM
Replies: 9
Views: 679
Posted By Fizzlemizz
If PLAYER_LOGIN didn't fire until after PEW then...

If PLAYER_LOGIN didn't fire until after PEW then all my addons would be broken. It should fire only once after all inital ADDON_LOADEDs have happened and before PEW.

Which might have caused a...
Forum: Lua/XML Help 05-08-22, 08:58 AM
Replies: 9
Views: 679
Posted By Fizzlemizz
First install seemed to work. GUI popped up,...

First install seemed to work. GUI popped up, PrintCommands() ran, slash command worked, events were processed and in expected order.

Worked just the same after exiting and deleting the SV file.

And...
Forum: Lua/XML Help 05-08-22, 12:22 AM
Replies: 9
Views: 679
Posted By Fizzlemizz
On the face of it it looks like it should work...

On the face of it it looks like it should work but what's here obviously isn't the entire addon.

If you cut the addon down (create a test addon) to just this code and it works then the problem is...
Forum: Lua/XML Help 05-07-22, 09:03 PM
Replies: 9
Views: 679
Posted By Fizzlemizz
What is TSM_StringConverter and is it LOD? If...

What is TSM_StringConverter and is it LOD?

If it is, maybe it is loaded by the "host" addon at PLAYER_LOGIN meaning that event will have already passed before TSM_StringConverter is loaded... or...
Showing results 1 to 25 of 500