Showing results 1 to 25 of 250
Search took 0.02 seconds.
Search: Posts Made By: Lombra
Forum: General Authoring Discussion 12-09-14, 05:00 AM
Replies: 14
Views: 681
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: 260
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: 392
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: 412
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: 412
Posted By Lombra
IsNPCCrafting()

IsNPCCrafting()
Forum: Lua/XML Help 11-27-14, 06:18 PM
Replies: 43
Views: 1,892
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: 317
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: 327
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: 282
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,266
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: 2,952
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: 472
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: 378
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: 487
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,187
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,...
Forum: Lua/XML Help 10-22-14, 02:46 PM
Replies: 4
Views: 432
Posted By Lombra
Yes. :) You can also just do it when you create...

Yes. :) You can also just do it when you create the stuff. If it's a frame you put is as the third argument.
CreateFrame("Frame", nil, TargetFrame)
Or if it's a texture or a fontstring you use the...
Forum: Lua/XML Help 10-22-14, 12:19 PM
Replies: 4
Views: 432
Posted By Lombra
I don't completely understand, but you'll...

I don't completely understand, but you'll probably want to create your own frames as children of the TargetFrame. They will then get shown and hidden along with it without any extra logic.
Forum: General Authoring Discussion 10-20-14, 11:55 AM
Replies: 3
Views: 450
Posted By Lombra
Dealing with [instance] map IDs

Hey,
I've never really dealt with these things before. I'm looking to identify an instance zone (while being inside of it) by some locale independent variable. I understand this is possible for zones...
Forum: Lua/XML Help 10-19-14, 10:30 AM
Replies: 2
Views: 440
Posted By Lombra
EnableAddOn("Addon") ReloadUI()

EnableAddOn("Addon")
ReloadUI()
Forum: General Authoring Discussion 10-19-14, 04:05 AM
Replies: 4
Views: 517
Posted By Lombra
If there are no actual issues you don't need to...

If there are no actual issues you don't need to worry about it, generally. It's not very easy to track it down. Sometimes the taint log can be useful. Most often it's not. ('/console taintlog 1' and...
Forum: Lua/XML Help 10-18-14, 03:49 PM
Replies: 6
Views: 599
Posted By Lombra
You can't be logged on to a character.

You can't be logged on to a character.
Forum: Lua/XML Help 10-17-14, 07:15 AM
Replies: 2
Views: 401
Posted By Lombra
I looked into this some time ago. It's easy...

I looked into this some time ago. It's easy enough to make a chat filter that insert the appropriate color coding, as the item ID is included in the link. The problem is that you won't be able to get...
Forum: WoD Beta API and Graphics Changes 10-16-14, 05:39 PM
Replies: 2
Views: 488
Posted By Lombra
Not much to know. It uses the regular container...

Not much to know. It uses the regular container API.

GetContainerItemInfo(REAGENTBANK_CONTAINER, slot)
and you have a coupla events
REAGENTBANK_PURCHASED
PLAYERREAGENTBANKSLOTS_CHANGED(slot)
Forum: General Authoring Discussion 10-15-14, 04:03 PM
Replies: 6
Views: 722
Posted By Lombra
Works for me. I always put them in WoW\Sound...

Works for me. I always put them in WoW\Sound rather than WoW\Data\Sound. Dunno if that's the breaking factor. (also Sound, not Sounds, not sure if that was a mistake on your part)
Forum: WoD Beta General Chat 10-14-14, 06:32 AM
Replies: 9
Views: 1,643
Posted By Lombra
I don't believe you can. It's just a spell effect...

I don't believe you can. It's just a spell effect like any other. Like those lil' things that briefly appear above your head when you change warrior stances.
Showing results 1 to 25 of 250