Skip to content

User Sitr0mis and ataxium's reported "Error" #28

@LegolandoBloom

Description

@LegolandoBloom

Here are the comments they wrote for reference:

"Having the EXACT same experience. If I had to guess, the addon is failing to check the "Char Favs" status on initial load or it is somehow being delayed its initial check; thus the default Blizz "favorite" marked pets are being seen as first from the addon and thus summoning those instead. I have to uncheck and recheck the "Char Favs (PW)" everytime to get it to function properly... but on load-up, it does not."

"since recent update, only summons pets at complete random. When using char favs or not"

I believe I know what they are referring to, and it's not exactly a logical error, but more of an "expectations vs reality" kind of situation. It's regarding the function: ns.saved_pet_summonability_check() (line 277)

function ns.saved_pet_summonability_check() --- After login
	local priorities, perchar = {}, nil

	if ns.dbc.charFavsEnabled then
		perchar = true
		priorities = {
			ns.dbc.recentPets[1],
			ns.dbc.recentPets[2],
                        ns.db.recentPets[1],
			ns.db.recentPets[2],
		}
	else
		priorities = {
			ns.db.recentPets[1],
			ns.db.recentPets[2],
                        ns.dbc.recentPets[1],
			ns.dbc.recentPets[2],
		}
	end
                 .
                 .
                 .
end

With the way it's implemented currently,
if an alt of yours doesn't have char favourites enabled and has a pet summoned:
if they then logout with that pet recently being unsummoned aka "saved" state -> then login to an alt that does have char favourites enabled
if that new alt didn't have a pet in their "saved" state previously, PetWalker will keep summoning(and saving) the non-char-favourite saved pet from the other character, and then believe that that pet was theirs even they manually summon one from the favourite pool.

For my current usage, I made this change to the priorities table for both options:

priorities = {
			ns.dbc.recentPets[1],
			ns.dbc.recentPets[2],
		}
priorities = {
			ns.db.recentPets[1],
			ns.db.recentPets[2],
		}

It's not a perfect solution, because there are sure to be people who like the previous functionality of resummoning previously saved non-char-fav pets from other characters.

I believe this is where their grievance lies, the 2 commentors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions