Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 360
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: AddOn Help/Support 10-17-20, 04:51 PM
Replies: 7
Views: 423
Posted By Vrul
You have to wait until after the VARIABLES_LOADED...

You have to wait until after the VARIABLES_LOADED event fires or your changes will just get reverted back when the cvar settings are loaded.
Forum: AddOn Help/Support 10-14-20, 04:40 PM
Replies: 5
Views: 305
Posted By Vrul
I uploaded a new version of DockingStation about...

I uploaded a new version of DockingStation about 20 minutes ago.
Forum: Lua/XML Help 09-28-20, 05:06 PM
Replies: 10
Views: 3,114
Posted By Vrul
You could just hook the AddMessage...

You could just hook the AddMessage method:

hooksecurefunc(DEFAULT_CHAT_FRAME, "AddMessage", function(self, message, ...)
-- Do something with message
end)

Just remember if you want to output...
Forum: Lua/XML Help 09-28-20, 11:23 AM
Replies: 4
Views: 1,416
Posted By Vrul
You can only disable the entire control when...

You can only disable the entire control when using an options table.

message = {
name = Barker.L['LABEL_MESSAGE'],
desc = Barker.L['DESC_MESSAGE'],
type = 'input',
order = 2,
...
Forum: General Authoring Discussion 09-27-20, 06:16 AM
Replies: 7
Views: 2,206
Posted By Vrul
It depends on how you implemented it. Post your...

It depends on how you implemented it. Post your code.
Forum: General Authoring Discussion 09-25-20, 02:57 PM
Replies: 8
Views: 2,539
Posted By Vrul
If the GameTooltip is showing for an item then...

If the GameTooltip is showing for an item then the mouse is still over that item so you can use GetMouseFocus:

local focus = GetMouseFocus()
if not (focus:GetName() or...
Forum: Lua/XML Help 09-24-20, 06:40 AM
Replies: 10
Views: 3,114
Posted By Vrul
This is what I found (may be...

This is what I found (may be...
Forum: Site help, bugs, suggestions/questions 08-02-20, 04:15 PM
Replies: 19
Views: 7,409
Posted By Vrul
I would like to have the following addons deleted...

I would like to have the following addons deleted if possible:
Compass (https://www.wowinterface.com/downloads/info24672-Compass.html) (BoA Beta)
CompassHUD...
Forum: Lua/XML Help 05-21-20, 06:32 AM
Replies: 1
Views: 818
Posted By Vrul
You need a header that is like a middle man for...

You need a header that is like a middle man for everything:

local header = CreateFrame("Frame", nil, nil, "SecureHandlerStateTemplate")

MyTestXD = CreateFrame("Button", "MyTestXD", nil,...
Forum: Lua/XML Help 05-01-20, 01:49 PM
Replies: 3
Views: 649
Posted By Vrul
Those are FontStrings, try: for index = 1, 12...

Those are FontStrings, try:

for index = 1, 12 do
local spellButtonName = "SpellButton" .. index
print(spellButtonName)
print(_G[spellButtonName].SpellName:GetText())
...
Forum: Lua/XML Help 05-01-20, 01:12 PM
Replies: 6
Views: 681
Posted By Vrul
It is definitely an issue with Blizzard's code. ...

It is definitely an issue with Blizzard's code. I don't think they planned on subcategories of subcategories. If you add all secondary entries first then add the tertiary entries they will be in...
Forum: Lua/XML Help 05-01-20, 05:48 AM
Replies: 6
Views: 681
Posted By Vrul
The number one rule in asking for help is to post...

The number one rule in asking for help is to post your code. It is hard to help with out seeing the code in question.

The current code for Minguas Suite has this:

function...
Forum: Lua/XML Help 04-25-20, 08:14 PM
Replies: 3
Views: 870
Posted By Vrul
Open to one of the subcategories...

Open to one of the subcategories first:

InterfaceOptionsFrame_OpenToCategory("Minguas Suite - Subcategory")
InterfaceOptionsFrame_OpenToCategory("Minguas Suite")

Obviously the first line will need...
Forum: Lua/XML Help 04-21-20, 11:02 PM
Replies: 13
Views: 1,557
Posted By Vrul
I believe the returns would best be described...

I believe the returns would best be described as:
money = How much copper the item can be returned for
itemCount = The number of different items (tokens or such) the item can be returned...
Forum: Lua/XML Help 04-21-20, 02:16 PM
Replies: 13
Views: 1,557
Posted By Vrul
Weird. Just to test I bought a 7th Legionnaire's...

Weird. Just to test I bought a 7th Legionnaire's Cloak. It didn't matter if I was at the vendor or flew away from town. The function returned: 8800000, 0, 7163, 0, false (obviously the 3rd return...
Forum: Lua/XML Help 04-20-20, 07:53 AM
Replies: 13
Views: 1,557
Posted By Vrul
I don't think an itemLink has refund information...

I don't think an itemLink has refund information embedded in it. You will need to use an inventory function with bag, slot arguments to identify an exact item. My best guess is the 3rd return of...
Forum: Lua/XML Help 04-06-20, 04:32 PM
Replies: 11
Views: 1,968
Posted By Vrul
Think of your file as one large function. The...

Think of your file as one large function. The do...end block creates a new scope. That allows everything in that scope to see everything before it and globals but nothing outside of it can see or...
Forum: Lua/XML Help 04-02-20, 11:54 PM
Replies: 11
Views: 1,968
Posted By Vrul
You have a scope problem. The values of the...

You have a scope problem. The values of the variables inside the function you pass to C_Timer.After are still being modified by the main for-loop. You need to make local copies of each one used so...
Forum: Lua/XML Help 03-31-20, 08:21 AM
Replies: 15
Views: 1,581
Posted By Vrul
Both regions are sharing a layer so you need to...

Both regions are sharing a layer so you need to make sure the subLevel of your new texture is greater than the other:

local layer, subLevel =...
Forum: Lua/XML Help 03-31-20, 06:59 AM
Replies: 15
Views: 1,581
Posted By Vrul
The region method SetDrawLayer...

The region method SetDrawLayer (https://wow.gamepedia.com/API_LayeredRegion_SetDrawLayer) is what you want to use.
Forum: Lua/XML Help 03-28-20, 06:26 PM
Replies: 15
Views: 1,581
Posted By Vrul
For your example you would...

For your example you would use:

myFrame.NineSlice.TopRightCorner:SetTexture("Interface\\FrameGeneral\\UIFrameMetal")
myFrame.NineSlice.TopRightCorner:SetTexCoord(0/512, 133/512, 269/512, 401/512)

I...
Forum: Lua/XML Help 03-28-20, 05:38 PM
Replies: 15
Views: 1,581
Posted By Vrul
Or you would open it in an image editor and count...

Or you would open it in an image editor and count pixels to calculate the coords as they are in percentages of the image's dimensions.
Forum: Lua/XML Help 03-28-20, 02:26 PM
Replies: 15
Views: 1,581
Posted By Vrul
I would resize the bottom corners and not hide...

I would resize the bottom corners and not hide the edges:

local myFrame = CreateFrame("Frame", "myFrame", UIparent,...
Forum: Lua/XML Help 03-26-20, 07:06 AM
Replies: 6
Views: 933
Posted By Vrul
Same deal, adjust SetTexCoord arguments until it...

Same deal, adjust SetTexCoord arguments until it looks ok:

local myButton = CreateFrame("Button", nil,...
Forum: Lua/XML Help 03-26-20, 05:39 AM
Replies: 6
Views: 933
Posted By Vrul
I'd say mess with SetTexCoord until it looks...

I'd say mess with SetTexCoord until it looks ok:

local myButton = CreateFrame("Button", nil,...
Showing results 1 to 25 of 360