AchievementsWnd TreeView

A forum for feature requests/discussions and user submitted patches that improve MQ2

Moderator: MacroQuest Developers

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

AchievementsWnd TreeView

Post by dewey2461 » Mon Oct 30, 2017 9:28 pm

I have been trying to figure out a good way to check progression on several toons.

The best way I know of is to look up the achievement, however, the achievement window TreeView "ACH_Categories" does not appear to have any way to interact via MQ2.

Any suggestions?

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: AchievementsWnd TreeView

Post by EqMule » Mon Oct 30, 2017 9:44 pm

I looked into creating a mq2Achievements plugin a few months ago when someone asked me for it, all I can tell u is that its complicated and requires a bunch of stuff being added to the plugin to be able to iterate through them.

I'm not saying that to discourage you from doing it, just being 100% honest, it is tricky to say the least. I got as far as being able to /listach and it listed them all...

If I ever finish it at some point it would most likely be as a crowdfund campaign cause of how much time is needed to do it...
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Re: AchievementsWnd TreeView

Post by dewey2461 » Mon Oct 30, 2017 10:12 pm

It does look like the treeview is maintained / populated differently. Just have to find another way to skin the cat. Thanks for the feedback.

User avatar
MacQ
Macro Author
Macro Author
Posts: 674
Joined: Sat Apr 02, 2005 2:39 pm

Re: AchievementsWnd TreeView

Post by MacQ » Mon Oct 30, 2017 10:19 pm

dewey2461,

If you can create this kind of macro, that would be amazing.

Three years ago you helped by developing a similar macro for determining needed collections. I always remembered that macro and how you navigated the tree. Hopefully you will do the same with progression.
https://macroquest2.com/phpBB3/viewtopi ... ct#p166371

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Re: AchievementsWnd TreeView

Post by dewey2461 » Tue Oct 31, 2017 1:15 am

As eqMule points out we don't currently have the tools to manipulate the TreeView. With out that we don't have a good way of selecting an entry. I tried multiple /notify commands and at best, I can open a psuedo random entry via /notify AchievementsWnd ACH_Categories leftmouseup but it is what ever happens to be in the center of the viewable list.

On the other hand, it might be possible to catch a link to a particular achievement and have your character open the link and click the "view mine" which then opens the achievements window to the entry we want.

I have tested /notify AchievementWnd ACHI_ViewMineButton leftmouseup and it does the right thing so it might be possible to work around it for specific cases.