Download
(126 Kb)
Download
Updated: 12-12-06 06:13 PM
Addon for:
FuBar 3.6.5.
Pictures
File Info
Updated:12-12-06 06:13 PM
Created:unknown
Downloads:20,771
Favorites:126
MD5:
FuBar - RecZone  Popular! (More than 5000 hits)
Version: 2.0.20301
by: wmrojer [More]
New beta version available at http://files.wowace.com/FuBar_RecZone/

Shows information about your current zone and recommends zones and instances based upon your level and faction.

In the bar it can show zone name, sub zone name, coordinate and it will always show a color coded zone range for your current zone. Zone name is color coded based on zone faction, Green=Friendly, Orange=Contested, Red=Enemy. Level range is color coded based on difficulty. Grey=To low, Green=Easy, Yellow=Good, Orange=Hard, Red=You got a death wish?.

The tooltip will give info about your current zone and any instances in that zone. It will also show you a list of recommended zones and a list of recommended instances. By left clicking on a recommended zone or instance you will be shown the walk path to that zone, a list of zones you will need to go through to get there if you are going to walk. (For when you have to walk. ie the first time.)

On the worldmap it displays zone level and instances for zones when you hover the mouse over them. It also displays coordinates for your current location and the cursor location.

Shift-click to insert location in to chat edit box.
Double-click to open worldmap.

This addon now has all the functionality of FuBar - LocationFu as requested.

You can configure what type of information you want to see.
  • Faction
  • Continent
  • Coordinate
  • Instances
  • Battlegrounds
  • Raid instances

You can also configure it to recommend lower and higher level zone, up to 10 levels lower and higher.

The addon is written for FuBar 2.0 with Ace2.

Installation:

Just unpack in your Interface/AddOns/ folder. No dependancies, all required libraries are embeded.

In the works:
Nothing. Working on some new projects

Know issues:

German and french translations aren't perfect.

Patch notes:

2.0.20301
Added check for unknown zones.
Updated librarys.

2.0.19421
Removed the use of Compost. No longer need since we have lua 5.1.
(RecZone had been using compost since 1.1.13302, but I had forgotten to include it in the zip)

2.0.19162
Updated for WoW 2.0

2.0.16969
Made compatible with The Burning Crusade. Added TBC zones and instances. Upgraded to AceLocal-2.2 and Babble-2.2.
Note: You need to remove the embeded Ace2 libs and install the Ace2 TBC standalone version and update the .toc to interface 20000 to get it to work in the TBC beta

1.1.14246
Fixed some missing zone conections.

1.1.13302
Fixed minimap location bar restore bug.
Added walk paths to recommended zones and instances.
Made FuBar an optional dependancy. If loaded without FuBar it will work as an minimap icon.

1.0.12032
Added option to hide minimap location bar. Code by DSanai.

1.0.11919
Fixed a bug that accured the first time you logged in if RecZones profile was different then FuBars.

1.0.11636b
Downgraded Ace2 lib's to 10851.

1.0.11636
Added Coords display on toolbar and worldmap.
Double-click toggles worldmap.
Shift-click to insert location in chat edit box.
Fix for profiles. (FuBar not setting profile for new addons)
Fixed an intermittent coloring bug.
Update for lua 5.1

1.0.9548
Fixed the little bug LaoTseu spotted.
Post A Reply Comment Options
Unread 12-12-06, 12:09 AM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 152
Uploads: 0
@ wmrojer

I use the German Client, therefore also my bad English

Error message comes only if one with the Login in a capital is and also only there
Dexter74 is offline Report comment to moderator  
Reply With Quote
Unread 12-11-06, 05:03 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Originally posted by Dexter74
the version functioned only outside of the capitals, one finds in one gets itself one an error message

FuBar_RecZone\\RecZone.lua:1106: attempt to index field 'current_zone' (a nil value)
What client language are you running? What zone was you character in when you logged in?
wmrojer is offline Report comment to moderator  
Reply With Quote
Unread 12-08-06, 02:48 AM  
Dexter74
A Kobold Labourer

Forum posts: 0
File comments: 152
Uploads: 0
the version functioned only outside of the capitals, one finds in one gets itself one an error message

FuBar_RecZone\\RecZone.lua:1106: attempt to index field 'current_zone' (a nil value)
Last edited by Dexter74 : 12-11-06 at 01:13 AM.
Dexter74 is offline Report comment to moderator  
Reply With Quote
Unread 12-06-06, 11:59 PM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 358
Uploads: 1
Missing Compost 2.0?

I installed FuBar RecZone r19162 and FuBar 2.0 r18841.

An error says RecZoneFu can't find an instance of Compost 2.0 library and it doesn't run.

I tried installing the Ace 2 standalone r19372, but nothing changed.

Edit: Good, RecZoneFu r19421 fixed it! Thank you!
Last edited by Jaim Sandar : 12-07-06 at 02:41 PM.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 10-31-06, 07:02 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
You get the drift. The 1 in "%.1f" tells it how many decimals to show.

Originally posted by Zidomo
Your change doesn't affect map coordinates; those still appear as non-decimal fraction numbers (unlike NavigatorFu).

I assume that to change them to show decimal fractions, have to change lines 1135 & 1136 from:

RecZoneMapFrameCursorCoords:SetText(format("%s %.0f, %.0f", L["Cursor:"], 100 * cx, 100 * cy))

RecZoneMapFramePlayerCoords:SetText(format("%s %.0f, %.0f", L["Player:"], 100 * px, 100 * py))

to

RecZoneMapFrameCursorCoords:SetText(format("%s %.1f, %.1f", L["Cursor:"], 100 * cx, 100 * cy))

RecZoneMapFramePlayerCoords:SetText(format("%s %.1f, %.1f", L["Player:"], 100 * px, 100 * py))

?
wmrojer is offline Report comment to moderator  
Reply With Quote
Unread 10-28-06, 12:17 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Originally posted by wmrojer
If you want it to display 1 decimal for the location you can easily change line 785 in RecZone.lua from:
self.vars.coordtext = string.format('(%.0f, %.0f) ', x*100, y*100);
To:
self.vars.coordtext = string.format('(%.1f, %.1f) ', x*100, y*100);
Your change doesn't affect map coordinates; those still appear as non-decimal fraction numbers (unlike NavigatorFu).

I assume that to change them to show decimal fractions, have to change lines 1135 & 1136 from:

RecZoneMapFrameCursorCoords:SetText(format("%s %.0f, %.0f", L["Cursor:"], 100 * cx, 100 * cy))

RecZoneMapFramePlayerCoords:SetText(format("%s %.0f, %.0f", L["Player:"], 100 * px, 100 * py))

to

RecZoneMapFrameCursorCoords:SetText(format("%s %.1f, %.1f", L["Cursor:"], 100 * cx, 100 * cy))

RecZoneMapFramePlayerCoords:SetText(format("%s %.1f, %.1f", L["Player:"], 100 * px, 100 * py))

?
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 10-20-06, 01:20 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
I think it's a little problem with RecZone when you disable and then enable display of coordinates in the toolbar. I've found something fishy, but I need to test it some more before I'm sure.

If you want it to display 1 decimal for the location you can easily change line 785 in RecZone.lua from:
self.vars.coordtext = string.format('(%.0f, %.0f) ', x*100, y*100);
To:
self.vars.coordtext = string.format('(%.1f, %.1f) ', x*100, y*100);


Originally posted by Zidomo
Problem with build r14246.

I have NavigatorFu running as well, as I find its much (much) easier to gauge direction and location at a glance when you have 1/10 coordinates showing (i.e. 40.2 vs. 40). Perhaps you could change or add as an option such a coordinate display?

Anyway, logged on with the updated r14246 RecZone (updated from the previous r13302). I had turned off the main map coords before the update; am using NavigatorFu's instead. Still had the FuBar RecZone coordinates running, though.

Tested things out by enabling & disabling the minimap bar (worked). Enabled & disabled both main map & FuBar coords (worked).

However, I then enabled the RecZone FuBar coordinates again. They did not match NavigatorFu's (and were wrong for my location). Moved around in the zone I was in (IF) and the RecZone coords did not change. Moved outside IF into Dun Morogh and the following error popped up: "FuBar_RecZone\\RecZone.lua:880: attempt to perform arithmetic on field `playerCoordX' (a table value)". RecZone's FuBar coordinates continued not to work.

Bug in this revision and/or not playing nicely with NavigatorFu? NavigatorFu has had no problems.
wmrojer is offline Report comment to moderator  
Reply With Quote
Unread 10-20-06, 04:16 AM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1049
Uploads: 0
Problem with build r14246.

I have NavigatorFu running as well, as I find its much (much) easier to gauge direction and location at a glance when you have 1/10 coordinates showing (i.e. 40.2 vs. 40). Perhaps you could change or add as an option such a coordinate display?

Anyway, logged on with the updated r14246 RecZone (updated from the previous r13302). I had turned off the main map coords before the update; am using NavigatorFu's instead. Still had the FuBar RecZone coordinates running, though.

Tested things out by enabling & disabling the minimap bar (worked). Enabled & disabled both main map & FuBar coords (worked).

However, I then enabled the RecZone FuBar coordinates again. They did not match NavigatorFu's (and were wrong for my location). Moved around in the zone I was in (IF) and the RecZone coords did not change. Moved outside IF into Dun Morogh and the following error popped up: "FuBar_RecZone\\RecZone.lua:880: attempt to perform arithmetic on field `playerCoordX' (a table value)". RecZone's FuBar coordinates continued not to work.

Bug in this revision and/or not playing nicely with NavigatorFu? NavigatorFu has had no problems.
Last edited by Zidomo : 10-20-06 at 09:43 AM.
Zidomo is offline Report comment to moderator  
Reply With Quote
Unread 10-09-06, 02:30 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
Originally posted by DSanai
Walk Paths?

As a Alliance player who moved to Horde, I've had a lot of trouble remembering how to get places, or even knowing now that they're all different for this faction.

Thank you!

P.S. Sorry about the bug -- I don't even remember having a line like that in my code. Anyway, glad Vurlix found it. :-)
The bug wasn't your's, I made some changes to the code to be more inline with the rest of the code, and that's where the bug got introduces.

I realised that just zone level wasn't always enough to tell you if a zone was good. You actually need to get there also And some zones are to difficult to get to at lvl 15-25.
The code does it's best to avoid going through enemy territory (I play on a pvp server), but some instances you just have to pass through enemy territory to get through.
wmrojer is offline Report comment to moderator  
Reply With Quote
Unread 10-09-06, 10:21 AM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 111
Uploads: 8
Walk Paths?

As a Alliance player who moved to Horde, I've had a lot of trouble remembering how to get places, or even knowing now that they're all different for this faction.

Thank you!

P.S. Sorry about the bug -- I don't even remember having a line like that in my code. Anyway, glad Vurlix found it. :-)
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
DSanai is offline Report comment to moderator  
Reply With Quote
Unread 10-06-06, 11:38 AM  
Vurlix
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
DSanai's modification as integrated in the current version (1.0.12032) has a small bug: the minimap location bar disappears and reappears (toggles) each time the warcraft UI is loaded. I've isolated and fixed the problem: the condition on the first line of RecZone:ToggleShowingMinimapBar needs to be inverted as such:
Code:
if value == nil then
becomes:
Code:
if value ~= nil then
Last edited by Vurlix : 10-06-06 at 12:30 PM.
Vurlix is offline Report comment to moderator  
Reply With Quote
Unread 09-24-06, 02:11 PM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 111
Uploads: 8
I was feeling frisky, so I added that functionality to my copy, hehe. Hope this helps!

(1) Add Jostle library to package.

To RecZone.lua, add:
Code:
local Jostle = AceLibrary("Jostle-2.0")
and:
Code:
function RecZone:IsShowingMinimapBar()
	return self.db.profile.minimapBar
end
function RecZone:ToggleShowingMinimapBar()
	self.db.profile.minimapBar = not self.db.profile.minimapBar
	if not self.db.profile.minimapBar then
		MinimapBorderTop:Hide()
		MinimapToggleButton:Hide()
		MinimapZoneTextButton:Hide()
	else
		MinimapBorderTop:Show()
		MinimapToggleButton:Show()
		MinimapZoneTextButton:Show()
	end
	Jostle:Refresh()
end
To function RecZone:OnEnable() add:
Code:
	if not self:IsShowingMinimapBar() then
		self.db.profile.minimapBar = not self.db.profile.minimapBar
		self:ToggleShowingMinimapBar()
	end
To function RecZone:OnDisable() add:
Code:
if not self:IsShowingMinimapBar() then
		self:ToggleShowingMinimapBar()
		self.db.profile.minimapBar = not self.db.profile.minimapBar
	end
To the local options variable, in the map section, add:
Code:
				minimapBar = {
					type = 'toggle',
					name = "Show minimap bar",
					desc = "Show the bar above the minimap that tells the location and allows you to close minimap",
					get = "IsShowingMinimapBar",
					set = "ToggleShowingMinimapBar",
				},
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
DSanai is offline Report comment to moderator  
Reply With Quote
Unread 09-24-06, 01:13 PM  
Dhraga
A Fallenroot Satyr

Forum posts: 23
File comments: 23
Uploads: 0
@wmrojer

Please add support to hide the normal minimap locationbar, as locationfu has.

/Dhraga
Dhraga is offline Report comment to moderator  
Reply With Quote
Unread 09-24-06, 01:10 PM  
DSanai
A Wyrmkin Dreamwalker
 
DSanai's Avatar
AddOn Author - Click to view AddOns

Forum posts: 50
File comments: 111
Uploads: 8
Great work! I love it!

I've disabled all of LocationFu but for one thing. This is the only thing missing from RecZone now that I can see: No option to hide the minimap's location box.

When I disabled LocationFu, it popped back up, and I didn't see an option to hide it on the RecZone menu. So I've hidden all but LocationFu's icon, and tucked it away, but would be nice to toss it entirely.
__________________
Dsanai - nElf Hunter
Glacialfox - nElf Death Knight
Evilianti - Gnome Warlock
DSanai is offline Report comment to moderator  
Reply With Quote
Unread 09-01-06, 03:23 PM  
wmrojer
A Deviate Faerie Dragon
 
wmrojer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 73
Uploads: 5
LocationFu + RecZone = true ???

I will see what I can do about putting in the rest of LocationFu's functionality. But right now I'm a bit busy with FuBar_GarbageFu, that has turned in to a bit of a monster. It's huge code wise. (For a plugin that is). This was also my first FuBar and my first Ace mod. So I have some learning to do.

There is one thing about cordinates, they require an OnUpdate/Scheduled event..... So it will have to be optional.
Last edited by wmrojer : 09-01-06 at 03:25 PM.
wmrojer is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: