Quantcast WoWInterface - Search Results
Showing results 1 to 25 of 500
Search took 0.05 seconds.
Search: Posts Made By: Torhal
Forum: Lua/XML Help 01-24-16, 02:36 AM
Replies: 5
Views: 209
Posted By Torhal
That also isn't valid Lua syntax. You use local...

That also isn't valid Lua syntax. You use local for variable declaration, not for expressions.
Forum: AddOn Help/Support 01-18-16, 09:44 PM
Replies: 2
Views: 168
Posted By Torhal
So it isn't just me.

So it isn't just me.
Forum: Lua/XML Help 12-07-15, 05:57 PM
Replies: 3
Views: 840
Posted By Torhal
You should be able to use...

You should be able to use tooltip:SetFrameStrata("DIALOG") when it's shown and then back to "TOOLTIP" when it hides - I had to do something similar in Frenemy to make LibQTip work with the built-in...
Forum: AddOn Help/Support 11-28-15, 12:44 PM
Replies: 2
Views: 1,047
Posted By Torhal
The GarrisonShipyardFrame doesn't exist until the...

The GarrisonShipyardFrame doesn't exist until the Blizzard_GarrisonUI is loaded, so your AddOn should have this in its ToC file:


## LoadOnDemand: 1
## LoadsWith: Blizzard_GarrisonUI


Additionally,...
Forum: AddOn Help/Support 11-25-15, 01:57 PM
Replies: 10
Views: 2,680
Posted By Torhal
Bugger will only display Lua errors such as...

Bugger will only display Lua errors such as attempting to see whether or not 3 is greater than null or trying to grab the value of a field from null. It will not tell you that your code's logic is...
Forum: UI Screenshots, Feedback and Design Discussion 10-26-15, 02:17 AM
Replies: 5
Views: 1,990
Posted By Torhal
Out of curiosity - why aren't you just using the...

Out of curiosity - why aren't you just using the supported WoW languages? Swedish isn't one of those...
Forum: Minion 10-23-15, 08:26 AM
Replies: 16
Views: 1,642
Posted By Torhal
Not true. In most cases, a change to the ToC...

Not true. In most cases, a change to the ToC isn't required at all. The only reasons to do so would be to add/remove things to load, such as files or libraries, or to change the Interface version...
Forum: Lua/XML Help 10-20-15, 07:54 AM
Replies: 7
Views: 1,609
Posted By Torhal
Building tables programmatically isn't going to...

Building tables programmatically isn't going to save you anything, IMO. You can do the same thing you were doing with the if checks, but in a more terse manner:


...
Forum: AddOn Help/Support 10-07-15, 10:21 PM
Replies: 4
Views: 1,307
Posted By Torhal
Variables are nothing more than names you use to...

Variables are nothing more than names you use to refer to values. You're not allocating extra memory when declaring them, or even when switching them to hold a completely different value. There is a...
Forum: Lua/XML Help 10-06-15, 05:17 PM
Replies: 8
Views: 1,100
Posted By Torhal
Ouch. You've been a member for five years, and...

Ouch. You've been a member for five years, and have no idea that talk of private servers is forbidden? :/
Forum: General WoW Chat 09-15-15, 06:41 PM
Replies: 26
Views: 3,784
Posted By Torhal
I shall be in attendance. ~added

I shall be in attendance. ~added
Forum: Lua/XML Help 08-22-15, 05:08 PM
Replies: 6
Views: 750
Posted By Torhal
I'm not entirely certain this is what you're...

I'm not entirely certain this is what you're after, but look at my config code in Toaster (http://www.wowinterface.com/downloads/info21373-Toaster.html). I have a section that dynamically updates the...
Forum: Lua/XML Help 08-17-15, 07:31 PM
Replies: 5
Views: 514
Posted By Torhal
They're vastly different, and also against the...

They're vastly different, and also against the site rules.
Forum: Lua/XML Help 08-15-15, 08:45 PM
Replies: 26
Views: 1,762
Posted By Torhal
There's also the option of...

There's also the option of


(UnitName("player"))


That will only evaluate the first return value, but it's a bit non-obvious if you're looking at the code months later.
Forum: AddOn Help/Support 08-07-15, 11:22 PM
Replies: 12
Views: 2,190
Posted By Torhal
Original screenshot looks like WoD to me, and he...

Original screenshot looks like WoD to me, and he also stated that he was encountering a default UI Lua error that's only present in the latest client.
Forum: Lua/XML Help 07-09-15, 03:39 PM
Replies: 3
Views: 530
Posted By Torhal
In Ackis Recipe List, I actually use: local...

In Ackis Recipe List, I actually use:


local FOLDER_NAME, private = ...
Forum: Lua/XML Help 06-09-15, 08:32 PM
Replies: 8
Views: 972
Posted By Torhal
The data should definitely be available during...

The data should definitely be available during TRADE_SKILL_SHOW... what, exactly, are you trying to do with this data?
Forum: General Authoring Discussion 06-06-15, 09:50 AM
Replies: 6
Views: 1,354
Posted By Torhal
Yes; you must grab sections via texture...

Yes; you must grab sections via texture coordinates using the SetTexCoord (http://wow.gamepedia.com/API_Texture_SetTexCoord) function.
Forum: Site help, bugs, suggestions/questions 05-11-15, 12:04 PM
Replies: 3
Views: 1,022
Posted By Torhal
Yeah, this has been an issue for years. Shouldn't...

Yeah, this has been an issue for years. Shouldn't be too difficult to change. I just got into the habit of hitting "Mark all forums as read" after reading everything that does show up.
Forum: General Authoring Discussion 05-07-15, 08:18 PM
Replies: 22
Views: 2,989
Posted By Torhal
Semlar has a history of non-publishing. I try to...

Semlar has a history of non-publishing. I try to shame him as much as possible.
Forum: Lua/XML Help 05-07-15, 05:43 PM
Replies: 11
Views: 1,287
Posted By Torhal
Or just use if AddOn ~= MyAddOn then

Or just use if AddOn ~= MyAddOn then
Forum: Lua/XML Help 05-07-15, 04:45 PM
Replies: 11
Views: 1,287
Posted By Torhal
Reposting what I posted in another...

Reposting what I posted in another thread:

That's because "not AddOn" evaluates to false if AddOn is non-nil and true otherwise. So that line is essentially saying "if false/true == MyAddOn then"...
Forum: Lua/XML Help 05-06-15, 11:30 PM
Replies: 5
Views: 918
Posted By Torhal
That's because "not AddOn" evaluates to false if...

That's because "not AddOn" evaluates to false if AddOn is non-nil and true otherwise. So that line is essentially saying "if false/true == MyAddOn then" which isn't at all what you want for a string...
Forum: General WoW Chat 05-05-15, 04:56 PM
Replies: 4
Views: 1,984
Posted By Torhal
Have fun with whatever you move on to, man. I...

Have fun with whatever you move on to, man. I understand the apathy, though; I thought WoD would be where I started playing WoW again but outside of running instances or raids it has largely devolved...
Forum: Cladhaire's Mods 05-05-15, 06:47 AM
Replies: 16
Views: 7,877
Posted By Torhal
I'm sorry to see you "disappear," yet glad it's...

I'm sorry to see you "disappear," yet glad it's due to wanting to maintain your level of contentment in life, and that you'll still be somewhat around in the community. I've already sent you an...
Showing results 1 to 25 of 500