HandyNotes: Mechagon & Nazjatar

HandyNotes: Mechagon & Nazjatar

898k Downloads

K'aresh map error

Talimar opened this issue ยท 6 comments

commented

ADDON VERSION: (place version of the addon you have installed here)
v121

Describe the bug
A clear and concise description of what the bug is and how to reproduce it.

1x ...faceHandyNotes_TheWarWithin/core/tooltip.lua:59: attempt to compare number with nil
[HandyNotes_TheWarWithin/core/tooltip.lua]:59: in function 'RenderPinTooltip'
[HandyNotes_TheWarWithin/core/map.lua]:447: in function <HandyNotes_TheWarWithin/core/map.lua:446>

Locals:
pin = Frame {
lastOwningMapID = 0
label = "Entrance"
normalizedY = 0.478300
parentHeight = 2560
parentWidth = 3840
texture = Texture {
}
normalizedX = 0.687900
frameOffset = 0
pinFrameLevelType = "PIN_FRAME_LEVEL_MAP_HIGHLIGHT"
}
x = nil
_ = nil
parentX = 2078.803955
_ = 3948.495605
(*temporary) = 2078.803955
(*temporary) = 3948.495605
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with nil"
ns =

{
GROUP_HIDDEN75 =
{
}
NameResolver =
{
}
api =
{
}
class = "WARLOCK"
groups =
{
}
COLORS =
{
}
tomtom =
{
}
world_map_button = Krowi_WorldMapButtons3 {
}
maps =
{
}
tooltip =
{
}
icons =
{
}
plugin_name = "HandyNotes: The War Within"
hooks =
{
}
MinimapDataProvider = HandyNotes_TheWarWithinMinimapDP {
}
Interval =
{
}
node =
{
}
Map =
{
}
poi =
{
}
addon =
{
}
Group =
{
}
requirement =
{
}
status =
{
}
group_types =
{
}
options =
{
}
professions =
{
}
reward =
{
}
optionDefaults =
{
}
locale =
{
}
color =
{
}
WorldMapDataProvider =
{
}
faction = "Horde"
GROUP_ALPHA75 =
{
}
GROUP_HIDDEN =
{
}
expansion = 11
hook =
{
}
}
Screenshots
If applicable, add screenshots to help explain your problem.

commented

@Talimar which node did you get that error from? I've looked at the few that use that Entrance poi and not seeing any issues on mine

I'm not sure sorry.

commented

It comes from:
normalizedY = 0.478300

map.nodes[70204773] = Treasure({
    quest = 86306,
    note = L['in_cave'],
    rewards = {Achievement({id = 42741, criteria = 106276})},
    pois = {Entrance({68794783})}
}) -- Rashaal's Vase

I was able to reproduce the error once.

commented

@Talimar which node did you get that error from? I've looked at the few that use that Entrance poi and not seeing any issues on mine

commented

yes I got the error too

commented

New release v123 has a new error:

Message: bad argument #1 to '?' (Usage: local nodeInfo = C_Traits.GetNodeInfo(configID, nodeID))
Time: Mon Aug 11 05:28:08 2025
Count: 4
Stack:
[Interface/AddOns/HandyNotes_TheWarWithin/zones/karesh.lua]:48: in function 'IsMet'
[Interface/AddOns/HandyNotes_TheWarWithin/core/nodes.lua]:322: in function 'Render'
[Interface/AddOns/HandyNotes_TheWarWithin/core/core.lua]:141: in function <...terface/AddOns/HandyNotes_TheWarWithin/core/core.lua:140>

Locals:
self = <table> {
 type = "{item:235499}"
 __address = "000001D6C369B560"
 text = "What Lies Beyond"
 nodeID = 105870
 __class = <table> {
 }
}
configID = nil

This is on a character that doesn't have the Reshii wraps yet, if that's relevant.

commented

@F-Lambda please can you raise a new issue for that and we will take a look at fixing it