Commit Graph

63 Commits

Author SHA1 Message Date
9b063bed63 More TWW/11.0.2 compatibility
I don't have beta access so I can't test this yet, but this should catch everything in the Deprecated_11_0_0 file in wow's official ui source as well as some stuff not mentioned but reported by users.
2024-07-21 13:51:17 -05:00
6c2e759f45 Basic TWW compatibility 2024-06-22 18:07:42 -05:00
57ddf62f73 Maybe stop castbar flashing sometimes 2024-05-11 15:42:54 -05:00
5321f7c64d Prevent error
Wowace ticket #351
2023-12-26 15:47:36 -06:00
4d71dcc660 Possible fix to reported issue
I can't reproduce the problem, but this should cover it if it happens.

https://www.wowace.com/projects/ice-hud/issues/344
2023-06-05 17:39:36 -05:00
8ac9bee610 Fix instant casts for non-player spells
I was out questing and kept seeing "Near Training Gem" pop as an instant-cast. This filter seems to have stopped it.
2022-11-18 11:44:52 -06:00
7d32b6d8c6 Fix player castbar flashes
There are controls on the player castbar module for flashing when a spell succeeds or fails, and separate controls for flashing when an instant cast completes. Those were broken (flashing never happened), but now work again.

UpdateBar() was necessary in MyOnUpdate() in the event that no other spell has been cast (in order to set the alpha so that the bottom text displays). The spellId is being passed along so that spells that aren't currently being cast can have their name and icon displayed appropriately, and so the early-out for "no known spell" doesn't trigger (which allows the Flash to actually work). The self.current reset fixes instant casts after a normal cast (we were only clearing the "current" spell conditionally when we only meant to filter StopBar, so if it wasn't cleared, future successful casts thought they were for a different spell than was currently being cast.
2022-11-16 13:09:58 -06:00
6a985bc67a Add Evoker, empowered casting support 2022-11-11 11:29:15 -06:00
d10586d477 More culling of WowVer checks 2022-09-18 13:33:51 -05:00
e313e679ae Basic Classic-BC support
This has been tested on Classic PTR and Retail, but only with a Rogue
character. Don't have a ton of time to do more exhaustive tests right now.

Fixes #11
2021-05-09 12:04:23 -05:00
d9c3de0a5e Drycode attempt to fix reported issue 278
This should only happen on a Classic client with LibClassicCasterino installed and a specific type of spell event fires
2020-05-22 10:17:18 -05:00
659de89d0c Fixed player cast error for users without LibCasterCasterino installed 2019-11-30 10:49:37 -06:00
b40829abbb add TargetCast support in Classic (#8)
This change adds support for using LibCasterCasterino to get your
target's casting info to enable the TargetCast module. It's not as
clean as the newer retail native calls but works well enough for
most interrupts.

Note: because LibCasterCasterino is using combat log events to get
casting info if a spell cast starts and is immediately cancelled or
interrupted the log may not get updated and the cast bar will zombie
complete.

LibCasterCasterino can be found at:

https://github.com/rgd87/LibClassicCasterino
2019-09-28 22:58:39 -05:00
9b90694912 add missing unit parameter on SpellCastFailed (#5) 2019-09-06 18:12:39 -05:00
ba8748ecca First batch of WoW Classic compatibility updates
This has been tested on Classic with a Rogue up to level 5 using various modules and casually checked against a few level 1 classes. I'm sure there's a lot more to do here. I also made sure to test on Live.

Where possible I tried to check for API availability rather than specific client versions or program IDs. There are many cases where that's impractical, however, so version/program ID checks were used.

This was tested with:
* Ace3 @r1225
* AceGUI-3.0-SharedMediaWidgets @r61
* LibDBIcon-1.0 @v8.2.0
* LibDogTag-3.0 @v80200.1
* LibDogTag-Unit-3.0 @v80200.1-2-g93a898d-alpha
* LibRangeCheck-2.0 @v4.2.3 (with a couple of local changes)
* LibSharedMedia-3.0 @r113-alpha
2019-08-11 23:21:06 -05:00
1591b36e89 Fixed SpellCastSucceeded signature and spell name for 8.0 2018-08-17 22:44:03 -05:00
be64b56da6 Fixed 8.0 error when playing as a Monk
Fixed 8.0 castbar sometimes showing gibberish text and sometimes disappearing when the cast wasn't complete yet
2018-07-18 01:19:22 -05:00
2d48f3a24c Don't show castbar "show rank" option on BfA
All the spellcasting event callbacks need their signatures changed, but I can't cleanly do that without breaking Legion compatibility. So that will have to wait, I think. Castbars seem to be working for now...
The simplest solution is probably to register different callbacks for BfA versus pre-BfA, but that seems ugly.
2018-07-16 11:36:24 -05:00
89ef91b9b3 Initial dump of BfA compatibility
Updated for:
- SPELL_POWER_* constants becoming Enum.PowerType.*
- Rank no longer existing in return values for UnitAura, UnitBuff, UnitDebuff, UnitCastingInfo, UnitChannelInfo
- UNIT_POWER event becoming UNIT_POWER_UPDATE
- UnitPopupFrames no longer existing
- Removed events: PLAYER_PET_CHANGED, UNIT_MAXPOWER, PET_BAR_CHANGED, UNIT_DYNAMIC_FLAGS
- Texture return value from UnitAura type changing (name -> id)
- All Warlock specializations using soul shards
- Death Knight rune changes

Haven't tested all classes/specializations yet, so I'm sure I missed some stuff.
Probably need to add support for the new circular cooldown wipe flourish added in the base client.
Saw a problem with cooldown flashes being delayed on DK runes becoming available that probably need to be fixed.
2018-06-06 22:57:35 -05:00
34d3060df3 Fixed castbar interruption on 7.0 clients
Looks like some things changed in spellcast events on 7.0 which necessitate using the spellcast GUID to identify when a specific cast starts or stops. Now we use those GUIDs which restores the castbar to its appropriate behavior. (ticket #215)
2016-07-25 13:02:14 -05:00
aec7852011 Hacked cast lag back in for 7.0 beta
UNIT_SPELLCAST_SENT is now firing at the same time as UNIT_SPELLCAST_START which is when the client receives confirmation that a spell s/he wanted to cast has begun casting (as opposed to pre-7.0 when _SENT would fire when the client pressed the button before receiving confirmation). As per http://www.wowinterface.com/forums/showpost.php?p=314818&postcount=31, I'm now hooking CURRENT_SPELL_CAST_CHANGED to give us a slight chance of acquiring lag info. Unfortunately that event fires for just about every casting-related thing that happens (with no context/useful args at all), so we get a proper lag indicator for the initial cast, but nothing once we start chaining casts together. I guess this is something to keep an eye on as 7.0 nears release.
2016-05-29 00:45:01 -05:00
a9e96ca151 Tweaked debug messages 2016-05-17 23:19:28 -05:00
d51b627cf6 - Ticket #157 - fixed an error when a channeled spell ends early due to being hit. (Thanks, cg110!) 2012-09-30 21:22:16 +00:00
cc8b66dc0c - fixed layer ordering such that icons draw in front of bars again 2010-12-05 21:22:12 +00:00
fa8b895214 - mana modules animate regardless of 'predictedPower' setting now
- fixed occasional flickering in the cast bar and threat bar when they are first displayed
- minor code cleanup
2010-11-06 03:03:46 +00:00
74b9ace21d - better fix for cast bars getting stuck sometimes
- reinstated the code that was shutting off updates when a bar reached its desired scale
2010-11-06 02:31:35 +00:00
a93bcaf190 - pedantically replaced sets of spaces with tabs. i'm that guy. 2010-11-05 01:48:46 +00:00
fa74303411 - better fix to make sure modules always re-register for updates if they need to when they're shown 2010-10-30 15:48:54 +00:00
dd02a60213 - made castbars always register themselves for updates when shown. fixes a bug where opening the map fullscreen while casting will stop the cast bars from updating (ticket #97) 2010-10-30 15:12:54 +00:00
02a552b9ab - fixed the cast bar to actually use the CastChanneling color when channeling. since this was apparently never hooked up, i also changed the default color for CastChanneling to match CastCasting so that long-time users won't notice the difference unless they've explicitly set a channeling color themselves 2010-10-28 00:22:36 +00:00
e003fab854 - removed most of the rest of the garbage that was being generated during combat or when changing targets
- reduced cpu usage by 33%-50% across the board (and more in some cases) by changing how updates are registered and how often they run. now the 'update period' slider actually matters. it defaults to 0.033 meaning that frames update about 30 times a second instead of every frame
- fixed the "always" display mode for cooldown bars to respect alpha settings (ooc/with target/in combat/etc.)
2010-10-25 02:05:58 +00:00
af5574e4a6 - added local copy of _G.IceHUD to modules that reference it frequently for a minor lookup speed boost 2010-10-20 05:22:27 +00:00
86ee5ca6c1 - fixed icons rotating with bars incorrectly when setting bar to be rotated 90 degrees 2010-10-15 00:30:27 +00:00
08861ecfe7 - first shot at localization of all configuration settings in IceHUD using AceLocale. note that all of these conversions were generated programmatically so it's possible that something went awry...very casual testing seemed okay, however. 2010-09-26 05:14:42 +00:00
a242f50cb4 - moved all "icons" settings from being under a header to being in their own group. this should unify the "icon settings" features of all modules 2010-09-19 06:39:59 +00:00
250adfc2db - removed the last remnants of Ace2 (AceOO-2.0 and AceLibrary) thanks to a huge amount of help from ckknight for metatables 2010-09-17 05:41:04 +00:00
1961b66f57 - big giant options screen usability cleanup:
- colorized the FAQ and Module Settings description text to be more readable
- removed custom coloring from certain options that didn't match the rest
- hid a few debug-only settings
- consolidated all the 'create custom module' buttons into a drop-down + create button
- clarified description of some options so that their intent/purpose is more clear
- moved around/cleaned up headers for consistency
- doubled the width of long options so that they don't get cut off and ...'d
2010-09-12 22:36:02 +00:00
3f656378c5 - removed Deformat as it's no longer necessary
- removed FuBarPlugin from the toc since it's not used any more
2010-09-12 00:07:47 +00:00
e95db24dd0 - replaced AceEvent-2.0 with AceEvent-3.0/AceTimer-3.0 2010-09-10 06:30:56 +00:00
8d4686f10c - updated all UnitPower* code to use the SPELL_POWER_* constants instead of hardcoding numbers...mostly just a readability change 2010-09-10 01:50:43 +00:00
59344a134a - converted most of the mod to ace3. the only ace2 remaining is AceEvent-2 (probably easy to get away from) and AceOO-2 (not so easy)
- the ace3 conversion also broke the dependence on Waterfall and gave a much better configuration screen through AceConfigDialog; plus Waterfall is very broken in Cataclysm and it's unclear whether anyone will bother to fix it or not
- fixed a bug with the custom CD bar when changing profiles where it would generate endless errors until a reloadui
- removed DewDrop library as it was no longer in use
- temporarily removed FuBar plugin as it doesn't work as a mixin with AceAddon-3. i will eventually be bringing this back in some form (before the next full release version)
- removed an unused 'about' button on the config page and some empty headers...not sure why they were ever there
2010-09-05 20:11:33 +00:00
7e042dc3ec - added optional scaling to spell icons on the cast bars, custom bars, and cooldown bars 2010-07-25 20:25:17 +00:00
41806602df - user-submitted patch for an 'invert' option in addition to the 'reverse' option for all bars. now 'reverse' controls bar movement direction while 'invert' controls bar fill behavior http://www.wowace.com/addons/ice-hud/tickets/73-reversing-cast-bars-and-channels 2010-07-20 01:34:21 +00:00
d5a8af8cd5 - attempt to fix button mashing while casting channeled spells causing the cast bar to get cut off when it wasn't supposed to. needs user testing before going live 2010-04-20 05:56:46 +00:00
b6517b45e9 - added an optional icon to the player and target casting bars that shows which spell is being casted/channeled. default is off 2010-04-17 22:34:37 +00:00
48f1ccfe95 - fixed the non-interruptible check to work for the target cast bar's TargetChanged event
- fixed :Redraw from causing a cast bar to draw gray and stop updating (could happen if spell interruptibility changed mid-cast)
2010-04-01 16:04:45 +00:00
ca4107446e - minor cleanup of the animation/scale-setting code to avoid duplicating chunks of code 2010-03-31 16:31:38 +00:00
4cb3f59ff2 Fix for removal of SetTexCoordModifiesRect in 3.3.3. 2010-03-24 23:54:14 +00:00
0a0a816701 - more minor cleanups before tagging a new release version 2009-04-19 00:49:33 +00:00
10af4566d6 - added tons of divide-by-zero protection all over the place
- general cleanup of values passed to UpdateBar
2009-04-18 21:07:42 +00:00