Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 228
Search took 0.01 seconds.
Search: Posts Made By: Vrul
Forum: Lua/XML Help 07-24-16, 10:09 AM
Replies: 15
Views: 496
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: 496
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 AddOn Help & Feedback 07-24-16, 06:15 AM
Replies: 4
Views: 198
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 API and Graphics Changes 07-10-16, 08:06 PM
Replies: 3
Views: 383
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 API and Graphics Changes 05-23-16, 09:37 PM
Replies: 32
Views: 5,385
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: 930
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: 23
Views: 5,152
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: 23
Views: 5,152
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,085
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: 2,927
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: 2,927
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: 2,927
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: 1,877
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: 3,385
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: 2,927
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: 3,385
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: 2,927
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: 6,346
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: 6,346
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 =...
Forum: AddOn Help/Support 12-21-14, 02:46 PM
Replies: 24
Views: 6,346
Posted By Vrul
I can get ObjectiveTrackerFrame to do what I want...

I can get ObjectiveTrackerFrame to do what I want for the most part except for one problem. No matter what I've tried I cannot get UseQuestLogSpecialItem to work if you untrack an objective from the...
Forum: AddOn Search/Requests 11-23-14, 01:02 AM
Replies: 19
Views: 6,974
Posted By Vrul
Except that you're completely wrong and the frame...

Except that you're completely wrong and the frame does in fact need to be hidden.

Hence why I hide that dialog in the code posted.
Forum: AddOn Search/Requests 11-22-14, 03:06 PM
Replies: 19
Views: 6,974
Posted By Vrul
I'm using this: local frame =...

I'm using this:

local frame = CreateFrame('Frame')
frame:Hide()

frame:SetScript('OnEvent', function(self, event, ...)
if event == 'GARRISON_MISSION_COMPLETE_RESPONSE' then
local missionID,...
Forum: AddOn Search/Requests 11-17-14, 04:07 PM
Replies: 25
Views: 26,855
Posted By Vrul
This is my understanding of how it works (feel...

This is my understanding of how it works (feel free to correct me if I am wrong):

Anything that has a nil value just means there is no data assigned to it. Assigning a table key a nil value removes...
Forum: AddOn Search/Requests 11-17-14, 11:10 AM
Replies: 25
Views: 26,855
Posted By Vrul
I just use this to move and...

I just use this to move and scale:

UIPARENT_MANAGED_FRAME_POSITIONS.DraenorZoneAbilityFrame = nil
DraenorZoneAbilityFrame:ClearAllPoints()
DraenorZoneAbilityFrame:SetPoint('TOP', UIParent, 'TOP', 0,...
Forum: AddOn Help/Support 11-03-14, 04:28 PM
Replies: 6
Views: 1,668
Posted By Vrul
Tricks of the Trade no longers provides a dps...

Tricks of the Trade no longers provides a dps boost which makes updating that addon pointless.
Showing results 1 to 25 of 228