Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: Maia
Forum: AddOn Search/Requests 10-02-06, 06:16 AM
Replies: 15
Views: 6,840
Posted By Maia
The error you're experiencing is related to...

The error you're experiencing is related to AceComm, which is an embedded library you'll see in quite a few Ace addons. The author is aware of it, so it should be fixed soon.
Forum: General Authoring Discussion 05-12-06, 06:48 AM
Replies: 5
Views: 6,883
Posted By Maia
There is no way to check if someone is out of...

There is no way to check if someone is out of LOS. You can check the range with SpellCanTargetUnit(unit). As for LOS, the event you'd have to watch is UI_ERROR_MESSAGE with...
Forum: Lua/XML Help 04-24-06, 07:07 PM
Replies: 1
Views: 3,626
Posted By Maia
help with regular expressions

I'm trying to parse the playerNames from the combat log. Therefor I'm watching some events. DamageMeters is using string.find such as:

string.gfind(arg1, "(.+) hits (.+) for...
Forum: Lua/XML Help 04-21-06, 01:56 PM
Replies: 8
Views: 6,189
Posted By Maia
of course you don't need sender and channel - I...

of course you don't need sender and channel - I just assumed you might want to parse that info as well. As for string.find, check out the lua...
Forum: Lua/XML Help 04-20-06, 09:56 PM
Replies: 8
Views: 6,189
Posted By Maia
exactly. Now add something like local message =...

exactly. Now add something like

local message = arg1
local sender = arg2
local channel = arg9
if channel == whatever and string.gsub(message,...) then
-- do whatever
end

I just never memorize...
Forum: Lua/XML Help 04-19-06, 02:18 AM
Replies: 8
Views: 6,189
Posted By Maia
yes, it is possible. register the event...

yes, it is possible. register the event CHAT_MSG_CHANNEL and once it fires grab the arguments arg1 (the message), arg2 (the sender), arg9 (the channel). Now do your checks (only in specific...
Forum: Lua/XML Help 04-18-06, 06:55 PM
Replies: 0
Views: 9,916
Posted By Maia
RAID_ROSTER_UPDATE vs PARTY_MEMBERS_CHANGED

Has anyone ever tested exactly when the 2 events RAID_ROSTER_UPDATE and PARTY_MEMBERS_CHANGED fire? I'm working on a raid addon, so I need an up-to-date roster information (a table storing name,...
Forum: Lua/XML Help 04-18-06, 06:37 PM
Replies: 10
Views: 6,030
Posted By Maia
Thanks everyone for your help. I really...

Thanks everyone for your help. I really appreciate it!
Forum: Lua/XML Help 04-13-06, 05:34 PM
Replies: 10
Views: 6,030
Posted By Maia
Well, this might make it a bit easier, but still...

Well, this might make it a bit easier, but still not perfect:

function hasAggro(unit)
if UnitExists(unit.."target") and UnitCanAttack("player",unit.."target") and UnitExists(unit.."targettarget")...
Forum: Lua/XML Help 04-13-06, 12:03 PM
Replies: 10
Views: 6,030
Posted By Maia
Elviso, MoonWolf, Svip, thanks a lot (plus Mark...

Elviso, MoonWolf, Svip, thanks a lot (plus Mark and Tyrone who submitted suggestions directly in the pastebin).

As for the local variable problem:
Svip, I did declare myAddon={} in the first lua...
Forum: General Authoring Discussion 04-12-06, 02:11 PM
Replies: 5
Views: 3,489
Posted By Maia
Elviso, I can't really comment on the code as it...

Elviso, I can't really comment on the code as it looks pretty streamlined to me - but I wouldnt call myself an expert at all. But I'd like to thank you for linking pastebin - I love it.
Forum: Lua/XML Help 04-12-06, 10:28 AM
Replies: 10
Views: 6,030
Posted By Maia
Code optimization for novices

I've been working on an addon (which atm is only available to my guildies) during the past weeks - and the more it grows, the more I feel the need for optimizing my code.

I never really learned...
Forum: Released AddOns 04-09-06, 10:18 AM
Replies: 83
Views: 57,299
Posted By Maia
Hmm, so FastCast saves the function name and will...

Hmm, so FastCast saves the function name and will prevent calling that function again until it thinks it may be called again? Because the function that is available via a keybinding in my addon does...
Forum: Released AddOns 04-05-06, 07:59 AM
Replies: 83
Views: 57,299
Posted By Maia
Exactly. It will attempt to choose the...

Exactly. It will attempt to choose the appropriate rank depending on pvp/pve, class,...



Well, so this is a either/or solution. Cast fast but not able to cancel or cast slow and be able to cancel?...
Forum: Released AddOns 04-03-06, 10:05 AM
Replies: 83
Views: 57,299
Posted By Maia
Cirk, as auto cancellation of heals (aka mana...

Cirk,
as auto cancellation of heals (aka mana conserve) is history, I've added some code to an addon I provide to my guild which will warn if a spell being cast should better be cancelled. So my...
Showing results 1 to 15 of 15