Download
(76 Kb)
Download
Updated: 11/22/20 08:09 AM
Patch for:
SwitchBar.
Pictures
File Info
Updated:11/22/20 08:09 AM
Created:11/09/15 05:39 PM
Monthly downloads:89
Total downloads:20,504
Favorites:33
MD5:
Categories:Plug-Ins & Patches, Action Bar Mods, Buff, Debuff, Spell
SwitchBar II  Popular! (More than 5000 hits)
Version: 1.3.6
by: dopiate, Elsys, manavortex
=================================================================
SwitchBar II Refactored Version 1.3.6
=================================================================





=================================================================
What this does
=================================================================

Adds an icon that changes depending on what your currently equipped weapon set is now is highly configurable.
You should be able to change nearly any facet of this functionality you might want. Feature requests are welcome although they may not appear immediately.


Idea/original version by manavortex, better graphic choces by Elsys, code fixes and updates by dOpiate.

-d
1.3.6 - Updated libs, minor code and API version

1.3.5 - API bump - updated libs
1.3.4 - API bump (just a quick courteous update)
1.3.3 - Updated Libs, API Bump
1.3.2 - Updated Libs
1.3.1 - API bump
1.3 - compatibility fix (thanks to Daeymon) & LibAddonMenu update
1.2b - API bump
1.2 - Fixed swap issue caused by the last DLC
1.1.1 R10 - API bump, Lib Updates, Minor Menu Change
V 1.1.1 r9.2 - fixed a bug caused by the first fit :-)
V 1.1.1 r9.1 - fixed missing icon switching declaration
V 1.1.1 r9 - just API bump
V 1.1.1 r8 - just API bump
V 1.1.1 r7
[Refactored Code Changes]
Makes use of Scene Handler to display or hide add-on
In or out of combat option uses EVENT_COMBAT_STATE register/remove instead of boolean check
Makes use of LAM2 Icon Picker instead of separate drop down and texture controls
Reset defaults now works
All variables are set and read from a single source minimized or eliminated static variables
Fixed key-bind toggle
Menu options reflect proper states
Icon picker updates color on color-picker change as preview
Addon intentionally visible in mouse mode but not in any character screens
Addon intentionally visible in settings screens
Removed unused saved variables
Added setter functions for each menu option, separate functions for initialization
Version correctly reported across screens
Internal revision number used to track consistency as of this change SwitchBar is now revision 7
Descriptions updated to provide meaningful concise information
[Configuration File Changes]
SwitchBar_defaults.lua introduced
This file holds default values and is configurable by the end user if they have a set of values they prefer the addon
load with across characters.
iconPak.lua introduced
Contains a setting to disable additional icons other than the default 2
Allows end user to add additional icons and descriptions for them or to remove icons from being select able
I think that covers everything but I might have forgotten to mention some.
V 1.1.0 -- fixed version consistency
V 1.1.0 -- fixed always on and hide in combat.
Archived Files (17)
File Name
Version
Size
Uploader
Date
1.3.5
58kB
dopiate
09/09/18 08:28 AM
1.3.4
58kB
dopiate
02/21/18 04:51 PM
1.3.3
58kB
dopiate
10/23/17 08:23 AM
1.3.2
56kB
dopiate
07/14/17 04:11 PM
1.3.1
54kB
dopiate
05/22/17 08:41 AM
1.3
54kB
dopiate
11/10/16 12:29 PM
1.2b
51kB
dopiate
10/05/16 05:02 PM
1.2a
51kB
dopiate
08/13/16 05:34 AM
1.1.1 Revision
85kB
dopiate
07/22/16 04:07 PM
1.1.1 Revision
82kB
dopiate
06/13/16 03:23 AM
1.1.1 Revision
125kB
dopiate
06/12/16 05:18 PM
1.1.1 Revision
82kB
dopiate
06/12/16 12:26 PM
1.1.1 Revision
82kB
dopiate
05/31/16 07:29 PM
1.1.1 Revision
45kB
dopiate
03/08/16 12:41 PM
1.1.1 Revision
45kB
Elsys
02/07/16 09:59 PM
1.1.0
79kB
dopiate
02/04/16 03:26 AM
0.9.5
79kB
dopiate
11/16/15 11:44 AM


Post A Reply Comment Options
Unread 11/10/16, 07:07 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Originally Posted by Daeymon
Might even resolve some of the other UI quirks this addon has been suffering from.
Very cool, thanks for the find.

I'll update the code and release an update.

-d
Report comment to moderator  
Reply With Quote
Unread 11/08/16, 07:42 PM  
Daeymon

Forum posts: 0
File comments: 145
Uploads: 0
This addon causes the main menu to error and not work in the gamepad UI when its set to "Always On". So had a look at SwitchBar.lua and after a bit of trial and error, and a bit of googling, I found the offending line to be:
Lua Code:
  1. local switch_fragment = ZO_HUDFadeSceneFragment:New(SwitchBarMain, 150, 150)

Seems setting the optional parameters on that causes issues in certain circumstances when its added to the HUD_SCENE. Changing the line to the below resolves it.
Lua Code:
  1. local switch_fragment = ZO_HUDFadeSceneFragment:New(SwitchBarMain)

Might even resolve some of the other UI quirks this addon has been suffering from.

This post is what gave me the solution
http://www.esoui.com/forums/showpost...3&postcount=10
Last edited by Daeymon : 11/08/16 at 07:44 PM.
Report comment to moderator  
Reply With Quote
Unread 10/19/16, 02:15 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Re: Skill bar issue

Originally Posted by elvenmad
I have found a issue today, don't know the reason why or if it is known about, while this addon is active I get an eso error message when I try to put or change skills on my skill bar.

Disable Swaps and everything is fine, enable again and everything's still fine untill i try to swaps skills on my bar again then error message pops up, dismiss message and try again and message pops up
This addon was re-written a while back and it interferes in strange ways with the UI

I get odd issues too.

This one is over my head.

I wish I could tell you I was a LUA/ESO addon wiz, but thats not even close to true ... both of my main addons are .NET ... all the other ones I'm just trying to keep alive or find alternatives.

I will bring the problem to the dev's forum and see if I can get some guidance.

I love this addon but it definitely has issues

-d
Report comment to moderator  
Reply With Quote
Unread 10/18/16, 01:18 PM  
elvenmad

Forum posts: 0
File comments: 13
Uploads: 0
Skill bar issue

I have found a issue today, don't know the reason why or if it is known about, while this addon is active I get an eso error message when I try to put or change skills on my skill bar.

Disable Swaps and everything is fine, enable again and everything's still fine untill i try to swaps skills on my bar again then error message pops up, dismiss message and try again and message pops up
Report comment to moderator  
Reply With Quote
Unread 09/28/16, 09:05 PM  
Jhenox
 
Jhenox's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 392
Uploads: 6
Incompatible with CookeryWiz?

There may be an incompatibility problem with CookeryWiz. Anytime I enable this addon then CookeryWiz will no longer appear when trying to cook. If I disable this specific addon then it works normally.
Report comment to moderator  
Reply With Quote
Unread 09/12/16, 07:51 PM  
eSporks

Forum posts: 0
File comments: 16
Uploads: 0
Request: Fade icon after duration.
It would be nice if you could configure this so the icon pops up when you switch bars, and then fades after X duration. Possibly accompanied by a sound but not necessary.

My main issue with this game has also been that I try to swap bars during an animation or something and it doesn't always go through. I don't want the icon in the middle of the screen permanently, but ti would be nice to have it there temporarily to notify me when I actually switch.
Report comment to moderator  
Reply With Quote
Unread 08/20/16, 12:12 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Re: Idea For New Option

Originally Posted by BigMons
Would it be possible, and not too much work, to add an option to make the icon visible during conversations? Maybe an ON/OFF option under "Show Always?" that says something like "Show In Dialog/Conversation?". One reason that I initially started using this was because I have skills that I need to level on my 2nd bar, but I almost always forgot to switch bars before turning in a quest. This leads to much shaking of fists and cursing due to the wasted XP. I think it could be helpful to have the option to see the icon when in a conversation so I can easily see which bar I have active before I click on the option to get my quest reward.
That is a valid request - one I understand 100% but I can make no promises.

I'll look into implementing it but lately my free time is less and less so I can't promise anything.

I think it would be a great feature.

Any author is welcome to add to this addon - it's been a group effort from start to finish. I would gladly welcome anyone else into the "team" :-)

-d
Report comment to moderator  
Reply With Quote
Unread 08/18/16, 11:33 PM  
BigMons
 
BigMons's Avatar

Forum posts: 38
File comments: 178
Uploads: 0
Lightbulb Idea For New Option

Would it be possible, and not too much work, to add an option to make the icon visible during conversations? Maybe an ON/OFF option under "Show Always?" that says something like "Show In Dialog/Conversation?". One reason that I initially started using this was because I have skills that I need to level on my 2nd bar, but I almost always forgot to switch bars before turning in a quest. This leads to much shaking of fists and cursing due to the wasted XP. I think it could be helpful to have the option to see the icon when in a conversation so I can easily see which bar I have active before I click on the option to get my quest reward.

One addon that has this option, probably among many others, is Raetia Infohub. It has some "auto-hide" options. One of them is called "Interact Window" with a mouse-over description of "like NPC dialog screen". Turn that option OFF, and Raetia Infohub stays onscreen even in dialogs. Looking at that may help make this easier to implement, if you wished to do so.

Warning: Spoiler
Report comment to moderator  
Reply With Quote
Unread 08/14/16, 05:02 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Originally Posted by Hexxer
Thank you for the update. Working as normal.
yw .. thank you for confirming that it's fixed :-)

-d
Report comment to moderator  
Reply With Quote
Unread 08/13/16, 02:46 PM  
Hexxer

Forum posts: 0
File comments: 2
Uploads: 0
Thank you for the update. Working as normal.
Report comment to moderator  
Reply With Quote
Unread 08/13/16, 05:21 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
SwitchBar II fixed

Sorry it took so long, work has been really busy.

this addon is fixed now.

Thanks for your patience.

-d
Report comment to moderator  
Reply With Quote
Unread 08/07/16, 03:23 AM  
BigMons
 
BigMons's Avatar

Forum posts: 38
File comments: 178
Uploads: 0
Everything seems to work for me except that the icon doesn't switch when I switch weapons. It stays with the icon for weapon 1 on one of my characters and it stays with the weapon 2 icon on another character.
Report comment to moderator  
Reply With Quote
Unread 08/05/16, 04:30 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Originally Posted by Hexxer
As of 8-1-16 this add on is not working for me also. So it's not local. hope this helps.
It does help, thanks.

I haven't been keeping up with the LUA changes so I'll have to dig in and figure out what's wrong with it.

I was hoping it was local .... so I have some homework to do.

-d
Report comment to moderator  
Reply With Quote
Unread 08/05/16, 03:38 PM  
Hexxer

Forum posts: 0
File comments: 2
Uploads: 0
As of 8-1-16 this add on is not working for me also. So it's not local. hope this helps.
Report comment to moderator  
Reply With Quote
Unread 08/01/16, 04:09 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Not Working (can someone confirm)

This addon is not currently working.

I do not know why yet. I does not produce any LUA errors but it no longer functions for me.

If anyone else is having this problem please let me know so I can rule out it being a local issue.

-d
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: