I just got in to the game and my addon is broken.
Something has changed with GetCharacterInfo(). It is not working the same way it was on PTS.
Lua Code:
local found = false
d("DEBUG currentId: "..GetCurrentCharacterId())
d("DEBUG num characters: "..tostring(GetNumCharacters()))
for i = 1, GetNumCharacters() do
local name, gender, level, championRank, classId, raceId, alliance, id, locationId = GetCharacterInfo(i)
d("DEBUG id="..tostring(id).." name="..zo_strformat("<<1>>",name))
if id == GetCurrentCharacterId() then
found = true
end
end
d("DEBUG Found id="..tostring(found))
The above code is generating this. The ids are way too short and some of the ids are duplicated
Screenshot
I am investigating to see if I can fix it myself