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,478
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 07/22/16, 04:21 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Update

When you update you will most likely have to re-setup your icons and options.

Sorry, it was a necessary evil, but it needed to be done.

-d
Report comment to moderator  
Reply With Quote
Unread 07/13/16, 02:00 AM  
mendisabal

Forum posts: 3
File comments: 113
Uploads: 0
map in cirodil

1.join cyrodil
2. stay in first location
3. try teleport to another castle ....
4 . its not work , you see map in zoom first location /
Report comment to moderator  
Reply With Quote
Unread 07/07/16, 03:59 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Re: bag

Originally Posted by mendisabal
not work map in cirodil(((
I don't understand

I go there all the time ... can you explain the issues a bit more.

-d
Last edited by dopiate : 07/07/16 at 03:59 PM.
Report comment to moderator  
Reply With Quote
Unread 07/07/16, 01:47 PM  
mendisabal

Forum posts: 3
File comments: 113
Uploads: 0
bag

not work map in cirodil(((
Report comment to moderator  
Reply With Quote
Unread 06/18/16, 05:04 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
follow up

Originally Posted by TIltowait
Created an account just to post this (I like this addon) however, it's not working for me, same issue as camilla_noctis below. Only when dragging skills from the skill screen -to- the bar (I can drag skills off the skill bar no problem)

EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: attempt to access a private function 'PickupAbilityBySkillLine' from insecure code
stack traceback:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
(tail call): ?
1707645518366978435:4: in function '(main chunk)'
can you describe exactly what you are doing when you get the error - I've tried multiple times to replicate it and no luck.

Whats confusing me is it look like everyone is describing a SWAPS error - switch bar on has 2 icons.

This is switchbar - you don't drag skills. Now with Swaps you do.

See my confusion.

-d
Report comment to moderator  
Reply With Quote
Unread 06/18/16, 05:00 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
I'll see what I can do

Originally Posted by TIltowait
Created an account just to post this (I like this addon) however, it's not working for me, same issue as camilla_noctis below. Only when dragging skills from the skill screen -to- the bar (I can drag skills off the skill bar no problem)

EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: attempt to access a private function 'PickupAbilityBySkillLine' from insecure code
stack traceback:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
(tail call): ?
1707645518366978435:4: in function '(main chunk)'


Thanks for your work on this addon, it's very cool!
I'll see what i can do - my contribution to this addon is just a few lines of code -- the other authors listed get the credit - I just keep it alive and updated so I will have to look into it.

I think the problem stems from a Lib that isn't very common and this bug wasn't noticed for months.

One way or another I'll get it fixed.

-d

I have another addon I have to look at too and I'll try to get it fixed tomorrow.
Report comment to moderator  
Reply With Quote
Unread 06/17/16, 03:28 PM  
TIltowait

Forum posts: 0
File comments: 1
Uploads: 0
Created an account just to post this (I like this addon) however, it's not working for me, same issue as camilla_noctis below. Only when dragging skills from the skill screen -to- the bar (I can drag skills off the skill bar no problem)

EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: attempt to access a private function 'PickupAbilityBySkillLine' from insecure code
stack traceback:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
(tail call): ?
1707645518366978435:4: in function '(main chunk)'


Thanks for your work on this addon, it's very cool!
Report comment to moderator  
Reply With Quote
Unread 06/13/16, 03:21 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Roll Back

Ok I'll just rolll back to that working version.

Just fyi - I can't replicate any of your issues (forwhatever what that means)

-d
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 06:57 PM  
camilla_noctis
 
camilla_noctis's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: different bug?

Unfortunately the issue is still there, same error when trying to move skills. It's entirely possible it was doing this before any update, since I wasn't testing that issue specifically. I've tried both with and without LibAddonMenu, and always with a clean startup with no other addons active. And only when this one is enabled.

The first time on load that this happens, this is the error (forgot to paste this one earlier):
Code:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: attempt to access a private function 'PickupAbilityBySkillLine' from insecure code
stack traceback:
	EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
	1707645518366978435:4: in function '(main chunk)'
And then the more generic one each time thereafter:
Code:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: function expected instead of nil
stack traceback:
	EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
	1707645518366978435:4: in function '(main chunk)'

Originally Posted by dopiate
Originally Posted by camilla_noctis
Ok, with the updated version, I get an error whenever I try to drag a skill from the skill menu (not dragging them around from the bar, but directly from the menu).

No other addons are enabled, and it happens each time. It doesn't do this at all when Switch Bar is disabled.

Error:

EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: function expected instead of nil
stack traceback:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
1707645518366978435:4: in function '(main chunk)'
Ok since the "fix" wasn't an issue - I'll probably revert back

update in a minute

-d

Edit I didn't revert - I just make sure the Lib is correct so I redid it.
Last edited by camilla_noctis : 06/12/16 at 07:00 PM.
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 05:07 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Re: different bug?

Originally Posted by camilla_noctis
Ok, with the updated version, I get an error whenever I try to drag a skill from the skill menu (not dragging them around from the bar, but directly from the menu).

No other addons are enabled, and it happens each time. It doesn't do this at all when Switch Bar is disabled.

Error:

EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: function expected instead of nil
stack traceback:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
1707645518366978435:4: in function '(main chunk)'
Ok since the "fix" wasn't an issue - I'll probably revert back

update in a minute

-d

Edit I didn't revert - I just make sure the Lib is correct so I redid it.
Last edited by dopiate : 06/12/16 at 05:21 PM.
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 04:53 PM  
camilla_noctis
 
camilla_noctis's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
different bug?

Ok, with the updated version, I get an error whenever I try to drag a skill from the skill menu (not dragging them around from the bar, but directly from the menu).

No other addons are enabled, and it happens each time. It doesn't do this at all when Switch Bar is disabled.

Error:

EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: function expected instead of nil
stack traceback:
EsoUI/Ingame/Skills/Keyboard/ZO_Skills.lua:638: in function 'ZO_Skills_AbilitySlot_OnDragStart'
1707645518366978435:4: in function '(main chunk)'
Last edited by camilla_noctis : 06/12/16 at 04:55 PM.
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 04:10 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Good to know

Originally Posted by camilla_noctis
Thanks for the help and replies! Turns out that the icon selector not working was related to having CyrHUD enabled. Very strange. It's an important addon but not essential for me, so that's a workaround.
thanks for the update

I did make that change just in case.

I'm glad you got it worked out.

-d
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 04:04 PM  
camilla_noctis
 
camilla_noctis's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Thanks for the help and replies! Turns out that the icon selector not working was related to having CyrHUD enabled. Very strange. It's an important addon but not essential for me, so that's a workaround.

Edit: also, setting the icons to preference, then re-enabling the troublesome addon, allows functionality otherwise.
Last edited by camilla_noctis : 06/12/16 at 04:09 PM.
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 12:22 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Thanks

Originally Posted by Phinix
Looks like you missed declaring iconpicker.lua in the LibAddonMenu control declarations in your SwitchBar.txt. Could be if people don't have the standalone LibAddonMenu installed they would have missing icons in the options?
Thanks for the quick diagnosis !

I just fixed it and I'm uploading it now.

Since it's always worked on mine someone will have to let me know if that fix worked.

-d
Report comment to moderator  
Reply With Quote
Unread 06/12/16, 12:10 PM  
camilla_noctis
 
camilla_noctis's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Originally Posted by Phinix
Looks like you missed declaring iconpicker.lua in the LibAddonMenu control declarations in your SwitchBar.txt. Could be if people don't have the standalone LibAddonMenu installed they would have missing icons in the options?
I was not aware there was a prerequisite installation - would installing that addon fix it? Would it be possible to add this important information to the info page?

Looking up this LibAddonMenu, I found this in the description:

If you came here because a message in chat told you so,
then you are using an outdated addon that relies on an older version of LAM-2.0 which might not be compatible with ESO update 6.
But no need to panic. There are a few things you can do in order to get it to work again:
Update your addons. Maybe the author already fixed the problem.
Try to find out which addon uses the outdated version and ask for help in the comment section.
Ask for help in our comment section.
Replace LibAddonMenu-2.0 in all your addons with the newest version.
So I'm not sure if whatever's missing is supposed to come with the addon, or if I'm supposed to be told to download something additional?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: