Quantcast
WoWInterface - Search Results
Showing results 1 to 25 of 353
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: Site help, bugs, suggestions/questions 08-02-20, 04:15 PM
Replies: 19
Views: 6,803
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: 791
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: 604
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: 638
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: 638
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: 834
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,454
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,454
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,454
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,909
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,909
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,493
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,493
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,493
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,493
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,493
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: 890
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: 890
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,...
Forum: Lua/XML Help 03-26-20, 05:12 AM
Replies: 6
Views: 890
Posted By Vrul
There are methods for button objects that seem...

There are methods for button objects that seem they would achieve this (never used them myself):
SetNormalAtlas
SetPushedAtlas
SetDisabledAtlas
SetHighlightAtlas
Forum: Lua/XML Help 03-19-20, 07:44 PM
Replies: 15
Views: 1,238
Posted By Vrul
Yeah, change it to this: OnLeave =...

Yeah, change it to this:

OnLeave = function(self, motion)
print("Leaving/Hiding broker frame")
if tooltip and not tooltip:IsMouseOver() then
tooltip:Release()
...
Forum: Lua/XML Help 03-19-20, 06:12 PM
Replies: 15
Views: 1,238
Posted By Vrul
Try getting rid of the code within the data...

Try getting rid of the code within the data broker OnLeave script. Maybe Chocolate bar doesn't pass the motion argument and that is the issue.
Forum: Lua/XML Help 03-19-20, 05:43 PM
Replies: 15
Views: 1,238
Posted By Vrul
If you copied the code exactly I don't see why it...

If you copied the code exactly I don't see why it wouldn't work as it works fine for me.
Forum: Lua/XML Help 03-19-20, 04:23 PM
Replies: 15
Views: 1,238
Posted By Vrul
You are setting an OnLeave script for the tooltip...

You are setting an OnLeave script for the tooltip which is triggered by the OnEnter script within the tooltip. You want to set an OnRelease handler instead:

local ADDON = ...

local tooltip

local...
Forum: Lua/XML Help 02-11-20, 07:20 PM
Replies: 9
Views: 837
Posted By Vrul
I used Output Search...

I used Output Search (https://www.wowinterface.com/downloads/info24041-OutputSearch.html) to look for functions in Minimap to see what was available. I entered "^set" in the search field to narrow...
Forum: Lua/XML Help 02-11-20, 05:44 PM
Replies: 9
Views: 837
Posted By Vrul
I believe direct access to the minimap player...

I believe direct access to the minimap player arrow was removed in an effort to restrict raid assist addons. But to answer your question:

Minimap:SetPlayerTexture("")
Showing results 1 to 25 of 353