Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(7 Kb)
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,151
Favorites:42
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
Archived Files (8)
File Name
Version
Size
Author
Date
1.4
6kB
yleaf
01-12-09 09:49 AM
1.3
6kB
yleaf
01-05-09 03:50 AM
1.2
6kB
yleaf
01-04-09 01:03 AM
1.1
6kB
yleaf
12-12-08 07:24 AM
1.0
6kB
yleaf
12-06-08 01:40 AM
0.8
6kB
yleaf
12-05-08 08:07 PM
0.7
6kB
yleaf
12-05-08 07:57 PM
0.6
7kB
yleaf
11-22-08 10:59 PM


Post A Reply Comment Options
Unread 01-13-09, 10:05 AM  
Theondry
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 108
Uploads: 3
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
Theondry is offline 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: 95
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
Wizardling is offline 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: 95
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
Wizardling is offline 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.
yleaf is offline 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: 108
Uploads: 3
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.
Theondry is offline Report comment to moderator  
Reply With Quote
Unread 12-31-08, 09:53 PM  
Icedawg
A Kobold Labourer

Forum posts: 1
File comments: 37
Uploads: 0
Any way to turn off the coords?
Icedawg is offline 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: 108
Uploads: 3
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
Theondry is offline 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"
yleaf is offline Report comment to moderator  
Reply With Quote
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?
Pfire is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: