Showing results 1 to 25 of 222
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: Lua/XML Help 01-17-15, 01:11 AM
Replies: 23
Views: 1,701
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: 1,701
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: 736
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: 1,256
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: 1,256
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: 1,256
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: 971
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: 854
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: 1,256
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: 854
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: 1,256
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: 2,632
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: 2,632
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: 2,632
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: 2,791
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: 2,791
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: 7,852
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: 7,852
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: 858
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.
Forum: AddOn Search/Requests 10-29-14, 07:30 AM
Replies: 5
Views: 848
Posted By Vrul
This is what I'm currently using but haven't...

This is what I'm currently using but haven't tested it with a vehicle yet:

local comboPoints = ComboFrame
comboPoints:SetParent(PlayerFrame)
comboPoints:UnregisterAllEvents()

for index = 1,...
Forum: Lua/XML Help 10-21-14, 04:21 PM
Replies: 12
Views: 1,524
Posted By Vrul
Initialize as such: local bladeFlurryTargets,...

Initialize as such:

local bladeFlurryTargets, numBladeFlurryTargets = { }, 0


To add or update a target:

bladeFlurryTargets[guid] = arg1 + 2.6
Forum: Lua/XML Help 10-19-14, 09:03 PM
Replies: 5
Views: 872
Posted By Vrul
The returns for GetQuestLogTitle have changed so...

The returns for GetQuestLogTitle have changed so that will impact some stuff too.
Forum: Lua/XML Help 10-02-14, 03:54 PM
Replies: 3
Views: 892
Posted By Vrul
Your saved data in TestAddOnDB is loaded just...

Your saved data in TestAddOnDB is loaded just prior to the ADDON_LOADED event so you have to wait until then to access its data.

function TestAddOn_OnEvent(self, event, arg1)
if event ==...
Forum: Lua/XML Help 09-28-14, 09:56 AM
Replies: 7
Views: 1,308
Posted By Vrul
What Phanx posted is the correct texture. The...

What Phanx posted is the correct texture. The reason it is blue is because of this line in the OnLoad script:

self.highlight:SetVertexColor(0.243, 0.570, 1);


That texture is gray scale so you can...
Forum: oUF (Otravi Unit Frames) 08-26-14, 07:39 PM
Replies: 13
Views: 3,298
Posted By Vrul
Try replacing: local isCaster local cbCheckFrame...

Try replacing:

local isCaster
local cbCheckFrame =...
Showing results 1 to 25 of 222