Download
(71Kb)
Download
Updated: 11-05-10 07:02 AM
Updated:11-05-10 07:02 AM
Created:05-13-10 03:20 PM
Downloads:12,710
Favorites:36
MD5:

EventHorizon Continued (Beta release)  Popular! (More than 5000 hits)

Version: v1.9.3
by: Brusalk [More]

This is NOT a working version of EventHorizon for MoP! Please check out the link below for the working live version!!!
-Brusalk (Bronzebeard-US)

EventHorizon Continued

Beta notes:
v1.9.3: Mmm, ticks. And math. And updates.
* Core: Tick detection has been completely rewritten and is nearly 100% accurate. I'll spare the details here, check beta comments for how it all works.
* Core: Added a NewSpell flag, 'smallCooldown', indended to improve visibility of certain auras without removing their cooldowns. See the Priest config (Devouring Plague bar) for usage.
* Core: Redshift may now be enabled via slash command when disabled via config.lua. (see note)
* Core: Single spell stack numbers (or spells that show a single stack for no reason) are no longer displayed.
* Core: Recast lines were using some incorrect info in certain conditions.
* Core: Buffs cast by other players should no longer cause EH to panic.
* Core: Various module API refinements, little fixes across the board, and probably a lot of stuff I haven't mentioned in the changelog so far.
* Config: Added a new entry for use with the tick-related changes, nonAffectingHaste = {spellID,multiplier} or {{spellID,multiplier},{spellID,multiplier},...}.
- Warlocks seem to be the only ones needing this at present. If you find other spells affecting cast haste but not tick haste, and your ticks are improperly calculated because of it, by all means let me know.
* Config: Added a new entry to the layout section for the smallCooldown NewSpell flag.
* Druid: Removed Omen of Clarity across all specs. Revive used as haste comparison.
- Feral/Cat: Bars reorganized to better reflect priorities.
- Feral/Bear: Added Swipe CD to Pulverize. Enrage removed (commented out if you prefer seeing it).
- Balance: Shooting Stars added to Starsurge.
- Resto: Tweaks a'la malsudon.
+ Moved Swiftmend cooldown to the Rejuvenation bar.
+ Added Nature's Swiftness cooldown to the casted heals bar.
+ Added Tree of Life.
* Mage: Conjure Refreshment used as haste comparison.
* Hunter: Steady/Cobra bar now tracks Improved Steady Shot (with recast segment).
- BM: Usability tweaks.
+ Frenzy bar now tracks Focus Fire cooldown, Focus Fire buff is no longer tracked (same CD as buff time).
+ Killing Streak is now shown on Kill Command as originally intended.
- Marks: Aimed Shot cast and Master Marksman buffs moved to Chimaera Shot bar.
* Paladin: Redemption used as haste comparison.
* Priest: Resurrection used as haste comparison.
- All specs: Evangelism and Archangel folded into a single bar.
- Shadow: Please spend some time on the target dummy to get used to the changes. Most will find the layout more intuitive than it has been in recent releases.
+ Moved Shadowfiend CD to the Devouring Plague bar. Uses the new smallCooldown flag to improve usability.
+ Filler separated into two bars. Cast filler tracks Mind Melt buff, channel filler tracks Shadow Orbs.
+ Moved Shadow Word: Death CD to the channel filler bar.
* Shaman: Ancestral Spirit used as haste comparison.
* Warlock: Create Healthstone used as haste comparison. Eradication defined as not affecting DoT haste.

Redshift note: You may need to repeat the command a couple of times due to an elusive little glitch, but the settings stick between login/reloadui without further issues.
Redshift remembers your last enableRedshift setting from config.lua. If that's changed, Redshift will default to whatever the new setting is.

v1.9.2: Switched to Git, revision numbers go byebye.
* Core: Added a 'recast' NewSpell flag. 'recast = true,' (or really anything but nil/false) will force the recast segment to show for any aura on the bar.
* Core: Recast lines will try to use the most recent tracked spellcast. (see note)
* Probably some more fixes and changes here and there, but not many. Been focusing on getting things set up with the new repository.

Note: Let's say a bar is tracking a proc and two spells with differing cast times, with the recast flag on. The following situation may happen:
1 - Begin a 1.5 second cast (which procs the aura)
2 - Cast completes and spell's in the air. Begin a 3 second cast (which doesn't proc the aura)
3 - The procced aura appears with a 3 second recast segment, which probably isn't what you wanted to see.
I'll be adding a way to set which casts affect the recast duration in a later release, probably in v1.9.2. For now I don't believe it'll be a huge issue to leave it as is.

v1.9 r378: Eep again.
* Core: Aura info is no longer indexed by spellID. EH now behaves much better in a raid environment.

v1.9 r377: Eep.
* Core: Fixed error spam when mouseover units are being actively tracked.
* Core: Increased the period between mouseover aura checks from ~100ms to ~150ms.

v1.9 r376: Hopefully that's the last time I'll have to fix Redshift.
* Core: Made some huge changes to how aura information is collected and stored. (see note)
* Core: Redshift now has (almost) complete control over frame visibility when enabled.
* Core: Indicators now use the API methods introduced in 4.0.1 to set their drawing order, instead of relying on framelevel hacks. Less CPU usage, more stable ordering.
* Core: Cooldowns are now prioritized over [de]buffs in terms of drawing order.

Note: I haven't had the opportunity to test every variation, but it seems stable enough. Let me know of any issues.

v1.9 r370: Trinket bars will be disabled by default from this release onward.
* Core: Cast-time debuffs no longer leave a bar segment behind when dispelled or the target dies.
* Core: itemID bars now use the correct GetSpellCooldown syntax.
* Core: Fixed some load order issues that were preventing Redshift from doing its thing at login.
* Core: Added a few API triggers for module usage, fixed some event assignments, and cleaned up a few bits of code.
* Config: Trinket bars are now disabled by default. Look for "config.showTrinketBars" in config.lua if you prefer to see them.
* Class Config: Added an 'icon' NewSpell flag - Sets a static icon for the bar. Can use a spellID, itemID, or texture path. Not usable with equipment slot bars.
* Paladin: Holy Shield has been fixed and folded into the CS/HotR bar, Sacred Duty added to Prot Judgement.
* Warlock: Corruption bar now uses only the Corruption icon. Chaos Bolt's cast is no longer missing from the Destro filler bar.

v1.9 r362: SavedVariable wipe for people affected by r335 quirks. The new class config system has been delayed for now.
* Core: Talent/glyph checks are now throttled and delayed using the same method as gear checks.
* Core: The recast bar segment should no longer glitch out when recasting or refreshing dots.
* Core: The hideIcons option was broken in a namespace cleanup a while back. This has been corrected.
* Core: Most bar components and some portions of the EventHorizon window may now have their blending mode adjusted. (see note)
* Config: Added config.blendModes to config.lua. See the notes there for usage. (note again)
* Config: The default channel tick color has been changed from class color to castbar color.
* Class Config: Removed 3.3.5 compatibility code.
* DK: Fixed up a couple entries. Trying a new spellID for Unholy Blight, the old one apparently wasn't working (haven't had a chance to check myself).
* Priest/Healer: Greater Heal is now shown on the casted-heals bar.
* Priest/Shadow: Added Shadowfiend CD.
* Rogue: Fixed up an entry or two.
* Warlock: Moved Immolation Aura to the bottom of the list. Corruption now shows for all specs.

Note: Try setting some blend modes to "ADD" if you're curious. This can be very useful for some UIs, and does allow for more visible bars depending on your settings, monitor, and perception of color.
Changelog may be incomplete for this release.

v1.9 r335: TOC fix. My packaging script apparently doesn't like changes. Global savedvariables are actually used now, like they were supposed to be forever ago...
r335-2: Corrected some copypasta, sorry about that.

v1.9 r334:
* Core: Killed off some debug code that snuck into r333.

v1.9 r333: Note - SavedVariables wipe, sorry for any inconvenience. Untested in beta, haven't had an opportunity.
* Core: Trinkets and other gear checks now use savedvariables to avoid constant GetItemInfo calls and at least somewhat remedy the related Beta/PTR issues.
* API: Modules are now loaded before checking talents, allowing modules to use EH's talent checks instead of their own.

Note: Beta/PTR users may notice missing trinkets when logging in for the first time. Entering combat, using a spell/skill with a cooldown, or swapping trinkets should fix that.

v1.9 r329:
* Core: Fixed stance/form detection.
* Priest (Beta/PTR): Filler bar now tracks Shadow Orbs instead of Mind Spike stacks.

v1.9 r327: Warlock love inc.
* Core: Bypassed a check in UPDATE_SHAPESHIFT_FORM when playing a Warlock. The Immolation Aura bar now appears as intended.
* Warlock (Beta/PTR): Removed Curse bar.
- Demonology: Immolation Aura now appears as intended when in metamorphosis. Bar order has been adjusted.
* Warlock (Live): Adjusted Demonology bar order to closer reflect Beta bars. New filler bar, showing Molten Core procs instead of ISB.

v1.9 r322: SVN messed up EventHorizon.lua in r321, sorry about that.

v1.9 r321: Bunch of workarounds because Blizzard hates me.
* Core: Bars with both channeled spells and auras (Warlock, Priest, Mage) will no longer lose their channel ticks on aura changes.
* Core: Logging in, reloading your UI, or changing gear sets will no longer trigger multiple layout checks at once. Instead, a 2-second delay is used with a single mass update at the end. (note 1)
* Core: Gear checks have been revamped a bit to reduce errors, oddities, and CPU usage.
* Core: Blank trinket bars at login: Added an extra post-load check for trinket bars, using the glyph redetection workaround. (note 2)
* Core: Leveling up will now trigger a layout check.
* Core: Added a couple new slash commands: "/ehz lock" (toggles the drag-handle), and "/ehz status" (shows a list of modules and shown bars). "/ehz help" has been reformatted a bit. (note 3)
* Config: A new color and layout has been added for channeled ticks.
* Config: Changed the bar layouts a bit. Ticks are a little shorter, bars a little taller.
* Mage (Beta/PTR): Corrected Living Bomb's DoT interval.

Notes:
1) This effectively cuts the number of talent checks and layout updates in half. Yay efficiency.
2) The item cache is pretty screwy. Nothing but the itemID is available at login during the loading process. ReloadUI or logging out and back in fixes it.
+ Using the dissapearing-glyph workaround seems to work decently for now. I'll see about a better solution if people still have blank trinket bars.
3) Using "/ehz lock" when the frame would not normally have a handle does nothing, and will tell you that.
4) I'm still looking for inaccuracies and missing procs in the class config. Let me know if you feel like your bars are missing something that should be there.


v1.9 r312: Maintenance release with Cataclysm and PTR compatibility while I break things for Axis. I had this release planned long ago, sorry for the delay.
* NOTE: This release is compatible with live realms, PTRs, and the Cataclysm beta. PTR and Beta players will notice new bar layouts.
* Class Config: Added two new flags to NewSpell:
- requiredTree = <tree> or {tree, tree, ...} - Adds a dominant talent tree requirement to the bar. This follows the order on your talent sheet (ie, Arms Warrior = 1, Shadow Priest = 3)
- requiredLevel = <level> - Adds a level requirement to the bar.
* Core: Internal cooldowns have been adjusted to behave a bit better.
* Core: Made some huge changes to EH's internal table structure. (/dump EventHorizon.vars if you're interested)
* Core: config.past and config.future have been sanitized and will no accept both positive and negative numbers with no ill effect.
* Config: The default cooldown color has changed to a mute blue/teal and made a touch more opaque. (0.6, 0.8, 1, 0.3)
* Config: The default cast color has also been changed slightly and made a little less opaque. (0, 1, 0.2, 0.25)

WotLK class config:
* Priest: Vampiric Touch is down to 5 expected ticks. t9 is no longer default. Change it to 7 if you use it.
* Shaman: The Ele bars did feel funky how they were. Sorry about that.
- Elemental: Lava Burst is back on its own bar. Lightning Bolt and Chain Lightning are shared below it.

Notes: This is beta. It's largely untested and things will probably break. I'll update as often as I can.
* GetItemCooldown seems pretty well screwed, let me know if you get errors related to it and which trinkets you're using if you run into problems.
* Several Cataclysm/PTR configs are completely untested.


Cataclysm class configs (copypasted from the main release comments):

DK:
Code:
- General -
Frost Fever
Blood Plague
Blood Tap

- Blood -
Rune Tap
Vampiric Blood
Bone Shield
Dancing Rune Weapon

- Frost -
Rime
Pillar of Frost

- Unholy -
Unholy Blight
Sudden Doom
Shadow Infusion + Dark Transformation (note: They're definitely exclusive, so the bar will alternate)
Druid (probably not final, see above posts):
Code:
- Balance -
Starsurge
Wrath + Eclipse (Solar)
Starfire + Eclipse (Lunar)
Moonfire
Insect Swarm
Starfall
Typhoon

- Resto -
Lifebloom
Rejuvenation
Direct Heals (Regrowth, Nourish, Healing Touch) + Swiftmend CD

- Feral / Cat -
Savage Roar
Mangle (along with all +bleed damage effects I can find)
Rip
Rake
Berserk

- Feral / Bear -
Mangle
Lacerate + Thrash CD
Pulverize (should hopefully show the buff, unable to test atm)
Enrage
Barkskin

- General -
Omen of Clarity
Hunter: Frenzy is missing a spellID, got the most likely candidate in for now. If someone wouldn't mind checking ingame - Check the buff name on your pet, then use /dump UnitBuff('pet','Buff Name Here'). I'm not going to be using the PTR for testing, and I have no hunter on the beta.

Code:
- BM -
Serpent Sting
Kill Command
Steady/Cobra
Focus Fire (buff + CD)
Frenzy (min stacks 5, for Focus Fire) - MISSING SPELLID
Bestial Wrath

- Marks -
Serpent Sting
Chimaera Shot
Steady/Cobra/Aimed + Master Marksman ("Ready, Set, Aim...", "Fire!")

- Survival -
Serpent Sting
Black Arrow
Explosive Shot
Steady/Cobra + Lock and Load
Mage:
Code:
- General -
Casts + AM/Hot Streak/Brain Freeze proc

- Arcane -
Arcane Blast + [de]buff + ABar CD
Arcane Power
Presence of Mind

- Fire -
Fire Blast + Impact
Living Bomb

- Frost -
Deep Freeze + Fingers of Frost
Icy Veins
Paladin (input needed):
Code:
- Holy -
Judgement + Judgements of the Pure
Holy Shock + Denounce
Casts (HL, DL, FoL, Exorcism) + Infusion of Light
Light of Dawn
Holy Radiance

- Prot -
Crusader Strike / HotR
Avenger's Shield
Judgement + Vindication
Holy Shield (buff only, as it's a proc effect)
Inquisition
Consecration

- Ret -
Judgement + Judgements of the Pure
Crusader Strike + Art of War
Inquisition
Zealotry
Priest:
Code:
- Discipline -
Renew
Casts + Borrowed Time
Penance + Grace
Weakened Soul

- Holy -
Renew
Casts + Serendipity
Holy Word: Chastise/Aspire/Serenity (hopefully got spellIDs correct)
Circle of Healing + Twirling Light
Chakra + corresponding effects

- Shadow - Healing spells will no longer show outside Shadowform
Devouring Plague
Shadow Word: Pain + Shadow Word: Death CD
Vampiric Touch
Mind Flay/Sear/Blast/Spike + Spike buff

- All Specs - Using requiredTalent for now, hopefully Blizz doesn't change the index again.
[Dark] Evangelism
[Dark] Archangel
Rogue:
Code:
- Assassination -
Slice and Dice
Rupture
Envenom
Deadly Poison
Overkill

- Combat - Blade Flurry and Bandit's Guile are in there, but commented out - Too many bars for comfort.
Slice and Dice
Rupture
Revealing Strike
Killing Spree
Adrenaline Rush
Deadly Poison

- Subtlety -
Slice and Dice
Recouperate
Rupture
Hemo
Shadow Dance
Shadowstep
Deadly Poison
Shaman:
Code:
Note: Unleash Elements doesn't show its own buff/debuff info and probably won't until Axis.
- Elemental -
Unleash Elements (requires level 81)
Flame Shock
Lava Burst
LB + CL + Earthquake (+ Lightning Shield charges when at 4+)
Elemental Mastery
Fire Nova + Clearcasting
Thunderstorm

- Enhancement - Note: Need someone to provide the Searing Flames debuff spellID.
Unleash Elements + Maelstrom Weapon (second entry, requires level 59)
Storm/Primal Strike
Lava Lash (+ Searing Flames debuff when found)
Fire Nova

- Restoration -
Unleash Elements (uses the Elemental bar)
Riptide
Single Target Casts + Focused Insight + Shock CD
Chain Heal + Healing Rain + Tidal Waves
Earth Shield
Warlock:
Code:
- Affliction -
Soulburn
Haunt
Unstable Affliction
[Seed of] Corruption
Other casts/channels + Shadow Embrace
Banes
Curses

- Demonology -
Soulburn
Immolate
Metamorphosis
Immolation Aura (when morphed)
Hand of Gul'dan + Decimation (for lack of a more relevant spot)
Other casts/channels + Molten Core
Banes
Curses

- Destruction -
Soulburn
Immolate
Conflagrate + Backdraft
Other casts/channels + "Soul Fire!" proc
Banes
Curses
Warrior:
Code:
Just listing these in the order they appear, with their requirements. Warrior is complex, yes?

Colossus Smash - Battle/Berserker, lvl 81
Rend - Battle/Defensive, lvl 4
Strike - Zero talents
Mortal Strike + Lambs to the Slaughter + Slam - Arms
Raging Blow + Enrage effects - Fury, lvl 39
Bloodthirst + Bloodrage - Fury
Shield Slam + Sword and Board - Prot
Revenge + Impending Victory - Defensive, lvl 40
Shield Block - Defensive, lvl 28
Shockwave + Thunderstruck - Prot, lvl 69
Thunder Clap - Prot or zero talents, not Berserker, lvl 6
Demoralizing Shout - Prot, lvl 52
Whirlwind + Meat Cleaver - Berserker, lvl 36
Taste for Blood - requiredTalent, not Berserker
HS/Cleave + Incite - lvl 14
Shouts - lvl 32
Post A Reply Comment Options
Unread 05-13-10, 10:23 PM  
Repaxan
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 35
Uploads: 1
Been using a modified version of the 1.9 link you gave me, only crashes or bugs I've seen (edit: other than enableRedshift not implemented) were my fault. Just thought I'd say something here.
Last edited by Repaxan : 05-13-10 at 10:52 PM.
Report comment to moderator  
Reply With Quote
Unread 05-14-10, 06:37 AM  
Gylindor
A Defias Bandit

Forum posts: 3
File comments: 23
Uploads: 0
static height \o/
Report comment to moderator  
Reply With Quote
Unread 05-14-10, 03:10 PM  
Morfiene
A Murloc Raider

Forum posts: 8
File comments: 16
Uploads: 0
Tried using the 1.9 but nothing comes up on screen. To test this out I removed the folders and reloaded 1.8, EH shows. So I go back remove 1.8 and load 1.9, nothing. Its a great add-on and has helped a ton. I'll stick with 1.8 for now.
Last edited by Morfiene : 05-14-10 at 03:11 PM.
Report comment to moderator  
Reply With Quote
Unread 05-14-10, 03:33 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Originally posted by Morfiene
Tried using the 1.9 but nothing comes up on screen. To test this out I removed the folders and reloaded 1.8, EH shows. So I go back remove 1.8 and load 1.9, nothing. Its a great add-on and has helped a ton. I'll stick with 1.8 for now.
Type /ehz and see what happens.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 05-14-10, 09:57 PM  
Morfiene
A Murloc Raider

Forum posts: 8
File comments: 16
Uploads: 0
Originally posted by Taroven
Type /ehz and see what happens.
I did and wow just say there's an error, command does not exist. Yep the it is active. So not sure why it wont show. Only thing I can think of is that maybe its off the screen.
Report comment to moderator  
Reply With Quote
Unread 05-14-10, 10:01 PM  
Morfiene
A Murloc Raider

Forum posts: 8
File comments: 16
Uploads: 0
Originally posted by Morfiene
I did and wow just say there's an error, command does not exist. Yep the it is active. So not sure why it wont show. Only thing I can think of is that maybe its off the screen.
correction, the newest version of the upload works. Thanks a ton for an excellent add-on. 3 cheers for you!
Report comment to moderator  
Reply With Quote
Unread 05-15-10, 11:13 AM  
Brusalk
An Aku'mai Servant
 
Brusalk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 202
Uploads: 5
I did and wow just say there's an error, command does not exist. Yep the it is active. So not sure why it wont show. Only thing I can think of is that maybe its off the screen.

The error you're referring to is an error that came up with using static-height which I reported in the comments on the main EventHorizon Continued page which caused it to error when trying to use static height

The newest version fixed that issue. Go taroven!
Report comment to moderator  
Reply With Quote
Unread 05-15-10, 03:10 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Glad to be of service.

Everything pretty much stable so far? Any crashes, errors, or missing config options?
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 05-15-10, 05:38 PM  
Brusalk
An Aku'mai Servant
 
Brusalk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 202
Uploads: 5
@Taroven. Nope. I've had no issues with the beta version at all. I've only raided on one toon so the only thing I can say for certain is that it does not happen with the Priest Module
Report comment to moderator  
Reply With Quote
Unread 05-15-10, 06:51 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Excellent. Let me know if you notice anything amiss and I'll make sure to get it fixed. Gonna take this one nice and slow.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 05-16-10, 01:53 AM  
Skyflyer
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Changing weapon

I play a resto shaman that has elemental off-spec and I use EventHorizon only for my offspec and just hide the window when I am resto. I downloaded the latest beta yesterday and found out that when I change weapon the EventHorizon window automatically pops up, even if I have hidden it. I am not sure if this is intended or not, just wanted to give you a heads up in case it is unintended.
Report comment to moderator  
Reply With Quote
Unread 05-16-10, 07:02 AM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Re: Changing weapon

Got a fix awaiting approval.

That was probably an issue in v1.8 as well. The function used to check for trinkets and such also forces a frame update, which was in turn forcing the frame to show. I just added a quick check for if it was supposed to be shown in the first place.

This still doesn't take account Redshift hiding the frame. I'll see about fixing that later.
__________________
Former author of EventHorizon Continued and Other Releases.
Last edited by Taroven : 05-16-10 at 07:53 AM.
Report comment to moderator  
Reply With Quote
Unread 05-17-10, 09:10 AM  
Vorsim
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
I might be doing something silly but using a myconfig file in a EventHorizon _>insert class< folders doesnt work?

I can use myconfig in the main EventHorizon folder but trying to use one in EventHorizon_Druid seems to have no effect. Yes I did remember to restart WOW when I first created the myconfig file.

EDIT: Hmmm more weirdness I replaced the contents of the config file in EventHorizon_Druid folder with the myconfig file I made and on reload EventHorizon simply dissapeared. I've probably deleted a bracket or added an extra one by mistake but here's the edited config file i tried to use

http://pastebin.com/iuLrxJVi

First thing I tried was to simply delete the spells I had commented out - EventHorizon still MIA. Then I deleted the spell I added (faerie fire (feral) should prob be in a bear's default setup as its only slightly less threat then mangle and so is used pretty much every CD) - no effect. In the interest of completeness here's the myconfig I used in the main EventHorizon Folder

http://pastebin.com/SDMN4Vdj
Last edited by Vorsim : 05-17-10 at 09:38 AM.
Report comment to moderator  
Reply With Quote
Unread 05-17-10, 11:34 AM  
Skyflyer
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Changing weapon

Originally posted by Taroven
Got a fix awaiting approval.

That was probably an issue in v1.8 as well. The function used to check for trinkets and such also forces a frame update, which was in turn forcing the frame to show. I just added a quick check for if it was supposed to be shown in the first place.

This still doesn't take account Redshift hiding the frame. I'll see about fixing that later.
I just tested r182 and I can not reproduce the "error" when I change weapons and/or specs. So I would consider it fixed.
Report comment to moderator  
Reply With Quote
Unread 05-17-10, 01:47 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Skyflyer: Good to hear.

Vorsim: Thanks for the pasties. You're missing a comma on the cooldown line of FFF (line 45), which is causing the rest of the file to error out since it doesn't know when that table entry is supposed to end.

Make sure you turn on Lua error reporting in WoW's option menu (it's under the help section), it'll tell you when something like that happens. I recommend using an error handler addon such as TekErr or Bugsack to get them out of the middle of the screen.

Also, just an FYI, in the main EventHorizon myconfig you only need the options you've made changes to. Here's mine for an example, you'll notice that there's far less in there than normal.

Code:
local useconfig = true
if useconfig then
local config = EventHorizon.config

config.past = -1
config.future = 12
config.width = 150
config.height = 14
config.spacing = 0
config.scale = 1
config.anchor = {"TOP",UIParent,"CENTER",0,-195}
config.iconborder = false
config.gcdStyle = 'line'
--config.bartexture = "Interface\\Addons\\EventHorizon\\Smooth"
config.bartexture = "Interface\\Addons\\SharedMedia\\MyMedia files\\statusbar\\HalI"
config.barbgcolor = {1,1,1,0}
config.bg = "Interface\\ChatFrame\\ChatFrameBackground"
config.border = "Interface\\AddOns\\SharedMedia\\MyMedia files\\border\\IshBorder"
config.inset = {top = 2, bottom = 2, left = 2, right = 2}
config.padding = 3
config.edgesize = 6

config.showTrinketBars = true

local c = EventHorizon.colors
c.sent = {true,1,.5}
c.tick = {true,1,1}
c.casting = {0,1,0,0.3}
c.cooldown = {1,1,1,0.3}
c.debuffmine = {true,1,0.3}
c.debuff = {true,0.5,0.3}
c.playerbuff = {true,1,0.3}
c.default = {1,1,1,1}
c.bgcolor = {0,0,0,0.4}
c.bordercolor = {true,0.5,0.7}
c.nowLine = {true,1,0.5}
c.gcdColor = {true,0.5,0.5}

-- Priest color burning the lazy way.
local _,class = UnitClass('player')
if class == 'PRIEST' then
	for i,v in pairs(c) do
		if v[1] == true then
			v[2] = 0.7
		end
	end
elseif class == 'ROGUE' then
	config.lines = {2.01}
end
config.linesColor = {1,1,1,0.2}

end
This works because myconfig.lua is loaded after config.lua - The options are already there, all that's needed is a little tweaking. The class myconfigs still need to be complete due to how that portion of the addon works, though.
__________________
Former author of EventHorizon Continued and Other Releases.
Last edited by Taroven : 05-17-10 at 02:05 PM.
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.