Download
(7Kb)
Download
Updated: 01-12-09 09:22 PM
Pictures
File Info
Updated:01-12-09 09:22 PM
Created:11-07-08 09:12 PM
Downloads:4,800
Favorites:41
MD5:

leafZone

Version: 1.5
by: yleaf [More]

A databroker plugin for displaying zone text and coords.

It's very small (~10k).
Left click toggle the world map.
Right click toggle atlas, if you have it

You can change it through lua file:

Code:
local ShowMainZoneText	= true
local ShowSubZoneText	= true
local ShowCoords		= true
local PreciseCoords		= false
local MorePrecise		= false

1.5
- Locales
- Option to show precise coords

1.4
- Fix the display when showing sub zone text only, works perfect now!

1.3
- Fix some bugs coming with 1.2

1.2
- More options

1.1
- Fix insert error

1.0
- Rewrite! See the new picture!

0.8
- Fix a nil error

0.7
- Remove addon config

0.6
- Less CPU usage!

0.5
- Code improvement
- A config to hide subzone

0.4
- Initial version
Post A Reply Comment Options
Unread 12-12-08, 08:54 AM  
Pfire
A Defias Bandit

Forum posts: 2
File comments: 11
Uploads: 0
Show Subzone?

I see you have a toggle to Hide Subzone.....would it be possible to have a Hide Main zone toggle?
Report comment to moderator  
Reply With Quote
Unread 12-12-08, 05:40 PM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
Re: Show Subzone?

Originally posted by Pfire
I see you have a toggle to Hide Subzone.....would it be possible to have a Hide Main zone toggle?
You may edit more functions. But the addon is called "leafZone" not "leafCoords"
Report comment to moderator  
Reply With Quote
Unread 12-18-08, 10:16 AM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 1
another toggle

I added a handful of lines to remove the main zone text.

(Presumably I know if I'm in Stormwind or Icecrown or somewhere like that.)

I appreciate the functionality your addon provides.

(a feature-complete replacement for Auditor, and I'll've gotten rid of Fubar entirely.)
__________________
Theondry of Perenolde
Report comment to moderator  
Reply With Quote
Unread 12-31-08, 09:53 PM  
Icedawg
A Kobold Labourer

Forum posts: 1
File comments: 61
Uploads: 0
Any way to turn off the coords?
Report comment to moderator  
Reply With Quote
Unread 01-05-09, 11:43 AM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 1
logic error in 1.3

if I disable showzonetext, the others don't show.

Specfically,
local ShowZoneText = false
local ShowSubZoneText = true
local ShowCoords = false

doesn't work as expected.

Code:
    if ShowZoneText then
        if ShowSubZoneText and (zoneText ~= subZoneText) and (subZoneText ~= '') then
            text_zone = format('%s: %s', zoneText, subZoneText)
        else
            text_zone = zoneText
        end
    elseif ShowSubZoneText and (zoneText ~= subZoneText) and (subZoneText ~= '') then
        text_zone = subZoneText
    else
        text_zone = zoneText
    end
at line 42
and then change the last If statement to
Code:
if ShowZoneText or ShowSubZoneText then
and change
Code:
local function UpdateLDBText()
	obj.text = format('|cff%s%s%s|r', ShowZoneText and text_color or 'ffff00', ShowSubZoneText and text_zone or '', ShowCoords and GetCoords() or '')
end
__________________
Theondry of Perenolde
Last edited by Theondry : 01-06-09 at 04:24 PM.
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 09:35 AM  
yleaf
A Kobold Labourer
 
yleaf's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 50
Uploads: 13
Re: logic error in 1.3

Originally posted by Theondry
if I disable showzonetext, the others don't show.
I know the issue. It's better to use GetMinimapZoneText().
Thanx any way
I'll update it.
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 05:12 PM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 119
Uploads: 0
Question Option for more precise coords please?

The option for coords up to two decimal places would be much appreciated.

In the meantime this is a very serviceable, if basic zone indicator, so thanks
Report comment to moderator  
Reply With Quote
Unread 01-12-09, 10:52 PM  
Wizardling
A Kobold Labourer
 
Wizardling's Avatar
Premium Member

Forum posts: 0
File comments: 119
Uploads: 0
Thumbs up Cheers!

Precise coords are working perfectly *resists urge to hit you up for more features... for today anyway* I really appreciate it
Report comment to moderator  
Reply With Quote
Unread 01-13-09, 10:05 AM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 110
Uploads: 1
Re: Re: logic error in 1.3

Originally posted by yleaf
I know the issue. It's better to use GetMinimapZoneText().
Thanx any way
I'll update it.
I'm so out of it with the UI stuff that I can, at best, mess around with the logic.

Thanks.

__________________
Theondry of Perenolde
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: