Thread Tools Display Modes
03-01-15, 03:55 PM   #1
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
ProfileKeys question

For my UI I always clean up the ProfileKeys of my Saved Variables. For some reason !some! AddOns create this ProfileKeys that save the char name and what profile is used by every char that you log into. Why don't they just load the default profil instead of creating a new one (I have some addons that do this)? So many addons have this behavior... so my question: Is there a special reason why they do this? Is this a premade script they just copy past that makes it work like this?
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote
03-01-15, 06:10 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
http://forums.wowace.com/showthread....hlight=profile

Note: this thread was begun over 3 years ago.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
03-01-15, 07:07 PM   #3
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
Thanks so the answer to everything is Phanx again

https://github.com/Phanx/AceDB-DefaultMod
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote
03-01-15, 11:48 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Let me know if you come across any addons that shouldn't default to a Default profile, so I can add them to the exclusion list; some addons that actually should be character-specific rely on AceDB's annoying default behavior instead of explicitly specifying that they should be character-specific.
__________________
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
03-02-15, 06:39 AM   #5
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 758
Originally Posted by Phanx View Post
Let me know if you come across any addons that shouldn't default to a Default profile, so I can add them to the exclusion list; some addons that actually should be character-specific rely on AceDB's annoying default behavior instead of explicitly specifying that they should be character-specific.
Have not seen any yet but I have noticed that the AddOn dosen't work for Dominos. Well I have 3 profils for all classes there anyway but still annoying it creates a profil for each class I loginto. Guess that can't be fixed.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
  Reply With Quote
03-02-15, 09:41 AM   #6
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Tonyleila View Post
Have not seen any yet but I have noticed that the AddOn dosen't work for Dominos. Well I have 3 profils for all classes there anyway but still annoying it creates a profil for each class I loginto. Guess that can't be fixed.
Dominos probably explicitly requests per-character profiles, which is outside the scope of my modification.
__________________
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

WoWInterface » Developer Discussions » Lua/XML Help » ProfileKeys question

Thread Tools
Display Modes

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