You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlocked transmogs seem to be listed in a random/not predictable order in the gossip window.
It would be nice to have items ordered in a predictable order, e.g. by name.
I have found a way to do this in code by changing the query in
transmog_scripts.cpp:
void OnAfterConfigLoad(bool reload) override
{
...
QueryResult result = CharacterDatabase.Query("SELECT custom_unlocked_appearances.account_id, custom_unlocked_appearances.item_template_id, acore_world.item_template.name, acore_world.item_template.Quality FROM custom_unlocked_appearances INNER JOIN acore_world.item_template ON custom_unlocked_appearances.item_template_id=acore_world.item_template.entry ORDER BY acore_world.item_template.Quality DESC, acore_world.item_template.name ASC;");
...
}
This query would order transmogs by item quality first, and by item name second.
You would also have to remove the following std::sort call in
This approach has some quirks (e.g. newly unlocked items are not ordered in the same way until a server restart) but I believe it makes it much easier to search through unlocked items.
The text was updated successfully, but these errors were encountered:
Unlocked transmogs seem to be listed in a random/not predictable order in the gossip window.
It would be nice to have items ordered in a predictable order, e.g. by name.
I have found a way to do this in code by changing the query in
transmog_scripts.cpp:
This query would order transmogs by item quality first, and by item name second.
You would also have to remove the following std::sort call in
Transmogrification.cpp
This approach has some quirks (e.g. newly unlocked items are not ordered in the same way until a server restart) but I believe it makes it much easier to search through unlocked items.
The text was updated successfully, but these errors were encountered: