EventHorizon (Continued by Taroven)

v1.1.6:
* Core: Fixed timeless spells refreshing to timed breaking bars (Overkill is the only spell that comes to mind here, but should work for everything)
* Rogue: Added Overkill to the display if specced for it.
- v1.1.6a: Minor update. Auras flagged as "refreshable" with an auraunit other than target will no longer glitch on target changes.

v1.1.5: More glyph support.
* Core: Added requiredGlyph = <glyphID> to the spell config. See the Warlock module for reference. Note that if looking for the glyph on WowHead, you need to search for the glyph name and go to the uncategorized spells tab. The actual glyphID is the one with the gear icon, NOT the spell icon.
* Warlock: Warlock module has been updated. Thanks, Warlocomotif.
* Etc: TOC updates across the board. Sorry for being lazy with those, modules should no longer read as out of date.
- v1.1.5a corrects the glyph detection logic. There is a much more efficient way of doing this, which will make it in next release.

v1.1.3: Glyph support!
- This release is somewhere between beta and release quality. I've ironed out as many bugs as I could find, but some may remain. Please let me know if you run into any issues.
* Class modules: A new variable has been added - glyphrefresh = {Stacks, GlyphID, "Trigger Spell"}
* Core: Glyphs are now detected on frame load/reload. Some extra glyph-related events have been added to make sure glyph changes aren't missed. Module hackers: Print EventHorizon.glyphs ingame if you need a list of currently equipped GlyphIDs.
* Core: When casting a spell that uses the glyphrefresh var, and currently using the appropriate glyph, the number of remaining glyph-based refreshes is displayed as a stack count on the spell's icon. This is much more complicated than it sounds and may result in unexpected bugs, but should be safe for all intents and purposes.
* Core: Gnomish fanatics have found their way to the CLEU filtering mechanisms. Let's hope they didn't break too much on their way out.
* Druid: Glyphs of Starfire and Shred have been added to Moonfire and Rip respectively.
* Rogue: Rupture somehow lost its refreshable tag, which has been corrected. Glyph of Backstab has been added to Rupture.

v1.1.2:
* Core: DoT tick recalculation was trying to calculate channeled spells, producing an error.
* Post-release fix: Repackaged the .zip to exclude myconfig.lua. I'll be using a script for that from now on, no more forgetting to remove files. Sorry about that.

v1.1: Look, Feel, and Quirks update of d00m.
Major changes:
* Core: Class coloring has been implemented. Usage and examples are in config.lua.
* Core: Tick indicators may now recalculate based on the last tick to fire. This fixes all known cases of incorrect tick displays. This IS affected by your latency, and will take a tick once a spell is refreshed to update. A 200ms grace period is allowed after a spell ends for the last tick to show. If you have any issues with this, by all means let me know.
* Config: The following indicators/bars will now be class colored by default: 'sent', 'tick', 'debuffmine', 'debuff' (darkened). The background has been made slightly more opaque for visibility. Priests will find that their class color is automatically darkened a little

Minor changes:
* Core: The 'auraunit' class config setting should play nicely with target changes now.
* Core: Cooldown lines have had their placement adjusted slightly due to visibility issues. This change may not be final, expect tweaks over the next few releases.
* Config: Changed config.future from 9 to 12.
* Config: Class locals have been added to config.lua. This is mainly for copypaste over to myconfig.lua to make adjustments per class a little easier to type out.
* Config: The coloring section is now commented much more thoroughly.
* Config: Removed color.default from the color section, as it should never need to be changed anyway.
* Config: config.recalculate has been added, allowing the option to enable/disable the new tick checks. Enabled by default.
* Druid: HoT ticks have been added (copypaste is bad, mkay?).
* Priest: Renew now tracks target, not player (again with the copypaste).
* Etc: Changelog updated and hopefully easier to read.

v1.0 (v0.2 again?): Healer support!
- Major version bump. Postrelease note: This should've been a beta.
- Didn't get to the coloring portion this time around, expect it in the next update. Buffs and casts for healer specs may be a little hard to tell apart for now.
* Core: Heal-over-time spells are now fully supported. Consult the Priest and Druid modules for usage.
* Core: Many changes to the UNIT_AURA code. Hopefully there will be no more cases of bars acting oddly.
* Core: Tidied up CLEU filtering a bit. There may be a performance improvement with this build (one table check versus a LOT of comparitive statements).
* Core: Fixed many issues involving buffs tied to spells with casting times.
* Core: Added an alias for the spell config flag 'cleu'. You may now use 'event' instead. Consult the Priest module for usage. Warning: Only use the flag when you can't get ticks to show in the past section of the bar in any other way. Doing otherwise will provoke a nil error which I haven't been able to track down.
* Priest: Holy and Disc are now fully supported. Lesser Heal tracks Serendipity, Greater Heal tracks Inspiration (self-casted only for the moment), Penance tracks Grace. Can't track PW:S alongside Weakened Soul quite yet. Bars will show when not in shadowform.
* Druid: Resto is now fully supported. Nourish also tracks Nature's Grace, for the curious. Requires Swiftmend talented to see the bars.

v1.0 (v0.12) Beta 5:
* Core: Buffs may now use the 'dot' flag to signify a heal-over-time spell. SPELL_PERIODIC_HEAL is automatically tracked. Heal-over-time spells will now be able to track ticks with no additional config required. Refer to the Hunter module for an example.
* Hunter: Added Mend Pet with a working tick display. Should be fully accurate.

v1.0 (v0.12) Beta 3:
* Core: Talents are now updated when using /ehz to unhide the addon.
* Etc: Added class modules to the beta release. The original EH files are no longer required.
* Warrior: Added EventHorizon_Warrior to the release.
* Deathknight: Added Tyno's excellent EventHorizon_Deathknight to the release, with some minor changes.

v1.0 (v0.12) Beta 2:
* Config: Color settings are now included in config.lua. The provided defaults are not final. (Taroven)
* Core: Handle is now clamped to the screen, preventing loss of the frame outside of the screen edges. (Tifi)

v0.10b:
* Druid: Cleaned up comments. Added simple Eclipse tracking (duration and cooldown, no proc info). Rip set to refreshable to fix tick timing with Glyph of Shred.
* Hunter: Arcane Shot not tracked when Explosive Shot is talented. Moved Steady Shot to above Kill Shot. Cleaned up some oddities with the comments.
* Rogue: Moved ShS nearer to the bottom.
* Warlock: Added Glyph of Life Tap for all specs. Added Drain Soul when specced Death's Embrace.

v0.9
* The spell bars that depend on talents are now created/shown/hidden when the talents change. Reloading the UI is no longer necessary. Should be working in both 3.0 and 3.1.
* Added Paladin module from Psychosomatic. Retribution only, still needs talent dependencies.
* Priest: Added talent dependencies.

v0.8
* Bar segments are optionally textured now instead of using a solid color.
* Added slash commands /eventhorizon and /ehz to toggle the visibility of the main frame.
* Added the ability to track debuffs which are unique per mob. The debuff bars get a slightly different color when they were not applied by you.
* Druid: The Mangle bars now track Mangle and Trauma debuffs. Added cooldown for Mangle - Bear. Added DoT ticks for Insect Swarm and Moonfire.
* Mage: The Scorch bar now tracks both Imp Scorch and Winter's Chill.
* Tweaked the default texture a bit.

v0.7b
* Removed some settings in the class files that were overwriting settings in the master config.

v0.7a
* Warlock: Show Incinerate if Emberstorm is talented, otherwise show Shadow Bolt. Removed Molten Core bar and Backdraft tracking from the default config, as they have no influence on the rotation.
* Bugfix: The default anchoring of the handle wasn't working.

v0.7
* Added config.spacing = <number> to set the space between two bars.
* Added config.iconborder = <boolean> option to toggle the default Blizzard icon border.
* Added config.scale = <number> option to scale the main frame.
* Added GCD indicator:
config.gcdStyle = 'line' displays the end of the GCD as a thin line.
config.gcdStyle = 'bar' displays the GCD as a bar from now to the end.
config.gcdStyle = nil disables the GCD indicator.
config.gcdColor = {r,g,b,a} sets the color.
* The handle and the background frame are now parented to the main frame. If you use Goose to show/hide EventHorizon, you only need to specify conditions for EventHorizonFrame.

v0.6a
* Added minstacks=<number> syntax. The Imp. Scorch debuff bar is shown only when five stacks are applied.
* Fixed Rogue Hunger for Blood talent index.
* Major bug fixed: In some cases the main frame was created multiple times.

v0.5
* Added modules for Druids, Hunters, [FFB-]Mages, Rogues and Warlocks.
* Most of the settings were moved to the config.lua files. When you want to change something, look there first.
* Spell frames can now be shown/hidden depending on stance. Look at the Druid config for an example.
* Spell frames can now be created depending on talents. When changing the spec, you may need to reload the interface. Again, look at the Druid config.
* Added an (optional) backdrop frame. Enabled by default.

v0.4
* Bugfix: When the target dies, predicted ticks are now removed.
* Bugfix: Textures of 1 pixel width should now be visible even when the UI scale is low.

v0.3
* Minor bug fix.

v0.2
* Predicted DoT/MF ticks lying in the past are now replaced by actual ticks taken from the combat log.
* If SWP is refreshed after the last tick occured, it's treated like it was recast.

I just found the reason for what's happening... I accidentally included my personal myconfig.lua with v1.1.2. I'll have a fixed zip uploaded shortly.

I apologize if I've overwritten anyone's myconfig by doing this. If you don't want the changes I made there, just delete the file (or adjust to your liking).

If you do like the different config, read on.

The handle in my personal config is located within EventHorizon's top icon. Mouse over the topleft corner within the skill icon and you'll see it light up. I did this for a lot of really good reasons, but it has provoked a little confusion when sharing my configuration with friends.

If you want to keep my layout but revert to how EventHorizon normally places the anchor, just remove the config.anchor line from myconfig.lua.

Originally posted by Taroven It's there on my stock copy. Have you changed your anchoring at all?

Edit: Just checked with both my personal config and the stock config, it's definitely there.

Mine are gone as what Krispiterian mentioned. I am trying to look into the config.lua & EventHorizon.lua, maybe you could help us on those configuration please?

There is a label "point" which created by v1.1.2 in EventHorizon.lua:
["point"] = {
"CENTER", -- [1]
"UIParent", -- [2]
"CENTER", -- [3]
Is this mapping to the "config.anchor" in config.lua? By the description, if it is "UIParent" instead of "EventHorizonHandle" will result in there is no handle.

Originally posted by Krispiterian With the 1.1.2 update, I've noticed that the drag handle (to move the frame) in the top-right no longer exists, is this suppose to be like this, or was this an unintentional change?

It's there on my stock copy. Have you changed your anchoring at all?

Edit: Just checked with both my personal config and the stock config, it's definitely there.

Originally posted by myrroddin What I can try is delete the SVs for EH, and see if the error persists.

Wouldn't help in EH's case anyway, the addon doesn't use savedvars at this point except for position.

But anyway, 1.1.2 does fix the problem. EH was looking for the 'dot' value of channeled spells, which are handled differently. All I needed to do was throw in a "if self.dot" that should've been there in the first place.

Originally posted by Taroven myrroddin: I'll have a look. It may already be fixed on my copy. Do you remember what happened to produce the error?
Update: Just tested with my Shadow Priest using every spell available, no error. Can you post any changes you've made to config.lua or myconfig.lua, please

I haven't made any changes to the prefs or code, just install and use as-is. The error occurs on the first cast of Mind Flay. My rotation on boss fights is SW:P, VE, VT, MB, MF - error - but the cast works and there is no noticable difference in EventHorizon's graph.

Also, I wanted to ask about Greater Heal and Prayer of Healing, and why they are on the graph when I am in Shadow Form. They showed up with version 1.1 of EH.

What I can try is delete the SVs for EH, and see if the error persists.

myrroddin: I'll have a look. It may already be fixed on my copy. Do you remember what happened to produce the error?
Update: Just tested with my Shadow Priest using every spell available, no error. Can you post any changes you've made to config.lua or myconfig.lua, please?

Vilkku: I hadn't noticed any issues with the dot markers, but then again I never did change the backup color table.
Update: I'm really not seeing any problems on my end.

Edit: Ouch, forgot I was in the middle of revamping the layout tables when I crashed last night. Might be a couple hours till I can test things out. I'll keep you guys updated.

Edit 2: Blargh, texture coords aren't behaving. Reverting my local changes and getting those bugs out of the way first.

Thanks to the kindness of EventHorizon's users, I've been able to get my account up and running again. I'd like to personally thank everyone who has donated so far, and anyone who wishes to continue donating.

Times are rough and I don't have enough income to keep an account for a game I barely play anymore. If you wish me to continue improving EventHorizon, every extra penny helps to keep it alive.

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.