SnaFu purports to track soulstones on members in your current grouping.
SnaFu also provides minor pet command capability for Warlocks.
Provides the user with the number of soulstones in place on members of the current
grouping (party, raid, solo).
Provides the name and class (via colouring) as well as time left on the stones (subject to limitations).
Provides a rough estimate (to within 15 seconds) of the cooldown on other warlocks soulstones.
This info is only shared amoungst other users of SnaFu v1.4 and higher.
Provides an audio, splash, and text notification on soulstone buff loss (either from death or expiration).
FuBar text can be toggled to show number of soulstones in place, or time to expiration of the oldest stone (subject to Known Limitations on timers)
For the warlock user, it also provides a keybinding to access pet skills in a dumb fashion.
Voidwalker - Sacrifices pet if the pet's health is below 11%
Felhunter - Attempts to Devour Magic on the target, player, (in that order), or
Attempts to Spell Lock the target. (zero spell detection. No, I won't code that in.)
Succubus - Seduces target if a humanoid (very VERY limited reseduction support.)
Imp - Plays a sound. (the imp is so noisy!)
I don't expect to provide very much configurability or logic here. It's purpose is to remove the bloat left by Graguk's Servitude in his absence, as well as Blizzard's hamstringing of functions. After awhile, I may strip this out into it's own addon.
Chat channel (should be unaffected by drunkeness)
/SnaFu chat <message>
Misc. other functions I think.
Known bugs: None
Not compatible with SnaFu 1.3. All SnaFu users in a raid must either have 1.4 or higher,
*OR* 1.2 or lower. (1.2 has no communcation function, and so is unaffected.)
1.3 was a quick hack to learn to use the comms. :)
Seduction support is incomplete. Does not properly reset when targets change. I'm not sure
how to deal with this, for now, so it just resets after a minute. For right now, if you want
to autoreseduce a new target more frequently than that, you're on your own.
Scanned SS timers set to 30 minutes on first detection of stones (i.e., from logging in, joining a raid, etc.)
If they have SnaFu, it'll be fine, though.
Timer *is* accurate for stones the player possess.
More robust seduction support, obviously. :)
Conquer world and institute an iron-fisted regime with myself as soul ruler. (James Brown, baby! YOW!)
self:Update should probably be self.Update, I haven't used Metrognome, but generally when you're passing a method you wanna use the table form, and then pass itself as the first arg. (That's what the : operator does, passes itself)
self:Update is telling lua that it should be a method, but is missing the (), so it tosses up an error.
I'm not sure, but I think WH makes it's own frame. (I'm looking at 2.0.) It also does something with SCT and MSBT, but I can't figure that out.
For now, I think I'll stay with a simple chatframe message and maybe a sound file, since that's much easier for me to figure how to do. :)
On the other hand, I'm not sure how to create an empty table that I can populate and depopulate with names and times.
Right now, I check the raid person by person, and return true if they have a stone. Then I add up all the trues and I have a number.
What I'd like to do now is add a guy's name to a list (and soon an Nx2 matrix to include times) so I can just dimension the matrix to get the number of stones in the raid. I think I can then use the matrix with Tablet to make the mouseover tooltip informative.
Problems with this:
I don't know how to make an empty table that persists beyond local functions.
I don't know how to append stuff to a table.
Oh, and I'm going out of town tomorrow morning. =p
Stick it on the SVN!! ^^ (edit: Oh, you already did it,cool)
Nice work Theondry, really....
(Did you see my 'bugreport' in the Fubar2 thread?
I am getting errors with the 'PURPLE' crayon lib call. I changed the .lua entries from purple to gold and got no more errors):)
That thread is too long for me to read.
The purple is a local thing for the version of crayon I'm messing with. once I figure out what color "warlock purple" is (in hex values), I'll pester CKK to see if it's okay that I update CrayonLib with it.
Until then, I think people are going to be suffering with that... I'll edit the top post with that.
For now, SnaFu does only work 'at half' for me.
Please refer to the functionality listed in the program so far. What you say it does is all it does so far. Also, notice that the title of the mouseover frame is "Teaser crap". The best idea I can offer is to please wait until I've programmed that functionality in. (Have you tried clicking on the icon, yet? :)
Also, Kyahx, please note that the other thread is for FuBar 2.0 on the trunk. SnaFu isn't a relevant topic over there so people shouldn't be sticking bug reports in there. (Yes, I know I mention SnaFu there... I'll edit that post and put something into the thread about it, just to cover my ass.)