
1x bad argument #1 to '?' (Usage: local areaPoiIDs = C_AreaPoiInfo.GetAreaPOIForMap(uiMapID))
Closed this issue ยท 3 comments
Describe the problem
What steps will reproduce the problem?
- Enter Alterac Valley
- Error happens
Consider attaching a screenshot below to help describe your issue (Attach directly, do not link to other websites)
What version of the addon are you using? (Stating 'latest' is not useful)
Classic Anniversary
Do you have an error log of what happened?
1x bad argument #1 to '?' (Usage: local areaPoiIDs = C_AreaPoiInfo.GetAreaPOIForMap(uiMapID))
[C]: ?
[Capping/Core_Vanilla.lua]:736: in function 'StartFlagCaptures'
[Capping/Modules/AlteracValley_Vanilla.lua]:263: in function 'EnterZone'
[Capping/Core_Vanilla.lua]:920: in function <Capping/Core_Vanilla.lua:920>
Locals:
(*temporary) = "bad argument #1 to '?' (Usage: local areaPoiIDs = C_AreaPoiInfo.GetAreaPOIForMap(uiMapID))"
Any additional information? (example: WoW language if not English)
@funkeh Apparently the function is being called before C_Map.GetBestMapForUnit("player") returns a value.
v11.1.6-2-gdc16075
Didn't get error but it just completely stopped working last update in anniversary