Questie

Questie

116M Downloads

Party members not recorded correctly in journey

svalentin opened this issue ยท 1 comments

commented

Bug description

Journey log records only the first party member, but records it multiple times.

Recorded lua

From the Questie.lua in SavedVariables, this is a quest I've done in Gnomeregan with a full party. Folkor was just one of the party members.
This is the key under QuestieConfig["journey"]["char"]["Name - Server"]["journey"]

{
    ["Party"] = {
        {
            ["Class"] = "Warrior",
            ["Name"] = "Folkor",
            ["Level"] = 32,
        }, -- [1]
        {
            ["Class"] = "Warrior",
            ["Name"] = "Folkor",
            ["Level"] = 32,
        }, -- [2]
        {
            ["Class"] = "Warrior",
            ["Name"] = "Folkor",
            ["Level"] = 32,
        }, -- [3]
        {
            ["Class"] = "Warrior",
            ["Name"] = "Folkor",
            ["Level"] = 32,
        }, -- [4]
    },
    ["Timestamp"] = 1568162994,
    ["Quest"] = 4605,
    ["Level"] = 31,
    ["Event"] = "Quest",
    ["SubType"] = "Complete",
}, -- [621]

Questie version

Can repro this with both latest release and latest master

commented

Should probably replace GetHomePartyInfo with something like UnitName('party'..i) and iterate over GetNumGroupMembers() if IsInGroup()