Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 234
Search took 0.01 seconds.
Search: Posts Made By: Vrul
Forum: Lua/XML Help 06-03-17, 07:10 PM
Replies: 9
Views: 566
Posted By Vrul
If you are using AceConfig to build your options...

If you are using AceConfig to build your options then you can set the number of lines in the declaration:

custom = {
type = 'input',
multiline = 20,
name = "OptionName",
desc = "Option...
Forum: Lua/XML Help 06-03-17, 06:38 AM
Replies: 11
Views: 562
Posted By Vrul
That is just the way the SecureStateDriver system...

That is just the way the SecureStateDriver system works. Anything related to certain events will be resolved immediately and everything else is checked every 0.2 seconds. Target changes fall under...
Forum: Lua/XML Help 06-02-17, 06:51 AM
Replies: 11
Views: 562
Posted By Vrul
for id = 1, NUM_ACTIONBAR_BUTTONS...

for id = 1, NUM_ACTIONBAR_BUTTONS do
RegisterStateDriver(_G["ActionButton" .. id], "visibility", "[exists] show; hide")
end
RegisterStateDriver(MultiBarBottomLeft, "visibility", "[exists] show;...
Forum: Lua/XML Help 02-08-17, 11:43 PM
Replies: 3
Views: 433
Posted By Vrul
My answer to one of your previous posts...

My answer to one of your previous posts (http://www.wowinterface.com/forums/showthread.php?t=53996) is applicable here as well:

local function ChangeDrawLayer(regionType, oldDrawLayer, newDrawLayer,...
Forum: Lua/XML Help 01-07-17, 02:40 PM
Replies: 7
Views: 860
Posted By Vrul
Here is a modified version of your code with the...

Here is a modified version of your code with the OnLeave script fixed. I also changed it to behave and look more like other LDB plugins I've seen.

local ADDON = ...

local fontName, fontHeight,...
Forum: Lua/XML Help 01-04-17, 07:25 PM
Replies: 7
Views: 860
Posted By Vrul
Menu:SetScript('OnLeave', Menu.Hide)

Menu:SetScript('OnLeave', Menu.Hide)
Forum: Lua/XML Help 07-24-16, 10:09 AM
Replies: 15
Views: 941
Posted By Vrul
I was thinking more along the lines of: local...

I was thinking more along the lines of:

local function ChangeDrawLayer(regionType, oldDrawLayer, newDrawLayer, ...)
for index = 1, select('#', ...) do
local region = select(index, ...)
if...
Forum: Lua/XML Help 07-24-16, 06:45 AM
Replies: 15
Views: 941
Posted By Vrul
For frames you use the methods SetFrameLevel...

For frames you use the methods SetFrameLevel (http://wowprogramming.com/docs/widgets/Frame/SetFrameLevel) and SetFrameStrata (http://wowprogramming.com/docs/widgets/Frame/SetFrameStrata) to adjust...
Forum: Legion Beta archived threads 07-24-16, 06:15 AM
Replies: 4
Views: 714
Posted By Vrul
The /run command does just that and runs Lua...

The /run command does just that and runs Lua code. So if you want to run that code in an addon drop the /run and keep the rest.
Forum: Legion Beta archived threads 07-10-16, 08:06 PM
Replies: 3
Views: 1,175
Posted By Vrul
Looks like it is now GetTalentTierInfo. local...

Looks like it is now GetTalentTierInfo.

local talentGroup, talents = GetActiveSpecGroup(), ""
for talentTier = 1, MAX_TALENT_TIERS do
local available, selected = GetTalentTierInfo(talentTier,...
Forum: Legion Beta archived threads 05-23-16, 09:37 PM
Replies: 32
Views: 8,980
Posted By Vrul
Instead of the CVar gxResolution you need to use...

Instead of the CVar gxResolution you need to use this instead:

local monitorIndex = (tonumber(GetCVar('gxMonitor')) or 0) + 1
local resolution = select(GetCurrentResolution(monitorIndex),...
Forum: Lua/XML Help 04-17-16, 12:11 PM
Replies: 11
Views: 2,079
Posted By Vrul
Here's a small bit of code to show the basics of...

Here's a small bit of code to show the basics of what you need:
local function UpdateInstanceInfo()
for index = 1, GetNumRFDungeons() do
local dungeonID = GetRFDungeonInfo(index)
local...
Forum: Lua/XML Help 01-17-15, 01:11 AM
Replies: 31
Views: 7,131
Posted By Vrul
I tried to make it behave as consistently as I...

I tried to make it behave as consistently as I could between the real tooltip and the pseudo-tooltips:

local tooltipForLinkType = {
-- Normal tooltip things:
achievement = ItemRefTooltip,
...
Forum: Lua/XML Help 01-16-15, 10:23 AM
Replies: 31
Views: 7,131
Posted By Vrul
I think the SetItemRef call in OnHyperlinkEnter...

I think the SetItemRef call in OnHyperlinkEnter should be this instead:

SetItemRef(linkData, link, "LeftButton", frame)


Shouldn't that SetItemRef call in OnHyperlinkLeave be this...
Forum: Wish List 01-05-15, 06:47 PM
Replies: 0
Views: 2,839
Posted By Vrul
GetLFGDungeonInfo

It would be nice if GetLFGDungeonInfo also returned the number of seconds until the loot lock resets just like GetSavedInstanceInfo and GetSavedWorldBossInfo do.

If that is not possible, or in...
Forum: Lua/XML Help 01-04-15, 10:21 AM
Replies: 10
Views: 3,203
Posted By Vrul
Yeah, I just read through all the notes for...

Yeah, I just read through all the notes for GetGameTime (http://wow.gamepedia.com/API_GetGameTime) and whoever wrote that came to the same conclussion as me, there will always be an edge case where...
Forum: Lua/XML Help 01-04-15, 08:27 AM
Replies: 10
Views: 3,203
Posted By Vrul
But I need the realm time which isn't always the...

But I need the realm time which isn't always the same as the server time. I was hoping someone knew a clever trick or an API I missed that would avoid the convoluted mess needed to get something so...
Forum: Lua/XML Help 01-03-15, 08:28 PM
Replies: 10
Views: 3,203
Posted By Vrul
As ChoonsterTwo stated %z is the same as %Z for...

As ChoonsterTwo stated %z is the same as %Z for Windows but more importantly that would only tell me the computer's UTC offset when I need the realm's UTC offset.
Forum: Lua/XML Help 01-03-15, 07:09 PM
Replies: 4
Views: 2,135
Posted By Vrul
An OnUpdate script will not run if the frame is...

An OnUpdate script will not run if the frame is not shown.
Forum: Macro Help 01-03-15, 09:00 AM
Replies: 6
Views: 4,124
Posted By Vrul
As Seerah said it would need to...

As Seerah said it would need to be:

#showtooltip
/use [mod:shift, talent:4/2] Charging Ox Wave; [mod:shift, talent:4/3] Leg Sweep; Paralysis


Or you could switch it around:

#showtooltip
/use...
Forum: Lua/XML Help 01-03-15, 08:52 AM
Replies: 10
Views: 3,203
Posted By Vrul
No, that gives you the server time which can...

No, that gives you the server time which can change when you switch to an instance.
Forum: Macro Help 01-02-15, 11:08 PM
Replies: 6
Views: 4,124
Posted By Vrul
#showtooltip /use [mod:shift] Shackle Undead;...

#showtooltip
/use [mod:shift] Shackle Undead; [talent:4/1] Void Tendrils; [talent:4/2] Psychic Scream; Dominate Mind
Forum: Lua/XML Help 01-02-15, 08:34 PM
Replies: 10
Views: 3,203
Posted By Vrul
Realm UTC Offset

Is there a way to consistently get a realm's UTC offset other than hardcoding them all in?
Forum: AddOn Help/Support 12-22-14, 02:59 AM
Replies: 24
Views: 7,643
Posted By Vrul
Give this a shot: local addonName, addon =...

Give this a shot:

local addonName, addon = ...

local options = {
width = 445,
height = 130,
isMovable = true,
hasBorder = true,
-- scale = 1.1,
Forum: AddOn Help/Support 12-22-14, 12:46 AM
Replies: 24
Views: 7,643
Posted By Vrul
I wasted so much time on finding a work around...

I wasted so much time on finding a work around for that and it was my cheap hack to get quest levels shown in the quest log.

local oldEnv =...
Showing results 1 to 25 of 234