Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: Lombra
Forum: Lua/XML Help 02-13-18, 04:39 PM
Replies: 3
Views: 1,047
Posted By Lombra
That is not part of the UI and can't be touched I...

That is not part of the UI and can't be touched I believe.
Forum: Lua/XML Help 02-12-18, 05:09 PM
Replies: 3
Views: 1,221
Posted By Lombra
Something like GameTooltipTextRight3.

Something like GameTooltipTextRight3.
Forum: Lua/XML Help 02-05-18, 03:08 AM
Replies: 8
Views: 5,925
Posted By Lombra
Well f in this case is a variable and no offence,...

Well f in this case is a variable and no offence, but are you sure you should be trying to fix this considering you have to ask that? :P The function Hide is being called somewhere with a nil...
Forum: Lua/XML Help 01-30-18, 09:20 AM
Replies: 20
Views: 8,141
Posted By Lombra
I don't have any experience with the ElvUI...

I don't have any experience with the ElvUI source, but in general it might be better starting with a simpler example.

I had a look at the Ace3 source, and the logic behind OnInitialize was a bit...
Forum: Lua/XML Help 01-22-18, 10:36 AM
Replies: 20
Views: 8,141
Posted By Lombra
So do the options actually work and affect the...

So do the options actually work and affect the addon functionality? Regardless of whether they get saved.

Have you tried printing the contents of gempDB after changing something to see if it's...
Forum: Lua/XML Help 01-20-18, 09:56 AM
Replies: 8
Views: 4,717
Posted By Lombra
Generally you would create everything immediately...

Generally you would create everything immediately and then set it up according to user settings when those become available.
Forum: Lua/XML Help 01-16-18, 02:28 PM
Replies: 67
Views: 34,377
Posted By Lombra
No, I'm saying a new function is defined. You may...

No, I'm saying a new function is defined. You may verify using this:

/run local a = SetCVar hooksecurefunc("SetCVar", function(name, value) if name == "Sound_EnableMusic" then print(name, value) end...
Forum: Lua/XML Help 01-15-18, 08:07 AM
Replies: 67
Views: 34,377
Posted By Lombra
Well of course if you explicitly do not use a...

Well of course if you explicitly do not use a pointer created before hooking it's going to work, but no, as I've recently learnt, hooksecurefunc actually replaces the function and there's no magic at...
Forum: Lua/XML Help 01-14-18, 07:52 AM
Replies: 67
Views: 34,377
Posted By Lombra
A, I guess. The function never changes, you just...

A, I guess. The function never changes, you just get a new reference to it.
Forum: General Authoring Discussion 01-01-18, 12:30 PM
Replies: 8
Views: 6,963
Posted By Lombra
There are two occurences of |h in an item link....

There are two occurences of |h in an item link. The first one comes immediately after the item string portion, and the second comes after the link text portion. By using + in your pattern, the result...
Forum: Graphics Help 10-09-17, 12:47 PM
Replies: 17
Views: 10,116
Posted By Lombra
This is correct. Well, technically there are...

This is correct. Well, technically there are subpixels which, while relevant to the topic, is not really necessary to explain the concept.

Put simply, if you have a black texture and a white texture...
Forum: General Authoring Discussion 07-26-17, 05:32 AM
Replies: 20
Views: 4,607
Posted By Lombra
Now you're just coming off as salty. This was a...

Now you're just coming off as salty. This was a peaceful thread with a simple purpose until you came in ranting about double standards and proceeded to bring up completely irrelevant issues....
Forum: Lua/XML Help 07-21-17, 04:58 PM
Replies: 4
Views: 1,878
Posted By Lombra
Don't remember exactly, and I can't check now,...

Don't remember exactly, and I can't check now, but I think C_TransmogCollection.GetAppearanceSources(appearanceID) might return stuff only if it's included in your wardrobe.
Forum: Lua/XML Help 07-21-17, 04:38 AM
Replies: 4
Views: 1,878
Posted By Lombra
"Visual" ID is the same as "appearance" ID is the...

"Visual" ID is the same as "appearance" ID is the same as "visual appearance" ID. It's a bit confusing how they use all these variants interchangibly. The appearance ID essentially refers to the item...
Forum: Lua/XML Help 07-05-17, 05:36 AM
Replies: 2
Views: 1,758
Posted By Lombra
First return from tooltip:GetItem() is the item...

First return from tooltip:GetItem() is the item name, which only works with GetItemInfo if you have the item in question. Use the second return, item link, instead.
Forum: General Authoring Discussion 07-03-17, 01:20 PM
Replies: 19
Views: 6,788
Posted By Lombra
It's not a loophole or a bug or anything. It's...

It's not a loophole or a bug or anything. It's just for a moment (probably before loading screen is done) so that you may construct the UI before lockdowns are in place.
Forum: Lua/XML Help 06-25-17, 07:53 AM
Replies: 10
Views: 2,840
Posted By Lombra
Well the problem will be line 244: if msg ==...

Well the problem will be line 244:
if msg == string.format(UNITDIESOTHER, key) then
I don't know what UNITDIESOTHER is, but you'll want to replace it with something else.
Forum: Lua/XML Help 05-20-17, 03:59 PM
Replies: 11
Views: 5,337
Posted By Lombra
Your script file loads before the Main frame is...

Your script file loads before the Main frame is created. One way to fix it that require minimal change would be to add raidDrop:SetParent(Main) to OnLoad. Might need to do SetPoint after that. Not...
Forum: Lua/XML Help 05-20-17, 01:38 PM
Replies: 11
Views: 5,337
Posted By Lombra
If Main is the name of your frame, it needs to be...

If Main is the name of your frame, it needs to be enclosed within quotes. (and you should use a more unique name to avoid potential namespace conflict) Otherwise, the Main variable is not available...
Forum: Lua/XML Help 05-19-17, 12:59 PM
Replies: 21
Views: 6,977
Posted By Lombra
You should try CHAT_MSG_LOOT. I don't know that...

You should try CHAT_MSG_LOOT. I don't know that it will fire for every conceivable situation, but I don't think BAG_UPDATE will work very well. First of all you'd need to keep track of what's...
Forum: Lua/XML Help 05-19-17, 03:21 AM
Replies: 4
Views: 1,550
Posted By Lombra
Maybe use a simple value, such as true or false....

Maybe use a simple value, such as true or false. Or even an empty string if that helps somehow.
Forum: Lua/XML Help 05-08-17, 02:09 PM
Replies: 29
Views: 7,648
Posted By Lombra
Fair enough. :)

Fair enough. :)
Forum: Lua/XML Help 05-08-17, 12:39 PM
Replies: 29
Views: 7,648
Posted By Lombra
I'm not saying you did, but it's important not to...

I'm not saying you did, but it's important not to take my quote out of context. I referred to this code sample, specifically. The call to getfenv() will take "much" longer than what you gained from...
Forum: Lua/XML Help 05-07-17, 05:35 PM
Replies: 29
Views: 7,648
Posted By Lombra
Pretty sure it's a net loss, even.

Pretty sure it's a net loss, even.
Forum: Lua/XML Help 05-04-17, 09:12 AM
Replies: 10
Views: 3,931
Posted By Lombra
That does nothing.

That does nothing.
Showing results 1 to 25 of 500