Showing results 1 to 25 of 288
Search took 0.02 seconds.
Search: Posts Made By: Lombra
Forum: Lua/XML Help 06-28-15, 04:02 AM
Replies: 2
Views: 157
Posted By Lombra
Reliably using game version to update SVs?

I was thinking of using the interface version return of GetBuildInfo numerically to check version and then run necessary upgrade logic. I'm wondering if it is reliable. I'm thinking PTRs and betas....
Forum: Lua/XML Help 06-26-15, 09:58 AM
Replies: 8
Views: 237
Posted By Lombra
I think you get an error if you try to create a...

I think you get an error if you try to create a frame using a non existing template. Could use that maybe. Won't be a pretty solution probably.
Forum: Lua/XML Help 06-16-15, 06:47 AM
Replies: 4
Views: 505
Posted By Lombra
It can be done, but it's a bit hacky. First hook...

It can be done, but it's a bit hacky.

First hook the function that creates menu buttons to make sure they're registered for right clicks. (unless you have a reason to use *Down, I'd use *Up instead,...
Forum: Lua/XML Help 05-09-15, 03:32 AM
Replies: 7
Views: 624
Posted By Lombra
Sounds good! UIFrameFadeIn and UIFrameFadeOut...

Sounds good! UIFrameFadeIn and UIFrameFadeOut used to taint the talent frame (switching talents) or something though, no idea whether it still does. Might want to look into that. Have the functions...
Forum: Lua/XML Help 05-08-15, 10:40 AM
Replies: 7
Views: 624
Posted By Lombra
That should be perfectly fine as far as memory...

That should be perfectly fine as far as memory usage goes, but you have the problem of getting the self in there, then.

C_Timer is probably better in certain scenarios, but I don't know that it will...
Forum: Lua/XML Help 05-08-15, 04:36 AM
Replies: 7
Views: 624
Posted By Lombra
C_Timer.After(0.01, function() self:FadeOut()...

C_Timer.After(0.01, function() self:FadeOut() end)
C_Timer.After(0.01, function() self:UpdateCasting() end)
These create a new function every time. You'll definitely want to look into that, and you...
Forum: Lua/XML Help 04-26-15, 05:08 AM
Replies: 18
Views: 1,247
Posted By Lombra
I don't know where line 64 is, but there's no...

I don't know where line 64 is, but there's no reference to cached_items anywhere, so I don't know to what self.db.global[cached_items] is supposed to refer.


No, that's just the standard arguments...
Forum: Lua/XML Help 04-22-15, 03:02 AM
Replies: 4
Views: 438
Posted By Lombra
:IsForbidden()

:IsForbidden()
Forum: Lua/XML Help 04-19-15, 10:14 AM
Replies: 12
Views: 622
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: 415
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: 939
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: 649
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: 705
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: 1,193
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: 822
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: 755
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: 677
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: 497
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: 615
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,731
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,731
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,731
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,731
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,731
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,731
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...
Showing results 1 to 25 of 288