Showing results 1 to 25 of 280
Search took 0.02 seconds.
Search: Posts Made By: Lombra
Forum: Lua/XML Help Today, 10:14 AM
Replies: 10
Views: 172
Posted By Lombra
print is handy to use instead of...

print is handy to use instead of DEFAULT_CHAT_FRAME:AddMessage. Not only because it's quicker (to type), but it also takes and prints multiple arguments.
print(NpcData.characterName,...
Forum: Lua/XML Help 04-15-15, 07:53 AM
Replies: 2
Views: 148
Posted By Lombra
Something is outdated as line 53, which the error...

Something is outdated as line 53, which the error message indicates, is an empty line in the attached Frame.lua. But I'm assuming this is the offending line:
print("Loot Nr. " .. n .. ", Voting Nr. "...
Forum: Lua/XML Help 04-01-15, 02:11 PM
Replies: 8
Views: 573
Posted By Lombra
Font strings are not "frames", but "regions", and...

Font strings are not "frames", but "regions", and they're created differently, using frame:CreateFontString().

Frames are essentially no more than anchor points as far as visuals go. You need to...
Forum: Lua/XML Help 03-28-15, 11:49 AM
Replies: 13
Views: 309
Posted By Lombra
They are just weird in my experience. You could...

They are just weird in my experience. You could try various combinations of resetting the position (0, 0, 0) before setting it, or onhide, or onshow, but I can't remember if any of those actually...
Forum: Lua/XML Help 03-21-15, 04:20 PM
Replies: 5
Views: 332
Posted By Lombra
Unlikely, but yes there should be a number of...

Unlikely, but yes there should be a number of other explanations.
Forum: Lua/XML Help 03-21-15, 06:05 AM
Replies: 15
Views: 708
Posted By Lombra
The return is inside the function!

The return is inside the function!
Forum: Lua/XML Help 03-17-15, 04:45 AM
Replies: 7
Views: 447
Posted By Lombra
Have you looked closer at the error details?...

Have you looked closer at the error details? Sometimes it actually says which addon, line and function that causes it.
Forum: General Authoring Discussion 03-06-15, 04:10 PM
Replies: 6
Views: 558
Posted By Lombra
GetLootSpecialization() returns 0 if you set it...

GetLootSpecialization() returns 0 if you set it to "current spec". It doesn't actually return the ID of your current spec.
Forum: Lua/XML Help 03-03-15, 06:35 PM
Replies: 7
Views: 472
Posted By Lombra
I don't really understand what you're looking...

I don't really understand what you're looking for, but I can tell you that this:
Test.About._G[Test]
works out to be equivalent to this:
Test["About"]["_G"][Test]
because when you're using dot...
Forum: Lua/XML Help 02-26-15, 12:56 PM
Replies: 4
Views: 325
Posted By Lombra
Not by name, as they have no reference to...

Not by name, as they have no reference to anything like that, but you can do this:
PRISPEC = {GetSpecializationInfo(primarySpec)}
Forum: General Authoring Discussion 02-20-15, 03:59 AM
Replies: 1
Views: 438
Posted By Lombra
I'm guessing these...

I'm guessing these (http://www.wowhead.com/search?q=Garrison+Invasion#quests).
Forum: General Authoring Discussion 02-03-15, 05:20 PM
Replies: 23
Views: 1,279
Posted By Lombra
If you open the glyph frame using the keybind (N...

If you open the glyph frame using the keybind (N by default), does that make a difference?
Forum: General Authoring Discussion 02-03-15, 04:00 AM
Replies: 23
Views: 1,279
Posted By Lombra
I never said anything about them being...

I never said anything about them being problematic.


If you open the talent/glyph frame insecurely that is not unlikely to taint stuff, so that could have something to do with it, I guess.
Forum: General Authoring Discussion 02-02-15, 07:14 PM
Replies: 23
Views: 1,279
Posted By Lombra
Those are defined as globals in...

Those are defined as globals in Bartender4.lua:73.

Hm ok, did they change level 2 to be more useful at some point? I just remember hearing years ago that it would print like everything that was...
Forum: General Authoring Discussion 02-02-15, 04:54 PM
Replies: 23
Views: 1,279
Posted By Lombra
Right, seems to work for categories, but not for...

Right, seems to work for categories, but not for the other stuff I think.



None.

I'm guessing the taint log works like the combat log in that it gets written to only once it has a certain amount...
Forum: General Authoring Discussion 02-02-15, 11:02 AM
Replies: 23
Views: 1,279
Posted By Lombra
Combat lockdown generally refers to the inability...

Combat lockdown generally refers to the inability [by addons] to perform certain actions during combat. Tainting refers to addons in some way disturbing the secure environment of the default UI,...
Forum: General Authoring Discussion 02-02-15, 07:38 AM
Replies: 23
Views: 1,279
Posted By Lombra
{ } creates a new table. Taint will not be...

{ } creates a new table. Taint will not be introduced simply by virtue of a variable being global, but if that variable conflicts with another, it may be. I don't believe you can do binding labels in...
Forum: Lua/XML Help 01-31-15, 06:11 AM
Replies: 21
Views: 1,228
Posted By Lombra
So you need to process the...

So you need to process the following:
PlayerName-ServerName
PetName-ServerName <OwnerName-ServerName>
and the result in either case should be what exactly?
Forum: Lua/XML Help 01-31-15, 05:01 AM
Replies: 21
Views: 1,228
Posted By Lombra
Why not "%-[^ ]+"?

Why not "%-[^ ]+"?
Forum: General Authoring Discussion 01-29-15, 08:57 AM
Replies: 8
Views: 814
Posted By Lombra
Definitely keep the name if it's just a matter of...

Definitely keep the name if it's just a matter of some internal reworkings. I would say keep the name until the overall purpose of the addon changes. (eg if it becomes something other than a complete...
Forum: General Authoring Discussion 01-24-15, 06:27 AM
Replies: 26
Views: 2,579
Posted By Lombra
I've used Examiner for a long time without...

I've used Examiner for a long time without experiencing this issue. Not sure what options are available.
Forum: Lua/XML Help 01-21-15, 08:41 AM
Replies: 11
Views: 1,116
Posted By Lombra
Well I would say for a bar addon you shouldn't...

Well I would say for a bar addon you shouldn't throttle the updating of the bar value. If you don't, it might end up looking sluggish compared to the rest of the game. It's not all that CPU...
Forum: Lua/XML Help 01-19-15, 10:12 AM
Replies: 11
Views: 1,116
Posted By Lombra
Yes, that table is most likely the culprit, but...

Yes, that table is most likely the culprit, but you should also not be using OnUpdate to do these things, and instead use the UNIT_AURA event. You could probably use OnUpdate to update any timers you...
Forum: Lua/XML Help 01-18-15, 04:12 PM
Replies: 19
Views: 2,055
Posted By Lombra
I think that you need to hook HeirloomsJournal...

I think that you need to hook HeirloomsJournal instead of HeirloomsMixin, as the former is the table that's used to call the method. Even though they're the same function in both tables, it's the...
Forum: Lua/XML Help 01-17-15, 02:56 PM
Replies: 13
Views: 1,155
Posted By Lombra
Yeah, it is local to the function, in exactly the...

Yeah, it is local to the function, in exactly the same way as it would be had you done this:
function addon.FunctionInFileB()
local var
end
Showing results 1 to 25 of 280