Download
(127 Kb)
Download
Updated: 12/29/23 11:10 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:12/29/23 11:10 AM
Created:08/09/21 06:17 PM
Monthly downloads:5,442
Total downloads:241,224
Favorites:145
MD5:
Categories:Action Bar Mods, Casting Bars, Cooldowns
Wizard's Wardrobe  Popular! (More than 5000 hits)
Version: 1.16.2
by: ownedbynico, ghostbane, JN Slevin
Wizard's Wardrobe

Throw all your setups into the wardrobe and let the wizard equip them exactly when you need it.

Dependencies: LibAddonMenu-2.0 LibChatMessage LibDebugLogger LibAsync

Wizard's Wardrobe is an AlphaGear/DressingRoom alternative. It helps you to manage your setups. You can save them per boss per trial and the
auto-equip feature will automatically equip the setup for you.


Wiki and FAQ can be found on GITHUB



Features:
  • Manages your gear, spells, cps and buff food
    - Multiple pages per trial (e.g. for different raiding groups)
    - Additional setup slots on each page
    - Deposit and withdraw gear from bank (open WW and bank)
    - Inventory markers that show items in setups
    - Drag and drop spells, gear and food
    - Check for missing items in inventory
  • Auto-equips setups in raids[/indent]
  • Charges your weapons (disabled by default)
  • Repairs your armor (disabled by default)
  • Refills your poisons (disabled by default)
  • Useful hotkeys for prebuffs (Acceleration, Destro Ult, Maneuver, Siege Shield)
  • Import and export setups to other Wizard's Wardrobe users
  • Link setups into chat
  • Hotkey to fix Spaulder

Limitations:
  • Currently only the English, German, Russian and French client are supported for auto-equip
    (Send an edited version of the en.lua from the addon folder if you want your language to be supported!)
  • Not (yet) supported arenas/trials: MSA, DSA, VH
  • There is a 30s cooldown when changing cp, so don't be surprised if the change is delayed sometimes.
  • Features like equipping gear and spells are not working in combat.

Thanks to:
  • @Zeeces for the name idea and the mental assistance
  • @File2606, @DSimonM for testing and rubber ducking
  • @K1nor for the russian translation
  • @Alasthorn for the french translation
29.12.23 by JN Slevin
- Added a check to the link comparison which is used for the new validation feature.
If the "unequip empty slots" option is turned off this ignores empty slots.
This should help in situations where you only have one piece of gear to swap.
Thanks to isiimode for pointing that out

- Changed "EA" to "IA"

28.12.23 by JN Slevin
- Fixed set ID recognition in the setup compare function, so now it actually checks the correct variable and not how many pieces are equipped.
- Moved the initial validation function. Now it only validates the setup when equipping a setup instead of moving gear.

27.12.23 by JN Slevin

Setup Validation
  • Added a setup validation which will notify users if the setup did not swap correctly (has 4 comparison levels adjustable in the settings.
    • This happens after a delay, since the addon needs some time to swap things. This delay is adjustable in the settings.
  • Added an automatic list of steps to fix the failed setup. This is turned off by default.
  • Added a keybind to do these steps "non automatically"
  • Added logging (and a delete log functionality) which saves occurences when setups failed to swap so we may finally get to the bottom of this
  • Added a red color on the info panel which colors the name if the setup failed to swap.
  • Added a confirmation if the setup swapped correctly
    • (at the time of writing, this only notifies users if any gear swapped, if 2 setups have the same gear it will not notify them, this may be changed at a later time.)

Misc
  • Added the ability to chose Center Screen Announcements for the messages given to the user
  • Added EA Pages (thanks to @yachoor )
  • The automatic swap feature does not work in EA since the content is inherently random and i do not think its feasible to add this
  • Changed the Sanity's Edge ID so now the porting feature works too (thanks to @necco889)



03.10.23 by JN Slevin
- Added keybind to refresh current setup in case something didn't swap correctly Thanks to B7TxSpeed!
- Updated the version correctly this time
-----------

05.09.23 by JN Slevin
- Updated API Version to be compatible with the newest base game patch
- Added keybinds for Previous Setup, Next Setup and Undress Thanks to Complicative!
- Added Chinese translation Thanks to Lykeion!
-----------

09.08.23 by JN Slevin
- Readded the ignore tabard option
- Thank you TeebowGanx
-----------

15.07.23 by JN Slevin
- Fixed LUA errors which occured when trying to save a setup while having Cryptcanon Vestments equipped
-----------

12.06.23
- Updated api version
- Added support for Sanity's edge (thanks to JNSlevin)
-----------

02.10.22
- Updated api version
- Added teleport feature
- Removed not working workaround for locked weapons
-----------

28.07.22
- Fixed gear when exporting setups
- Added food to export
- Added (yet another) possible workaround for stuck bars
- Added feature to print log messages to alert (thanks to Saenic)
-----------

13.07.22
- Added possible fix for unwanted setup cloning/resetting
- Added Orzorgas Red Frothgar bufffood
- Minor fixes
-----------

09.06.22
- Fixed mouse events on texture controls
- Added sidebosses to DSR module
-----------

06.06.22
- Fixed scene management
-----------

06.06.22
- Added dreadsail reef trial (not final)
- Added jewels of misrule bufffood
- Added workaround for surfing on weapons bug
- Changed to coordinate-based boss tracking in SS, KA and RG
- Changed size of preview
- Substitute setups can now be cleared
- Excluded guild tabard from export
- Fixed invisible setups after page deletion
- Fixed mythic items not swapped after fight
- Fixed visual bug of import and save button
- Fixed wrong pages getting auto loaded
- Fixed missing tooltip on banking button
-----------

02.04.22
- GUI rewritten, you can now add/remove/rearrange setups on each page
- Added more buff food
- Added first launch message & warning for major updates
- Added import feature also scanning bank or housing chests if opened
- Fixed prebuff error when spamming buttons
- More minor fixes
- Updated API version
-----------

24.02.22
- Fixed unequipping
-----------

23.02.2022
- Added toggle for Gear/Skills/CP/Food
- Prebuff rewritten
- Added possible fix for stuck gear
- Added min version dependency for LibChatMessage
- Added tabard to banking exceptions
- Added more buff food
- Added tooltips for gear, spells, cp like there is for bufffood
- Added function to migrate skills from very old Wizards versions
- Fixed traits in item tooltip of linked setups
-----------

01.02.2022
- Fixed setups with poisons
-----------

20.01.2022
- Changed back to EquipItem() instead of RequestMoveItem()
- Minor page fixes
-----------

13.01.2022
- Substitute setups enabled by default
- Added help for substitute setups
- Replaced outfit with auto bufffood (costume/tabard is now saved with gear)
- Markers that show saved gear
- Fixed banks in housing
- Added button to clear queue
- Grid Zone Selection (with an option for the legacy selection)
- Setup preview / send setups to chat (right click on setup name)
- Drag and drop skills & gear
- Page dropdown with more page features
- Check for missing items (danger sign when missing gear)
- HoF now based on movement (trash before factotum & spider no longer works)
- Added a keybind to fix mythic shoulders
- Window will remember its state/position on quickslot tab independently of the inventory
- Double check after equipping gear and skills
-----------

05.11.2021
- Updated to newest API
- Minimal mode for Panel
- Fixed prebuff when not having weapons in hand
- Added a option to ignore trash in HoF after 2nd boss
- Added a warn message when having a full inventory
- Added a option to automatically renew buff food in trial/dungeon
- Minor fixes
-----------

27.09.2021
- Fixes for SS and CR
-----------

26.09.2021
- Banking and undress feature now more reliable
- UI now resizable
- Icon on panel now works as a button
- Substitute setups
-----------

26.08.2021
- Cyro & BG setups can now be renamed
- Fixed bug when opening window on hud or hudui
- Fixed a bug where a invalid boss got loaded in CR
-----------

25.08.2021
- Added banking feature
- Changed scene management (use /wizard or hotkey, will remember states and position on scenes)
- Added set indicator
- Added pvp tab
- Changed to new api
-----------

10.08.2021
- Improved wipe detection
- Added ru.lua
-----------

14.08.2021
- Improved wipe detection
- CR improvements
- Barswap no longer needed
- Siege Shield Prebuff for Bahsei
- Reduced SavedVariables size
- Auto fix invisible offhand/surf on staffs
- Moved (de)active to setup dropdown
-----------

10.08.2021
- Changed from NewCharacterNameSettings to NewCharacterIdSettings
-----------
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.4.1
31kB
12/08/23 12:22 PM
Patch


Archived Files (29)
File Name
Version
Size
Uploader
Date
1.16.1
126kB
JN Slevin
12/28/23 07:38 AM
1.16.0
126kB
JN Slevin
12/27/23 06:52 AM
1.14.1
120kB
JN Slevin
10/03/23 10:22 AM
1.14.0
119kB
JN Slevin
09/05/23 07:17 AM
1.13.1
113kB
JN Slevin
08/09/23 07:37 AM
1.13.0
113kB
JN Slevin
07/15/23 06:41 AM
1.11.0
115kB
ownedbynico
06/12/23 08:01 AM
1.10.0
113kB
ownedbynico
10/02/22 10:30 AM
1.9.4
109kB
ownedbynico
07/27/22 06:25 PM
1.9.3
112kB
ownedbynico
07/13/22 01:58 PM
1.9.2
112kB
ownedbynico
06/08/22 05:41 PM
1.9.1
112kB
ownedbynico
06/06/22 07:28 AM
1.9.0
112kB
ownedbynico
06/06/22 12:23 AM
1.8.0
158kB
ownedbynico
04/02/22 02:29 PM
1.7.1
160kB
ownedbynico
02/24/22 01:01 PM
1.7.1
160kB
ownedbynico
02/23/22 03:25 PM
1.6.2
170kB
ownedbynico
01/31/22 08:46 PM
1.6.1
170kB
ownedbynico
01/20/22 09:46 AM
1.6
155kB
ownedbynico
01/13/22 04:31 PM
1.5
84kB
ownedbynico
11/04/21 05:48 PM
1.4.1
77kB
ownedbynico
09/26/21 04:58 PM
1.4
77kB
ownedbynico
09/25/21 11:06 PM
1.3.1.1
73kB
ownedbynico
08/26/21 08:32 AM
1.3.1
73kB
ownedbynico
08/25/21 07:47 PM
1.3
73kB
ownedbynico
08/24/21 07:44 PM
1.2.1
49kB
ownedbynico
08/17/21 04:40 AM
1.2
46kB
ownedbynico
08/14/21 01:37 PM
1.1
44kB
ownedbynico
08/10/21 07:11 AM
1.0
44kB
08/09/21 06:17 PM


Post A Reply Comment Options
Unread 10/03/23, 01:06 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Re: Feature Request: Ability to link all equipped gear in chat (non WW export)

Originally Posted by SortOfKindlyNot
Hi!

I was hoping a feature could be added to allow us to quickly link in chat all of our currently equipped gear pieces, preferably also with a keybind. It would come in handy a lot of times when tanking or healing in trial groups that aren't pre-coordinated with their sets. It would let us quickly whisper the other healer or tank our gear sets we're running to more quickly coordinate sets. It would work without them needing Wizard's Wardrobe. Thanks!
Linking several items into chat is not that simple as it sounds as you would need others to use the same addon so they can see 1 clickable link -> Open "User @BlaBlubb's equipped sets".
And writing all pieces to chat line by line cannot work as you need to press the return key in between! (you even have to do so with that 1 clickable link!) and that could make it very spammy and unhandy.

But you can ask the author of this addon here, which already said it comes in handy together with WW, if he can add that:
https://www.esoui.com/downloads/info...etDisplay.html

An idea how to add it with that clickable link, where other users using the same addon get the link and could open it then, can be spyed from Votans addon here:
https://www.esoui.com/downloads/info...dSetsBook.html
"You can link a set of your sets book to chat. Others, using this addon, can click the link. It's like clicking an item link."
Last edited by Baertram : 10/03/23 at 01:15 PM.
Report comment to moderator  
Reply With Quote
Unread 10/01/23, 05:38 PM  
SortOfKindlyNot

Forum posts: 1
File comments: 4
Uploads: 0
Feature Request: Ability to link all equipped gear in chat (non WW export)

Hi!

I was hoping a feature could be added to allow us to quickly link in chat all of our currently equipped gear pieces, preferably also with a keybind. It would come in handy a lot of times when tanking or healing in trial groups that aren't pre-coordinated with their sets. It would let us quickly whisper the other healer or tank our gear sets we're running to more quickly coordinate sets. It would work without them needing Wizard's Wardrobe. Thanks!
Report comment to moderator  
Reply With Quote
Unread 09/20/23, 04:48 PM  
faulkal

Forum posts: 0
File comments: 13
Uploads: 0
In game / commands

I was wondering if there are / commands for this? Would be really useful if there were, like /set1 would equip that set etc
Report comment to moderator  
Reply With Quote
Unread 09/18/23, 04:42 PM  
wambo
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 456
Uploads: 3
Originally Posted by aleris_1988
thank you, so how can I disable the repair function on vendor? I would like to leave only the repair kit function
I'm not using the functionality, but some guild mates said it's a combined function.
So, you can't switch off the merchant auto repair while keeping the repair kit option....

You could disable the option in Wizards, and use another addon like Qcell's Repair (which allows you to enable both seperately), or "Auto Recharge (and repair)" by XanDDemoX which is not using the merchant autorepair as far as I see.
Report comment to moderator  
Reply With Quote
Unread 09/18/23, 04:21 PM  
virtus753

Forum posts: 0
File comments: 27
Uploads: 0
Thank you for this add-on! I've used it for a while now and have found it works very well for me.

One of my groupmates is trying to get this to work, and unfortunately for some reason it isn't working as it should out of the box.

Somehow, once they've got their skills and gear assigned, clicking the setup name or using an assigned hotkey to load a setup produces the expected "loading" message but doesn't ever change the slotted skills or gear to the requested setup. (They tried it in front of our whole group in the lobby of a trial, so we weren't in combat.) Meanwhile, clicking on the skill icon or gear icon individually in the Wizard's window works fine to switch the skills or gear separately. It seems to be a problem with switching whole setups at once where the loading message appears but none of the requested setup loads.

They've tried toggling auto on and off, reinstalling the add-on, and deleting savedvariables and remaking the setups. They've made sure it's the only thing enabled under add-ons (just this add-on plus the two required libraries, all using the latest versions from this site).

Does anyone have an idea what might cause this to happen? TYIA
Report comment to moderator  
Reply With Quote
Unread 09/17/23, 10:41 PM  
aleris_1988

Forum posts: 0
File comments: 42
Uploads: 0
Originally Posted by wambo
Originally Posted by aleris_1988
hello, i have a question.
great addon, just i wanted to know, when i go to a vendor, does it auto repair my equipment using the auto repair kits or my gold? cause i want it to use my kit but I am unsure because i hear the money sound ..
thank you for the explanation
On vendor it won't use repair kits, it will use the vendor function.
If it uses repair kits, it will use them once the armor value drops to 0.

thank you, so how can I disable the repair function on vendor? I would like to leave only the repair kit function
Report comment to moderator  
Reply With Quote
Unread 09/17/23, 03:14 AM  
wambo
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 456
Uploads: 3
Originally Posted by aleris_1988
hello, i have a question.
great addon, just i wanted to know, when i go to a vendor, does it auto repair my equipment using the auto repair kits or my gold? cause i want it to use my kit but I am unsure because i hear the money sound ..
thank you for the explanation
On vendor it won't use repair kits, it will use the vendor function.
If it uses repair kits, it will use them once the armor value drops to 0.
Last edited by wambo : 09/17/23 at 06:06 AM.
Report comment to moderator  
Reply With Quote
Unread 09/16/23, 03:45 PM  
aleris_1988

Forum posts: 0
File comments: 42
Uploads: 0
hello, i have a question.
great addon, just i wanted to know, when i go to a vendor, does it auto repair my equipment using the auto repair kits or my gold? cause i want it to use my kit but I am unsure because i hear the money sound ..
thank you for the explanation
Report comment to moderator  
Reply With Quote
Unread 09/09/23, 01:35 AM  
PulseFour

Forum posts: 0
File comments: 6
Uploads: 0
Amazing Addon!

I love this addon! Much better than Dressing Room for so many reasons.

I have two requests/suggestions -

a) when you are playing ToT and your food runs out, the addon constantly spams in the background, it's pretty annoying! would be awesome if that could be fixed.

b) It would be cool to have a feature similar to Dressing Room where it changes which setups you can see depending on your role selection (in the addon, not in the game)

I know there are multiple pages, but for my DK for example I have a parse page, zenkosh page, portals page, solo page, etc. etc. and it all gets mixed up with my MT, OT etc pages.
Report comment to moderator  
Reply With Quote
Unread 09/05/23, 09:32 PM  
Tiara Ra
 
Tiara Ra's Avatar

Forum posts: 4
File comments: 278
Uploads: 0
Version 1.14.0

file "\AddOns\WizardsWardrobe\WizardsWardrobe.lua"
Code:
WW.version = "1.13.1"
Report comment to moderator  
Reply With Quote
Unread 08/30/23, 11:41 AM  
Keldorem

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: Re: Re: General option

Originally Posted by sora0v0
Originally Posted by Keldorem
Originally Posted by Baertram
Originally Posted by sora0v0
I set many builds on general item. But when I back trial to overland, this addon set last trial. Please select general item if we back overlands. I change builds by keyboard button. Or is there way of it?
Yep, the same happens if I'm in Cyrodiil and I leave Cyrodiil to normal world again. It still got the tab for Cyrodiil activated then and loads these sets instead of "General" (Had reported that a few weeks agao already).
Maybe I found the issue for that. WizardWardrobe already uses the EVENT_PLAYER_ACTIVATED event. But the issue (as far as I understood the code) is that in the anonymus function in WW.OnZoneChange we only switch the GUI after first load or if it is not the General tab (arena, trial, ..). That means switching back from a trial would not change the GUI tab. Not sure if this is inteded and should therefore be checked by the developer.
If the above is intended, there is another issue that all the conditions of a tab, e.g. switch to trash after any boss, is still loaded. Which means if you encounter any boss in the overland/dungeon and leave it, WizardWardrobe still has those conditions internally loaded and reloads therefore the trash trial setup. I recommend here that in the else branch for the call of WW.gui.OnZoneSelect the function WW.conditions.LoadConditions is called to reset those conditions.
WW.conditions.LoadConditions is usually called within WW.gui.OnZoneSelect, so only one solution is required.

I tested both variants and they are working fine (for me).
The change didn't work for me personally
Could you give me a sample of the changes?
The original code looks like the following in WW.OnZoneChange (just for reference):
Code:
	zo_callLater( function()
					  -- init new zone
					  WW.currentZone.Init()
					  -- change ui if loaded, only swap if trial zone
					  if isFirstZoneAfterReload or WW.currentZone.tag ~= "GEN" then
						  WW.gui.OnZoneSelect( WW.currentZone )
					  end
The if condition will ommit the load of the GEN tab when leaving a trial.

My first solution was to just always call the WW.gui.OnZoneSelect regardless of any condition:
Code:
	zo_callLater( function()
					  -- init new zone
					  WW.currentZone.Init()
					  -- change always the UI after zone change
				          WW.gui.OnZoneSelect( WW.currentZone )
The second solution was to at least remove the conditions which are still loaded internally by calling WW.conditions.LoadConditions in the else branch when calling WW.gui.OnZoneSelect:
Code:
	zo_callLater( function()
					  -- init new zone
					  WW.currentZone.Init()
					  -- change ui if loaded, only swap if trial zone
					  if isFirstZoneAfterReload or WW.currentZone.tag ~= "GEN" then
						  WW.gui.OnZoneSelect( WW.currentZone )
					  else
						  WW.conditions.LoadConditions()
					  end
I hope this clarifies what I tried to describe
Report comment to moderator  
Reply With Quote
Unread 08/28/23, 10:46 PM  
wambo
AddOn Author - Click to view AddOns

Forum posts: 38
File comments: 456
Uploads: 3
Re: Re: Re: General option

Originally Posted by Keldorem
Maybe I found the issue for that. WizardWardrobe already uses the EVENT_PLAYER_ACTIVATED event. But the issue (as far as I understood the code) is that in the anonymus function in WW.OnZoneChange we only switch the GUI after first load or if it is not the General tab (arena, trial, ..). That means switching back from a trial would not change the GUI tab. Not sure if this is inteded and should therefore be checked by the developer.
If the above is intended, there is another issue that all the conditions of a tab, e.g. switch to trash after any boss, is still loaded. Which means if you encounter any boss in the overland/dungeon and leave it, WizardWardrobe still has those conditions internally loaded and reloads therefore the trash trial setup. I recommend here that in the else branch for the call of WW.gui.OnZoneSelect the function WW.conditions.LoadConditions is called to reset those conditions.
WW.conditions.LoadConditions is usually called within WW.gui.OnZoneSelect, so only one solution is required.

I tested both variants and they are working fine (for me).
I also can't completely follow you:
I recommend here that in the else branch for the call of WW.gui.OnZoneSelect the function WW.conditions.LoadConditions is called to reset those conditions.
I only see one position calling WW.gui.OnZoneSelect, and it doesn't have any else branches - except for the one setting "GEN" if the zone is not in the lookup table for zones...

So I assume you mean the function WWG.OnZoneSelect itself and the else branch within, which only removes the teleport button for the zones GEN/SUB/PVP. No, that's also not what you mean. I'm guessing you pasted the wrong function name somewhere?


in line 650 of WizardsWardrobeGui.lua there's the comment
Code:
  -- change ui if loaded, only swap if trial zone
which suggests this behaviour is intended - but for us it is not wanted.
So just removing the or part of the if statement in line 651 should remove this behaviour?
Code:
					  if isFirstZoneAfterReload or WW.currentZone.tag ~= "GEN" then
						  WW.gui.OnZoneSelect( WW.currentZone )
					  end

Still got to test it though.
Report comment to moderator  
Reply With Quote
Unread 08/28/23, 03:54 PM  
sora0v0
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 62
Uploads: 3
Re: Re: Re: General option

Originally Posted by Keldorem
Originally Posted by Baertram
Originally Posted by sora0v0
I set many builds on general item. But when I back trial to overland, this addon set last trial. Please select general item if we back overlands. I change builds by keyboard button. Or is there way of it?
Yep, the same happens if I'm in Cyrodiil and I leave Cyrodiil to normal world again. It still got the tab for Cyrodiil activated then and loads these sets instead of "General" (Had reported that a few weeks agao already).
Maybe I found the issue for that. WizardWardrobe already uses the EVENT_PLAYER_ACTIVATED event. But the issue (as far as I understood the code) is that in the anonymus function in WW.OnZoneChange we only switch the GUI after first load or if it is not the General tab (arena, trial, ..). That means switching back from a trial would not change the GUI tab. Not sure if this is inteded and should therefore be checked by the developer.
If the above is intended, there is another issue that all the conditions of a tab, e.g. switch to trash after any boss, is still loaded. Which means if you encounter any boss in the overland/dungeon and leave it, WizardWardrobe still has those conditions internally loaded and reloads therefore the trash trial setup. I recommend here that in the else branch for the call of WW.gui.OnZoneSelect the function WW.conditions.LoadConditions is called to reset those conditions.
WW.conditions.LoadConditions is usually called within WW.gui.OnZoneSelect, so only one solution is required.

I tested both variants and they are working fine (for me).
The change didn't work for me personally
Could you give me a sample of the changes?
Report comment to moderator  
Reply With Quote
Unread 08/20/23, 04:29 AM  
Keldorem

Forum posts: 0
File comments: 6
Uploads: 0
Re: Re: General option

Originally Posted by Baertram
Originally Posted by sora0v0
I set many builds on general item. But when I back trial to overland, this addon set last trial. Please select general item if we back overlands. I change builds by keyboard button. Or is there way of it?
Yep, the same happens if I'm in Cyrodiil and I leave Cyrodiil to normal world again. It still got the tab for Cyrodiil activated then and loads these sets instead of "General" (Had reported that a few weeks agao already).
Maybe I found the issue for that. WizardWardrobe already uses the EVENT_PLAYER_ACTIVATED event. But the issue (as far as I understood the code) is that in the anonymus function in WW.OnZoneChange we only switch the GUI after first load or if it is not the General tab (arena, trial, ..). That means switching back from a trial would not change the GUI tab. Not sure if this is inteded and should therefore be checked by the developer.
If the above is intended, there is another issue that all the conditions of a tab, e.g. switch to trash after any boss, is still loaded. Which means if you encounter any boss in the overland/dungeon and leave it, WizardWardrobe still has those conditions internally loaded and reloads therefore the trash trial setup. I recommend here that in the else branch for the call of WW.gui.OnZoneSelect the function WW.conditions.LoadConditions is called to reset those conditions.
WW.conditions.LoadConditions is usually called within WW.gui.OnZoneSelect, so only one solution is required.

I tested both variants and they are working fine (for me).
Report comment to moderator  
Reply With Quote
Unread 08/10/23, 03:24 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4913
File comments: 5990
Uploads: 78
Re: General option

Originally Posted by sora0v0
I set many builds on general item. But when I back trial to overland, this addon set last trial. Please select general item if we back overlands. I change builds by keyboard button. Or is there way of it?
Yep, the same happens if I'm in Cyrodiil and I leave Cyrodiil to normal world again. It still got the tab for Cyrodiil activated then and loads these sets instead of "General" (Had reported that a few weeks agao already).

Seems to be a general issue.
Idea: At EVENT_PLAYER_ACTIVATED (as this fires after loading screens and zone changes) save the actual zoneId or the parentZoneId as parentZoneIds (e.g. zoneId is the one of a delve in Glenumbra but parent zoneId is Glenumbra then).
Then check:
If actual zoneId/parentZoneId was not empty, get current zoneId/parentZoneId. If the parentZoneId (or zoneId -> Attention: zoneId may change within trials e.g. if you switch from part1 to part2 of the trial! So trials and dungeons are maybe need to be checked differently here!) changed:
Detect the current zone's type (trial, dungeon, cyrodiil, BG, overland, house, others) and activate the proper tab of saved profiles then.
If that new activated tab got no saved profiles: Let it fallback to General tab again.

Some zone types like cyrodiil etc. got API functions to detect them too, like IsPlayerInAvAWorld() or IsActiveWorldBattleground() or IsUnitInDungeon("player") and IsPlayerInRaid() and similar. So these can be checked first, before doing zoneId/parentZoneId changes.

I have not checked WizardWardrobes code so I guess this is in there alreay somwhere, and just is not properly called again after a zone change (EVENT_PLAYER_ACTIVATED)?

btw: Many thanks for taking over and helping with this great addon JN Slevin!
Last edited by Baertram : 08/10/23 at 03:28 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: