Total RP 3

Total RP 3

4M Downloads

Scan for Roleplay function: mousing over player indicators on map causes error

chasaya opened this issue ยท 1 comments

commented

When using the "Scan for Characters" function on the map, results (player indicators, "dots") are shown, but mousing over them produces a .lua error

Expected behaviour

Mousing over the player indicators should show the resp. player tooltip

Issue checklist

Please select any applicable options from the below list.

You can replace the "[ ]" with "[x]" for each option below to tick it.

  • [ x] The issue occurs with the latest version of the addon.
  • [ x] The issue occurs with Total RP 3 as the only enabled addon.
  • The issue occurs only with other addon(s) enabled (please provide a list).

Steps to reproduce

Give us a list of steps to reproduce the issue with.

  1. Open Map
  2. Click on TRP3 Map Symbol ("Scan for Roleplay") and Select 'Scan for characters'
  3. Player indicators are shown on the map, mouse over one of them
  4. See error (s. log below)

Additional files

Message: ...terface\AddOns\totalRP3\modules\map\MapPoiMixins.lua:83: attempt to call method 'EnumerateAllPins' (a nil value)
Time: Wed Nov 3 18:36:22 2021
Count: 68
Stack: ...terface\AddOns\totalRP3\modules\map\MapPoiMixins.lua:83: attempt to call method 'EnumerateAllPins' (a nil value)
[string "@interface\AddOns\totalRP3\modules\map\MapPoiMixins.lua"]:83: in function <...terface\AddOns\totalRP3\modules\map\MapPoiMixins.lua:76>
[string "=[C]"]: ?

Locals: self = {
0 =
GetGlobalPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:311
PanTo = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:318
owningMap = WorldMapFrame {
}
Bounce = Bounce {
}
tooltipLine = "Ilikebooks"
OnCanvasScaleChanged = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:328
GetNudgeSourceZoomedInMagnitude = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:233
SetScaleStyle = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:359
GetNudgeSourcePinZoomedInNudgeFactor = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:269
GetMap = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:257
ApplyFrameLevel = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:432
ApplyCurrentPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:394
IsIgnoringGlobalPinScale = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:345
endScale = 1.200000
HighlightTexture = {
}
OnMouseEnter = defined @interface\AddOns\totalRP3\modules\map\MapPoiMixins.lua:76
pinTemplate = "TRP3_PlayerMapPinTemplate"
OnMouseUp = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:178
OnAcquired = defined =[C]:-1
PanAndZoomTo = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:323
ApplyCurrentAlpha = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:415
TEMPLATE_NAME = "TRP3_PlayerMapPinTemplate"
OnLoad = defined @interface\AddOns\totalRP3\modules\map\MapPoiMixins.lua:146
pinFrameLevel = "PIN_FRAME_LEVEL_VEHICLE_ABOVE_GROUP_MEMBER"
OnReleased = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:148
sortName = "Ilikebooks"
ClearNudgeSettings = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:199
OnCanvasPanChanged = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:333
SetNudgeFactor = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:286
GetNudgeSourcePinZoomedOutNudgeFactor = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:265
startScale = 1
OnClick = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:152
SetNudgeZoomedInFactor = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:237
GetNudgeSourceRadius = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:220
GetPosition = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:306
GetNudgeTargetFactor = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:212
GetFrameLevelType = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:428
SetAlphaStyle = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:384
SetScalingLimits = defined @interface\AddOns\Blizzard_MapCanvas\MapCanvas_DataProviderBase.lua:349
normalizedY = "0.65351164340973"


commented

We're aware of the issue, will fix in next version (should be in a day or two at most)