Displays Draenor treasures on world map and optional arrow (arrow requires Deadly Boss Mods to be installed) with distance to nearest Draenor treasure.
Slash commands:
- /drts on|off - enable/disable addon
- /drts arrow - toggle arrow (requireds DBM installed)
- /drts debug - toggle debug mode
- /drts minimap - toggle minimap icons
- /drts hidepoi - add closest currently tracked treasure to "ignore" list
- /drts clearhidden - clear list of "ignored" treasures
- /drts itm - toggle ignore treasure map quest status
- /dbm arrow move - move arrow
Please report any invalid or missing treasure locations.
When reporting invalid or missing treasures, please provide following information:
- Output of /dump UnitPosition("player") command while standing on top of treasure (or close to it), wowhead links to treasure object and tracking quests also useful
- POI id of treasure for invalid treasures (you can see it while debug mode is enabled by mouseovering map or on arrow)
Minimap icons are not working for me. I've switched them off and on, reloaded, tried different zones, etc.
Getting the following error on load ** edit ** could be cause by no treasures on map, ran out of garrison an it started working, reloaded outside without error.
Date: 2020-01-16 10:02:35
ID: 1
Error occured in: Global
Count: 1
Message: ...terface\AddOns\DraenorTreasures\DraenorTreasures.lua line 35:
attempt to perform arithmetic on local 'pointx' (a nil value)
Debug:
[string "@DraenorTreasures\DraenorTreasures.lua"]:35:
...terface\AddOns\DraenorTreasures\DraenorTreasures.lua:34
[string "@DraenorTreasures\DraenorTreasures.lua"]:105:
...terface\AddOns\DraenorTreasures\DraenorTreasures.lua:99
[string "@DraenorTreasures\DraenorTreasures.lua"]:178:
...terface\AddOns\DraenorTreasures\DraenorTreasures.lua:170
Locals:
pointx = nil
pointy = nil
x = 7169.229000
y = 6024.370000
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'pointx' (a nil value)"
AddOns:
Swatter, v8.2.6511 (SwimmingSeadragon)
AuctionFaster, v8.3.0
DBMCore, v8.3.0
DBMDefaultSkin, v
DBMStatusBarTimers, v
DraenorTreasures, v8.2.5.31960
MapCoords, v0.32
SlideBar, v8.2.6509 (SwimmingSeadragon)
Stubby, v8.2.6510 (SwimmingSeadragon)
BlizRuntimeLib_enUS v8.3.0.80300 <none>
(ck=12f)
In reply to bencyberbilly:
I had the same error. Not an add-on programmer in the slightest, but it looks like the UnitPosition("player") is returning "nil" when in the Garrison, and the add-on isn't recovering nicely. Looks like this was added back in WoW 7.1 or something but something in 8.3 seems more restrictive? Anyway, I removed the error by removing the Garrison references in the TreasureContinentsIds value - lines 20-25 inclusive. The arrow doesn't show when in the Garrison but once you leave the Garrison, the arrow reappears without having the Reload the UI. I use another add-on (Wow-Pro) that also has an arrow, and it also doesn't appear when in the Garrison now, as of 8.3.
Not sure if there's a way to still have an arrow in the Garrison, as of 8.3... I'll leave that to the real programmers! :)
LUA error in 8.2.5 when I entered Underrot (EDIT: and a second time when hearthing to Boralus)::
3x DraenorTreasures\MinimapIcons.lua:201: attempt to perform arithmetic on local 'facing' (a nil value)
DraenorTreasures\MinimapIcons.lua:201: in function `UpdateMinimapIcons'
DraenorTreasures\MinimapIcons.lua:69: in function <DraenorTreasures\MinimapIcons.lua:69>
Locals:
self = <unnamed> {
POIPoints = <table> {
}
HideIcons = <function> defined @DraenorTreasures\MinimapIcons.lua:77
Enable = <function> defined @DraenorTreasures\MinimapIcons.lua:68
PLAYER_ENTERING_WORLD = <function> defined @DraenorTreasures\MinimapIcons.lua:108
MINIMAP_UPDATE_ZOOM = <function> defined @DraenorTreasures\MinimapIcons.lua:83
POIIcons = <table> {
}
UpdateMinimapIcons = <function> defined @DraenorTreasures\MinimapIcons.lua:171
minimapZoom = 1
CVAR_UPDATE = <function> defined @DraenorTreasures\MinimapIcons.lua:101
mapID = 1718
y = -105
needsUpdate = false
CreatePOI = <function> defined @DraenorTreasures\MinimapIcons.lua:124
rotateMinimap = false
minimapOutside = true
AddPoint = <function> defined @DraenorTreasures\MinimapIcons.lua:40
continents = <table> {
}
SetDataSource = <function> defined @DraenorTreasures\MinimapIcons.lua:49
x = 1290
filter = <function> defined @DraenorTreasures\DraenorTreasures.lua:153
GetPOI = <function> defined @DraenorTreasures\MinimapIcons.lua:160
SetFilter = <function> defined @DraenorTreasures\MinimapIcons.lua:59
POIPointsClosest = <table> {
}
0 = <userdata>
Disable = <function> defined @DraenorTreasures\MinimapIcons.lua:72
}
elapsed = 0.017000
x = 1290
y = -105
_ = 0
mapID = 1718
facing = nil
minimapZoom = 1
radius = 199.999992
radiusFix = 189.999992
diameter = 399.999984
mmw = 140.000168
mmh = 140.000031
xscale = 0.350000
yscale = 0.350000
(*temporary) = 6.283185
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'facing' (a nil value)"
updateThreshold = 0
UnitPosition = <function> defined =[C]:-1
GetPlayerFacing = <function> defined =[C]:-1
Minimap = Minimap {
timer = 0
0 = <userdata>
AltoholicButton = AltoholicMinimapButton {
}
}
MinimapRadius = <table> {
Outside = <table> {
}
Inside = <table> {
}
}
pi = 3.141593
updateThreshold2 = 1.325000
twipe = <function> defined =[C]:-1
pairs = <function> defined =[C]:-1
GetDistanceToPoint = <function> defined @DraenorTreasures\MinimapIcons.lua:34
sin = <function> defined =[C]:-1
cos = <function> defined =[C]:-1
WorldPosToMinimapPos = <function> defined @DraenorTreasures\MinimapIcons.lua:150
In reply to ray_smith:
Got impatient and decided to see if I could work around the issue myself, seems I've been able to do that by adding a new line of code in MiniMapIcons.lua after line 180:
180: local facing = GetPlayerFacing()
181 (new): if facing == NIL then facing = 1 end
LUA error in 8.1.5 when I opened the map while flying over Stormheim:
14x ...ceDraenorTreasures\TreasuresDataProvider.lua:231: attempt to index global 'WorldMapTooltip' (a nil value)
...ceDraenorTreasures\TreasuresDataProvider.lua:231: in function <...ceDraenorTreasures\TreasuresDataProvider.lua:229>
Locals:
self = <unnamed> {
SetNudgeSourceMagnitude = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:166
GetGlobalPosition = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:253
PanTo = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:260
owningMap = WorldMapFrame {
}
OnCanvasScaleChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:270
GetNudgeSourceZoomedInMagnitude = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:175
SetScaleStyle = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:301
scaleFactor = 1
GetMap = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:199
OnCanvasSizeChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:279
ApplyCurrentPosition = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:336
IsIgnoringGlobalPinScale = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:287
endScale = 1.200000
HighlightTexture = <unnamed> {
}
IgnoresNudging = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:195
pinTemplate = "Treasures_HighlightableTreasurePinTemplate"
OnMouseUp = <function> defined @DraenorTreasures\TreasuresDataProvider.lua:240
OnAcquired = <function> defined @DraenorTreasures\TreasuresDataProvider.lua:199
PanAndZoomTo = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:265
ApplyCurrentScale = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:340
OnLoad = <function> defined @DraenorTreasures\TreasuresDataProvider.lua:194
OnReleased = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:114
description = "Underwater, at base of waterfall"
OnMapInsetMouseLeave = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:146
SetNudgeFactor = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:228
GetNudgeSourcePinZoomedOutNudgeFactor = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:207
startScale = 1
OnClick = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:118
Texture = <unnamed> {
}
GetNudgeSourceRadius = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:162
GetNudgeTargetFactor = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:154
GetFrameLevelType = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:370
SetAlphaStyle = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:326
SetScalingLimits = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:291
SetNudgeSourceRadius = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:158
SetNudgeVector = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:216
normalizedY = 0.623700
normalizedX = 0.479800
SetAlphaLimits = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:316
0 = <userdata>
name = "Treasure Chest (47.98, 62.37)"
OnCanvasPanChanged = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:275
OnMouseLeave = <function> defined @DraenorTreasures\TreasuresDataProvider.lua:229
SetPosition = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:240
GetNudgeZoomFactor = <function> defined @Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:233
GetNudgeSourcePinZoomedInNudgeFactor = <function> defined @Bliz
I'm seeing treasures on the minimap but not on the world map in BfA. I haven't tried the add-on in other expansion content although I used to use LegionTreasures without any problems before the BfA pre-patch.
For some reason the arrow will not point to any treasures in Frostfire Ridge.
Ola, Ainda há alguma forma de ver os bosses no mapa ?
how do i install this
I have a quick question and I am hoping somebody might know the answer. The arrow seems to only indicate treasures located in Tanaan Jungle, no matter what zone I am in. Is there a setting I need to set to show me the closest treasures in the zone I am in?
Thanks!
in the game i am getting a warning that this was found shut down caught by swatter i believe
https://drive.google.com/open?id=0BwcdAgRDvKgvWllTU1dpcF9WaE0
Attached is a screenshot of the area the note says the cave should be, the map with the coords and hover over for the box, and my character's current coords.
(Had to use my google drive because this interface keeps refusing to let me upload an image - that's a just a share-link for the one jpeg, just so you can see what I am seeing...)
Suramar - box shows for near/under vineyard - note says cave is over north of the crater
I see treasures have been added for Legion, but it doesnt seem to know that I already collected nearly all the treasures. Do I need DBM installed so it knows I already collected ll these treasures already? Back on WoD it could detect what treasures i already picked up and not show them.
I've been trying to track down some unwanted behavior; looks like this addon may be the culprit. It turns out that I have both this addon and HandyNotes: Draenor Treasures installed. I don't recall when I installed these addons; I probably did both on the same day under the mistaken impression that this one was a plugin for HandyNotes (I was probably confused at the time).
In any case, the two addons didn't seem to conflict (they were just duplicating each other's functionality) until a couple days ago when, suddenly, I found myself with a big arrow smack in the top/middle of my screen, pointing me to the nearest treasure. I didn't want this arrow, because I also use the Dugi Questing Essentials addon, which has its own arrow to point me toward quest objectives. Having two arrows on-screen pointing in wildly different directions is just confusing, especially since the eye is naturally drawn to the arrow that is centered (I keep the Dugi arrow off to one side). For finding treasures, the map icons are enough for me.
So, wanting to get rid of this arrow, I headed into the Interface -> Addons tab. This addon doesn't appear to have its own settings panel, but HandyNotes does - contributing to my confusion about this one being a HandyNotes plugin - and discovered that there were no settings in HandyNotes for an onscreen arrow.
This morning I finally noticed, in my Curse client, that this addon and the HandyNotes version have different authors. D'OH! So I came here and discovered that this addon's arrow only works with DBM installed. Well that explains why the arrow just suddenly showed up: I just installed DBM a couple days ago (I decided to start doing dungeons again in Legion, after not doing them in Cata, MoP, and WoD).
So into the DBM settings I go and ... I can't find a danged thing about this arrow. It would be one thing if I could drag this arrow off to one side, like on the opposite side of the screen from my Dugi arrow. But this arrow is glued to its spot, non-draggable.
U can also go into Dugi settings and change the arrow preferences. There are at least 2 selections checked, by default, the dugi arrow and tom tom arrow (if u use tomtom) but regardless I found when I dealt with the selections in the Dugi preferences it fixed everything. Again this is just my experience
"Draenor Treasures blocked an interface action only available to the Blizzard UI" when clicking on the Frost Crux then one of the world quest icons to complete a world quest (Death Knight perk). I only reinstalled it cuz one of my alts was messing around in Draenor. But this one has issues.
I believe I share your issue; I am trying to use the warrior class hall ability "Call of the Val'kyr" that allows you to complete a world quest once every 18 hours. When I do so, I get an error like yours and I have to disable this addon to be able to use that ability successfully.
I have last updated my folder for this addon on December 21, and this addon's last update was on Dec 8th, so I'm pretty sure I have the latest version.
EDIT: I tried again later today and instead of being stopped by DraenorTreasures, it was stopped by Auctionrer. DraenorTreasures was still active and once I disabled Auctioneer, I was able to use the ability.
Even with this current update (which list "fixes for 6.22" in the changes) there is still far too much wrong to use it for Legion. Just get a little bit of rep and buy the treasure maps from the rep vendors, sacrifice a few bag slots to carry those from Blizzard, because this addon is way too damn frustrating when yer trying to find a treasure that's listed that just is not there. I can't speak to treasures that are there and not listed because they could be random ones. This needs much more work before it's "ready for prime time" people. At least for Legion. Seems okay in Draenor (mostly) but I guess that's why he calls it "DraenorTreasures" and not "LegionTreasures."
Seriously not worth the frustration it's had plenty of time to get updated properly and still is not. I'm sorry to the author, but I have to call it like I see it!
just installed "r20161014140420" to make sure I had the latest update...
these are still off:
azuregale bay in suramar - have completed good suramaritan, so shouldn't have any left that are phased out do to quest progression
(decimals rounded if followed by multiple zeroes)
77.6, 76.0 - dump: 631.6, 2349.9, 0, 1220 (box on map, no treasure in area - no caves either)
83.1, 69.4 - dump: 878.9, 2042, 0, 1220 (treasure at location, no box on map)
81.7, 57.7 - dump: 1310.9, 2119.6999511719, 0, 1220 (box on map, no treasure in area - at either underwater cave or up in the naga ruins
75.7, 56.7 - dump: 1346.3, 2456. 0, 1220 (box on map, no treasure anywhere by/on this stalk of seaweed - no available cave path that would locate to here)
75.3, 49.1 - dump: 1629, 2475.3, 0, 1220 (box on map, no treasure - just a cliff wall - also no on the cliff wall - used glider and checked - underwater cave where you find Kell, dead, does not reach this location)
70.7, 70.6 - (forgot to grab dump) - box on map looks like it should be in the naga cave, but no treasure at location - also tried going on top of the peak - no treasure (but did get an interesting view of upcoming raid... and some pretty dark blue mana wyrms)