Download
(2Kb)
Download
Updated: 05-03-11 12:24 PM
Pictures
File Info
Updated:05-03-11 12:24 PM
Created:04-29-11 03:22 PM
Downloads:2,500
Favorites:9
MD5:

LayCallToArmsAlert

Version: 1.0
by: Layrajha [More]

This addon is here so that you don't miss one of the new "Call to Arms" for random dungeons, if you play a Tank or a Healer (or a Damage dealer and you play on a rather strangely populated realm). Whenever at least one of the roles that you have checked in the dungeon finder becomes of Call to Arms, you are alerted by either a sound, a text message, or both. You can also warn your guild (currently, it will warn only the roles that you have selected).

Currently, it is no more than a small hack in beta version. No configuration available. It works for Cataclysm Heroics and Rise of the Zandalari Heroics. Enabling and disabling different types of dungeons should be added in a future version.

To configure, use Blizzard's menu to access the interface options, switch to the "Addons" tab, and select "LayCallToArmsAlert".



Version Log:

1.0:
Added an options menu,
Added the possibility to display the alert in guild chat,
Changed the name from "Call of Arms" to "Call to Arms" because not being a native English speaker makes you do stupid mistakes from time to time.

0.1a:
First working version

Optional Files (0)


Post A Reply Comment Options
Unread 06-18-11, 05:57 PM  
Thortok2000
A Defias Bandit
 
Thortok2000's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 367
Uploads: 3
So far this is the only addon I know of that performs this function, and it's still stuck at having to manually turn it on every time you log in. It won't remember the setting.

Anyone have a patch for this?
__________________
“I don’t know half of you half as well as I should like; and I like less than half of you half as well as you deserve.” — Bilbo Baggins, from his speech on his eleventy-first birthday.
Report comment to moderator  
Reply With Quote
Unread 05-23-11, 06:58 PM  
gezus
A Deviate Faerie Dragon

Forum posts: 11
File comments: 71
Uploads: 0
I will try to fix that fast tomorrow. I won't have much time to code, but it shouldn't require much change. Hopefully it will be fixed before the weekend, because else I will not be able to do it before next week.
Weekend is over. lol.
Report comment to moderator  
Reply With Quote
Unread 05-23-11, 02:32 PM  
Kewi
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 8
Uploads: 1
I agree...

An auto-On / Always-on feature would be nice.


It's "okay" as is, but i swap a lot of characters... I hate to go into options 2-3 times an hour (while waiting for a CTA)
__________________
-Kewi
Report comment to moderator  
Reply With Quote
Unread 05-20-11, 07:33 PM  
gezus
A Deviate Faerie Dragon

Forum posts: 11
File comments: 71
Uploads: 0
well, I feel stupid. I have been busting my brain in this Lua, trying to find a way to get this mod to be "On" or "Loaded" by default. and no matter what I do .. seems I have to open the interface panel, find the addon, and manually turn it on. Upon every log in.

I know it's not that major of a deal... but I forget, and piss myself off :P .. lol
Report comment to moderator  
Reply With Quote
Unread 05-19-11, 04:00 PM  
chinobar
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Agree.
I have been looking through other similar addons and this has the most elegant solution to it!
Report comment to moderator  
Reply With Quote
Unread 05-19-11, 12:26 PM  
gezus
A Deviate Faerie Dragon

Forum posts: 11
File comments: 71
Uploads: 0
Okay so yeah, this addon is by far one of the most useful to date. However .. the issue with it having to be turned on manually every time you log in, has got to be fixed. I had a look in the LUA but alas I am no programer, and was lost in no time. Though it did look to me like it was already set to be on by default, must be something else.
Report comment to moderator  
Reply With Quote
Unread 05-05-11, 06:24 PM  
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 17
Uploads: 3
I will try to fix that fast tomorrow. I won't have much time to code, but it shouldn't require much change. Hopefully it will be fixed before the weekend, because else I will not be able to do it before next week.
Report comment to moderator  
Reply With Quote
Unread 05-05-11, 05:34 PM  
chinobar
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Lovely addon, exactly what i was looking for, so thank you!

However, i have a problem with it, and that is that it seem to reset the "Enable LayCallToArmsAlert" option everytime you logout.
So the next time you log in, the option still isn't checked.
Report comment to moderator  
Reply With Quote
Unread 05-03-11, 01:24 PM  
Amalisa
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Thanks Lay <3
Report comment to moderator  
Reply With Quote
Unread 05-02-11, 08:45 AM  
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 17
Uploads: 3
It will alert you depending on what roles you have checked in the LFD interface. If you checked "Damage" only, then yes, you will get a warning. Similarly, if you are an hybrid class and have decided not to select "Healer" in the LFD frame, you will not get warned about Healer Call to Arms.

While it checks what is selected, it obviously doesn't matter if you are in queue or not. Just make sure the roles you want to play are checked.
Report comment to moderator  
Reply With Quote
Unread 04-30-11, 03:47 PM  
Ranguvar
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Does this work for DPS as well?
I know the chances of a DPS Call to Arms is extremely unlikely, but it's not impossible, and indeed it would be my reason for getting this (wouldn't want to miss out on that!).
Report comment to moderator  
Reply With Quote
Unread 04-29-11, 05:09 PM  
Layrajha
A Frostmaul Preserver
 
Layrajha's Avatar
AddOn Author - Click to view AddOns

Forum posts: 275
File comments: 17
Uploads: 3
Thank you for your comment!

You're probably right about the first comment, I didn't check that properly, and I didn't find the information about that event on wowwiki (the event is there, but undocumented). I will update that and make sure it works.

About your second comment, the second parameter seems to be the priority. 3 clearly means that you don't have a call to arms, and 1 that you have it. I think that 2 is in between, shorter queues, but with no rewards anyway. Unless I've done a stupid mistake in the code, it should be fine, I think.


Edit:
Confirming after a few tests that it should work once version 0.1a has been accepted by wowi's staff. Thank you again.
Last edited by Layrajha : 04-29-11 at 05:32 PM.
Report comment to moderator  
Reply With Quote
Unread 04-29-11, 04:32 PM  
lordkarthas
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 44
Uploads: 4
I don't think it's going to work quite as you intended. You need to call RequestLFDPlayerLockInfo() to update the Call To Arms information from the server (otherwise it only updates when you open the Dungeon Finder). When you get the results back from the server, the event LFG_UPDATE_RANDOM_INFO is thrown.

Also, there can be more than one Call To Arms active at a time (the second parameter for GetLFGRoleShortageRewards can be 1 to LFG_ROLE_NUM_SHORTAGE_TYPES). I've seen both tanks and healers get rewards at the same time.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.