Showing results 1 to 25 of 308
Search took 0.02 seconds.
Search: Posts Made By: Lombra
Forum: Lua/XML Help 08-26-15, 12:35 PM
Replies: 6
Views: 267
Posted By Lombra
Not sure about retroactively specifying names. I...

Not sure about retroactively specifying names. I doubt it.

Maybe you could make your own secure button wrappers, and have them click the unnamed buttons. The clickbutton attribute should work with...
Forum: Lua/XML Help 08-26-15, 06:59 AM
Replies: 4
Views: 294
Posted By Lombra
Not fixed on PTR, so I'm looking at implementing...

Not fixed on PTR, so I'm looking at implementing workarounds for this, too. Not sure if it's better, but I'm leaning towards hooking the tooltip functions instead. (GameTooltip:SetQuestItem) Then you...
Forum: Lua/XML Help 08-18-15, 08:46 AM
Replies: 5
Views: 281
Posted By Lombra
Well, I still do essentially the same thing, but...

Well, I still do essentially the same thing, but I've made a small framework out of it, implementing more of the logic myself and making some other changes allowing me deploy and use scroll frames...
Forum: Lua/XML Help 08-18-15, 03:55 AM
Replies: 5
Views: 281
Posted By Lombra
Yeah, or you can reuse some of the original...

Yeah, or you can reuse some of the original function for some initialization logic. I've done this myself numerous times for hybrid scrolls. I don't use it any longer, but this is what I found in...
Forum: Lua/XML Help 08-17-15, 03:12 PM
Replies: 5
Views: 281
Posted By Lombra
No, you can only create templates using XML.

No, you can only create templates using XML.
Forum: Lua/XML Help 08-16-15, 10:36 AM
Replies: 26
Views: 884
Posted By Lombra
Sure, but I didn't read the word "performance"...

Sure, but I didn't read the word "performance" anywhere, only "better". If the performance gain is negligible I would definitely go for readability.

Edit: Without wanting to make a point of it, just...
Forum: Lua/XML Help 08-16-15, 04:25 AM
Replies: 26
Views: 884
Posted By Lombra
A few calls here and there is not gonna make a...

A few calls here and there is not gonna make a difference. It's fine, and I'd say this is a perfectly reasonable situation in which to use it. That logic might be improved slightly in other ways,...
Forum: Lua/XML Help 08-13-15, 02:44 PM
Replies: 10
Views: 390
Posted By Lombra
Make a simpler program to troubleshoot it from...

Make a simpler program to troubleshoot it from the top. Maybe disable some other addons if you're getting spammed by this.

if IsAddOnLoaded("Skada") then
print("Skada is already...
Forum: Lua/XML Help 07-28-15, 01:44 PM
Replies: 11
Views: 526
Posted By Lombra
Gender I don't think, but race should be...

Gender I don't think, but race should be available from one of the guild roster functions.
Forum: Lua/XML Help 07-28-15, 01:36 PM
Replies: 2
Views: 319
Posted By Lombra
Hi, For the first one, you can start by using...

Hi,

For the first one, you can start by using hash tables instead of arrays. Use the value as the key, and true as the value. (or any other non false value) This will let you do a simple table key...
Forum: Lua/XML Help 07-27-15, 04:54 AM
Replies: 12
Views: 537
Posted By Lombra
Do you actually need the hooks? I can't find...

Do you actually need the hooks? I can't find anywhere in the UI where these frames get moved around, except PetFrame once on load.
Forum: General Authoring Discussion 07-25-15, 05:27 AM
Replies: 2
Views: 227
Posted By Lombra
The frames use the API, not the other way around....

The frames use the API, not the other way around. Frames are irrelevant; all you need to do is pass the appropriate arguments. For inspect data, the unit argument is something other than "player".
Forum: Lua/XML Help 07-15-15, 06:52 PM
Replies: 8
Views: 384
Posted By Lombra
It's smart from my experience so far, I should...

It's smart from my experience so far, I should say. Using the "guild" option for example, it removes the realm as long as no one else with the same name on a different realm is in the guild.

I just...
Forum: Lua/XML Help 07-15-15, 03:44 PM
Replies: 8
Views: 384
Posted By Lombra
Ambiguate is pretty smart; it should not remove...

Ambiguate is pretty smart; it should not remove NPC names. Didn't know about "short" option. Is that new?
Forum: Lua/XML Help 07-15-15, 02:45 PM
Replies: 17
Views: 564
Posted By Lombra
Oh, really? Would never have guessed!

Oh, really? Would never have guessed!
Forum: Lua/XML Help 07-15-15, 02:12 PM
Replies: 17
Views: 564
Posted By Lombra
I'm a bit confused as to what you want to do,...

I'm a bit confused as to what you want to do, exactly, but I think you should be able to do just that.

Leatrix had probably got the right idea, though. Except for clearing world markers which should...
Forum: Lua/XML Help 07-15-15, 12:36 PM
Replies: 17
Views: 564
Posted By Lombra
Showing or hiding a secure frame is very much a...

Showing or hiding a secure frame is very much a secure action.
Forum: General Authoring Discussion 07-11-15, 12:59 PM
Replies: 8
Views: 712
Posted By Lombra
I actually started to make this some time ago. I...

I actually started to make this some time ago. I think it should work, but I never really bothered finishing it. Not sure if it's of any use to you. I never implemented hiding the default frame it...
Forum: Lua/XML Help 07-11-15, 12:48 PM
Replies: 3
Views: 442
Posted By Lombra
You can easily do this using the builtin chat...

You can easily do this using the builtin chat filtering system.

ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER", function(frame, event, message, sender, ...)
if message == "!stats"...
Forum: Lua/XML Help 07-07-15, 04:28 AM
Replies: 16
Views: 825
Posted By Lombra
I think these kind of requests rarely get any...

I think these kind of requests rarely get any response. People are not willing to dedicate that kind of time, paid or not.

That being said, there are lots of people on here willing to help with more...
Forum: Lua/XML Help 06-28-15, 04:02 AM
Replies: 2
Views: 263
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: 403
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: 608
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: 774
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: 774
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...
Showing results 1 to 25 of 308