Archaeology Helper [Fan Update]

Archaeology Helper [Fan Update]

1.5k Downloads

Usage: local position = C_Map.GetPlayerMapPosition(uiMapID, unitToken)

Closed this issue ยท 2 comments

commented

Seems I can open a legitimate issue.

I get this lua error anytime I login with this enabled:

Message: Usage: local position = C_Map.GetPlayerMapPosition(uiMapID, unitToken)
Time: Mon Feb 13 12:52:19 2023
Count: 1
Stack: Usage: local position = C_Map.GetPlayerMapPosition(uiMapID, unitToken)
[string "=[C]"]: in function `GetPlayerMapPosition'
[string "@Interface/AddOns/Arh/arh.lua"]:1147: in function `GetPos'
[string "@Interface/AddOns/Arh/arh.lua"]:1189: in function `GetPosYards'
[string "@Interface/AddOns/Arh/arh.lua"]:1756: in function `Arh_HudFrame_OnUpdate'
[string "@Interface/AddOns/Arh/arh.lua"]:1848: in function <Interface/AddOns/Arh/arh.lua:1844>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/Arh/arh.lua"]:99: in function <Interface/AddOns/Arh/arh.lua:97>
[string "@Interface/AddOns/Arh/arh.lua"]:175: in function `ToggleHUD'
[string "@Interface/AddOns/Arh/arh.lua"]:1572: in function `Arh_MainFrame_Init'
[string "@Interface/AddOns/Arh/arh.lua"]:1464: in function <Interface/AddOns/Arh/arh.lua:1454>
[string "@Interface/AddOns/Arh/arh.lua"]:1473: in function <Interface/AddOns/Arh/arh.lua:1471>

Locals: (*temporary) = "Usage: local position = C_Map.GetPlayerMapPosition(uiMapID, unitToken)"

commented

The obvious first question is: "Are you using the latest version from my releases section?" . Because I think you're using the old curse one. You want to replace your Arh folder with what I've got released. There are installation instructions in the description.

If installing the latest doesn't work. Could you please provide more info.

  • Wow Version
  • Addon version
  • Zone
commented

Reviving this for a moment. I traced it down to when addon is loaded not all API is available. This should be fixed in latest release as addon is initiated at later point in the login process.