Download
(15 Kb)
Download
Updated: 01/02/22 04:43 PM
Pictures
File Info
Compatibility:
Deadlands (7.2.5)
Updated:01/02/22 04:43 PM
Created:06/21/19 05:47 AM
Monthly downloads:286
Total downloads:21,639
Favorites:71
MD5:
Categories:RolePlay, Character Advancement, Utility Mods
AlphaStyle (Outfit, Mount, Pet, Collectibles)  Popular! (More than 5000 hits)
Version: 1.0.0
by: mesota [More]
Anything you need to manage your style!

AlphaStyle lets you create styles which can be applied by just one click.

Now with integration to AlphaGear 2: change gear, skills and style in one action!

AlphaStyle 1.0.0
  • ESO 7.2.5 Deadlands
  • Fixed: API
  • New: Support for Minor Adornments


Usage instructions

A style consists of
  • Title (with option to ignore)
  • Outfit-Selection
  • Costume (Gear)
  • Collectibles
    • Pet
    • Costume (Collection)
    • Mount
    • Skin
    • Hat
    • Hair
    • Personality
    • Head Marking
    • Body Marking

Use it with a few easy steps:
  1. Style your character as desired
  2. Open AlphaStyle with /alphastyle
  3. Create a new style with the plus button
  4. Apply a style to your character using the check-button

For Power Users

Slash commands
  • /alphastyle: opens the main window
  • /asstore <name>: Stores the current configuration as a new style using the provided name.
  • /asload <name>: Loads the style with the provided name.

For Developers

I'll add a public API which will enable other add-ons (e.g. AlphaGear) to load a previously created style.
Wish list
  • Allow slots to keep currently equipped item
  • Auto load style depending on region

AlphaStyle 1.0.0
  • ESO 7.2.5 Deadlands
  • Fixed: API
  • New: Support for Minor Adornments


AlphaStyle 0.0.5
  • ESO 5.2.5 Dragonhold
  • New: Keybinding for main window
  • New: Better icons for unused slots
  • New: Tool tips for unused slots


AlphaStyle 0.0.4
  • ESO 5.2.5 Dragonhold
  • New: Integration with AlpahGear 2



AlphaStyle 0.0.3
  • ESO 5.1.5 Scalebreaker
  • New: Title can be ignored


AlphaStyle 0.0.2
  • New: Title added
  • New: Sorting
  • Improved: UI
  • Fixed: A style created with /asstore wasn't shown in UI


AlphaStyle 0.0.1
  • ESO 5.0.5 Elsweyr
  • Initial Release
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Uploader
Date
0.0.5
14kB
mesota
12/21/19 02:19 PM
0.0.4
13kB
mesota
12/08/19 06:55 AM
0.0.3
13kB
mesota
08/22/19 03:37 PM
0.0.2
13kB
mesota
06/23/19 04:12 PM
0.0.1
11kB
mesota
06/21/19 05:47 AM


Post A Reply Comment Options
Unread 06/04/21, 07:08 AM  
randomsilliness

Forum posts: 2
File comments: 41
Uploads: 0
Since the patch a small percentage of my styles throw an error the moment I click on them. I thought I could maybe save over those styles to fix them up, but that just throws another error. It's strange than 90% work fine.
Code:
EsoUI/Ingame/Outfits/Outfit_Manager.lua:788: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Outfits/Outfit_Manager.lua:788: in function 'Outfit_Manager:GetOutfitManipulator'
|caaaaaa<Locals> self = [table:1]{fireCallbackDepth = 0}, actorCategory = -1 </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:272: in function 'ASUI.UpdateStyleSetDetails'
|caaaaaa<Locals> UpdateControl = user:/AddOns/AlphaStyle/src/ASUI.lua:240, currentId = 93, style = [table:2]{TitleId = -1, Name = "DK", OutfitId = -1, IgnoreTitle = F, SortKey = "0"}, titleName = "<No Title>", titleCtrl = ud, outfitName = "<No Outfit>" </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:395: in function 'ASUI.OnSelectItem'
|caaaaaa<Locals> previouslySelectedData = [table:3]{id = 97, name = "Black lace gown 8", sortKey = "0"}, selectedData = [table:4]{id = 93, name = "DK", sortKey = "0"}, reselectingDuringRebuild = F </Locals>|r
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1582: in function 'ZO_ScrollList_SelectData'
|caaaaaa<Locals> self = ud, data = [table:4], control = ud, reselectingDuringRebuild = F, animateInstantly = F, notAlreadySelected = T, dataIndex = 7, previouslySelectedData = [table:3] </Locals>|r
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1383: in function 'ZO_ScrollList_MouseClick'
|caaaaaa<Locals> self = ud, control = ud, data = [table:4], typeId = 5 </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:384: in function 'ASUI.SimpleRow_OnMouseUp'
|caaaaaa<Locals> rowControl = ud, button = 1, upInside = T, listControl = ud </Locals>|r
AS_MainListDetailListContainerList5Row1_MouseUp:2: in function '(main chunk)'
|caaaaaa<Locals> self = ud, button = 1, upInside = T, ctrl = F, alt = F, shift = F, command = F </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 06/03/21, 09:18 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4985
File comments: 6040
Uploads: 78
Originally Posted by unuroboros
Thank you so much for the work, Baertram! Did a quick test on live with Blackwood installed. The only real problem is previous styles are "lost", looks like the structure inside the SavedVariables file changed, maybe as part of an API change? All of the previous vars / styles are still there, but they're in a different structure by-character-name and this version of the mod is saving them by-character-id, then under another substruct as well. I was able to just copy/paste from old to new, though.

After that everything worked like I expected, including integration with (your updated) AlphaGear, though I haven't tested extensively or done the needed surgery on all the other alts yet. I did have two styles, linked to different gear sets, with different mounts, pets, costume/outfit choices, and it all worked as it did previously.
Oh sorry, this was my fault :-( I have changed the SV to save by characterId as it is rename safe! And it's saved per server now, not globally the same for all servers.
If you do not like this and want to use your own styles from the SavedVariables logout first and then edit the following file with a text editor:
c:\users\...\documents\Elder Scrolls Online\live\AddOns\AlphaStyle\AlphaStyle.lua
lines 24 to 28, change from:
Code:
-- initialize AlphaStyle settings
    ASModel.Settings = ZO_SavedVars:NewAccountWide(ASModel.SavedSettings.Name, ASModel.SavedSettings.Version, worldName, ASModel.SavedSettings.Defaults)

	-- initialize character styles
    ASModel.StyleData = ZO_SavedVars:NewCharacterIdSettings(ASModel.SavedStyles.Name, ASModel.SavedStyles.Version, worldName, ASModel.SavedStyles.Defaults)
To:
Lua Code:
  1. -- initialize AlphaStyle settings
  2.     ASModel.Settings = ZO_SavedVars:NewAccountWide(ASModel.SavedSettings.Name, ASModel.SavedSettings.Version, nil, ASModel.SavedSettings.Defaults)
  3.  
  4.     -- initialize character styles
  5.     ASModel.StyleData = ZO_SavedVars:New(ASModel.SavedStyles.Name, ASModel.SavedStyles.Version, nil, ASModel.SavedStyles.Defaults)

The worldName is the server and the ZO_SavedVars:NewCharacterIdSettings (saves per unique characterId) can be changed to the old ZO_SavedVars:New (character names).

Code:
Or as better alternative:
Within your SavedVariables file you can just copy the old styles to the new created subtable below the unique characterId at your servername, e.g. there is a table with ["NA Megaserver"] or ["EU Megaserver"] and below you'll find an entry with the characterId like ["8121212313123122"] (below you'll find one line with $characterName = "My character Name of that ID" showing your the name of the id.
If you copy the contents of the old ["Character Name"] table below the ["8121212313123122"] table you can reuse the old data in the new structures.
But you need to logout FIRST before you do this or the SV data will be taken from ingame tables and overwrite the files again after you do a reloadui/logout!

If you need further helpsend me your SV file with the new and old tables to [email protected] and I'll help you with the migration + write the howto here with example lines of your data so everyone can benefit from the example (As I'm not using AlphaStyle and got no data in my SV!).
Report comment to moderator  
Reply With Quote
Unread 06/03/21, 03:09 AM  
unuroboros

Forum posts: 0
File comments: 2
Uploads: 0
Thank you so much for the work, Baertram! Did a quick test on live with Blackwood installed. The only real problem is previous styles are "lost", looks like the structure inside the SavedVariables file changed, maybe as part of an API change? All of the previous vars / styles are still there, but they're in a different structure by-character-name and this version of the mod is saving them by-character-id, then under another substruct as well. I was able to just copy/paste from old to new, though.

After that everything worked like I expected, including integration with (your updated) AlphaGear, though I haven't tested extensively or done the needed surgery on all the other alts yet. I did have two styles, linked to different gear sets, with different mounts, pets, costume/outfit choices, and it all worked as it did previously.
Report comment to moderator  
Reply With Quote
Unread 06/02/21, 02:23 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4985
File comments: 6040
Uploads: 78
Fix for AlphyStyle: Hope it works, please try as it is untested!
AlphaStyle 0.0.6 Baertram

Currently not able to check it myself, sorry.
Just search for other usages of OFMGR (e.g. in file ASModel.lua there is the OFMGR as well!) in it's lua files and add the GAMEPLAY_ACTOR_CATEGORY_PLAYER, to the function calls as well.
e.g. change all occurences of
Code:
OFMGR:<functionName>(oldParameter1, oldParameter2, ...)
to:
Code:
OFMGR:<functionName>(GAMEPLAY_ACTOR_CATEGORY_PLAYER, oldParameter1, oldParameter2, ...)
where <functionName> is e.g. GetNumOutfits or GetOutfitManipulator or EquipOutfit or GetEquippedOutfitIndex etc.

Originally Posted by wzmx1
Hello Bertram,

can you pls look to the other addon AlphaStyle. Your fixes work for AlphaGear.

Inspired from your changes i changed the line 272 in ASUI.lua

Code:
local outfitManipulator = OFMGR:GetOutfitManipulator (style.OutfitId)
to

Code:
local outfitManipulator = OFMGR:GetOutfitManipulator(GAMEPLAY_ACTOR_CATEGORY_PLAYER, style.OutfitId)
After the change I didn't get any more error messages but the change does not work correctly. Switching works sometimes and sometimes not ...
Last edited by Baertram : 06/02/21 at 02:29 PM.
Report comment to moderator  
Reply With Quote
Unread 06/02/21, 12:49 PM  
offshade

Forum posts: 0
File comments: 5
Uploads: 0
Hello @ll,
has anybody got an idea for a good alternative for AlphaStyle until it works again? I loved it soooo much...
Kind Regards!

Edit: For anybody who might be interested: I just tried "Style & Elegance" and it has the same issue: Collectibles can be changed, but the outfit always stays the same...
Last edited by offshade : 06/02/21 at 01:46 PM.
Report comment to moderator  
Reply With Quote
Unread 06/02/21, 06:55 AM  
wzmx1

Forum posts: 3
File comments: 15
Uploads: 0
Same here ... I cant change my outfit from changing my gear.

Both addons have not been updated for a long time
Report comment to moderator  
Reply With Quote
Unread 06/02/21, 12:30 AM  
Kiyakotari

Forum posts: 1
File comments: 12
Uploads: 0
Since Update 30, this addon is causing the following UI error:

EsoUI/Ingame/Outfits/Outfit_Manager.lua:788: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Outfits/Outfit_Manager.lua:788: in function 'Outfit_Manager:GetOutfitManipulator'
user:/AddOns/AlphaStyle/src/ASUI.lua:272: in function 'ASUI.UpdateStyleSetDetails'
user:/AddOns/AlphaStyle/src/ASUI.lua:395: in function 'ASUI.OnSelectItem'
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1582: in function 'ZO_ScrollList_SelectData'
user:/AddOns/AlphaStyle/src/ASUI.lua:440: in function 'ASUI.FillMainList'
user:/AddOns/AlphaStyle/src/ASUI.lua:450: in function 'ASUI.ShowStyleSetsTab'
user:/AddOns/AlphaStyle/src/ASUI.lua:469: in function 'ASUI.ToggleMain'
:1: in function '(main chunk)'
The error is also preventing AlphaGear from functioning properly.
Report comment to moderator  
Reply With Quote
Unread 06/01/21, 12:41 PM  
seraphimwarriors

Forum posts: 0
File comments: 4
Uploads: 0
Getting a UI Error with AlphaStyle

EsoUI/Ingame/Outfits/Outfit_Manager.lua:788: attempt to index a nil value
stack traceback:
EsoUI/Ingame/Outfits/Outfit_Manager.lua:788: in function 'Outfit_Manager:GetOutfitManipulator'
|caaaaaa<Locals> self = [table:1]{fireCallbackDepth = 0}, actorCategory = 2 </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:272: in function 'ASUI.UpdateStyleSetDetails'
|caaaaaa<Locals> UpdateControl = user:/AddOns/AlphaStyle/src/ASUI.lua:240, currentId = 6, style = [table:2]{TitleId = 35, Name = "Dragon Queen", SortKey = "01", OutfitId = 2, IgnoreTitle = F}, titleName = "Dragonslayer", titleCtrl = ud, outfitName = "<No Outfit>" </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:395: in function 'ASUI.OnSelectItem'
|caaaaaa<Locals> selectedData = [table:3]{id = 6, sortKey = "01", name = "Dragon Queen"}, reselectingDuringRebuild = F </Locals>|r
EsoUI/Libraries/ZO_Templates/ScrollTemplates.lua:1582: in function 'ZO_ScrollList_SelectData'
|caaaaaa<Locals> self = ud, data = [table:3], control = ud, reselectingDuringRebuild = F, animateInstantly = F, notAlreadySelected = T, dataIndex = 1 </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:440: in function 'ASUI.FillMainList'
|caaaaaa<Locals> dataType = 5, setData = [table:4]{}, SetupSimpleRow = user:/AddOns/AlphaStyle/src/ASUI.lua:408, listControl = ud, scrollData = [table:5]{}, selectedData = [table:3], currentId = F </Locals>|r
user:/AddOns/AlphaStyle/src/ASUI.lua:450: in function 'ASUI.ShowStyleSetsTab'
|caaaaaa<Locals> styleData = [table:4] </Locals>|r
EsoUI/Libraries/Globals/globalapi.lua:227: in function '(anonymous)'
Report comment to moderator  
Reply With Quote
Unread 05/29/21, 04:49 AM  
lnfinity
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 45
Uploads: 1
Hey, thanks for the great addon!
However I noticed a small "bug".
When saving the title "of the Undying Song" for some reason it saves as the other title from Vateshran arena "Spiritblood Champion". Would be great if you could have a look, thx.
Report comment to moderator  
Reply With Quote
Unread 01/31/21, 03:54 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 326
Uploads: 6
Hi!
Thanks for the input, I'll have a look.

-mesota


Originally Posted by R.A.Helllord
I've been using this addon for a couple weeks now and it's great! Finally I have an easy way to use all my costumes in combination with my various mounts and pets.

However, there is a small thing that would be neat to have in addition, a small toggle per profile that allows to automatic equip the "no hat" option outside of combat. This would be particularly neat for roleplay as one usually wouldn't want to enter combat without a helmet on, but outside of combat it just looks much nicer.
Report comment to moderator  
Reply With Quote
Unread 12/02/20, 07:47 AM  
R.A.Helllord

Forum posts: 0
File comments: 6
Uploads: 0
I've been using this addon for a couple weeks now and it's great! Finally I have an easy way to use all my costumes in combination with my various mounts and pets.

However, there is a small thing that would be neat to have in addition, a small toggle per profile that allows to automatic equip the "no hat" option outside of combat. This would be particularly neat for roleplay as one usually wouldn't want to enter combat without a helmet on, but outside of combat it just looks much nicer.
Report comment to moderator  
Reply With Quote
Unread 10/15/20, 02:13 PM  
randomsilliness

Forum posts: 2
File comments: 41
Uploads: 0
Re: Re: a tiny tweak to sort behavior

Originally Posted by mesota
Thanks for the input. I've added it in the upcoming release.
-mesota
Love this addon. Glad I could help in some small way.
Report comment to moderator  
Reply With Quote
Unread 10/11/20, 01:55 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 326
Uploads: 6
Re: a tiny tweak to sort behavior

Originally Posted by randomsilliness
So that sorting of items with identical sort-keys will sub-sort by name, may I suggest...
Code:
    local function StyleSortHelper(item1, item2)
        local sortKey1 = item1.sortKey..'                             '..item1.name
        if not item1.sortKey or item1.sortKey == "" then
            sortKey1 = 'zzzzzzzzzzzzzzzzzzzzzzzz'..item1.name
        end
        local sortKey2 = item2.sortKey..'                             '..item2.name
        if not item2.sortKey or item2.sortKey == "" then
            sortKey2 = 'zzzzzzzzzzzzzzzzzzzzzzzz'..item2.name
        end
        return (sortKey1 < sortKey2)
    end
I've made this edit in my local copy and it seems to be working well.
(edited to eliminate cross contamination of key parts)
Thanks for the input. I've added it in the upcoming release.
-mesota
Report comment to moderator  
Reply With Quote
Unread 10/11/20, 07:07 AM  
randomsilliness

Forum posts: 2
File comments: 41
Uploads: 0
a tiny tweak to sort behavior

So that sorting of items with identical sort-keys will sub-sort by name, may I suggest...
Code:
    local function StyleSortHelper(item1, item2)
        local sortKey1 = item1.sortKey..'                             '..item1.name
        if not item1.sortKey or item1.sortKey == "" then
            sortKey1 = 'zzzzzzzzzzzzzzzzzzzzzzzz'..item1.name
        end
        local sortKey2 = item2.sortKey..'                             '..item2.name
        if not item2.sortKey or item2.sortKey == "" then
            sortKey2 = 'zzzzzzzzzzzzzzzzzzzzzzzz'..item2.name
        end
        return (sortKey1 < sortKey2)
    end
I've made this edit in my local copy and it seems to be working well.
(edited to eliminate cross contamination of key parts)
Last edited by randomsilliness : 10/11/20 at 12:53 PM.
Report comment to moderator  
Reply With Quote
Unread 04/08/20, 03:34 AM  
Heartstopper

Forum posts: 0
File comments: 16
Uploads: 0
Glad I found this because it's exactly what I was looking for. One of those things that I'm amazed it's not in the base game because it seems like a no-brainer.

Thank you
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: