Thread Tools Display Modes
11-21-15, 09:19 AM   #1
XanUI
A Murloc Raider
 
XanUI's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2012
Posts: 9
XanUI ToDo: Switching Profiles / Configs through own Addon.

Hi!

I have some problems with my UI Compilation XanUI.

I saw users of my UI Streaming and recognized that some AddOns do not switch their profiles as they should.
I am handling my AddOn Profiles and Configs with Reflux. I tried emulating them like described from the AddOn Author but it did not work yet...

The AddOns i am having problems with are:
BigWigs (Standart Profile active instead of XanUI or XanUIHeal)
MoveAnything Standart (Standart Profile active instead of XanUI or XanUIHeal)
TidyPlates Threat Plates (does not activate in Tidy Plates Themes)
Gnosis... Bugging around also

Now my question is: can i call a method from an own extern Addon which switches them?
like
Code:
 BigWigs.setProfile("XanUI")
or something... i must admit i am a total LUA noob... and these problems above - i could not solve them yet...

/tldr: i cant get prat/moveanything and bigwigs to change profiles with reflux properly, it works on my chars but does not work on other users of my compilation

Last edited by XanUI : 11-22-15 at 11:09 AM.
  Reply With Quote
11-22-15, 01:40 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
BigWigs supports profiles natively through AceDB. If you're emulating a profile for it, that's probably why it doesn't work correctly. I don't know about MoveAnything or Tidy Plates, but I'm pretty sure Gnosis also uses AceDB. Make sure you don't have Reflux's profile emulation feature set up for those addons.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
11-23-15, 12:43 AM   #3
XanUI
A Murloc Raider
 
XanUI's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2012
Posts: 9
Thanks phanx! I do emulate bw, move anything and prat at the moment, so this could be the issue. Should I use the ignore command or clear all with cleardb and add the other emulating SVs manually?
  Reply With Quote
11-23-15, 11:54 AM   #4
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
TidyPlates Threat Plates (does not activate in Tidy Plates Themes)
I have shared my "TidyPlates Threat Plates" settings for years with my UI. You need to set it up in the TidyPlatesPanel.lua: go to line 13 and change
Code:
local defaultPrimaryTheme = "Neon/|cFFFF4400Damage"
local defaultSecondaryTheme = "Neon/|cFF3782D1Tank"
to to the exact name of skin you are using. Look for the right name ingame inside the TidyPlates menu.

BTW you shoud liste/link the AddOns/texturs used in your UI
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________

Last edited by Tonyleila : 11-23-15 at 12:07 PM.
  Reply With Quote
11-26-15, 07:43 AM   #5
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by XanUI View Post
I do emulate bw, move anything and prat at the moment, so this could be the issue.
Prat also uses AceDB (unless that's changed recently) so emulating its profiles probably won't work correctly either.

Originally Posted by XanUI View Post
Should I use the ignore command or clear all with cleardb and add the other emulating SVs manually?
I don't know enough about Reflux to answer that question. If "ignore" removes the specified saved variable from emulation, that should probably work. If it makes Reflux ignore the specified addon entirely, that probably won't work. At this point, though, since you've got multiple problem addons, it may be better to just clear all your Reflux settings and set it up again, paying more attention to which addons natively support profiles this time around.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
11-27-15, 02:36 PM   #6
XanUI
A Murloc Raider
 
XanUI's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2012
Posts: 9
Thanks for the halp guys! Worked out perfectly...
Originally Posted by Tonyleila View Post
BTW you shoud liste/link the AddOns/texturs used in your UI
Will do on next Version
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » XanUI ToDo: Switching Profiles / Configs through own Addon.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off