error when trying to modify note
qlesz opened this issue ยท 2 comments
as in title i'm getting this error when trying to modify any note or list all existing notes. GetMapNameByID
has been replaced a while ago with C_Map.GetMapInfo(uiMapID)
but unfortunatelly im not familiar with LUA.
Date: 2020-10-25 11:07:41
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\Carbonite.Notes\NxFav.lua line 918:
attempt to call global 'GetMapNameByID' (a nil value)
Debug:
[string "@Carbonite.Notes\NxFav.lua"]:918: UpdateItems()
[string "@Carbonite.Notes\NxFav.lua"]:1218: SelectItems()
[string "@Carbonite.Notes\NxFav.lua"]:705: UserFunc()
[string "@carbonite\NxUI.lua"]:6502:
Carbonite\NxUI.lua:6481
Locals:
self =
RecordAnimTimer = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:361
OnButToggleFav = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1598
IMenu_OnRename = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:559
HandyNotes = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1524
FindFav = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1002
ToggleShow = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:661
GetParent = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:958
Create = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:250
Menu_OnPaste = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:520
Menu =
}
SetRecord = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:339
ParseItemNote = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1147
GetIconFile = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:214
OnChat_msg_addon = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:152
Update = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:783
GetIconInline = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:209
Menu_OnAddFavorite = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:468
But_OnItemDel = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:408
GetNoteFav = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1268
But_OnRecord = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:335
But_OnDown = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:374
Menu_OnRename = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:478
MakeXY = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1136
AddFavorite = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1091
ItemMenu =
}
Record = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1226
But_OnUp = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:370
MoveCur = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:378
OpenFoldersToFav = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1021
IMenu_OnCopy = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:585
IMenu_OnCut = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:572
FavCnt = 5
OnItemListEvent = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:747
AddNote = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1619
SetNoteAtStr = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1289
IMenu_OnAddComment = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:549
Draw = true
SetItemFlags = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1172
OnEditBox = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:678
UpdateIcons = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1426
CurItemI = 1
UpdateItems = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:873
CurFav =
}
CurFolder =
}
AddonNote = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1623
ItemList =
}
IMenu_OnPaste = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:592
UpdateFolder = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:833
ParseItem = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1141
RecBut =
}
Win =
}
Side = 1
InstLevelSet = 0
NoteIcons =
}
Menu_OnAddNote = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1610
Folders =
}
Menu_OnCopy = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:512
CreateItem = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:1119
List =
}
Menu_OnCut = defined @interface\AddOns\Carbonite.Notes\NxFav.lua:493
DrawMapId = 864
UpdateTargets = defined @interface\