Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 Kb)
Download
Updated: 04-26-11 05:38 AM
Pictures
File Info
Updated:04-26-11 05:38 AM
Created:02-13-11 02:19 AM
Downloads:2,553
Favorites:62
MD5:

Homing Digeon

Version: 1.3
by: Wobin [More]

I got really tired of having to flip back and forth between the World Map and the Flight Map to find the closest flightpoint for all the archaeology digs, so this addon merely overlays the digs onto the flight map directly, so it's easier to pick destinations to idlefly to.

Thanks to karl_w_w on #wowuidev IRC for the name

1.3 - Improved accuracy between flightmap and world map on each continent
1.2 - Removed shovel enlargement. Added in 'closest flightpoint' indicator
1.1 - Made the shovels larger, cleaned up the code to hide all shovels between continents

1.0.1 - No code changes, just folder names to be appropriate for the addon name, thanks Sniksder for pointing that out
Optional Files (0)


Archived Files (3)
File Name
Version
Size
Author
Date
1.1
2kB
Wobin
02-21-11 09:06 AM
1.0.1
2kB
Wobin
02-13-11 10:24 AM
1.0
2kB
Wobin
02-13-11 02:19 AM


Post A Reply Comment Options
Unread Yesterday, 05:53 AM  
tednik
A Fallenroot Satyr
 
tednik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 41
Uploads: 2
Originally Posted by Gello
For WoD, change this:
Code:
local x1, x2, y1, y2 = WorldMap_GetPOITextureCoords(177)
local digSites = {}
-- Turns out every flightmap and atlas map for each continent have differing
-- ratios between them. So magic numbers ahoy
-- [1] - Kalimdor
-- [2] - Eastern Kingdoms
-- [3] - Outlands
-- [4] - Northrend
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1}
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5}
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0 }
to this:
Code:
local x1, x2, y1, y2 = GetPOITextureCoords(177)
local digSites = {}
-- Turns out every flightmap and atlas map for each continent have differing
-- ratios between them. So magic numbers ahoy
-- [1] - Kalimdor,
-- [2] - Eastern Kingdoms
-- [3] - Outlands
-- [4] - Northrend
-- [5] - Maelstrom
-- [6] - Pandaria
-- [7] - Draenor
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5, [5]=1, [6]=1.3, [7]=1.35 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1, [5]=1, [6]=.875, [7]=0.9 }
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5, [5]=0, [6]=0, [7]=0 }
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0, [5]=0, [6]=-10, [7]=36 }
tyvm for this
__________________
tednik is offline Report comment to moderator  
Reply With Quote
Unread 11-23-14, 03:46 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 351
Uploads: 101
For WoD, change this:
Code:
local x1, x2, y1, y2 = WorldMap_GetPOITextureCoords(177)
local digSites = {}
-- Turns out every flightmap and atlas map for each continent have differing
-- ratios between them. So magic numbers ahoy
-- [1] - Kalimdor
-- [2] - Eastern Kingdoms
-- [3] - Outlands
-- [4] - Northrend
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1}
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5}
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0 }
to this:
Code:
local x1, x2, y1, y2 = GetPOITextureCoords(177)
local digSites = {}
-- Turns out every flightmap and atlas map for each continent have differing
-- ratios between them. So magic numbers ahoy
-- [1] - Kalimdor,
-- [2] - Eastern Kingdoms
-- [3] - Outlands
-- [4] - Northrend
-- [5] - Maelstrom
-- [6] - Pandaria
-- [7] - Draenor
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5, [5]=1, [6]=1.3, [7]=1.35 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1, [5]=1, [6]=.875, [7]=0.9 }
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5, [5]=0, [6]=0, [7]=0 }
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0, [5]=0, [6]=-10, [7]=36 }
Gello is offline Report comment to moderator  
Reply With Quote
Unread 10-20-14, 09:08 AM  
Saintgabrial
A Kobold Labourer
 
Saintgabrial's Avatar

Forum posts: 0
File comments: 25
Uploads: 0
Needs a MoP and WoD Update

I realy miss this addon. I wish we could get an update. Fan or otherwise!
__________________
Saintgabrial is offline Report comment to moderator  
Reply With Quote
Unread 10-19-14, 10:07 AM  
Draven006
A Deviate Faerie Dragon

Forum posts: 16
File comments: 2
Uploads: 0
Re: Re: MOP Update! please

Originally Posted by Gello
In addition to the change in line 3 mentioned earlier (change WorldMap_GetPOITextureCoords to GetPOITextureCoords), replace these lines:
Code:
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1}
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5}
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0 }
with these lines:
Code:
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5, [6] = 1.3, [5] = 1.0 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1, [6] = 0.875, [5] = 1.0 }
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0, [6] = 30, [5] = 0 }
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5, [6] = 0, [5] = 0 }
and the addon should be current for MoP.
This worked to a point, so that was good.
How did you work out what the Ratio and offsets were? Might be nice to help out for WoD :-)
Draven006 is offline Report comment to moderator  
Reply With Quote
Unread 07-15-13, 08:50 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 351
Uploads: 101
Re: MOP Update! please

In addition to the change in line 3 mentioned earlier (change WorldMap_GetPOITextureCoords to GetPOITextureCoords), replace these lines:
Code:
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1}
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5}
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0 }
with these lines:
Code:
local MagicXRatio = { [4] = 1.2, [3] = 1.3, [2] = 1.3, [1] = 1.5, [6] = 1.3, [5] = 1.0 }
local MagicYRatio = { [4] = 0.8, [3] = 1, [2] = 1, [1] = 1, [6] = 0.875, [5] = 1.0 }
local MagicXOffset = { [4] = 15, [3] = 0, [2] = 0, [1] = 0, [6] = 30, [5] = 0 }
local MagicYOffset = { [4] = -30, [3] = 5, [2] = -5, [1] = -5, [6] = 0, [5] = 0 }
and the addon should be current for MoP.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 10-12-12, 09:19 PM  
Saintgabrial
A Kobold Labourer
 
Saintgabrial's Avatar

Forum posts: 0
File comments: 25
Uploads: 0
MOP Update! please

I love this add-on and no other does what it does. I sure hope someone would update this one. Either a fan update if aloud or something. Please.
__________________
Saintgabrial is offline Report comment to moderator  
Reply With Quote
Unread 10-11-12, 06:24 PM  
kittykatmax
A Deviate Faerie Dragon
 
kittykatmax's Avatar

Forum posts: 16
File comments: 230
Uploads: 0
Any chance for an official update? /begs
kittykatmax is offline Report comment to moderator  
Reply With Quote
Unread 09-09-12, 06:19 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 351
Uploads: 101
Re: Reciving Error with 5.0.4

Change line 3 from:
Code:
local x1, x2, y1, y2 = WorldMap_GetPOITextureCoords(177)
to this:
Code:
local x1, x2, y1, y2 = GetPOITextureCoords(177)
Seems to be only change needed until Pandaria, where new coefficients will be needed.

Originally Posted by nickyjean
Interface\AddOns\HomingDigeon\HomingDigeon.lua:3: attempt to call global 'WorldMap_GetPOITextureCoords' (a nil value)
Count: 1

Call Stack:
[C]: in function `WorldMap_GetPOITextureCoords'
Interface\AddOns\HomingDigeon\HomingDigeon.lua:3: in main chunk
Gello is offline Report comment to moderator  
Reply With Quote
Unread 08-29-12, 06:53 PM  
nickyjean
A Frostmaul Preserver

Forum posts: 275
File comments: 114
Uploads: 0
Reciving Error with 5.0.4

Interface\AddOns\HomingDigeon\HomingDigeon.lua:3: attempt to call global 'WorldMap_GetPOITextureCoords' (a nil value)
Count: 1

Call Stack:
[C]: in function `WorldMap_GetPOITextureCoords'
Interface\AddOns\HomingDigeon\HomingDigeon.lua:3: in main chunk
__________________
nickyjean is offline Report comment to moderator  
Reply With Quote
Unread 02-13-11, 10:25 AM  
Wobin
An Aku'mai Servant
 
Wobin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 29
Uploads: 12
Originally posted by sniksder
You have to remove the hypen between homing and digeon before the game will let this work.
Sorry about that, fixed the package
__________________
Wob's Portal
Wobin is offline Report comment to moderator  
Reply With Quote
Unread 02-13-11, 10:00 AM  
sniksder
A Kobold Labourer

Forum posts: 1
File comments: 1
Uploads: 0
Originally posted by nightcracker
This is a great idea!
You have to remove the hypen between homing and digeon before the game will let this work.
Last edited by sniksder : 02-13-11 at 10:17 AM.
sniksder is offline Report comment to moderator  
Reply With Quote
Unread 02-13-11, 04:27 AM  
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view AddOns

Forum posts: 714
File comments: 429
Uploads: 31
This is a great idea!
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
nightcracker 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.