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,735
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 09-14-10, 12:22 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Originally posted by Warlocomotif
So far I've tried this build out on live as demonology and affliction, both are working fine (although I like my demo curse icon being doom, but hell it changes the first time you cast it so why even care).

The only thing that wasn't working well, is that when I cast drain soul, the ticks dissapear from the EH window after the first tick occurs. I'll give it a run on beta later (edit) this is also probably the first time I don't feel inclined to make any changes for it to fit myself.
Hehe. Good to hear I got it pretty much right.

Channeled ticks are disabled on the PTR/beta configs for now, mostly due to the haste changes messing with the number of ticks and such.

The cause of the channeled ticks disappearing is pretty simple: Channels and periodic auras use the same indicator type. When a bar has both a channeled cast and any aura on it, the ticks clear out when any aura changes are detected - because no tick info was found for the aura.

It's easy enough to fix with a new indicator type for channels, I just need to give myself time to do it.

I'll have a new release out tonight which should fix that and the issues I posted below. I may experiment a bit with more robust tick detection for periodic spells and channels as well... who knows, I may just slowly turn this into Axis instead of releasing it all at once. The new code can pretty much just be dropped in.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 09-15-10, 08:00 AM  
Warlocomotif
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 100
Uploads: 9
I finally got around to trying it out on beta, which was a bit

Currently Demon Soul is not showing up at all, the default curse icon is currently curse of weakness (please change that to elements), and the order of bars is "weird" (please group all cooldowns together at the top/bottom, atm some are top some bottom).

Demoology is missing a bar for corruption, and I didnt get a chance to test affliction since my beta dual specs are destruction and demo.
I like having hand of gul'dan on a separate bar, but I don't think soul fire should also be on a separate bar- mostly because when you have decimation you dont really need to react to molten core- and in terms of visibility it'd be slightly better to have decimation on a separate bar from HoG.

That last bit is probably preference though.
Report comment to moderator  
Reply With Quote
Unread 09-15-10, 08:54 AM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
I went through and fixed most of that last night on my local copy, getting the rest now. I don't have a high level lock on the beta, so yeah... no testing time except for "it doesn't blow up the game".

Bar order on my copy for Demo is...
Soulburn
Metamorphosis
Hand of Gul'dan
Immolate
Corruption
Filler (MC)
Bane
Curse

Affliction is...
Soulburn
Haunt
UA
Corruption
Filler (SE)
Bane
Curse

Destro hasn't changed, iirc.

The only reason the Decimation proc is on Hand of Gul'dan is that there wasn't anywhere else to put it. Soul Fire casts should be on the filler bar already, HoG just tracks the proc for convenience' sake. I may remove it later if it makes no sense.

I generally try to add cooldowns only when they vastly affect the rotation, are affected by the rotation itself, or there's just nothing else to show for a spec. The first two apply to Metamorphosis in spades, but with the number of bars already, I'm not entirely sure about adding Demon Soul to the mix.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 09-15-10, 09:12 AM  
Warlocomotif
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 100
Uploads: 9
I can definitely see where you're coming from with the "number of bars", you could consider dropping the curse bar since their duration is pretty long anyway- or maybe it'd be possible to somehow merge banes with curses. Either way, the curse bar would probably be the first one I'd scrap.
Report comment to moderator  
Reply With Quote
Unread 09-15-10, 01:15 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
I've been tinkering with the idea of showing secondary effects and such in the space where ticks normally show, since it's mostly dead space there anyway. Alternatively, showing the smaller bar along the bottom edge, overlaid on the normal stuff.

I honestly don't see curses as important at all in Cataclysm, so the bar's going away.

Not entirely sure if I want to throw Demon Soul in yet, as it doesn't seem to affect rotation or priorities and has a fairly long cooldown. Always open for second opinions though.

I'm probably going to be breaking things pretty badly within the next couple releases. I want to get the new class config syntax in, which means rewriting most of the bar functions and every class config (again). I'll throw out a minor release in a few minutes though.

Changelog:
Code:
* 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.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 09-15-10, 01:36 PM  
Warlocomotif
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 100
Uploads: 9
I dont know about others, but personally I'd edit the profile to add in demon soul. I agree it's becoming a lot of bars, and I honestly am not ab ig fan of that either- but the ruth is that if I put it anywhere else in my UI I'm probably going to end up allocating more space to it than I would do here. I'll give the latest version a whirl when I get the chance to.

Im not sure if its in there, I think it's not- but on beta you'd probably want to show empowered imp procs (on live you would want to not show them).
Report comment to moderator  
Reply With Quote
Unread 09-15-10, 01:37 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Empowered Imp procs are shown on the filler bar for Destro. If/when I get secondary bars in, ISB would probably be one.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 09-23-10, 05:34 PM  
habik
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
a) Is it possible to give certain spells another color? If not could you implement a color modifier for the config.lua for the classes.
b) I use the following lines to show a buff; now the problem is that the addons shows the number of stacks of this buff; but it only has one - how to disable the stack count?

Code:
    -- Kill Command - Resistance is Futile
    self:NewSpell({
        spellID = 82897,
        playerbuff = {82897},
    })
Thank you
Report comment to moderator  
Reply With Quote
Unread 09-23-10, 05:50 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Originally posted by habik
a) Is it possible to give certain spells another color? If not could you implement a color modifier for the config.lua for the classes.
b) I use the following lines to show a buff; now the problem is that the addons shows the number of stacks of this buff; but it only has one - how to disable the stack count?

Code:
    -- Kill Command - Resistance is Futile
    self:NewSpell({
        spellID = 82897,
        playerbuff = {82897},
    })
Thank you
You can create conditions in config.lua (as was done for Priests) for coloring. Check that for examples. If you just want it for one spell, there are two NewSpell flags that were made for that.

Code:
    -- Kill Command - Resistance is Futile
    self:NewSpell({
        spellID = 82897,
        playerbuff = {82897},
        barcolor = {1,0,0,0.6}, -- red, 60% opacity
        barcolorunique = {0.5,0,0,0.4}, -- dull red, 40% opacity
    })
barcolor sets the color of any buff/debuff shown on the bar.
barcolorunique (not required or useful in this case) sets the color of buffs/debuffs that aren't your own (using the unique flag for stuff like Mangle/Trauma, etc).

Hiding single stacks isn't possible with the current release without changing some core code around - Usually when Blizz adds a stack value it's because they plan on adding a glyph/talent/bonus that affects it, so I haven't worried about it much. I'll work something out for the next beta, though.

Edit: Note on the barcolor flag, it doesn't obey texture multiplier rules - 0.6 in the last field will be the same as normal with textured bars. If you don't use textured bars (config.texturedbars = false, in config.lua), use 0.3.
__________________
Former author of EventHorizon Continued and Other Releases.
Last edited by Taroven : 09-23-10 at 05:52 PM.
Report comment to moderator  
Reply With Quote
Unread 09-23-10, 06:38 PM  
habik
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
Thank you.
Report comment to moderator  
Reply With Quote
Unread 09-27-10, 11:48 PM  
Warlocomotif
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 100
Uploads: 9
Seems quite broken on the latest beta, need any error logs or do you have them yourself?
Report comment to moderator  
Reply With Quote
Unread 09-27-10, 11:53 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Originally posted by Warlocomotif
Seems quite broken on the latest beta, need any error logs or do you have them yourself?
Need errors.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 09-28-10, 11:05 AM  
Warlocomotif
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 100
Uploads: 9
Originally posted by Taroven
Need errors.
Code:
Message: Interface\AddOns\EventHorizon\EventHorizon.lua:1215: Usage: GetItemCooldown(itemID)
Time: 09/28/10 19:03:28
Count: 1
Stack: [C]: in function `CooldownFunction'
Interface\AddOns\EventHorizon\EventHorizon.lua:1215: in function `SPELL_UPDATE_COOLDOWN'
Interface\AddOns\EventHorizon\EventHorizon.lua:1303: in function `PLAYER_EQUIPMENT_CHANGED'
Interface\AddOns\EventHorizon\EventHorizon.lua:2146: in function `CreateSpellBar'
Interface\AddOns\EventHorizon\EventHorizon.lua:1617: in function `CheckTalents'
Interface\AddOns\EventHorizon\EventHorizon.lua:2286: in function `Initialize'
Interface\AddOns\EventHorizon\EventHorizon.lua:2598: in function `f'
Interface\AddOns\EventHorizon\EventHorizon.lua:450: in function <Interface\AddOns\EventHorizon\EventHorizon.lua:447>

Locals: (*temporary) = nil
Code:
Message: Interface\FrameXML\UIPanelTemplates.lua:383: attempt to perform arithmetic on field 'cursorOffset' (a nil value)
Time: 09/28/10 19:03:29
Count: 8
Stack: Interface\FrameXML\UIPanelTemplates.lua:383: in function `ScrollingEdit_OnUpdate'
Interface\FrameXML\UIPanelTemplates.lua:360: in function `ScrollingEdit_OnTextChanged'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:449: in function `ScriptErrorsFrame_Update'
...e\AddOns\Blizzard_DebugTools\Blizzard_DebugTools.lua:413: in function `ScriptErrorsFrame_OnError'
[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
[C]: in function `CooldownFunction'
Interface\AddOns\EventHorizon\EventHorizon.lua:1215: in function `f'
Interface\AddOns\EventHorizon\EventHorizon.lua:450: in function <Interface\AddOns\EventHorizon\EventHorizon.lua:447>

Locals: self = ScriptErrorsFrameScrollFrameText {
 0 = <userdata>
 text = "Message: Interface\AddOns\EventHorizon\EventHorizon.lua:1215: Usage: GetItemCooldown(itemID)
Time: 09/28/10 19:03:28
Count: 1
Stack: [C]: in function `CooldownFunction'
Interface\AddOns\EventHorizon\EventHorizon.lua:1215: in function `SPELL_UPDATE_COOLDOWN'
Interface\AddOns\EventHorizon\EventHorizon.lua:1303: in function `PLAYER_EQUIPMENT_CHANGED'
Interface\AddOns\EventHorizon\EventHorizon.lua:2146: in function `CreateSpellBar'
Interface\AddOns\EventHorizon\EventHorizon.lua:1617: in function `CheckTalents'
Interface\AddOns\EventHorizon\EventHorizon.lua:2286: in function `Initialize'
Interface\AddOns\EventHorizon\EventHorizon.lua:2598: in function `f'
Interface\AddOns\EventHorizon\EventHorizon.lua:450: in function <Interface\AddOns\EventHorizon\EventHorizon.lua:447>

Locals: (*temporary) = nil
"
 handleCursorChange = true
}
elapsed = 0
scrollFrame = ScriptErrorsFrameScrollFrame {
 ScrollBar = ScriptErrorsFrameScrollFrameScrollBar {
 }
 offset = 0
 0 = <userdata>
}
height = 193.99998045976
range = 0
scroll = 0
size = 193.99998045976
cursorOffset = nil
(*temporary) = nil
(*temporary) = ScriptErrorsFrameScrollFrame {
 ScrollBar = ScriptErrorsFrameScrollFrameScrollBar {
 }
 offset = 0
 0 = <userdata>
}
(*temporary) = 0
(*temporary) = "attempt to perform arithmetic on field 'cursorOffset' (a nil value)"
Report comment to moderator  
Reply With Quote
Unread 09-28-10, 12:43 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
I've had those errors fixed on my local copy for a while now, but it's a quick hack that's not quite suitable for release.

During the loading screen GetInventoryItemID('player',slotID) works 100% of the time, but GetItemInfo(itemID) directly after returns nil. The hack I put into place is just simple error handling for cooldowns, which alleviates the errors but doesn't do anything for the gear detection.

I've got a couple days off and free time right now, so I'll be working on a better fix. I should have a new beta out tonight. In the mean time, disabling trinkets should work fine.

Pretty sure that second error is from the error handler itself. Blizz hasn't been taking very good care of some of their UI code.
__________________
Former author of EventHorizon Continued and Other Releases.
Report comment to moderator  
Reply With Quote
Unread 09-28-10, 06:24 PM  
Taroven
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 49
File comments: 837
Uploads: 11
Update on that: The next beta will store the names and textures of trinkets you've equipped in global savedvars. That information will be used first when present, since it never really changes.

Nice things about that...
* Less CPU usage on equipment changes. In fact, practically none once the item info has been found once.
* Gets to the root of the problem (the item cache, or lack thereof).
* Takes a lot of workarounds out of equipment checks, which is always awesome.
* Potentially allows for some neat item-related tricks later on.

Just need to work out some little things like reload events before I push a release.
__________________
Former author of EventHorizon Continued and Other Releases.
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.