Error on placing a pin in TWW
Closed this issue · 4 comments
Describe the bug
Error on trying to place a pin on the map, either via ctrl+click or /way
To Reproduce
Attempt to place a map pin
Expected behavior
The pin to be placed
Do you have an error log of what happened? (BugSack&Buggrabber or /console scriptErrors 1
)
1x ...aceBlizzard_MapCanvas/Blizzard_MapCanvas.lua:198: attempt to call method 'CheckMouseButtonPassthrough' (a nil value)
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:198: in function `AcquirePin'
[string "@MapPinEnhanced/Libs/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:451: in function `HandlePin'
[string "@MapPinEnhanced/Libs/HereBeDragons/HereBeDragons-Pins-2.0.lua"]:747: in function `AddWorldMapIconMap'
[string "@MapPinEnhanced/core.lua"]:525: in function `ShowOnMap'
[string "@MapPinEnhanced/core.lua"]:1057: in function `AddPin'
[string "@MapPinEnhanced/core.lua"]:1193: in function `AddWaypoint'
[string "@MapPinEnhanced/core.lua"]:1347: in function `?'
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Ace3/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Ace3/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <Ace3/AceEvent-3.0/AceEvent-3.0.lua:119>
[string "=[C]"]: ?
[string "=[C]"]: in function `SetUserWaypoint'
[string "@Blizzard_SharedMapDataProviders/WaypointLocationDataProvider.lua"]:94: in function `HandleClick'
[string "@Blizzard_SharedMapDataProviders/WaypointLocationDataProvider.lua"]:60: in function <...redMapDataProviders/WaypointLocationDataProvider.lua:58>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `xpcall'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:841: in function `ProcessCanvasClickHandlers'
[string "@Blizzard_MapCanvas/MapCanvas_ScrollContainerMixin.lua"]:108: in function <...lizzard_MapCanvas/MapCanvas_ScrollContainerMixin.lua:102>
Locals:
self = WorldMapFrame {
NavBar = Frame {
}
pinNudgingDirty = false
TitleCanvasSpacerFrame = Frame {
}
minimizedHeight = 534
lockReasons = <table> {
}
callbackTables = <table> {
}
expandedMapInsetsByMapID = <table> {
}
mapArtID = 1748
overlayFrames = <table> {
}
pinPools = <table> {
}
dataProviderEventsCount = <table> {
}
areDetailLayersDirty = false
dataProviders = <table> {
}
isMaximized = false
mouseClickHandlers = <table> {
}
debugInspectionSystem = "MapCanvas"
globalPinMouseActionHandlers = <table> {
}
QuestLog = QuestMapFrame {
}
SidePanelToggle = Button {
}
questLogWidth = 333
minimizedWidth = 702
debugAreaTriggers = false
pinsToNudge = <table> {
}
pinFrameLevelsManager = <table> {
}
cursorHandlers = <table> {
}
pinTemplateTypes = <table> {
}
detailLayerPool = <table> {
}
isUndefinedEventAllowed = true
BorderFrame = Frame {
}
BlackoutFrame = Frame {
}
ScrollContainer = ScrollFrame {
}
MouseAction = <table> {
}
activeAreaTriggers = <table> {
}
lastCursor = "MAP_PIN_CURSOR"
mapID = 2112
navBar = Frame {
}
}
pinTemplate = "HereBeDragonsPinsTemplate"
pin = Frame {
owningMap = WorldMapFrame {
}
pinTemplate = "HereBeDragonsPinsTemplate"
}
newPin = true
isMouseClickEnabled = false
isMouseMotionEnabled = false
(*temporary) = nil
(*temporary) = Frame {
owningMap = WorldMapFrame {
}
pinTemplate = "HereBeDragonsPinsTemplate"
}
(*temporary) = "RightButton"
(*temporary) = "attempt to call method 'CheckMouseButtonPassthrough' (a nil value)"
Did you try disabling all other addons? (Only MapPinEnhanced enabled)
Yes
Was it working in a previous version?
prior to wow 11.0 anyway
Hey there,
I updated the library version last week. I had the same error happening on my own client aswell. I pinned it down coming from another addon that had an outdated version of library in there.
Would really appreciate it if you could test the following things:
- Only load Map Pin Enhanced and disable all other addons
- Please check the current version of the addon with
/mph version
in the game - Check the library version in the addon. You can find that in
<retail wowfolder>/Interface/AddOns/MapPinEnhanced/libs/HereBeDragons/HereBeDragons-Pins-2.0.lua
. If you open that file with a text editor like notepad, there should be a number on line 3. The current version should be 14. This is a way more complex thing, but it would help to find the root of the problem.
Pretty sure I had disabled everything else using HereBeDragons, but I'll check again... maybe something thoroughly random has it loaded for some reason... Will let you know when the severs come back online
Found it. It was the addon Caravana, which tracks the vulpera make camp racial location. I had missed it since it in-lines the HereBeDragons lib rather than storing it in a discrete folder slaps forehead
Manually patching that addon resolved the issue. Sorry for the trouble!