Download
(134Kb)
Download
Updated: 02-05-09 06:58 AM
Pictures
File Info
Updated:02-05-09 06:58 AM
Created:unknown
Downloads:4,389
Favorites:15
MD5:

Power Alert

Version: 20090205
by: kjkrum [More]

Power Alert flashes power and health warnings using "crit" style floating combat text. It increases your situational awareness without blocking your view and clicks the way a HUD often does.

Version 20090205 moves the configuration options into Blizzard's interface options panel and adds an option to disable audio alerts. The code is also fully localized. See the development notes below for more details.

Displays alerts for:
- High rage
- High energy
- High runic power
- Low mana
- Low health
- Full power and health

Settings are saved on a per-character basis. Access the GUI configuration options by typing /poweralert or /pa.

Power Alert uses Blizzard's floating combat text functions. If you get an error about CombatText_AddMessage being nil, enable floating combat text in your UI options.

Development notes - feedback requested

The way Power Alert provides audio cues was the product of much experimentation. I feel it's the optimal combination of attention-grabbing feedback when you need it, and minimal annoyance when you don't. If you feel otherwise, please let me know.

Power Alert is fully localized. However, the only translation in Localization.lua is English. I will credit anyone who submits translations for other locales. I would also welcome screenshots from other locales for use on this page.

Version 20090205:
- Moved config options to the Blizzard interface options panel
- Added a checkbox to turn off audio cues
- Fully localized (but still needs translations!)

Version 20081114:
- Added audio cues for low health and mana

Version 20081018:
- Fixed energy alert spam in 3.0

Version 20081005:
- Updated for 3.0 and recent beta builds
- Added GUI configuration via /poweralert or /pa
- Configuration settings are saved per-character
- Druids receive mana and energy alerts in all forms
- Changed color of Runic Power alerts to light blue

Version 20080903:
- Removed debugging messages

Version 20080818 beta:
- Localized alerts (except percent formats)
- Added alerts for high Runic Power
- Minimized global namespace clutter
- Changed rage and energy alerts to points instead of percents
- Fixed spurious 100% health alert when shifting to bear form
- Various minor bugfixes

Version 20080812:
- Tracks health as well as power
- Displays current percents instead of threshold values
- Minor bug fixes related to druid shapeshifting

Version 20080808:
- Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 10-05-10, 07:17 PM  
Opaque
A Fallenroot Satyr
 
Opaque's Avatar

Forum posts: 23
File comments: 138
Uploads: 0
Seems great, but I just tried it and whenever my Runic Power hit's the 40 mark I get this error...

Code:
Date: 2010-10-05 21:13:44
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\PowerAlert\PowerAlert.lua line 123:
   attempt to call global 'CombatText_AddMessage' (a nil value)
Debug:
   [C]: CombatText_AddMessage()
   PowerAlert\PowerAlert.lua:123: PowerAlert_Notify()
   PowerAlert\PowerAlert.lua:95: PowerAlert_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1
AddOns:
  Swatter, v5.7.4568 (KillerKoala)
  Cursor, v3.3.0.1
  NPCScan, v3.3.5.5
  A3FuInfoclock, v1.4
  ACP, v3.3.7 
  AraBrokerReputations, vr6
  Atlas, v1.17.0
  AtlasBattlegrounds, v1.17.0
  AtlasDungeonLocs, v1.17.0
  AtlasOutdoorRaids, v1.17.0
  AtlasTransportation, v1.17.0
  AtlasLoot, vv5.11.04
  AtlasLootFu, vv5.11.04
  AuctionLite, v1.6.4
  AudibleMail, v3.3
  Badapples, v
  BadapplesFix, v3.3.5.1
  BlizzMove, vv0.7
  BonusScanner, v5.3
  BossModTTS, v1.17
  Bubblicious, v1.0 
  ButtonFacade, v3.3.333
  ButtonFacadeDsmFade, v1.48
  BuyEmAll, v2.9.2
  Carbonite, v3.34
  CarboniteTransfer, v1.01
  Carousel, v2.1.1
  CarouselFont, v3.1
  CarouselOptions, v2.0
  Castbars, v
  CastBy, v0.1
  ccUnspammer, v1.0.1
  ChatSounds, v
  Chatter, v1.0
  ChronoBars, v1.12
  DaggerlolsItemLevel, v1.0.0.1
  DBMCore, v
  DebugLib, v5.1.DEV.130
  DKSounds, v0.7b3
  Dominos, v1.18.6
  DominosConfig, v
  DominosRoll, v
  Eaglerror, v
  Engraved, v1.4
  epgp, v5.5.17
  epgplootmaster, v0.5.0-beta
  epgplootmasterml, v0.5.0-beta
  EquipCompare, v2.17
  Examiner, v10.08.14
  Fizzle, vv1.5.1
  FlightHUD, v0.9.20
  Fontifier, v
  Fortress, v1.14 
  FriendColor, v
  GDA, v0.99
  GearScore, v3.1.17 - Release
  GraphPaper, v1.3.5
  GTFO, v2.5.2
  InspectEquip, v1.7.7
  Kong, v
  KongConfig, v
  LightHeaded, v310
  lolThreat, v1.1.4b
  Mingy, v1.1
  MKSound, v1.0
  MountRandomMount, v
  MovableBags, v
  mRunes, v1.0
  NeedyGreedy, v1.5.4
  NugMiniPet, v1.4
  Obituary, v1.0.3
  oGlow, v1.12
  Omen, v3.0.9
  Overachiever, v0.56
  PeaceAndQuiet, vv0.2
  PitBull4, vv4.0.0-beta11
  PitBull4Aura, vv4.0.0-beta11
  PitBull4Background, vv4.0.0-beta11
  PitBull4BlankSpace, vv4.0.0-beta11
  PitBull4Border, vv4.0.0-beta11
  PitBull4CombatFader, vv4.0.0-beta11
  PitBull4CombatIcon, vv4.0.0-beta11
  PitBull4CombatText, vv4.0.0-beta11
  PitBull4ComboPoints, vv4.0.0-beta11
  PitBull4HealthBar, vv4.0.0-beta11
  PitBull4HideBlizzard, vv4.0.0-beta11
  PitBull4HostilityFader, vv4.0.0-beta11
  PitBull4LeaderIcon, vv4.0.0-beta11
  PitBull4LuaTexts, vv4.0.0-beta11
  PitBull4MasterLooterIcon, vv4.0.0-beta11
  PitBull4Portrait, vv4.0.0-beta11
  PitBull4PowerBar, vv4.0.0-beta11
  PitBull4PvPIcon, vv4.0.0-beta11
  PitBull4RaidTargetIcon, vv4.0.0-beta11
  PitBull4RangeFader, vv4.0.0-beta11
  PitBull4ReadyCheckIcon, vv4.0.0-beta11
  PitBull4RestIcon, vv4.0.0-beta11
  PitBull4RoleIcon, vv4.0.0-beta11
  PitBull4Sounds, vv4.0.0-beta11
  Portfolio, v1.22
  Postal, v3.4.0
  PowerAlert, v
  Producer, v2.5.6
  ProducerEffect, v1.2.3
  ProducerPosition, v1.2.3
  Prospect, vv201006301740
  QoreysBuffBars, v
  SkillScore, v0.5
  Stubby, v5.7.4568 (KillerKoala)
  Talented, vv2.4.6c-release
  TalentedSpecTabs, vv2.4.6c-release
  TidyPlates, v5.13.3 (R39)
  TidyPlatesGrey, v
  TidyPlatesNeon, v
  TinyDPS, v0.84
  TipTac, v10.05.01
  TipTacItemRef, v10.02.27
  TipTacTalents, v10.02.27
  tullaCC, v1.1
  TweakWoW, v2.9.6b
  Volumizer, v3.3.3-1.2.3
  WhoTaunted, v1.1.1
  wMarker, v1.0
  XLoot, v0.91.1
  XLootGroup, v0.61
  XLootMaster, v0.81
  xMerchant, v100812
  YssBossLoot, vv1.0.4
  BlizRuntimeLib_enUS v3.3.5.30300 <us>
  (ck=c25)
Hope you can fix it... looks like a great help!
__________________
Report comment to moderator  
Reply With Quote
Unread 05-18-09, 10:48 PM  
kjkrum
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 3
I had a strange problem starting around game version 3.1. I haven't received any bug reports about it, so maybe it was just a freak thing. But just in case:

PA stopped saving the settings for my characters, and kept reverting to 0 for all the option values. Fixing it was a matter of deleting the saved variables file and letting it create a new one. If this happens to you, go to your character's SavedVariables folder, e.g.:

C:\Program Files\Blizzard\Burning Crusade\WTF\Account\ACCOUNT\Server\Character\SavedVariables

..and delete PowerAlert.lua and PowerAlert.lua.bak.
Report comment to moderator  
Reply With Quote
Unread 02-05-09, 09:33 PM  
Mor
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Thanks!

Thanks for this addon...it's awesome
Report comment to moderator  
Reply With Quote
Unread 11-16-08, 06:37 AM  
kjkrum
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 3
I'll take that into consideration.
Report comment to moderator  
Reply With Quote
Unread 08-20-08, 09:33 AM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 241
File comments: 1313
Uploads: 5
IMO, this is the way to do this sort of thing. simple, as you say... but use LibSInk.

http://www.wowinterface.com/download...o.php?id=10485

just my $0.02.
Report comment to moderator  
Reply With Quote
Unread 08-12-08, 10:05 PM  
kjkrum
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 3
Hmmm... sorry.

I write software for myself and share it with others if I think they would find it useful. Integrating LibSink would be far more work than I'm interested in doing.
Report comment to moderator  
Reply With Quote
Unread 08-12-08, 10:11 AM  
acapela
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 241
File comments: 1313
Uploads: 5
feature request: incorporate LibSink, so that various combat text systems are available for use.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: