Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(168 Kb)
Download
Updated: 11-12-10 04:24 PM
Pictures
File Info
Updated:11-12-10 04:24 PM
Created:unknown
Downloads:10,104
Favorites:73
MD5:

ZoneDefense  Popular! (More than 5000 hits)

Version: 0.85
by: Tuhljin [More]

ZoneDefense (ZD) is a highly-customizable addon which improves WorldDefense and LocalDefense alarms. At your option, it can:

  • Add relevant zone information to alarms (so you know where that obscure subzone that is under attack is!),
  • Use hyperlinks in alarms to easily open the world map to the proper zone and ping the location of an alarm,
  • Suppress superfluous messages (handling alarm spam),
  • Custom-color alarm text,
  • Highlight the faction involved ("the Horde" or "the Alliance"),
  • Add timestamps,
  • Shorten WorldDefense and LocalDefense messages in a variety of ways,
  • Customize alarms' text format (as just one example, you might use "Under attack: <Place>" instead of "<Place> is under attack!"),
  • Display alarms while in any instance (or optionally, only battlegrounds),
  • Display ZD messages in any chat frame(s) of your choice,
  • And more!

Quick Reference

Slash commands:
  • /zd - Basic settings.
  • /zd help - Additional commands (such as ping location scanning - see "SCAN FOR ALL PING LOCATIONS" in readme.txt).
  • /zd adv - Advanced settings.

Change which chat frames ZoneDefense messages appear in:
  1. Right-click on the desired frame's tab and select "Settings" (under the heading "Filters").
  2. Select the "Other" category.
  3. Check (or uncheck) the "ZoneDefense Alarms/Chat" option on the bottom of the list on the right-hand side.

What's New?

Here are just a few highlights from recent updates. See the change log for more.
  • Options to handle Grizzly Hills PvP quest (0.80) and Wintergrasp (0.82) alarm spam separately from other alarms.
  • Updated for WoW 3.0. (0.70)
  • Share alarms with other ZD users, letting alarms others share be seen by you while you are in an instance (display disabled by default). (0.54)

Use with Intel

Intel is a sister addon to Intel. It is available for download here. Neither is required for the other to operate, but they do complement each other in a number of ways:
  • When ZoneDefense looks for a place to ping on the world map, it checks with Intel to see if one of its icons would work best.
  • When ZoneDefense receives shared alarms while you are in an instance, it forwards them to Intel. This allows Intel to continue to update world objective information when it normally would be unable to do so. (ZD does not have to be set to display shared alarms to forward them to Intel; it need only be set to share them.)
  • When Intel outputs a "pseudo-alarm," such as when a Wyvern Camp is captured or lost (an event not reported by LocalDefense/WorldDefense and thus not normally output to the chat log), it can have ZoneDefense format the message in the manner of a LocalDefense alarm, as customized by the player.
  • When an "under attack" alarm is triggered for a Wintergrasp subzone, the ZoneDP system that ZoneDefense includes (a part of Zone Log) allows Intel to recognize the subzone and thus consider Wintergrasp to have been attacked.

Localization:
  • Functions with English, German, and French clients.
  • Collects zone/subzone information as you play. Includes extensive pre-collected data in English and German.
  • Interface options text currently in English only.
If you wish to help localize the addon, please contact me.


Read the included readme.txt file for more information.



Click here to lend your support!
Buy Tuhljin a snack so he'll feel guilty about not yet implementing that suggestion you made. Or maybe just to show your support. That works, too.

The change log lists changes of particular note to users, not every change made.

v0.85
- Updated for WoW 4.0.1.
- The command to scan for all ping locations ("/zd p ALL") now disables the display of quest objectives on the world map and sets the map to full screen; this state is locked in until the scan is complete or paused. This combats possible inconsistencies with the scan and prevents a crash to the desktop that could otherwise occur when logged into some characters.
- Backdrop of the "pending alarms" tooltip darkened for better contrast against chat log text.

v0.84
- Updated for WoW 3.3.
- Updated subzone data.

v0.83
- Updated for WoW 3.2.
- Updated subzone data.

v0.82
- Updated for WoW 3.1.
- Updated subzone data.
- Added new options to handle Wintergrasp alarms, allowing them to be handled in a manner separate from other alarms. (Added to the "World PvP Objectives" panel.)

v0.81
- Added a necessary library.

v0.80
- Added new options to handle alarms from Grizzly Hills PvP quest subzones, allowing them to be handled in a
manner separate from other alarms. (Added to the "World PvP Objectives" panel.)
- Converted interface options to use the TjOptions library, making panel contents create-on-demand (among other
benefits).
- The Color Clipboard system is now used, replacing the buttons used for copying one specific color option to
another specific color option. This system lets you copy colors from any option that uses the standard Color
Picker (including those created by Blizzard) to another using a "copy/paste" approach that is accessable while
the color selection window is open.
- Alarm Sharing: Fixed an issue where player lists weren't always properly filtered from the chat log.

v0.74
- Added an option to display a tooltip containing the number of pending alarms for a location (if any) when the cursor
is over a ZD hyperlink.
- New zone abbreviations added for Northrend (e.g. "Crystalsong" for "Crystalsong Forest").
- Updated subzone data.
- Rewrote much of Zone Log and the ZoneDP library for improved efficiency.

v0.73
- Fixed an issue where the display of ZD Alarms/Chat in a chat frame could not be disabled.

v0.72
- In WoW 3.0, clicking channel labels (e.g. "[1. General]") lets you quickly open chat to that channel or see who is
in it. The channel labels at the start of ZD messages now operate the same way, tied to the LocalDefense channel if
you are in it.
- Updated subzone and ping location data.

v0.71
- Library updates to properly handle Eastern Plaguelands changes in WoW 3.0.

v0.70
- Updated for WoW 3.0.

v0.63
- Fixed an error involving the "Handle LocalDefense..." checkbox in ZD's LocalDefense options tab.

v0.62
- When ZD opens the world map in order to ping a location, the standard ping at the player's position that occurs
when the world map opens is now hidden to prevent the distraction or confusion it may cause.
- Resolved a compatibility issue with the addon Cartographer that prevented some pings from being seen.

v0.61
- Changed handling of hyperlinks to allow Intel icons that share the same name (e.g. the various Wyvern Camps)
to be handled properly.

v0.60
- Function added to allow other addons to easily generate ZD-formatted pseudo-alarms. (The addon Intel, version
0.33 or later, uses this capability.)
- Alarm Sharing: Fixed an issue with the TjChanShare library. It now properly handles the moderator symbol ("@")
in channel member listings.
- Fixed an issue where subzones with names that end with a space were not handled properly. (The existence of
such oddly named subzones is an issue with WoW itself.)
- Minor update to ping location data.
- Code cleanup and some preparation for WoW 3.0 (Wrath of the Lich King) in the base ZoneDefense code as well as
in these libraries: Astronomer, TjChanShare, Zone Log, and ZoneDP.

v0.55
- Interface options panel order updated for WoW 2.4.3.
- Minor improvements to ZD's interface options GUI.
- Added an option to only display shared alarms while in a battleground.
- Fixed an issue where users of the alarm sharing global channel feature would see a "No player named..." message
upon log in if another player who was in that channel went offline.
- Updated subzone and ping location data.
- Alarms received through the alarm-sharing system while you are in an instance are now forwarded to Intel
(another addon by Tuhljin) so it may continue to update World PvP data, whether or not you choose to have these
alarms display in the chat log.

v0.54
- When you enter another zone, pending LocalDefense alarms (held off due to spam handling) from the previous zone
are "flushed" from the stack, displayed immediately to prevent ZD and players from thinking the alarm belongs
to the new zone.
- An alarm-sharing system has been added. ZD can now display alarms while you are in an instance if another ZD
user sees the alarm and shares it with you using this system. See options in the "Alarm Sharing" panel.
- Slash command '/zd shared' added to list players sharing alarms with you.
- Advanced option added to change text used in place of "channel name" when displaying shared alarms.

v0.53
- Slash command '/zd p <subzone>' added. Enter a subzone to attempt to open the map to that location and ping it.
- ZD now remembers ping locations so that if you are using a character that otherwise wouldn't be able to see a
subzone's location on the world map, the proper location may still be pinged. See the "World Map Ping" section
in readme.txt.
- Some special ping location data is now included with ZD which adds some otherwise unobtainable coordinates. The
data may also in rare cases be used to override normally-available coordinates to make them more precise.
- Fixed an issue where certain world PvP objective alarms would display the associated zone even when that option
was disabled.
- Test alarms no longer contribute to the saved list of unknown alarms introduced in 0.51.

v0.52
- Fixed a (harmless but annoying) loading error in Astronomer library.

v0.51
- Added an option to turn place and zone names in ZD alarms into clickable hyperlinks (enabled by default).
Clicking a hyperlink can open an appropriate zone map and ping the location that is under attack, among other
things. See the tooltip of the new checkbox (in General panel) for usage.
- Fixed an issue where the spam-handler often mishandled LocalDefense alarms, preventing them from displaying.
- Added advanced option to disable displaying a chat message when the addon is loaded.
- When ZD tries to add the zone to a WorldDefense message but it is not found in ZD's database (even if it is
found using Zone Log/ZoneDP), the subzone is placed in a saved variable table for future reference. Upon
loading, ZD purges this table of subzones that are now found in its database.
- ZD now automatically gathers all zone names (but not subzone names) at startup, no matter which language the
client is using or whether content patches add new zones.
- Minor update to subzone information.

v0.50
- ZD-handled WorldDefense and LocalDefense messages can now be output to the chat frames of your choice. These
settings are saved per character.
- ZD now uses Zone Log to gather subzones' zone names as the player encounters them to supplement its own
pre-generated subzone data. ZD's zone data is also shared with any other addons that use ZoneDP.
- Fixed an issue where using "/zd reset" and then opening the interface options and hitting cancel would cause
older settings to be improperly restored. Settings will still be restored if you use "/zd reset" while the
options window is already open and then hit cancel; this is intended behavior.

v0.45
- Added option (in General panel) to abbreviate certain zone names when ZD adds them to alarms (that is, when a
subzone's zone is added to the text). For example, "Honor Hold (Hellfire Peninsula) is under attack!" becomes
"Honor Hold (Hellfire) is under attack!" when enabled.
- Added new custom color option for LocalDefense chat text sent by players.
- LocalDefense panel's options made more compact and readable.

v0.44
- Added advanced option to change the alarm text format. (For example, you could use "Under attack: %s" instead
of "%s is under attack!")
- Fixed an issue with identifying subzones in non-English clients.
- The "Overlook" message fix introduced in v0.43 on rare occasion didn't block duplicate messages. This has
been corrected.
- Fixed an issue where advanced options were reset by the Interface Options window's Cancel button.
- Minor update to subzone information.

v0.43
- Added a fix for the non-ZD-caused WoW bug where the message "The Overlook has been taken by the [Faction]!"
message is sometimes displayed twice.
- A lot of localization groundwork has been completed for the German client. Not all text has been translated
yet, but a large database of subzone information is in place.
- Some basic localization for French clients has been done so ZD will react to their defense channels, but no
translations (including subzone data) beyond that are included at this time.
- Added more (English) subzone information.

v0.42
- Fixed an issue where ZD would make the default defense channels visible after mid-session loading screens.
- Fixed some issues where the default LocalDefense channel's visiblity would be improperly altered.
- Added options to determine whether to display the channel name in defense message prefaces.
- Added advanced options to change the text displayed when WorldDefense or LocalDefense are abbreviated.
- Added advanced option to change the separator between channel number and channel name (default ". ").

v0.41
- ZoneDefense will now automatically change the visibility of the WorldDefense and LocalDefense channels in
the main chat window/tab based on your settings. This happens when the addon loads, one of these channels
is joined, settings are reset, or a relevant setting is changed.
- Slash command '/zd adv' added to list commands used for advanced configuration options.
- ZD will automatically make WorldDefense and LocalDefense visible in the main chat window/tab upon logout
to ensure that if you log in without loading ZD next time, those channels will not be improperly hidden
from your log. (When ZD is loaded, it will hide them again as appropriate.) This functionality can be
disabled using the new advanced configuration commands.
- Fixed an issue where '/zd z here' would sometimes search for an empty string (such as when in certain
instances). It will now search for your current zone when the subzone is blank.
- Minor updates to subzone information.

v0.40
- TOC updated for WoW 2.4.
- ZoneDefense options are now set using the Addons tab in WoW's Interface Options which was introduced in 2.4.
'/zd' will still take you straight to these options. What was formerly organized into tabs is now organized
into panels ("General," "LocalDefense," and "World PvP Objectives"), and each panel's options can now be
set to their defaults individually (without affecting other panels' options) through the new interface.
- Slash command '/zd reset' added to reset all of ZD's options at once.
- Slash command '/zd z <subzone>' added. Enter a subzone and ZoneDefense will tell you which zone it is in
according to ZD's data. Use 'here' as the subzone to use your current subzone.
- Slash command '/zd help' added to list other slash commands.
- Saved variables from earlier versions are not compatible with version 0.40. ZD will automatically set its
options to the default when these older saved variable files are encountered.

v0.33
- Corrected an issue where ZD could not reset to default settings more than once per session.
- Test messages (triggered by Test button or using one of the debug channels) now more fully mimic non-test
messages sent through the WorldDefense and LocalDefense channels except that they are now preceded by
"[Test]" in the chat log.
- Made a small addition to the subzone information.

v0.32
- Fixed an issue where the config GUI displayed improperly at some resolutions.
- Extended spam timer option to allow up to 60 seconds between identical alarms.
- Spam handler now delays initial alarms for a new place for 1 second. This allows it to better handle the
multiple-"initial"-alarms-at-once situation that often occurs.
- Added option to abbreviate WorldDefense as "WD" in alarm prefaces.
- Added option to abbreviate LocalDefense as "LD" in alarm prefaces.
- Added option to abbreviate LocalDefense as "LD" in chat prefaces.
- Added options to determine whether to display channel number with LocalDefense messages.
- Split "Apply time stamp settings" in the LocalDefense tab into two options, one for alarms, one for chat.
- Messages triggered by pressing the Test button while on the LocalDefense tab altered to include
World PvP objective messages.
- Added more subzone and world PvP objective information.

v0.31
- Initial public beta release.
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
0.84
170kB
Tuhljin
04-13-10 08:14 PM
0.83
170kB
Tuhljin
08-17-09 01:41 PM
0.82
170kB
Tuhljin
04-17-09 02:34 AM
0.81
170kB
Tuhljin
03-09-09 09:18 PM
0.80
162kB
Tuhljin
03-09-09 06:59 PM
0.74
140kB
Tuhljin
01-09-09 05:15 PM
0.73
138kB
Tuhljin
10-26-08 12:59 AM


Post A Reply Comment Options
Unread 10-22-08, 10:36 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
GrissomXIX: You want the "ZoneDefense Alarms/Chat" option for the chat frame checked, not WoW's standard "WorldDefense" or "LocalDefense" channels. Information on how to configure where ZD messages appear can be found in the readme.txt file included with ZD. In version 0.72, I put the more important instructions right at the top of it, under the heading "QUICK REFERENCE." Try following the instructions given there and let me know if that works for you!

Edit: Oh, and make sure you uncheck "ZoneDefense Alarms/Chat" in frames you don't want ZD messages to show up and also be sure WoW's standard "WorldDefense" or "LocalDefense" channel display options are unchecked if you don't want those, either.
Last edited by Tuhljin : 10-22-08 at 10:39 PM.
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 03:08 AM  
GrissomXIX
A Chromatic Dragonspawn
 
GrissomXIX's Avatar

Forum posts: 180
File comments: 23
Uploads: 0
I appreciate the quick response, but as I mentioned earlier I am a long time user of the addon which worked fine for me before 3.0 and worked in the proper chat window so I am aware of how to use it. Let me explain a little further.

I have set and unchecked the world and local defense in my general chat window. Both channels are still active and no matter how many times I uncheck it, ZoneDefense Alarms/Chat is still checked in that window's configuration. No matter how many times I uncheck the option for ZoneDefense, it is ALWAYS ON in both chat windows and I still receive local defense chat in a window where the option is unchecked...I love the addon, but it won't play nicely for me.

I was going to illustrate my dilemma with screenshots, but it's 3.10a local time and I can't be bothered...lol.
__________________
"Only one is a wanderer, two together are always going somewhere." - Alfred Hitchock [Vertigo]
Last edited by GrissomXIX : 10-23-08 at 03:11 AM.
GrissomXIX is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 07:06 AM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
GrissomXIX: Sorry about that; I wasn't sure exactly what the problem was so I wanted to cover all my bases to be sure it was a bug. I've since duplicated the issue and have "fixed it internally," as they like to say. A new version of ZD should be released soon. In the meantime, you can fix your own copy by editing a line in ZoneDefense.lua. Change it from:
Code:
func = function(checked) ChangeListeningForZDAlarm(FCF_GetCurrentChatFrame(), checked); end;
To:
Code:
func = function(self, checked) ChangeListeningForZDAlarm(FCF_GetCurrentChatFrame(), checked); end;
Thanks for your help in ironing out these issues!
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 10-23-08, 10:48 AM  
GrissomXIX
A Chromatic Dragonspawn
 
GrissomXIX's Avatar

Forum posts: 180
File comments: 23
Uploads: 0
Worked like a charm, thanks for the quick fix. Sorry if I seemed a bit short in my previous post, but as I said it was 3.10am and I was getting frustrated...
__________________
"Only one is a wanderer, two together are always going somewhere." - Alfred Hitchock [Vertigo]
GrissomXIX is offline Report comment to moderator  
Reply With Quote
Unread 10-26-08, 01:00 AM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
Originally posted by GrissomXIX
Worked like a charm, thanks for the quick fix. Sorry if I seemed a bit short in my previous post, but as I said it was 3.10am and I was getting frustrated...
No problem. The new version has been released. Thanks again for helping me squash the bug - it may have been quite a while before I noticed it otherwise.
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 02-18-09, 01:42 PM  
Zyland
A Kobold Labourer
 
Zyland's Avatar

Forum posts: 0
File comments: 30
Uploads: 0
Just curious, but did you come up with a filtering method, so I can turn some areas off? (IE, Venture Bay off, but still hear if other areas of Grizzly Hills are under attack)
Zyland is offline Report comment to moderator  
Reply With Quote
Unread 02-18-09, 05:44 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
Zyland:
I've been busy with other things, but that's still on my to-do list. I'll try to get it done Soon™.
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 03-09-09, 08:45 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
Uploads: 0
Bug report

BugSack error from the latest version.

Code:
[2009/03/10 13:38:45-12320-x1]: ZoneDefense-0.80\libs\TjOptions.lua:840: TjDropDownMenu library not found.
ZoneDefense-0.80\libs\TjOptions.lua:840: in function <Interface\AddOns\ZoneDefense\libs\TjOptions.lua:839>
(tail call): ?:
ZoneDefense-0.80\libs\TjOptions.lua:182: in function <Interface\AddOns\ZoneDefense\libs\TjOptions.lua:179>
ZoneDefense-0.80\libs\TjOptions.lua:400: in function <Interface\AddOns\ZoneDefense\libs\TjOptions.lua:329>
ZoneDefense-0.80\libs\TjOptions.lua:505: in function <Interface\AddOns\ZoneDefense\libs\TjOptions.lua:504>
<in C code>: in function `SetParent'
Interface\FrameXML\UIOptionsFrame.lua:24: in function `InterfaceOptionsList_DisplayPanel':
Interface\FrameXML\UIOptionsFrame.lua:46: in function `InterfaceOptionsListButton_OnClick':
<string>:"*:OnClick":2: in function <[string "*:OnClick"]:1>

  ---
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator  
Reply With Quote
Unread 03-09-09, 09:12 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
Re: Bug report

Originally posted by Tomacco_Boy
BugSack error from the latest version.
Doh, that's on oversight on my part. Will update momentarily.
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 03-09-09, 09:47 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
Uploads: 0
Awesome work, working as intended.
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator  
Reply With Quote
Unread 03-28-09, 07:19 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
Uploads: 0
Quick question, is there any plans on making zonedefense and intel work with carbonite?
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator  
Reply With Quote
Unread 03-28-09, 11:33 PM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
Originally posted by Tomacco_Boy
Quick question, is there any plans on making zonedefense and intel work with carbonite?
Not being a user of that addon myself, I hadn't thought about it. I do like to make my addons as compatible with others as I can (within reason), so if it wouldn't be too difficult that's something I'd be interested in doing. I'll have to look into it.
Last edited by Tuhljin : 03-28-09 at 11:44 PM.
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 04-15-09, 11:06 PM  
Tomacco_Boy
A Kobold Labourer

Forum posts: 0
File comments: 111
Uploads: 0
Bugsack error report

Bugsack error with patch 3.1

Code:
[2009/04/16 15:04:40-13251-x1]: ...\ZoneDefense\libs\Astronomer\Astrolabe\Astrolabe.lua:370: attempt to index local 'MinimapCompassRing' (a nil value):

  ---
__________________
YOU DONT TELL ME TO BUR
Tomacco_Boy is offline Report comment to moderator  
Reply With Quote
Unread 04-16-09, 12:32 AM  
Tuhljin
A Flamescale Wyrmkin
 
Tuhljin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 101
File comments: 230
Uploads: 11
Re: Bugsack error report

Thanks. I only recently found a new version of the Astrolabe library (which Intel and ZoneDefense both use) that is compatible with 3.1. I'll try to upload a new version soon.
Tuhljin is offline Report comment to moderator  
Reply With Quote
Unread 05-02-09, 08:56 PM  
Bornabe
A Flamescale Wyrmkin
 
Bornabe's Avatar
AddOn Author - Click to view AddOns

Forum posts: 133
File comments: 283
Uploads: 6
Is there a way to use ZoneDefense only for LocalDefense and not WorldDefense?
Bornabe 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.