Dominos

Dominos

19M Downloads

Spec based profiles

Goranaws opened this issue · 20 comments

commented

I was thinking, that it would be possible to create a plug-in that would allow a player's current profile to auto swap when they change specs. It don't think it would be super hard... I play around with the concept and make repository for it, if I get it anywhere near functional.

commented

Something sorta like this I think...

https://github.com/Goranaws/Dominos_Specs

commented

It should definitely be possible.

On Jul 31, 2011, at 11:04 PM, Goranaws wrote:

I was thinking, that it would be possible to create a plug-in that would allow a player's current profile to auto swap when they change specs. It don't think it would be super hard... I play around with the concept and make repository for it, if I get it anywhere near functional.

Reply to this email directly or view it on GitHub:
https://github.com/Tuller/Dominos/issues/65

commented

I've got it fully working, but have thing I'd like to change. Is their a command equivalent to Dominos:GetProfile()? so I can detect what profile is currently active?

commented

Nevermind. Got it. Dominos.db:GetCurrentProfile()

commented

I think it's ready for release. It works perfectly across four of my toons. I had to be a tad sneaky in order to get a few things to work, and avoid bugs, but it works well and requires no user setup, aside from rearranging their bars to whatever they may want for a given spec.

commented

Thinking off of the top of my head...I'd create a panel on the main options menu with the following options:

  • Enable automatic talent switching.
  • A dropdown to select the primary spec profile.
  • A dropdown to select the secondary spec profile.

On PLAYER_TALENT_UPDATE & PLAYER_ENTERING_WORLD…determine if the player is in combat lockdown. If so, then queue up a check when the player is out of combat. If the player's not in combat, then check the player's profile versus what they selected for their current spec. If it does not match, then automatically switch specs.

You should be able to use GetActiveTalentGroup() to determine what spec the player currently is on.

On Aug 1, 2011, at 6:43 PM, Goranaws wrote:

And a link: https://github.com/Goranaws/Dominos_Specs/blob/master/Dominos_Specs.lua

Reply to this email directly or view it on GitHub:
https://github.com/Tuller/Dominos/issues/65#issuecomment-1704952

commented

I've started working on in game config, so far it's a toggle switch to turn the addon on or off. I need to figure out how to add options to the Dominos Main menu options, as I can't figure out how the Ace database stuffs actually do that... I've tried to figure Ace out before, but got too confused. I understand it's basic concept, but can't figure out how it's code works...

commented

Dominos (nor any of my addons for that matter) does not use Ace for any UI options stuff.

commented

I realized that shortly after posting the comment... Anyways, I think it ready now. It doesn't check for Combat lockout yet, but will soon. It adds a check button to the Dominos Main options, that when check will show three now drop downs that allow a player to select what profile will be used when the given talent tree is active... I decided not to base it off of duel talent specs, because several people I play with a regular basis tend to keep their main spec unchanged, while swapping their secondary spec around depending on what they may need. If that makes sense...

commented

I'll be updating all of my other Dominos plugin addons today. I had to fix a few graphical errors they cause whenever you changed active Dominos profiles. And tomorrow, I'll be uploading Dominos_Specs to Curse. I added support to Dominos_Specs to allow it to change profiles when a player changes talent trees, or changes from main spec to secondary spec... I'll also upload a few pics somewhere for you to take a look at the options menu as they appear in-game.

commented

Sounds good to me :)

On Aug 3, 2011, at 2:48 PM, Goranaws wrote:

I'll be updating all of my other Dominos plugin addons today. I had to fix a few graphical errors they cause whenever you changed active Dominos profiles. And tomorrow, I'll be uploading Dominos_Specs to Curse. I added support to Dominos_Specs to allow it to change profiles when a player changes talent trees, or changes from main spec to secondary spec... I'll also upload a few pics somewhere for you to take a look at the options menu as they appear in-game.

Reply to this email directly or view it on GitHub:
https://github.com/Tuller/Dominos/issues/65#issuecomment-1720576

commented

Screen shots:

1: http://i56.tinypic.com/s6he6h.jpg
2: http://i52.tinypic.com/2u7wsbp.jpg
3: http://i52.tinypic.com/bi6juw.jpg
4: http://i54.tinypic.com/25jv9m0.jpg

If you'd like me to change anything before I put it on Curse let me know.

commented

kk. I can place them on a new menu easily enough, I'll do that tomorrow as I goes RL crap to do tonight.

commented

The only thing i'm 50/50 on is if the spec stuff should be on its own options panel or not. Other than that, I think it looks good :)

On Aug 4, 2011, at 12:59 PM, Goranaws wrote:

Screen shots:

1: http://i56.tinypic.com/s6he6h.jpg
2: http://i52.tinypic.com/2u7wsbp.jpg
3: http://i52.tinypic.com/bi6juw.jpg
4: http://i54.tinypic.com/25jv9m0.jpg

If you'd like me to change anything before I put it on Curse let me know.

Reply to this email directly or view it on GitHub:
https://github.com/Tuller/Dominos/issues/65#issuecomment-1728600

commented

Finally had some free time. This is now finished!
Code is posted here => https://github.com/Goranaws/Dominos_Specs/
Screenshots are Here:
http://i53.tinypic.com/2u7xgrq.jpg

http://i55.tinypic.com/2mw8o7n.jpg

http://i53.tinypic.com/2jcis82.jpg

commented

Sorry that I've not replied sooner (been busy with rebuilding my
computer & other things). However, it looks good to me :)

On Mon, Oct 3, 2011 at 5:11 PM, Goranaws
[email protected]
wrote:

Finally had some free time. This is now finished!
Code is posted here    => https://github.com/Goranaws/Dominos_Specs/
Screenshots are Here:
http://i53.tinypic.com/2u7xgrq.jpg

http://i55.tinypic.com/2mw8o7n.jpg

http://i53.tinypic.com/2jcis82.jpg

Reply to this email directly or view it on GitHub:
#65 (comment)

commented

Awesome! I'll put it no curse soon. I know this idea has been asked for on Dominos Curse page before, so I think a few users will want the addon. Is it ok if I post a brief message on Dominos Curse page to sort of announce it's existence?

commented

That should be fine.

Jason

On Oct 9, 2011, at 11:55 PM, Goranaws
[email protected]
wrote:

Awesome! I'll put it no curse soon. I know this idea has been asked for on Dominos Curse page before, so I think a few users will want the addon. Is it ok if I post a brief message on Dominos Curse page to sort of announce it's existence?

Reply to this email directly or view it on GitHub:
#65 (comment)

commented

Thanks man. I'll post the addon to Curse tonight I think. :)