Capping Battleground Timers

Capping Battleground Timers

8M Downloads

1x bad argument #1 to '?' (Usage: local areaPoiIDs = C_AreaPoiInfo.GetAreaPOIForMap(uiMapID))

Closed this issue ยท 3 comments

commented

Describe the problem

What steps will reproduce the problem?

  1. Enter Alterac Valley
  2. 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)

commented

@funkeh Apparently the function is being called before C_Map.GetBestMapForUnit("player") returns a value.

v11.1.6-2-gdc16075

commented

Didn't get error but it just completely stopped working last update in anniversary

commented

I reverted back to v11.1.5 and it seems to be working. I was still getting the error with v11.1.6