Reflux
Reflux is a small lightweight profile manager. With the coming of dual specs, and people building UI compilations. I built this little manager. Its goal it to allow you to quickly switch all your addon profiles in one fair swoop. For addons that don't support profiles it emulates a profile. All emulations are done by the user and none come pre-configured out of the box. The user chooses if he/she wishes to emulate a profile for any addon. Emulation is not needed for any addon that uses Ace2/3DB as profiles are built in.
Example of usage
This example assumes your setting up a brand new profile.
/reflux create MyProfile
This will switch all current Acedb based addons to this profile and setup the emulation profile.
Now i configure a bunch of stuff and notice my unit frames don't have support for profiles... Well i can fix that! First i need to check the .toc for my unit frames in this case StufUnitFrames. I find the #SavedVariables: StufDB line in the toc indication that is where it saves its configuration information. So now in game I simply add that saved variable to reflux
/reflux add StuffDB
Now reflux will emulate a profile for Stuff. I finish up configuring my UI. I'm pretty happy with it. Now that I'm done I need to save the emulated profile
/reflux save
Now my emulated profile has been saved. Lets do a quick reload to ensure our data is saved to disk.
We are done! Now my UI is setup with my new profile. Lets go create another profile for my alt.
/reflux create MyAltProfile
My screen is now back to initial state all unconfigured. My alt is a different class so this isn't a big deal. (Future enhancement will be to copy a profile set so you can create a base config then tweak). Now i do more work...
What about stuff? Do i need to add it again? Nope its already been emulated so no need to add it again.
Now I save my new profile
/reflux save
Now I switch my main back to its original profile.
/reflux switch MyProfile
Bingo my UI is now all set back up.
I log into my alt and type
/reflux switch MyAltProfile
And now my alts UI is all setup.
If you want to clear out all your reflux data /reflux cleardb and bingo its all gone. You ace profiles are still there, but the emulated profiles will be cleared.
Other Commands
/reflux addons [profile] Switch addon set to what was saved in the profile. Due to technical reason you need to switch afterwards
/reflux save now optionally takes an 'addons' flag to store addon state so /reflux save addons will save current addon list in the emulated profile.
/reflux copy [target profile] will attempt to copy the target profile into your current profile. this will reload the UI when complete.
/reflux delete [profile] will delete a profile. Please note you can NOT delete the current active profile.
/reflux snapshot [profile] will scan your addons creating a new profile, based off of each addons current settings
Type /reflux to see a list of commands.
there was an edge case where the storage table wasnt setup properly. it shoul dbe fixed now
Okay.. I see you've updated the save message. But it still refuses to save the emulated Baud Manifest profile. I'm just gonna repost what I get when I type different commands in-game:
/reflux show
"Active profile is YuniUI
BaudManifestData is being emulated.
Addon state is not being saved."
/reflux save
"No emulations saved. This is because you have not issued a switch, create or snapshot command."
So, I then use a /reflux switch YuniUI command and my UI reloads. Then I try the /reflux save command once more, but I still get the message that no emulations are being saved.
I could really use your help here... It just refuses to save the emulation.
@kagaro Hmm.. I'm not sure what you mean exactly.. I do have an active profile when writing the "/reflux save" command, but I still get a "No emulations saved" message.
be sure to first set a profile before you save
I'm trying to get Reflux to emulate a profile for the addon Baud Manifest, but it just won't work. What I've done:
Any help will be greatly appreciated!
@Cpt_Rhyder
You appear to be using the name of the .toc file. Don't do that. Use the name of the saved variables file, found within the .toc file. For Shadowed Unit Frames that will be ShadowedUFDB...
What I've done:
- Set up Baud Manifest as I like it.
- Looked in BaudManifest.toc to find the name of the saved variables file.
- Typed "/reflux add BaudManifestData" in game.
* Reflux prints: "BaudManifestData Added to emulation list."
- I type /reflux save
* Reflux responds with "No emulations saved."
Any help will be greatly appreciated!
Thats what I looked for. the saved variable .toc file was labeled (with correct capitals) ShadowedUnitFrames.toc and ShadowedUF_Options.toc. reflux continues to say its not found.
you need to use the saved variables name from teh .toc
help. I cant get the following to be added to relux yet I double checked all the Toc files' names.
kgpanels Auctionator Guild tithe multimail ShadowedUnitFrames
Thanks, I will keep that in mind. Also wanted to say thank you for all your addons, not just Reflux., KG Panels being a close second, I can remember nights playing with that mod for hours lol.
Chatter has an option to store the chatframe positions in saved variables. Normally all the chat frame mods use teh SetUserPlaced flag so the layout-cache controls the location. Addons cant read that information or change it any way.
Thanks for the addon. I have used Reflux to easily switch from a healer UI to a dps Ui I made. For some reason though no matter what Chat Addon I use it doesn't change the chat window placement. I always save the addons, but after I load my profile everything i loaded perfect except for chat frames? Any suggestions
I _do not_ recommend this addon.
Read the instructions next time?
But in some cases, when I edit one profile, the changes are applied to other profiles!
Ex: I moved Healbot from the middle-left of the screen to the middle-bottom of my screen on my Hunter's profile, but wanted to leave it on the middle-left for my druid. But when I log on my druid, Healbot is now in the bottom, where I placed it in my Hunter UI. WTF?
Am I doing something wrong, or is there something else I should do to make sure changes stick to only the profile I was working on? Having to move Healbot (and one or two other things - Lunar Sphere, GearScore, etc) every time I switch is really annoying. D:
potentialy yes
I'm new to this addon, now my question is, can i use it to install different UI compilations and switch them arround ingame? I have so many Characters and i want different UI's on them.