Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 313
Search took 0.02 seconds.
Search: Posts Made By: Vrul
Forum: Macro Help 12-08-19, 09:50 AM
Replies: 1
Views: 130
Posted By Vrul
I don't have access to Classic but you could...

I don't have access to Classic but you could try:

/cancelform [noform:1]
/stopcasting
/cast [noform] Dire Bear Form
Forum: General Authoring Discussion 10-16-19, 06:01 PM
Replies: 2
Views: 264
Posted By Vrul
Based on Blizzard's code...

Based on Blizzard's code (https://wow.gamepedia.com/Viewing_Blizzard%27s_interface_code) you can add the return of FauxScrollFrame_GetOffset(BrowseScrollFrame) to your ahIndex to get the value you...
Forum: Lua/XML Help 10-14-19, 10:40 PM
Replies: 11
Views: 445
Posted By Vrul
See what you get with: function...

See what you get with:

function RepByZone:SetWatchedFactionByFactionID(id)
if type(id) == "table" then id = tonumber(id) end
if type(id) ~= "number" then return end

...
Forum: Lua/XML Help 10-14-19, 10:36 PM
Replies: 11
Views: 445
Posted By Vrul
No, that just means the condition "id ==...

No, that just means the condition "id == factionID" is not being met.
Forum: Lua/XML Help 10-14-19, 09:47 PM
Replies: 11
Views: 445
Posted By Vrul
It seems like the line: local name, _,...

It seems like the line:

local name, _, standingID, _, _, _, _, _, isHeader, _, _, isWatched, _, factionID = GetFactionInfoByID(id)

should be:

local name, _, standingID, _, _, _, _, _, isHeader, _,...
Forum: AddOn Help/Support 10-04-19, 06:24 AM
Replies: 3
Views: 415
Posted By Vrul
Invert mouse is saved in...

Invert mouse is saved in WTF\Account\<AccountName>\config-cache.wtf as mouseInvertPitch

Mouse speed is saved in WTF\Config.wtf as mouseSpeed

As myrroddin said, they may not show up if they are the...
Forum: Lua/XML Help 09-17-19, 08:46 PM
Replies: 5
Views: 635
Posted By Vrul
The magic keys replace requested keys that don't...

The magic keys replace requested keys that don't already exist based on the "*" and "**" entries in your defaults table. You cannot directly access the "**" sub-table in the defaults table via a...
Forum: Classic - AddOn Help/Support 09-16-19, 05:17 PM
Replies: 6
Views: 528
Posted By Vrul
If you just want to quickly display some info you...

If you just want to quickly display some info you could use:

message("Hello World")


or you could remove creating a separate frame and just create a FontString from UIParent:

local text =...
Forum: General Authoring Discussion 08-27-19, 01:22 PM
Replies: 7
Views: 1,028
Posted By Vrul
I changed your buttons names from...

I changed your buttons names from "CHACHING_BagButtonOne" to "CHACHING_BagButton1" and similarly changed isBagChecked[BAG1] to isBagChecked[1] (repeat for 2 through 5). This should look how you...
Forum: General Authoring Discussion 08-27-19, 06:19 AM
Replies: 7
Views: 1,028
Posted By Vrul
I thought you said you were using UIDropDownMenu...

I thought you said you were using UIDropDownMenu (https://wow.gamepedia.com/Using_UIDropDownMenu) but I don't see that anywhere in the code provided. That code should only be run once so of course...
Forum: General Authoring Discussion 08-26-19, 06:10 AM
Replies: 7
Views: 1,028
Posted By Vrul
I wrote LibMenuAssist...

I wrote LibMenuAssist (https://www.wowinterface.com/downloads/info18735-LibMenuAssist-1.0.html) to make working with UIDropDownMenu easier for me and added a few extra features that I wanted. You...
Forum: AddOn Help/Support 08-09-19, 06:22 AM
Replies: 5
Views: 878
Posted By Vrul
You can look through the code of ImpliedTarget...

You can look through the code of ImpliedTarget (https://www.wowinterface.com/downloads/info17648-ImpliedTarget.html) to see how I implemented an @unitframe and @unitmodel conditional. I haven't...
Forum: Lua/XML Help 08-09-19, 06:06 AM
Replies: 3
Views: 627
Posted By Vrul
Are you sure it is not running? It is probably...

Are you sure it is not running? It is probably moving and then other code is calling SetPoint to override your call. You could try delaying your code or hooking that bar's SetPoint method so that...
Forum: Lua/XML Help 08-08-19, 08:41 AM
Replies: 15
Views: 591
Posted By Vrul
My mistake. I only looked at the last two...

My mistake. I only looked at the last two functions and saw you checking if the grid already existed but not the lines.
Forum: Lua/XML Help 08-08-19, 06:19 AM
Replies: 15
Views: 591
Posted By Vrul
You are creating new vertical lines each time...

You are creating new vertical lines each time that code is called. Currently they are all stacked on top of each other so you can't tell but if you change steps or widthStep you will be able to...
Forum: General Authoring Discussion 03-23-19, 07:44 PM
Replies: 15
Views: 1,534
Posted By Vrul
I would say your solution is ok. However, you...

I would say your solution is ok. However, you are emulating a paging state driver with your visibility state driver. It could be simplified slightly(dry coded / untested):

local header =...
Forum: General Authoring Discussion 03-23-19, 06:21 AM
Replies: 15
Views: 1,534
Posted By Vrul
In the WoW Lua enviroment events are global and...

In the WoW Lua enviroment events are global and scripts are like a mini-event unique to an individual object. So when you do something like:

buttons[i]:SetAttribute('statehidden', true)

Each...
Forum: Lua/XML Help 02-10-19, 05:55 AM
Replies: 2
Views: 450
Posted By Vrul
HookScript...

HookScript (https://wow.gamepedia.com/API_Frame_HookScript) does a post hook (runs original code first and then yours).
Forum: General Authoring Discussion 02-02-19, 04:21 PM
Replies: 5
Views: 1,020
Posted By Vrul
As mentioned "\n" will work: local macrotext =...

As mentioned "\n" will work:

local macrotext = "/cleartarget\n/stopcasting\n/script ToggleGameMenu(); StaticPopup1:Hide()"

or you could use a literal string:

local macrotext =...
Forum: General Authoring Discussion 01-07-19, 05:23 PM
Replies: 3
Views: 493
Posted By Vrul
local f =...

local f = CreateFrame("Frame","AnimationByOnUpdate",UIParent)
f:SetSize(64,64)
local texture =...
Forum: AddOn Help/Support 12-31-18, 07:01 PM
Replies: 1
Views: 439
Posted By Vrul
I don't do arenas to test but you could...

I don't do arenas to test but you could try:

RegisterStateDriver(PlayerFrame, "visibility", "[@arena1,exists] hide; show")
RegisterStateDriver(TargetFrame, "visibility", "[@arena1,exists][noexists]...
Forum: Lua/XML Help 11-21-18, 07:50 AM
Replies: 14
Views: 1,076
Posted By Vrul
You can get rid of hard coding each class...

You can get rid of hard coding each class with:

--Check Player's Role

local playerRole
local function CheckRole()
local specIndex = GetSpecialization()
if specIndex then
local _, _,...
Forum: Lua/XML Help 11-03-18, 07:38 AM
Replies: 8
Views: 639
Posted By Vrul
You have to move the "local AddOnList = {}"...

You have to move the "local AddOnList = {}" outside the do...end block or the rest of your code won't be able to see it.

local AddOnList = {}
do
for i = 1, GetNumAddOns() do
local...
Forum: Lua/XML Help 10-28-18, 06:43 PM
Replies: 9
Views: 678
Posted By Vrul
You want "hidden" not...

You want "hidden" not "disabled"
Forum: Wish List 09-30-18, 10:19 AM
Replies: 0
Views: 1,144
Posted By Vrul
Have /cast and /use Accept spellIDs

If the following code from ChatFrame.lua

-- We want to prefer spells for /cast and items for /use but we can use either
SecureCmdList["CAST"] = function(msg)
local action, target =...
Showing results 1 to 25 of 313