Quantcast
Download
(152 Kb)
Download
Updated: 06/02/19 03:44 PM
Pictures
File Info
Compatibility:
Elsweyr (5.0.5)
Updated:06/02/19 03:44 PM
Created:10/03/17 12:50 PM
Monthly downloads:10,039
Total downloads:329,545
Favorites:358
MD5:
Categories:Action Bar Mods, Bags, Bank, Inventory, RolePlay
AlphaGear 2  Popular! (More than 5000 hits)
Version: 6.7.0
by: mesota [More]
Anything you need to manage your skills and gear.

Version 6.7.0 is compatible with Elsweyr and provides 20 freely configurable profiles.

I've adopted this great AddOn from AlphaLemming and changed the name to "AlphaGear 2" for the version that I maintain.

Coming soon: Integration with AlphaStyle - Anything you need to manage your style.

AlphaStyle


AlphaGear 2 lets you create up to 16 builds that may be activated with a single button press. Each build consists of
  • 7 pieces of armor
  • 3 pieces of jewelry
  • 2 weapon bars including poison
  • 2 skill bars
  • 1 outfit
  • 1 FCO Item Saver gear icon (optional)

Use cases
  • Switch between different roles
  • Switch between PvE and PvP environment
  • Create two (or more) builds with the same equipment, but different skill bars to create situational skill setups (solo, group, etc...)

New and noteworthy in 6.7.0
  • ESO 5.0.5 (Elsweyr)
  • New: Swaps twice born star set without loosing second mundus (credit goes to runespiel)
  • Fixed: Improved speed when swapping builds (credit goes to muh)
  • Fixed: Error while depositing items in ESO+ bank (credit goes to Snow)
  • Fixed: Setting "Show equipped build" bound to "Show swap message"
  • Known Issue: Message "Failed to set new skill due to a bug in ESO." when trying to swap skills. This is a bug in ESO. Kill a mob and try again.



How To...
  • Open the AlphaGear main window
    • Execute "/alphagear"
      or
    • Klick on the AG-icon
  • Create a gear set
    • Open the inventory
    • Open the AlphaGear main window
    • Find the gear sets in the upper pane
    • Drag gear from the inventory (puppet or bag) and drop it into an AG gear set
      or
    • Shift-Click on a gear set number: all currently equipped items are copied into the set
      or
    • Right-Click on a gear set number to open the context menu
    • Select "paste" or "insert currently equipped" to fill the set
  • Create a skill set
    • Open the skills window
    • Open the AlphaGear main window
    • Find the skill sets in the lower right pane
    • Drag a skill from the skills window and drop it into an AG skill set
      or
    • Shift-Click on a skill set number: all currently equipped skills are copied into the set
      or
    • Right-Click on a skill set number to open the context menu
    • Select "paste" or "insert currently equipped" to fill the set
  • Open the build editor
    • Open the AlphaGear main window
    • Find the builds in the lower left pane
    • Right-Click on a build number: the build editor is opened
  • Create a build
    • Open the build editor
    • Click on the gear selector: all gear sets in the upper pane are highlighted
    • Select one gear set from the upper pane
    • Click on the skill bar 1 selector: all skill sets in the lower right pane are highlighted
    • Select one skill set from the lower right pane
    • Make sure that the selected skills match the selected weapon
    • Repeat previous steps for skill bar 2
  • Unequip poison
    • Open the build editor
    • Open then build for which poison must be removed
    • Activate the gear lock (make it red)
  • Assign a keybinding to a build
    • Press ESC to open the ESO Menu
    • Open Control/Keybindings
    • Scroll down to the AlphaGear section
    • Assign keys to the builds as needed (e.g. the number pad keys)
  • Rename a build
    • Open the build editor
    • Click in the build name field
    • Edit name as needed
  • Rename a skill bar
    • Open the build editor
    • Click in the skill bar name field
    • Edit name as needed
  • Remove a skill or a gear item from a skill/gear set
    • Open the AlphaGear main window
    • Find the sets in the upper or lower right pane
    • Right-Click on the skill/item to remove it from the set
  • Deposit or withdraw a gear set at/from a bank or home storage
    • Open banking or home storage chest
    • Open AlphaGear main window
    • Find the gear sets in the upper pane
    • Right-Click on the gear set number to open the context menu
    • Select "deposit set" or "withdraw set" as needed
  • Sort profiles
    • Open the build editor
    • Select a profile with the profile selection
    • Open the profile properties dialog
    • Enter a sortable text in the sort key field
    • You can uses this sort key to group profiles for example
      • 100.pve
      • 200.aa
      • 200.hrc
      • 200.so
      • 300.bg
      • 300.cyrodil
  • Other tips
    • Look at the Images for further usage instructions.
    • Ask for help in the forum

Known Issues
  • Updating a version prior 6.x with minion doesn't seem to work. Workaround: Delete the .../AddOns/AlphaGear directory and reinstall AlphaGear 2. Don't delete anything from .../SavedVariables. AlphaGear 2 will reuse your already created sets.

Credit goes to...
  • Marify for Japanese translation
  • adrienmoorea for French translation
  • Hoft for Russian translation
  • Snow and many others for valuable feedback
  • UESP for the list of skill ids prior to Summerset


Found a Bug? Missing Feature?
Just post a comment. I'll add (almost) any request to the wish list.

-mesota
AlphaGear 2 Version Numbers

I use the following semantics for AlpahGear 2 version numbers:
<Major>.<Minor>.<Patch> <Qualifier>

Major: Always "6" for the branch that I maintain
Minor: Increases with every new ESO version:
  • 3.1 (Horns of the Reach) = "0"
  • 3.2 (Clockwork City) = "1"
  • 3.3 (Dragon Bones) = "2"
  • 4.0 (Summerset) = "3"
  • 4.1 (Wolfhunter) = "4"
  • 4.2 (Murkmire) = "5"
  • 4.3 (Wrathstone) = "6"
  • 5.0.5 (Elsweyr) = "7"

Patch: Increases with every fixed bug or enhancement within a minor version.
Qualifier: Arbitrary labels like "alpha", "beta" to indicate a version which is not ready for production ;).

Wishlist
  • Outfit/Costume/RolePlay
    • Slot for costume
    • Bind persona to build: outfit, mount, guild tabard, pets, hats
    • Integration of stiles (skins, costumes, guild tabard, hat, hair style, etc.)
  • Global UI
    • Make AlphaGear icon visible only in the inventory screen
    • Add configurable transparency for all the parts of the mod
    • Add colored icons/change icon colors individually
    • Add different icon sizes (smaller and larger than now)
    • Tooltips for settings
    • Split current-set icon into two separate icons
    • Automatically open AG window if skills window is opened
    • Show build buttons only for builds which are filled with meaningful item-/skill-sets
  • Integrations
    • Champion Point Respec or simple CP-Management
    • Strore/restore configuration of quick slots when switching build
  • Profiles/builds
    • Share profiles across characters
    • Remember the last visible build in a profile
    • Auto activate profile in region
    • Copy/Paste for builds (like copy/paste for gear and skills)
    • Add a one-button create-build-from-what-i'm-wearing function
    • Support for same character names in EU/NA servers
  • Gear
    • Auto-repair armor using repair-kits
    • Auto-repair armor in bag (not only worn)
    • Default for auto-repair: off
    • Option: Deposit even worn items of a set
  • Other
    • Add means to write changes to the disk without logout (trigger /reloadui)
    • Add indicator for light, medium and heavy armor to BAG_WORN
    • Better integration for gamepad mode (skill, inventory, banking)
    • Bug: Parent of set buttons is action bar. Set buttons not visible when AB is hidden
    • Bug: Sometimes Poison slots are not equipped correctly

Issues
  • The skill bars are changed to those from the new set, even if the weapons of the new set weren't loaded due to the lack of bag space.


Version 6.7.0
  • ESO 5.0.5 (Elsweyr)
  • New: Swaps twice born star set without loosing second mundus (credit goes to runespiel)
  • Fixed: Improved speed when swapping builds (credit goes to muh)
  • Fixed: Error while depositing items in ESO+ bank (credit goes to Snow)
  • Fixed: Setting "Show equipped build" bound to "Show swap message"
  • Known Issue: Message "Failed to set new skill due to a bug in ESO." when trying to swap skills. This is a bug in ESO. Kill a mob and try again.


Version 6.6.0
  • ESO 4.3 (Wrathstone)
  • New: Deposit/withdraw all gear sets of a profile
  • New: Warning message when swapping skills failed
  • New: Profile name shown on set buttons
  • Fixed: FCOIS integration bug
  • Fixed: "Unequip all" sometimes left items equipped
  • Fixed: profile got overwritten by other profile (Thanks to ChrisDrunk for feedback)
  • Known Issue: Message "secure protected functions cannot be called while in lockdown" when trying to swap skills. This is a bug in ESO. Kill a mob and try again.


Version 6.5.0
  • ESO 4.2 (Murkmire)
  • New: Profiles
    • 20 profiles with 16 builds each
    • Copy/paste of skill- and gear-sets between profiles
    • Hotkeys for toggle profiles, next and previous profile
    • Hotkeys for profile selection
    • Sort profiles by sort key. Allows custom sorting and grouping of profiles
  • New: FCO Item Saver integration (requires FCO IS 1.5.0)
  • Fixed: Items of gear set sometimes not marked in inventory


Version 6.4.0 beta2
  • ESO 4.1 (Wolfhunter)
  • Fixed: Weapons not equipped properly if moved from main to back
  • Fixed: Unequip works only partial


Version 6.3.0
  • ESO 4.0 (Summerset)
  • Changed: Updated to latest Lib-Addon-Menu
  • Fixed: Empty (white) equipped set widget
  • Fixed: skills from previous version restored
  • Fixed: massive memory consumption for skill-table

Version 6.2.1
  • New: Color-indicator for worn items, missing items and items in bank
  • New: Withdraw or deposit a complete set from or into the bank (right mouse on gear-set)
  • New: Added support for ESO+ bank or home storage.
  • New: Key binding for toggle between the last two sets
  • New: Key binding for next set/previous set
  • New: Grab items from the bank when pressing a hotkey tied to a gear set with bank open
  • New: Reset Set-Icon (from custom icon)
  • New: Ready for PTS (Summerset)
  • Fixed: problem with the summoned familiar disappearing. Might be necessary to re-apply the skill in the skill-set
  • Fixed: Animation issue if swapping sets real fast
  • Fixed: Item in bank still "not found" when moved from bank to bag.


Version 6.2.0
  • ESO 3.3 (Dragon Bones)
  • Added outfits to the set configuration
  • Added poison slot and poison icon
  • Performance improvements
  • Japanese translation, credits go to Marify
  • French translation, credits go to adrienmoorea
  • Russian translation, credits go to Hoft
  • German translation
  • Fixed: AutoRepair crashes if not enough or zero gold in bag
  • Fixed: Typo Auto repair Weapons instead of gear
  • Fixed: Texture-Bug
  • Fixed: Missing weapon when swapping the weapon from one slot to another


Version 6.1.3
  • Show item level for items below CP160
  • Bugfix: Mouse-Cursor Problem
  • Bugfix: Set-Display corrupted if no set is selected

Version 6.1.2
  • Bugfix: Auto-Repair Option not saved
  • Bugfix: Show UI-Button Option not saved

Version 6.1.1
  • ESO 3.2 (Clockwork City)
  • Name changed to AlphaGear 2
  • Settings rework using LibAddonMenu-2.0
  • Internationalization (Russian, Chinese, Japanese)
  • Enhancements
    • Make Gear/Weapon Icon movable
    • Auto-repair gear in stores

Version 6.1.0
  • ESO 3.2 (Clockwork City)
  • New slash-command: /alphagear to toggle the main dialog
  • Minor performance optimizations

Version 6.0.1
  • ESO 3.1 (Horns of the Reach)
  • Adopted by mesota
  • Fixed a bug, where automatic recharging of weapons sometimes didn't work
  • Fixed a rounding error where a weapon was shown with "0%"

Version 6.0.0
  • ESO 3.1 (Horns of the Reach)
  • Adopted by mesota
  • No functional changes since 5.0

Version 5.0
  • ESO 2.6 (One Tamriel)
  • Adopted by Lohengramm82
  • Code commented
  • No functional changes since 4.08

Version 4.08
  • ESO 2.4
  • Poison error fixed
  • Some minor problems fixed

Older versions see the original AlphaGear by AlphaLemming
Archived Files (20)
File Name
Version
Size
Uploader
Date
6.6.0 beta2
151kB
mesota
05/01/19 02:32 PM
6.6.0 beta1
149kB
mesota
02/26/19 05:09 PM
6.5.0 beta2
149kB
mesota
02/24/19 04:42 AM
6.5.0 beta1
149kB
mesota
01/19/19 06:11 PM
6.4.0 beta2
176kB
mesota
10/08/18 03:42 PM
6.4.0 beta1
176kB
mesota
08/15/18 03:42 PM
6.3.0
176kB
mesota
06/03/18 02:49 AM
6.3.0 beta 2
175kB
mesota
05/26/18 03:33 PM
6.3.0 beta 1
219kB
mesota
05/25/18 04:01 PM
6.2.1 beta 4
167kB
mesota
05/05/18 04:36 PM
6.2.1 beta 3
166kB
mesota
04/09/18 04:03 PM
6.2.1 beta 2
166kB
mesota
04/06/18 05:19 PM
6.2.1 beta1
165kB
mesota
04/05/18 04:34 PM
6.2.0
162kB
mesota
03/17/18 04:56 AM
6.1.3
157kB
mesota
11/24/17 05:05 PM
6.1.2
155kB
mesota
11/12/17 05:03 AM
6.1.1
155kB
mesota
11/11/17 10:52 AM
6.1.0
104kB
mesota
10/24/17 03:26 PM
6.0.1
104kB
mesota
10/15/17 04:28 PM
6.0.0
103kB
mesota
10/03/17 12:50 PM


Post A Reply Comment Options
Unread 06/09/19, 06:11 AM  
Viust
 
Viust's Avatar

Forum posts: 0
File comments: 11
Uploads: 0
Re: Clarification Question

Originally Posted by Zalaan
Hi - I use Alpha Gear on my Stam NB for three profiles - 2H/Bow, DW/Bow, and a DW/Bow Sneaking around build (Night Mother's Embrace and Mothers Sorrow). I use Drain Health Poison IX for my DW profiles, but not for my 2H. I have found that the Poison will not 'unequip' when I change profiles from DW to 2H, but it will 'equip' if I go from my 2H profile to a DW profile.
Is this just a quirk of the addon, or is there something I can do to rectify it.
Any advice would be greatly appreciated - thank you.
You should lock your non-poison builds. Just open your non-poison build and press 'lock' icon.
Report comment to moderator  
Reply With Quote
Unread 06/09/19, 12:03 AM  
Zalaan

Forum posts: 0
File comments: 27
Uploads: 0
Clarification Question

Hi - I use Alpha Gear on my Stam NB for three profiles - 2H/Bow, DW/Bow, and a DW/Bow Sneaking around build (Night Mother's Embrace and Mothers Sorrow). I use Drain Health Poison IX for my DW profiles, but not for my 2H. I have found that the Poison will not 'unequip' when I change profiles from DW to 2H, but it will 'equip' if I go from my 2H profile to a DW profile.
Is this just a quirk of the addon, or is there something I can do to rectify it.
Any advice would be greatly appreciated - thank you.
Report comment to moderator  
Reply With Quote
Unread 06/04/19, 02:39 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Originally Posted by muh
Hey mesota!

Thank you for implementing the changes I suggested a while back.

Now one thing I noticed with this version is that you are performing TogglePlayerWield() even when changing from one set to another. As per my previous testing I have only found this to be necessary when unequipping body pieces + weapons.

Since then I have been using no delay for swapping gear/skills, without sheathing weapons first, and never encountered an error. The second it takes to sheathe weapons first might not seem like a big deal, but I've personally had moments where I realized during the last seconds of a pull countdown that I didn't swap gear yet. I don't know if I would have been able to properly swap before getting into combat if it would have triggered a second later.

Now I would like to suggest, in AG.LoadGear(...), the removal of
Code:
table.insert(AG.Jobs, {AG.JOB_TYPE_PREPARE_TOON, 0, 0})
As well as the, as far as I can tell, redundant check to sheathe weapons in AG.LoadSetInternal(...).
Thanx again. I'll keep that in my mind but I won't release a patch right now. I guess you'll be able to help yourself in the meantime...

-mesota
Report comment to moderator  
Reply With Quote
Unread 06/04/19, 02:34 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Originally Posted by vecny.samotar
Originally Posted by mesota
Originally Posted by vecny.samotar
Mesota please, what contains the 6.7.0 addon update?
somehow I can't find it in the change log
https://www.esoui.com/downloads/file...1812#changelog

-mesota
yes today it is there but yesterday when I wrote it was not there. when I update the addons, I know how to add the update. couldn't the update release include text what the update contains?
I wrote the changes only on the main page. After your post I've copied the text to the change log page.
I won't add release notes to the addon zip. I don't think anybody will read them (besides you )

-mesota
Report comment to moderator  
Reply With Quote
Unread 06/04/19, 09:42 AM  
muh
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 2
Hey mesota!

Thank you for implementing the changes I suggested a while back.

Now one thing I noticed with this version is that you are performing TogglePlayerWield() even when changing from one set to another. As per my previous testing I have only found this to be necessary when unequipping body pieces + weapons.

Since then I have been using no delay for swapping gear/skills, without sheathing weapons first, and never encountered an error. The second it takes to sheathe weapons first might not seem like a big deal, but I've personally had moments where I realized during the last seconds of a pull countdown that I didn't swap gear yet. I don't know if I would have been able to properly swap before getting into combat if it would have triggered a second later.

Now I would like to suggest, in AG.LoadGear(...), the removal of
Code:
table.insert(AG.Jobs, {AG.JOB_TYPE_PREPARE_TOON, 0, 0})
As well as the, as far as I can tell, redundant check to sheathe weapons in AG.LoadSetInternal(...).
Report comment to moderator  
Reply With Quote
Unread 06/04/19, 06:52 AM  
vecny.samotar
 
vecny.samotar's Avatar

Forum posts: 18
File comments: 499
Uploads: 0
Originally Posted by mesota
Originally Posted by vecny.samotar
Mesota please, what contains the 6.7.0 addon update?
somehow I can't find it in the change log
https://www.esoui.com/downloads/file...1812#changelog

-mesota
yes today it is there but yesterday when I wrote it was not there. when I update the addons, I know how to add the update. couldn't the update release include text what the update contains?
Report comment to moderator  
Reply With Quote
Unread 06/03/19, 02:06 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Originally Posted by vecny.samotar
Mesota please, what contains the 6.7.0 addon update?
somehow I can't find it in the change log
https://www.esoui.com/downloads/file...1812#changelog

-mesota
Report comment to moderator  
Reply With Quote
Unread 06/03/19, 11:29 AM  
vecny.samotar
 
vecny.samotar's Avatar

Forum posts: 18
File comments: 499
Uploads: 0
Mesota please, what contains the 6.7.0 addon update?
somehow I can't find it in the change log
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 05:16 PM  
00sivan

Forum posts: 0
File comments: 1
Uploads: 0
Appearance Slot

This may have already been suggested, but it might be cool to include the appearance slot. (I think that's what it's called.) Referring to the slot where you place item costumes like Red Rook Bandit costume and other such equippable items.

Great add-in! Awesome!
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 03:07 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Re: CP implementation

I'm thinking on a more generic interface for other addons. Currently no progress. But I have it in my mind (and on the wish-list).

-mesota

Originally Posted by lnfinity
Any updates to implementing champion points to builds? I am really struggling with this in endgame raiding as for example vAS+2 requires completely different red CP than vHoF or when switching between PvE and PvP this is even more crucial.
I love AG but this is a really essential thing missing imo.
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 02:58 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Re: Re: Re: Does not deposit gear set

There was a problem when trying to deposit items in the subscriber bank (ESO+). Could that be the case for you too? The bug is fixed in 6.7.0.

-mesota


Originally Posted by tagarn
It did not happen in the preview channel. I would get a message that a gear set was equipped if I tried to deposit it, so depositing equipped sets didn't work anyway. However, unequipped sets always deposited unless I was out of bank space.

However, I was not using "profiles" in the preview channel, if that might have something to do with the problem.

I've found that manually depositing items will immediately show their status change in AlphaGear, with the border around the icon turning yellow, but AlphaGear does not seem to successfully deposit those pieces on its own.




Originally Posted by mesota
This didn't happen with the preview chanel?

-mesota


Originally Posted by tagarn
Hello. I recently updated to this channel from the preview channel, and I have a problem where "Deposit gear set" or "Deposit all gear sets" does not work properly. It may deposit a few items into the bank, but the remainder (sometimes all) will not be deposited regardless of how many times I try.

I've checked the obvious, such as available bank space. There's over 100 slots available in my bank at the moment. I also have the banker open.

Any ideas what could be wrong here? I never had this issue with the preview channel.


Here are three screenshots for an example.



In this image I have clicked "Deposit gear set" on set #5. As you can see, everything up to the belt was deposited into the bank. The next image shows that the other gear was not taken off the character:



I then manually took the remaining gear (gloves and jewelry) off the character, and then tried the "Deposit gear set" again. It still wouldn't deposit.


Thanks!
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 02:47 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Re: Re: Alpahgear v6.6.0 beta 2

Hi Snow!

thanks again, don't know what I thought (if at all) when implementing this. Your fix will be included in AG 6.7.

-mesota


Originally Posted by mesota
Hi Snow!

Thanks for the analysis. I'll have a look into it.

-mesota


Originally Posted by Snow
Hi,
Alpahgear v6.6.0 beta 2 has a problem transfering items to the bank, when the main bank "BAG_BANK" is full and the Item needs to be place in "BAG_SUBSCRIBER_BANK".


The problem is the target bag selection in function AG.DepositItem(itemId) in Alpahgear.lua.


Changing:
Warning: Spoiler



to e.g.

Warning: Spoiler

helps selecting the correct target bag. (bankingBag is BAG_BANK, even if it is full)

Snow
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 02:42 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Strange. Couldn't reproduce but might have been a side effect of the longer delay I've introduced in beta2. I've modified the delays again. Please report if the problem persists.

Important - Make sure the you've enabled both options:
"Show weapon swap message" and "Show equipped build"

-mesota


Originally Posted by Galadius
I've noticed that when I swap sets from Build 1 to Build 2 and back, I lose the icon and description of the current build, the part of the setting for "Show equipped build"

Opening and closing my bags real quick will bring back to the UI the Equipped Build.

Start:


After swap:


After opening/closing bags:


I have turned off all of my other addons, including libraries and the same thing happens.

Thanks for the amazing work on this addon!
Last edited by mesota : 06/02/19 at 03:02 PM.
Report comment to moderator  
Reply With Quote
Unread 06/02/19, 02:31 PM  
mesota
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 234
Uploads: 5
Re: Request

Originally Posted by SimplyArmin
Hey man,
is it possible to add autorepair with repair kits aswell if ur in fight and durability goes to 0?
I know there are a bunch of other addons but since u have autorepair and autocharge built in i thought this may can be possible too.
added to the wish-list

-mesota
Report comment to moderator  
Reply With Quote
Unread 05/30/19, 06:00 PM  
runespiel

Forum posts: 0
File comments: 1
Uploads: 0
switching Twice-Born star sets

When you have the Twice-Born Star set equipped and a second Mundus stone buff is active, switching to a new gear set (that has still has 5 Twice-Born) sometimes drops the second Mundus. This happens because AG.LoadGear() always equips the equipment slots in the same order. (My different Twice-Born sets don't always use the same equipment slots.)

What I'd like to do is equip the Twice-Born Star items first, so the number of equipped items never falls below 5:

Code:
function AG.LoadGear(nr, set)
    if not nr then return end
    AG.ClearAvailableEquipmentCachePlain()

    table.insert(AG.Jobs, {AG.JOB_TYPE_START_BULK_MODE, 0, 0})

    slotOrder = {}
    for slotIndex = 1, #SLOTS do
	-- slotName = SLOTS[slotIndex][3]
	hasSet,setName,_,numEquipped,_,setId = GetItemLinkSetInfo(AG.setdata[nr].Gear[slotIndex].link)
	if hasSet and setId == 161 then
	    -- Print("Adding set item at front of equip list: slot "..slotName.." set "..setName.." id "..setId)
	    table.insert( slotOrder, 1, slotIndex )
	else
	    --Print("Adding "..slotName.." at end of equip list")
	    table.insert(slotOrder,slotIndex)
	end
    end
	
    for j = 1, #SLOTS do
	slotIndex = slotOrder[j]
	AG.LoadItem(nr, slotIndex, set) 
    end

    table.insert(AG.Jobs, {AG.JOB_TYPE_STOP_BULK_MODE, 0, 0})

    -- update ui afterwards
    table.insert (AG.Jobs, {AG.JOB_TYPE_UPDATE_UI, 0, 0})
end
(Thanks to Votan's Twice Born Star Reminder and the ESOUI docs for the LibSets addon, for showing me how to use GetItemLinkSetInfo().)

I just coded this up today, but it seems to be working.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: