The leader of the druids in our raid needed an addon to have an overview over the Innervate and Rebirth cooldowns of the druids in the raid and wasn't quite content with the existing ones. So I made him one.
The Druidcom Interface lists all druids in the raid, coloring the names and subgroupnumbers according to their status
Green: Everything ok
Yellow: Out of range
Blue: No Druidcom found
Next to the name of each druid are two buttons. One for Innervate, one for Rebirth. If the druid has already sent his cooldown status, the buttons will display these cooldowns. If nothing was received yet, they will show a "?".
If you are leader of the raid or promoted, right-clicking one of the buttons will bring up a dropdown menu to select other players in the raid, sorted by class. You may customize which classes you want to see (warriors and rogues can only be shown in the Rebirth menu). In the Innervate dropdown, only people with mana below a customizable threshold are displayed, in the Rebirth dropdown, only dead people are displayed. Clicking one of these names will send a request to the druid the button belongs to, to innervate / resurrect the respective player.
On receiving a request, a dialog will pop up to choose whether the request shall be fulfilled immediately (clicking the OK Button will innervate / resurrect the player the dialog refers to, while keeping the current target) or recline it. If the requested target is innervated / resurrected, the button in Druidcom will flash green for every druid using Druidcom. If (within 20 seconds) a different target is innervated / resurrected, the button will flash yellow. If nothing is done (reclined or ignored the request), the button will flash red.
For the cooldown information to be as reliable as possible, every leader/promoted has a "Refresh" button. Upon clicking it, alle Druidcom users will send an update about their cooldowns. Optionally, an automatic update will be requested every 10 Seconds (interval customizable).
At the moment, there is no "Druidcom leader" (yet). Everyone with an 'A' or 'L' in the raid has the same rights. This also includes the automatic updates. I don't know which revision you were using, but there should be a slider for the Update Interval in the config dropdown. Set it to '0' for everyone but one person and you should be fine. I recognize this is inconvenient, so I will try and implement some kind of automatic mechanism to determine one person who broadcasts update requests regularly.
As for the mana threshold, I noticed that too. I replaced the "<" with a "<=" in some revision, don't remember which one. This should enable you to select people with 100% mana when the threshold is at 100%.
Scaling is another thing that will take some time to figure out. But I know just too well that healers sometimes wish to be able to use two screens, so it's scheduled right after the bugfixes and polishing.
OK, folks, I reworked the code until I myself didn't recognize it. It's more generic now, meaning it should be little effort to adapt it to other classes abilities (think of taunt rotation for warriors). It's also more robust, at least I hope so. But this rework also means I probably broke some things that worked before. The good news is that there was so little that worked before that I probably did'nt break something at all. ;-)
Another thing I made major changes to are the cooldown timers. Although there are three timers per druid now (instead of one global timer and one per druid), they should be much more efficient now as they 'tick' less frequently.
I recommend deleting the Druidcom folder and you should probably remove the file
in the same directory prior to installing the new version.
Now, I really need your help. I don't have a druid character myself and most of my druid friends don't have much time to help me testing. So I have to rely on you to find everything that doesn't work yet. I will check this thread and the Flyspray bugtracker several times a day (I've got plenty of time these days, yay to semester break!). I want the current version to do it's job before starting to implement features on the Todo-list, so do everything I don't expect of the user. Make requests like mad, let a druid leave the raid, try to break the addon in every way you can imagine. When you discovered something, please post it here or in Flyspray with a description as detailled as possible:
When did the error occur (when you did something, after something happened, etc)?
If there was an error message, please include it in the post (screenshot or by simply typing it)
If there was no error message, what happened (snycing didn't work, druid list wasn't updated) and especially, did the error go away after reloading the UI ("/console reloadui")?
Which revision were you using? If you downloaded it via the "plain download" link, look into your addon folder for a file named "changelog-Druidcom.txt". The revision number I would like to know is the first number "r1XXXXX"
Sorry for the offtopic:
For Rogues I'd so it different. I guess we are talking about a Kick and a Stun rotation, both separate.
Make the mod so that 1 leader can enter an "order" of Rogues. On use of the ability, the next one gets whispered to either "Prepare!" (previous Rogue connected the move) or "TAKE OVER!" (previous Rogue missed).
Of course, people who use either move out of sync report that to the master-runner, and the mod automatically switches to the next guy in rotation for this cycle (auto-adjusts to misfired timers). :)