Showing results 1 to 25 of 260
Search took 0.01 seconds.
Search: Posts Made By: Lombra
Forum: General Authoring Discussion Yesterday, 06:27 AM
Replies: 20
Views: 644
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: 429
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: 429
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: 17
Views: 1,202
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: 523
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
Forum: Lua/XML Help 01-14-15, 06:07 PM
Replies: 25
Views: 534
Posted By Lombra
I don't understand why LibDBIcon exists. There...

I don't understand why LibDBIcon exists. There should just be a Broker display addon that uses minimap buttons instead.
Forum: Lua/XML Help 01-14-15, 06:27 AM
Replies: 13
Views: 428
Posted By Lombra
I've encountered issues with editboxes being...

I've encountered issues with editboxes being empty before. Think it worked when I first hid the parent frame or something.
Forum: Lua/XML Help 01-12-15, 08:09 PM
Replies: 9
Views: 377
Posted By Lombra
I like the concept behind using XML for frames,...

I like the concept behind using XML for frames, in that the language format is structured to actually represent the logical structure of the elements, and that it clearly separates elements from...
Forum: Lua/XML Help 01-10-15, 10:23 AM
Replies: 16
Views: 696
Posted By Lombra
The minimap text changes when you enter a...

The minimap text changes when you enter a building so it should be trivial.
Forum: Lua/XML Help 01-09-15, 06:40 PM
Replies: 16
Views: 696
Posted By Lombra
I also think the radius of the actual zone is...

I also think the radius of the actual zone is different than that of the phased area. Maybe the different functions pertains to those two different areas.
Forum: General Authoring Discussion 12-09-14, 05:00 AM
Replies: 14
Views: 1,283
Posted By Lombra
You can in the Battle.net launcher specify...

You can in the Battle.net launcher specify application parameters for each game yes, if that's what you meant.
Forum: Lua/XML Help 12-04-14, 05:31 AM
Replies: 4
Views: 519
Posted By Lombra
SendChatMessage is a function, like...

SendChatMessage is a function, like this:
function SendChatMessage(...)
end
But this is a function call:
SendChatMessage("hi")

/dump math.floor
=function

but
Forum: General Authoring Discussion 12-01-14, 05:22 AM
Replies: 5
Views: 606
Posted By Lombra
SavedVariables .bkp files?

Hi,
just something I thought I'd finally ask. Does anyone know about the logic of the .bkp backup files in SavedVariables? Last time I checked some of them (which was some time ago) the data was very...
Forum: Lua/XML Help 11-29-14, 11:27 AM
Replies: 9
Views: 758
Posted By Lombra
There are no arguments. Just call it to determine...

There are no arguments. Just call it to determine whether the currently open tradeskill window belongs to an(y) NPC. :)
Forum: Lua/XML Help 11-29-14, 06:40 AM
Replies: 9
Views: 758
Posted By Lombra
IsNPCCrafting()

IsNPCCrafting()
Forum: Lua/XML Help 11-27-14, 06:18 PM
Replies: 43
Views: 2,383
Posted By Lombra
barQWindowCheckButton:SetScript("OnClick", ...

barQWindowCheckButton:SetScript("OnClick",
function(self, button)
local checked = self:GetChecked()
barQWindow:SetShown(checked) then
savedVariables["someFrame"] = checked
end
)
For...
Forum: Lua/XML Help 11-26-14, 07:34 PM
Replies: 4
Views: 533
Posted By Lombra
"t/l" is a typo? Either way, doing that should,...

"t/l" is a typo? Either way, doing that should, for all intents and purposes, be the same as using pairs, because basically pairs returns a function, whereas here you just provide a function...
Forum: Lua/XML Help 11-26-14, 04:53 AM
Replies: 7
Views: 552
Posted By Lombra
That is, they are not required and it's purely a...

That is, they are not required and it's purely a matter of personal preference. :P
Forum: Lua/XML Help 11-24-14, 07:13 AM
Replies: 3
Views: 497
Posted By Lombra
Yes, they should be different as AceDB:New...

Yes, they should be different as AceDB:New returns a different table full of magics and stuff that refers to various places in your "real" saved variables. Your global table is somewhere in there,...
Forum: Lua/XML Help 11-03-14, 05:24 AM
Replies: 31
Views: 1,758
Posted By Lombra
Just do this then: local title, M = ...; M.frame...

Just do this then:
local title, M = ...;
M.frame = CreateFrame("Frame")
Forum: Lua/XML Help 10-30-14, 07:41 AM
Replies: 22
Views: 3,156
Posted By Lombra
Yes! The underscore is not in any way special and...

Yes! The underscore is not in any way special and will leak like any other variable. It's arguably even more important to make sure that it's local, since it's so common that a conflict is at even...
Forum: General Authoring Discussion 10-26-14, 06:46 PM
Replies: 3
Views: 694
Posted By Lombra
PLAYER_LOGIN will always happen on UI load....

PLAYER_LOGIN will always happen on UI load. (actual login and UI reload) If your addon is loaded on demand it might be loaded (as in ADDON_LOADED) when PLAYER_LOGIN has already happened, otherwise...
Forum: General Authoring Discussion 10-26-14, 06:39 PM
Replies: 4
Views: 602
Posted By Lombra
I don't know how much of this you already figured...

I don't know how much of this you already figured out, but


You shouldn't be thinking of it like that. You have only one value, which is the table.

local value = {34132, 70.5, 63.5,...
Forum: Lua/XML Help 10-26-14, 11:01 AM
Replies: 5
Views: 628
Posted By Lombra
I have done that before and I'm pretty sure it...

I have done that before and I'm pretty sure it tainted stuff. Only makes sense, anyway.
Forum: Lua/XML Help 10-24-14, 07:39 PM
Replies: 20
Views: 1,530
Posted By Lombra
Now that stuff stacks to 200 I don't even see a...

Now that stuff stacks to 200 I don't even see a need for the reagent bank, personally. I'm rarely going to have more than one stack of something at any one time, so if I keep putting it in the bank,...
Showing results 1 to 25 of 260