Download
(194 Kb)
Download
Updated: 12-14-12 03:29 PM
Pictures
File Info
Updated:12-14-12 03:29 PM
Created:10-16-11 01:20 PM
Downloads:1,604
Favorites:16
MD5:
WarnMe
Version: 1.9.3
by: Xenyr [More]
WarnMe as the name suggests is a helper addon to tell me the player about specific events in the game. I use this addon to help me while raiding with the Shoreline guild on Steampike. The addon can raise warnings in the following circumstances:

- A specified emote is said
- An NPC says a particular thing
- A buff/debuff appears on player/target/focus
- A buff/debuff is missing from player/target/focus
- A buff/debuff reaches a preset number of stacks
- A buff/debuff is less than or equal to a preset number of stacks
- The health/mana/charge of player/target/focus is below/above a defined percentage
- An ability cooldown has started/ended
- A particular channeled spell has been cast

The addon splits warnings into two parts, warnings and events. An event is the situation to track, so a buff being missing is an example event. A warning is the action that takes place when an event occurs. The addon currently supports two types of warning:

- Display a text message on the screen, this can be a countdown clock
- Show an image on the screen
- Display the text or image periodically based on a timer
- Flash the screen
- Show a counter bar

Warnings can flash and be defined to disappear after a certain duration.

Events each have a defined scope. This scope helps define when the event is active. Scope is based on party size, role, combat status and character. Character can either be "All characters" or the name of a particular character. The addon settings are saved for all characters on the same shard, so you can easily define warnings and events for all your alts. You can select any of your 5 roles in the scope of an event. Unfortunately the addon interface does not allow addons to determine your current role or notice when you change roles. This means you must tell the addon when you change roles. This can via the slash command "/warnme role n" where n is the new role number. The best way to handle roles is via a role change macro. Here is the macro I use to switch into role 3:

loadequip 3
role 3
warnme role 3

You can use your own images with WarnMe. Just download and install the MyTextures stub addon. Now copy your image files into the newly created Interface\Addons\MyTextures directory in your Rift game folder. Images can be jpeg, png, dds or tga format. See Example 4 below on configuring a texture warning using your own image.

Lets use some examples to help clarify the warning/event definitions.

Example 1 - Show the message "AWAY" when the player gets the Ancient Flames debuff from Vladmal Prime

First we create the warning "AWAY" message:
  1. Type "/warnme" to open the config window
  2. Press the Add button beside "Warnings Text" to bring up the "Text Warning Editor"
  3. Enter AWAY in the Name field. This value must be unique across all warnings.
  4. Enter AWAY in the Display String field. This is the string you will see on the screen
  5. Press the Choose button beside x%,y% and then click the mouse where you want the warning to appear
  6. Leave the Font Size at 200, we dont want to miss this message
  7. Leave the duration at 5, meaning the message will disappear after 5 seconds
  8. Leave the alpha at 1, which will keep the text fully opaque
  9. Press the Choose button beside Test Colour if you wish to change the text colour
  10. Move the Flash Frequency slider to 0, which means the text will not flash
  11. Press OK

Now we have our warning we need an event to trigger it:
  1. Type "/warnme" to open the config window
  2. Press the Add button beside the "Events Buff"
  3. Enter Ancient Flames in the Name field. This value must be unique across all events. I have used the debuff name here but you can choose any value as long as it is unique.
  4. Press the Choose button beside Warning and select AWAY from the popup
  5. Enter Ancient Flames in the Buff Name field. This must be the exact buff name.
  6. Leave the Buff target set to player
  7. Leave the Buff type as Buff/Debuff exists
  8. Leave all the checkboxes alone, as they are already defined for raid events.
  9. Press OK

Now press OK on the main warnme config screen and we are done. When you next meet Vladmal your warning will popup. Rather than wait we should test it by using one of your own buffs. So lets edit the event and change the buff name so you can test it:
  1. Type "/warnme" to open the config window
  2. Press the Edit button beside the "Events Buff"
  3. Select Ancient Flames from the popup
  4. Change the Buff Name field from Ancient Flames to be the name of one of your own buffs
  5. Press OK to finish editing the event
  6. Press OK on the warnme config screen

Now the message should appear when you cast your buff and disappear when you cancel the buff.

Example 2 - Show the same "AWAY" message when Inwar Darktide does his surge emote. We will re-use the AWAY warning we made in 1 above, as many events can all share the same warning. This was the reason I split warnings from events. Lets add a new event:
  1. Type "/warnme" to open the config window
  2. Press the Add button beside the "Events Emote"
  3. Enter Surge in the Name field
  4. Press the Choose button beside Warning and select AWAY from the popup
  5. Enter "Rage surges through Inwar Darktide's body" in the emote field without the double quotes
  6. Leave all the checkboxes alone, as they are already defined for raid events.
  7. Press OK
  8. Press OK on the warnme config screen

Now we will also see the AWAY warning when the boss does his surge emote. Note that the emote string must be exactly what the boss says, including an punctation marks at the end. This is to keep the addon cpu usage low. The best way of capturing an emote string is type /log to enable non-combat logging. Fight the boss and then you will be able to copy his emote string from the log.txt file in your Rift game directory.

Example 3 - Show the Fervor texture when I am in a raid and in combat but missing both the Anthem of Fervor and Living Energy buffs
  1. Type "/warnme" to open the config window
  2. Press the Add button beside "Warnings Texture" to bring up the "Texture Warning Editor"
  3. Enter Fervor in the Name field. This value must be unique across all warnings.
  4. Leave the Addon as Rift
  5. Press the Choose button beside Texture field to bring up the "Texture selector"
  6. Click on the Anthem of Fervor icon and press OK. The icons are in alphabetical order.
  7. Press the Choose button beside x%,y% and then click the mouse where you want the warning to appear
  8. Change the scaling slider to 200, as we want our icon to be twice as big as normal
  9. Change the duration to 0 meaning it will always show
  10. Leave the alpha at 1, which will keep the text fully opaque
  11. Move the Flash Frequency slider to 0, which means the icon will not flash
  12. Press OK save the warning
  13. Press the Add button beside the "Events Buff"
  14. Enter FervorLE in the Name field. This value must be unique across all events.
  15. Press the Choose button beside Warning and select Fervor from the popup
  16. Enter Anthem of Fervor, Living Energy in the Buff Name field. This comma separated list of buffs can only be used for the buff missing type.
  17. Leave the Buff target set to player
  18. Change the Buff type as Buff/Debuff is missing
  19. Uncheck the Out Combat check box, as we only want this warning to show when in combat.
  20. Press OK

Example 4 - Create a texture warning using your own image file
  1. Copy your texture file into the Interface\Addons\MyTextures addon directory in your Rift game folder
  2. Type "/warnme" to open the config window
  3. Press the Add button beside "Warnings Texture" to bring up the "Texture Warning Editor"
  4. Enter SuperDuperImage in the Name field. This value must be unique across all warnings.
  5. Change the Addon to MyTextures
  6. Change the Texture field to be the filename of your image, so BlueWaveCircle.png in my case
  7. Press the Choose button beside x%,y% and then click the mouse where you want the warning to appear
  8. Leave the scaling slider to 100, as we want our icon to be default size
  9. Change the duration to 0 meaning it will always show
  10. Leave the alpha at 1, which will keep the text fully opaque
  11. Move the Flash Frequency slider to 0, which means the icon will not flash
  12. Press OK save the warning

You can see an example picture using an image in the uploaded addon screenshots.

Example 5 - 40 second wave alert for Akylios phase 1

Use the below instuctions to display a texture image 5 seconds before the waves will hit in phase 1. This will fire 3 times. This alert also needs the MyTextures stub addon, so download it from http://www.riftui.com/downloads/info106-MyTextures.html
  1. Copy your texture file into the Interface\Addons\MyTextures addon directory in your Rift game folder
  2. Type "/warnme" to open the config window
  3. Press the Add button beside "Warnings Texture" to bring up the "Texture Warning Editor"
  4. Enter BlueWave in the Name field.
  5. Change the Addon field to MyTextures
  6. Change the Texture field to be the filename of your image, so BlueWaveCircle.png in my case
  7. Leave x% at 50 and change y% to 55
  8. Leave the scaling slider to 100, as we want our icon to be default size
  9. Change the duration to 5
  10. Leave the alpha at 1, which will keep the text fully opaque
  11. Move the Flash Frequency slider to 0, which means the icon will not flash
  12. Press OK save the warning
  13. Press the Add button beside Timer
  14. Set the name field to be Akylios Wave40
  15. Press the Choose button beside Warning and choose BlueWave
  16. Change Initial Delay to be 38
  17. Change Timer Duration to be 40
  18. Change Repeats to be 2
  19. Press OK to save the timer
  20. Press the Add button beside Events Stat
  21. Set the name field to be Akylios Wave Timer40
  22. Press the Choose button beside Warning and choose Akylios Wave40
  23. Press the Choose button beside Target and select named
  24. Set the Target Name to be Jornaru
  25. Set the Health% to 50
  26. Leave the Event Type as Health % is greater than...
  27. Press OK to save the event

Example 7 - Display a cooldown countdown timer over an action bar button

Addons cannot interract with the action bars in the default Rift UI, so addon's like OmniCC in wow are not yet possible. You can simulate an ability icon cooldown timer by drawing the countdown on top of the button. This works well, but will need to be changed everytime you move your action bars. Use the below instuctions to display a 12 second countdown timer every time the Strike Like Iron ability is used.
  1. Type "/warnme" to open the config window
  2. Press the Add button beside "Warnings Text" to bring up the "Text Warning Editor"
  3. Enter SLITimer in the Name field. This value must be unique across all warnings.
  4. Enter " {Countdown}" in the Display String field. The initial space is necessary due to a bug in the Rift addon UI
  5. Press the Choose button beside x%,y% and then click the mouse in the middle of your "Strike Like Iron" ability button
  6. Change the Font Size to 40
  7. Change the duration to 12, which is the length of the ability cooldown
  8. Leave the alpha at 1, which will keep the text fully opaque
  9. Press the Choose button beside Text Colour if you wish to change the text colour
  10. Move the Flash Frequency slider to 10, which means the text will change colour after 10 seconds
  11. Press OK save the warning
  12. Press the Add button beside Events Ability
  13. Set the name field to be SLICountdown
  14. Press the Choose button beside Warning and choose SLITimer
  15. Set the Ability name to be "Strike like Iron"
  16. Leave the Event Type as Ability cooldown has started
  17. Press OK to save the event
Release 1.9.3
Rift 2.1 support

Release 1.9.2
Rift 2.0 support

1.9.1

Fix strange rift 1.9 behaviour for stat dialog

1.9
Turn off performance checking while addon is starting up

1.8.1
Fixed issue where button was placed wrong on scaled desktops

1.8
Rift patch 1.9 support
Added new ability available/unavailable events

1.7.1
Fixed range errors on castbar when target dies

1.7
Enhanced castbar events to trigger if the target is within a certain range
Added new custom events for RotP

1.5
Fixed castbar events for rift 1.8

Release 1.4

Rift 1.7 compatible
Detects role change automatically for role specific warnings

Release 1.3.1

Bug fix on new zone scope

Release 1.3

Rift 1.6 compatible
New custom warnings
Ability to monitor buffs/debuffs cast be self (experimental)
New zone scope allowing event to be limited to particular raids

Release 1.2.3

Fixed error with stacking buffs
Fixed button not retaining its new position
Fixed akylios wave timer

Release 1.2.2

Bug fix to allow Add Stat event to work again (oops)
Change to warnings to ensure all warnings flash in sync
Fix to settings upgrade to ensure old castbar and health events work with 1.2
Added abillity to overwrite custom warnings. This allows you to move them around.

Release 1.2.1

Small update to add import/export functionality

Release 1.2

Fixed bug with buff missing tracking on player.target
Added a timer countdown to the texture warning
Added a timer bar to the timer warning
Fixed a feature where player would go out of combat when raid was still in combat
Added some experimental custom warnings for Akylios
Added warning move button to allow easier placement of warnings
Archived Files (8)
File Name
Version
Size
Author
Date
1.9.2
190kB
Xenyr
11-24-12 03:39 AM
1.9.1
190kB
Xenyr
07-12-12 01:59 PM
1.9
190kB
Xenyr
07-03-12 01:03 PM
1.8.1
189kB
Xenyr
06-16-12 09:34 AM
1.8
189kB
Xenyr
06-16-12 09:07 AM
1.7.1
188kB
Xenyr
05-17-12 04:43 PM
1.7
188kB
Xenyr
05-12-12 05:01 AM
1.5
110kB
Xenyr
05-06-12 05:58 AM


Post A Reply Comment Options
Old 12-20-12, 01:44 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Quote:
Originally Posted by shroder300
is there a way to get warnme to post an alert when someone in my guild pops a rally banner?
Sorry, but I don't think this is possible with the current Rift API.
Xenyr is offline Report comment to moderator  
Reply With Quote
Old 12-20-12, 12:38 PM  
shroder300

Forum posts: 0
File comments: 1
Uploads: 0
is there a way to get warnme to post an alert when someone in my guild pops a rally banner?
shroder300 is offline Report comment to moderator  
Reply With Quote
Old 07-17-12, 03:58 PM  
Thorarin
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 66
Uploads: 1
Unfortunately I wasn't able to get the actual error message, but the addon was spamming constant errors tonight when I was raiding in Hammerknell. It started just after starting the Matron encounter, and then again at Sicaron.

I only had 1 text and 1 event set up, but it was for a character on a different shard, so it could not have been loaded.

I realize this is not a very useful bug report without the actual error, but I wanted to give a heads up anyway.
Thorarin is offline Report comment to moderator  
Reply With Quote
Old 07-12-12, 02:00 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Quote:
Originally Posted by Captspaulding
Why am I geting this

Error: WarnMe/StatEventConfig.lua:262: bad argument #2 to 'insert' (number expected, got string)
In WarnMe / WarnMe.OKButton:LeftPress
stack traceback:
[C]: in function 'insert'
WarnMe/StatEventConfig.lua:262: in function 'FillEvent'
WarnMe/StatEventConfig.lua:176: in function 'WindowClose'
WarnMe/StatEventConfig.lua:57: in function <WarnMe/StatEventConfig.lua:57>


Seems a strange Rift 1.9 glitch. Code looks fine but I have put a work around in place. Just download version 1.9.1 and it should be fine.
Xenyr is offline Report comment to moderator  
Reply With Quote
Old 07-12-12, 01:05 AM  
Captspaulding

Forum posts: 0
File comments: 4
Uploads: 0
Why am I geting this

Error: WarnMe/StatEventConfig.lua:262: bad argument #2 to 'insert' (number expected, got string)
In WarnMe / WarnMe.OKButton:LeftPress
stack traceback:
[C]: in function 'insert'
WarnMe/StatEventConfig.lua:262: in function 'FillEvent'
WarnMe/StatEventConfig.lua:176: in function 'WindowClose'
WarnMe/StatEventConfig.lua:57: in function <WarnMe/StatEventConfig.lua:57>


Captspaulding is offline Report comment to moderator  
Reply With Quote
Old 06-18-12, 06:23 PM  
Antalia

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Need help displaying a texture while an ability is off cooldown

Quote:
Originally Posted by Xenyr
Hey, you can't use ability start/end events to do what you are trying. I've put a new ability available mode in the new release (v1.8). Please download it and give it a go.
Works great, thanks very much!
Antalia is offline Report comment to moderator  
Reply With Quote
Old 06-16-12, 09:10 AM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Re: Need help displaying a texture while an ability is off cooldown

Quote:
Originally Posted by Antalia
I'd like to get a texture to show up when an ability is available (off cooldown), but I'm having trouble with it. I wanted to use this with some of my longer cooldowns, but I was just using Ruin to test, as it has a short cooldown.
Hey, you can't use ability start/end events to do what you are trying. I've put a new ability available mode in the new release (v1.8). Please download it and give it a go.
Xenyr is offline Report comment to moderator  
Reply With Quote
Old 06-12-12, 05:56 AM  
Antalia

Forum posts: 0
File comments: 3
Uploads: 0
Need help displaying a texture while an ability is off cooldown

I'd like to get a texture to show up when an ability is available (off cooldown), but I'm having trouble with it. I wanted to use this with some of my longer cooldowns, but I was just using Ruin to test, as it has a short cooldown. Here is an export of my best effort so far:
Code:
 {events = {["Ruin Available"] = {ability = {isBeginEvent = false, name = "Ruin"}, eventType = 9, name = "Ruin Available", scope = {inCombat = true, inCrossShardRaid = true, inParty = true, inRaid = true, isSolo = true, player = "Marsalli", roles = "1", zone = {}}, warningName = "Ruin Texture"}}, warnings = {["Ruin Texture"] = {addon = "Rift", alpha = 0.5, countdownDuration = 0, countdownFontColour = {blue = 1, green = 1, red = 1}, countdownHighlightColour = {blue = 0, green = 0, red = 1}, countdownHighlightDuration = 0, duration = 0, flashAlpha = 0.2, flashFrequency = 0, icon = "Data/\\UI\\ability_icons\\druid-hidden_path.dds", name = "Ruin Texture", scale = 100, str = "", warningType = 2, xPct = 54.32, yPct = 67.5}}}
It seems to work once and then stop. For example, if I use the ability to start combat, the texture is appropriately hidden and then appears when the ability comes off cooldown the first time. However, the texture keeps showing and doesn't hide again after I use the ability a second time or more. (It's not just Ruin, to be clear . I have the same problem with my Shambling Corpses and Grave Rot when I play as a necromancer.) How can I write this entry so that something appears onscreen while the ability is availabe, and hides while it's not? Thanks for any help and by the way, I love this addon!
Antalia is offline Report comment to moderator  
Reply With Quote
Old 05-11-12, 04:24 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Quote:
Originally Posted by dawnii
Many thank for the info, works great,
Glad it works. Use the move button to change the location of the icon if needed.
Last edited by Xenyr : 05-12-12 at 02:29 AM.
Xenyr is offline Report comment to moderator  
Reply With Quote
Old 05-11-12, 10:12 AM  
dawnii

Forum posts: 0
File comments: 14
Uploads: 0
Many thank for the info, works great,
dawnii is offline Report comment to moderator  
Reply With Quote
Old 05-08-12, 01:29 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Quote:
Originally Posted by dawnii
hi first thanks for the your time,

i would like to get Oportunity proc buff to flash up so i know i have a instant cast ready,

i have given it a go but atm are unable to sort it out any help would be great,

thank you.
Yeah, sorry the gui isn't very intuitive. Open warnme and press the Import button. Then just paste the below code into the dialog box and press ok. You should now get a texture when opportunity procs.

Code:
{events = {Opportunity = {buff = {name = "Opportunity", playersOwn = false, unitSpec = "player"}, eventType = 1, name = "Opportunity", scope = {all = true}, warningName = "Opportunity"}}, warnings = {Opportunity = {addon = "Rift", alpha = 0.5, countdownDuration = 4, countdownFontColour = {blue = 1, green = 1, red = 1}, countdownHighlightColour = {blue = 0, green = 0, red = 1}, countdownHighlightDuration = 0, duration = 4, flashAlpha = 0.2, flashFrequency = 0, icon = "Data/\\UI\\ability_icons\\redirect1a.dds", name = "Opportunity", scale = 200, str = "", warningType = 2, xPct = 70.04, yPct = 68}}}
Xenyr is offline Report comment to moderator  
Reply With Quote
Old 05-07-12, 04:26 AM  
dawnii

Forum posts: 0
File comments: 14
Uploads: 0
hi first thanks for the your time,

i would like to get Oportunity proc buff to flash up so i know i have a instant cast ready,

i have given it a go but atm are unable to sort it out any help would be great,

thank you.
dawnii is offline Report comment to moderator  
Reply With Quote
Old 04-23-12, 01:39 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
Re: Re: 1.2.3

Quote:
Originally Posted by tocks
Is there a way to run a test to see the warning in action?

like /warnmetest 'Alert'

I can't find it if so but that doesn't mean it isn't there.
I'm afraid there isn't a test mode. One way to see the warnings (and drag them around) is to press the Move button on the main screen.
Xenyr is offline Report comment to moderator  
Reply With Quote
Old 04-23-12, 12:01 PM  
tocks

Forum posts: 0
File comments: 3
Uploads: 0
Re: 1.2.3

Is there a way to run a test to see the warning in action?

like /warnmetest 'Alert'

I can't find it if so but that doesn't mean it isn't there.
tocks is offline Report comment to moderator  
Reply With Quote
Old 11-14-11, 04:12 PM  
Xenyr
Zombie
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 66
Uploads: 0
1.2.3

Version 1.2.3 is now available. Changes:

Fixed error with stacking buffs
Fixed button not retaining its new position
Fixed akylios wave timer
Xenyr is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: