Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(51 Kb)
Download
Updated: 01-02-11 01:16 PM
Updated:01-02-11 01:16 PM
Created:04-01-09 11:22 AM
Downloads:19,133
Favorites:102
MD5:
AloftCastWarning (Beta)  Popular! (More than 5000 hits)
Version: AloftCastWarning-4.0.1-2048
by: acapela [More]
NOTE: This addon is now part of core Aloft, incorporated as a module. Versions of Aloft from 4.2.X onwards (including the mainline Aloft-4.3.X version and onwards) all incorporate this functionality. It is no longer necessary to install this as a separate addon. Standalone versions of this addon will NOT work with WoW 4.1 or later.
-----
NOTE: This is now an Ace3 addon. AloftCastWarning-1.0.0 (and subsequent versions) will NOT WORK with any Ace2 version of Aloft. You will need Aloft-4.X.
-----
This addon provides a "pseudo" cast bar for identifiable non-target units with visible nameplates (in addition to Aloft's normal target cast bar). This addon ignores the player's current target (on the assumption that the normal target cast bar is available for that purpose).

There are limitations (gory details in README.txt, which is enclosed within the addon. Please review it). To summarize: for PvE (and NPC targets generally), you need to be in a group/raid, a groupmember needs to have the unit targeted, and the unit needs to have a raid target assignment (i.e. an icon). For battlegrounds (PvP, PC targets), a groupmember needs to have the unit targeted. In arenas (PvP, PC targets), it should just work (though it has not been extensively tested there).
-----
This is packaged as a standalone addon, and should be installed as such, but it requires Aloft in order to function. Without Aloft, this addon will just silently fail to initialize.

Remember to enable this addon, as well as Aloft, on the Blizzard addon control screen.

NOTE: Aloft installs into .../Interface/AddOns/Aloft, and THIS addon should install into .../Interface/AddOns/AloftCastWarning. i.e. Copy the contents of this addon's ZIP into .../Interface/AddOns as you would any other standalone addon.

This addon requires Aloft-4.X (preferably the most recent), and is intended to work under WoW 4.0.1 (and the Cataclysm Beta). This will also work with the Aloft Alpha.

The major version numbers of AloftCastWarning have been matched with Aloft, as a way to simplify which version works with which (i.e. Aloft 4.X should be compatible with AloftCastWarning 4.X).

Please delete your AloftCastWarning.lua saved variables file when you install the most recent version of AloftCastWarning.
-----
In order to track defects, PLEASE report any problems in THIS addon's comments and/or via THIS addon's bug reporting mechanism here at WoWInterface (do not use the general Aloft addon for reporting problems with THIS addon).

This addon is still EXPERIMENTAL. Incredibly detailed problem reports are probably not necessary, but please be prepared to work with the author to figure out how to reproduce your errors.

Also watch for efficiency problems. If you feel this addon is eating large amounts of runtime memory and/or slowing your framerates down, let me know, and I will investigate.

I will construct a "real" front page for this addon at some point (basically massaging README.txt into something useful). In the meantime, please review README.txt.

Enjoy!
----------
As always, AloftCastWarning is free with your materials, but if you want to donate: Click here to lend your support!
4.0.1-2048
- fixed problem in AloftCastWarningLocale.lua preventing options from loading properly

4.0.0-1893
- TOC update to 40000 (for WoW 4.0.1/Cataclysm)
- made major version match that of Aloft (both 4.X; hopefully will help avoid future confusion over which basic/major version of AloftCastWarning to use with which version of Aloft)

1.0.5-1871
- enhanced all borders to expose edgeSize (thickness) and inset (padding) as user options

1.0.4-1844
- fixed intermittent bug related to trying to track spells with zero cast duration
- enhanced to delete spells with zero cast duration from the spell database (we don't want to track them, we certainly don't need to save them)
- fixed various problems with proactive cleanup of spell database

1.0.2-1809
- simplified nameplate OnHide processing; setting backdrop/border alpha to zero (0), but leaving the actual border in place; this seems to affect the #132 crash problem? please test (enable borders again, etc)

1.0.1-1780
- added "comprehensive" checks to AloftCastWarning's options menus to insure that the associated module is enabled before updating options

1.0.0-1764
- initial production Ace3 release
- NOT COMPATIBLE with versions of Aloft before 3.1.0
- file manifest is the same as older versions (should be able to just install); your saved variables should be OK
- revised definition of "friendly", to "not UnitCanAttack()"; "UnitIsFriendly()" returns true for same-faction duel opponents, and "UnitIsEnemy()" may report false for neutral units

0.7.9-1599
- applied a blend mode on all texture regions (including backdrops) to "improve" behavior of UI object layering

0.7.8-1588
- enhanced to provide a cast warning bar in some situations when the player's target changes and the target cast bar is not available

0.7.7-1531
- small internal change that improves UI element layering in WoW 3.3 (harmless in WoW 3.2)

0.7.6-1430
- moved some target tracking capabilities into Aloft's target tracking, to facilitate Aloft combat text association with non-target/non-group nameplates
- rationalized the spell school colors more closely with Blizzard's standard combat log spell colors

0.7.5-1354
- added configurable option to direct AloftCastWarning to change alpha of visible nameplates engaged in detectable/warnable cast activity (requires Aloft-2.8.10-0000 or later, requires AloftAlpha module to be enabled)
- fixed a bug related to re-casting the same spell while the earlier cast is still "fading"

0.7.4-1254
- fixed a typo in unit channelled spellcast processing
- commented out some diagnostics that survived into the 0.7.3 release

0.7.3-1242
- replicated Blizzard "shield" graphics for uninterruptable spells with a graphic over the cast warning spell icon (look at "Cast Warning>Spell Icon>Shield" options)
- added features to detect and change cast warning color/texture/border on uninterruptable spell casts, provide separate cast warning options for interruptable/uninterruptable spells

0.7.2-1189
- updated TOC for WoW 3.2
- fixed a bug in combat log processing that was causing cast warnings to end prematurely
- fixed a bug with fade processing that was causing cast warnings never to fade

0.7.1-1150
- fixed TOC typo, now 30100
- adjusted frame level and draw layers of various cast warning assembly elements to rectify potential layering problems

0.7.0-1125
- updated TOC to interface version 31000
- extensively refactored combat log event handling, to use both "UNIT_SPELLCAST_*" and "COMBAT_LOG_*" events to detect spells
- fixed numerous small mistakes/misconceptions in combat log event handling (no doubt there will be more to come)
- cast warnings should now appear regardless of whether the addon has seen the spell before
- extensively refactored saved variables handling, so that useful spell information is collected/saved, and incomplete information is deleted at each game sessoion start
- should show spell warnings on arena opponents without needing mouseover/etc; needs testing

0.6.1-932
- added separate text colors for active cast and fade processing
- added pool for active cast records (cuts down on dynamic table construction/destruction)

0.6.0-903
- initial beta version
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
AloftCastWarnin
51kB
acapela
11-03-10 12:42 PM
AloftCastWarnin
51kB
acapela
07-13-10 08:29 PM
AloftCastWarnin
51kB
acapela
06-18-10 05:57 PM
AloftCastWarnin
50kB
acapela
05-04-10 02:31 PM
AloftCastWarnin
50kB
acapela
04-20-10 01:25 PM


Post A Reply Comment Options
Unread 03-06-10, 12:35 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Originally posted by lustful
hey I was wondering if its normal that the cast bars of people I am not targetting in arenas are not showing up unless I already targetted them while they were casting it (recorded the spell)? Isnt it supposed to just always show up no matter what in arenas since everyone has a unitID?
yes and no. first, you don't mention which version of this addon you are using. second, unfortunately, this addon has not received a lot of testing in arenas.

at least a mouseover is required to collect enemy GUIDs. this addon watches the combat log, which publishes spell cast events in terms of GUID. if you are using the most recent version of this addon, recording the spell first should not be necessary.

let me go check the code. it should be possible to iterate through the unitids ("arena1" through "arena5") and record the GUIDs proactively.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
Last edited by acapela : 03-06-10 at 12:39 PM.
acapela is offline Report comment to moderator  
Reply With Quote
Unread 03-06-10, 01:10 AM  
lustful
A Kobold Labourer

Forum posts: 1
File comments: 8
Uploads: 0
hey I was wondering if its normal that the cast bars of people I am not targetting in arenas are not showing up unless I already targetted them while they were casting it (recorded the spell)? Isnt it supposed to just always show up no matter what in arenas since everyone has a unitID?
lustful is offline Report comment to moderator  
Reply With Quote
Unread 03-03-10, 01:48 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Originally posted by tnbp
Is this addon still working properly? I know that I'm not seeing cast bars for any mob that is not my target. I definitely used to.

So is it working right? If so, I'll have to start figuring out why mine isn't working. O.o
should still be working. however, there are limitations.

in PvE, to see cast bars on non-targets, you need to be in a group/raid, a groupmember needs to have the unit targeted, and the unit has to have a raid target assignment (i.e. an icon).

i just updated the front page of the addon with these limitations (and some additional specifics for PvP). hopefully that will make this thing a bit less cryptic .
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 02-28-10, 11:22 AM  
tnbp
A Kobold Labourer

Forum posts: 1
File comments: 92
Uploads: 0
Is this addon still working properly? I know that I'm not seeing cast bars for any mob that is not my target. I definitely used to.

So is it working right? If so, I'll have to start figuring out why mine isn't working. O.o
tnbp is offline Report comment to moderator  
Reply With Quote
Unread 12-26-09, 11:48 AM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.9-1599

a new release of AloftCastWarning is available (pending moderator approval): AloftCastWarning-0.7.9-1599.

this fixes a few small graphics bugs (similar fixes were applied in Aloft-2.8.14-1600), and i wanted to release so that people could help test/validate these fixes.

as always, please let me know if you experience any problems.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 12-17-09, 03:19 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.8-1588

a new release of AloftCastWarning is available (pending moderator approval): AloftCastWarning-0.7.8-1588.

this release requires Aloft-2.8.13-1589 or later (that version of Aloft has some features in it that are required for proper operation), and has an enhancement that will attempt to provide a cast warning bar when the standard target cast bar is not available (such as when switching targets).
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 12-08-09, 12:47 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.7-1531

a new release of AloftCastWarning is available (pending moderator approval): AloftCastWarning-0.7.7-1531.

this is functionally unchanged from the previous version. it fixes a small glitch induced by WoW 3.3 that occasionally resulted in a graphical artifact. for those of you not in North America (and whose realms may not have progressed to WoW 3.3), this version should work under WoW 3.2.

let me know if there are any problems.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 10-28-09, 07:52 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Re: LUA error

Originally posted by toin7
I'm getting this error a ton.
[2009/10/21 20:08:52-2512-x203]: ...ns\AloftCastWarning\AloftCastWarningSpellProcess.lua:303: attempt to call method 'GetGUIdNameplateId' (a nil value):---


version AloftCastWarning-0.7.6-1430
my apologies for the delay in responding.

assuming you have not already fixed this on your own:

some functions moved from AloftCastWarning into Aloft itself, in 0.7.6-1430. you need Aloft-2.8.11a-1431 (the most recent version, as of 2009/10/28) in order for AloftCastWarning-0.7.6-1430 to work properly.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 10-21-09, 09:17 PM  
toin7
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
LUA error

I'm getting this error a ton.
[2009/10/21 20:08:52-2512-x203]: ...ns\AloftCastWarning\AloftCastWarningSpellProcess.lua:303: attempt to call method 'GetGUIdNameplateId' (a nil value):---


version AloftCastWarning-0.7.6-1430
toin7 is offline Report comment to moderator  
Reply With Quote
Unread 10-19-09, 12:26 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.6-1430

a new release of AloftCastWarning is available, pending moderator approval: AloftCastWarning-0.7.6-1430.

this version requires Aloft-2.8.11-1431 or later. earlier versions of Aloft will not work.

there should be no "significant" functional changes in this version. however, this version has lost some "under the covers" functionality, which has been moved to Aloft. i also tried to rationalize this version's spell school colors somewhat more closely with the colors used by Blizzard's combat log.

as always, please report any problems here.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 09-28-09, 10:17 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.5-1354

there is a new release of AloftCastWarning available (pending moderator approval): AloftCastWarning-0.7.5-1354.

this fixes a bug (see the change log), and allows the user to specify the alpha of nameplates for units that are actively casting (casting in a way that this addon can detect; see the "Cast Warning" options).

this requires Aloft-2.8.10-1359 (there are things in Aloft that this new alpha feature requires in order to work), and the "AloftAlpha" module must be enabled.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 08-24-09, 03:18 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.4-1154

a new release of AloftCastWarning is available (pending moderator approval): AloftCastWarning-0.7.4-1154.

this contains a fix for a typo that would have negatively affected "unit-based" channeled spell detection (i.e. channeled spells cast by friendly group members or hostile targets of your friendly group members).
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
acapela is offline Report comment to moderator  
Reply With Quote
Unread 08-19-09, 07:51 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Release: AloftCastWarning-0.7.3-1142

a new release of AloftCastWarning is available: AloftCastWarning-0.7.3-1142.

this adds a couple of mechanisms for indicating "non-interruptable" spell casts on non-targets, and fixes a few glitches that were resulting in cast warning bars appearing on nameplates after changing targets.

NOTE: for "non-interruptable" to be indicated, someone in your group (at least a pet) will need to have the casting unit targeted. otherwise, the resulting cast warning looks the same as it always did (just a plain bar, no indication of "non-interruptable").

as well, it looks to me as if Blizzard's UnitCastingInfo()/UnitChannelInfo() API is flagging things incorrectly as "non-interruptable", based on what spell was last cast by the casting unit, and whether the casting unit is the player's current target. this results in "false positives" being reported by AloftCastWarning; things show as "non-interruptable" that are in fact interruptable. i don't have any workarounds to suggest (seems to be a case of "garbage-in"/"garbage-out"), so be advised. i will continue to test for this, and if/when the behavior changes, i will let you folks know.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
Last edited by acapela : 08-20-09 at 11:02 AM.
acapela is offline Report comment to moderator  
Reply With Quote
Unread 08-18-09, 08:50 PM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 237
File comments: 1305
Uploads: 6
Re: Error

this was, of course, actually an Aloft problem, but has been fixed in the most recent release of Aloft (2.8.6-1143).

Originally posted by Xamael
I got the following error:
thanks for the report. i will work on this.
__________________
Current author/maintainer of Aloft (the nameplate addon)
http://www.wowinterface.com/download...AloftBeta.html
-----
Zippy said it best: "All life is a BLUR of Republicans and Meat!"
Last edited by acapela : 08-19-09 at 07:52 PM.
acapela is offline Report comment to moderator  
Reply With Quote
Unread 08-17-09, 10:34 AM  
Xamael
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 27
Uploads: 1
Error

I got the following error:

[2009/08/17 18:30:23-3739-x1]: Aloft-2.8.5.1208-deDE\AloftCrowdControl\AloftCrowdControl.lua:410: attempt to compare number with nil

---
Xamael is offline 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.