Download
(9 Kb)
Download
Updated: 10/02/18 01:55 PM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Dragon Bones (3.3)
Clockwork City (3.2)
Updated:10/02/18 01:55 PM
Created:03/05/15 09:33 AM
Monthly downloads:119
Total downloads:201,688
Favorites:228
MD5:
SWAPS Continued  Popular! (More than 5000 hits)
Swap Skills

--------------------------------------------------------------------
Original Code By: @HulkSmashWarrior
Continued, updated and fixed by: Garkin
minor code assist and updated by dOpiate
corrections by NathanaelTheOne
and now kept by Ayantir (and dOpiate)
Random fixes by Calia1120

This AddOn allows you to save and manage your action bars into presets.
You can manage all your presets via the Skills Window. Save time and countless hours by toggling between Tank modes, DPS modes, PVP setups, Healing, AOE Builds, etc. You name it!

Saving a Preset:
After you setup your action bar, click on the New Preset icon located in the top right. Give your preset a name, select an icon, and hit save. Your action bar skills will be saved into a preset and you can be loaded onto your hotbar anytime. (Must be out of combat)

Loading a Preset:
To load a preset of skills you made, open your Skills Window, scroll through the list of presets until you find the one you want. Click the Preset Name and you are all set.

Key Bindings
NEW! Bind presets to your favorite keyboard shortcut command.

Edit/update a Preset:
Click the settings icon next to the Preset Name. You can change the name, icon, and refresh the skill abilities to import your current hotbar.
2.7.4 (Calia)
======
- API bump for 100024 (Murkmire)
- Keybind fix in place for live

2.7.3 (Calia)
======
- API bump for 100023 (Summerset PTS)
- Changed keybind display names for better sorting per request

2.7.2b
======
- API bump

2.7.2a
======
- API bump


2.7.2
======
- API bump

2.7.1
======
- API bump
- Fixes added from cutlery and SirTwist

2.7a
======
- API bump

2.7 (Ayantir)
======
- Addon is now name change proof
- First part of a new code clean

2.6.4
======
- UI resized and slightly moved the UI for SWAPS to make it match the game's skills window added (thanks to calia1120)

2.6.3
======
- API bump

2.6.2
======
- API bump

2.6.1
======
- API bump & code clean
- Fix for "Fire ring" in french client with fire staff

100315 - API bump
090115 - API bump
071015 - Fixed some issues with destruction staff abilities.
- Fixed code
030915 - Fixed an issue with destruction staff abilities.
031015 - Fixed null variable issue
032215 - Changes are:
- fixed overlapping icons in skill presets
- added 5 new kebindings
- changed list of textures in iconPak.lua
- removed redundant files
032715 - Minor redundant code removed
040815 - Skills are replaced only when needed
050815 - Skills are replaced always now until bug or fix is in place. Should work 100%.
Optional Files (0)


Archived Files (22)
File Name
Version
Size
Uploader
Date
2.7.3
9kB
calia1120
05/07/18 10:42 PM
2.7.2b
9kB
dopiate
10/23/17 08:14 AM
2.7.2a
9kB
dopiate
08/22/17 06:44 PM
2.7.2
9kB
dopiate
05/22/17 08:39 AM
2.7.1
9kB
dopiate
02/15/17 08:11 PM
2.7a
9kB
dopiate
10/05/16 05:04 PM
2.7
9kB
Ayantir
08/05/16 04:08 AM
2.6.4
8kB
dopiate
08/01/16 02:15 AM
2.6.3
8kB
dopiate
07/30/16 04:12 PM
2.6.2
8kB
dopiate
05/31/16 07:33 PM
2.6.1
8kB
Ayantir
03/11/16 09:48 AM
2.6
8kB
Ayantir
03/11/16 09:42 AM
2.5
8kB
dopiate
11/03/15 05:01 PM
2.4
8kB
Ayantir
09/01/15 03:54 AM
2.3.4
8kB
dopiate
07/10/15 02:03 AM
2.3.3
8kB
dopiate
05/08/15 10:54 AM
2.3.2
8kB
Garkin
04/07/15 06:52 PM
2.3.1
8kB
dopiate
03/27/15 07:46 AM
2.3.0
8kB
dopiate
03/22/15 02:42 PM
2.2.3
12kB
dopiate
03/10/15 07:59 AM
2.2.2
12kB
dopiate
03/09/15 08:16 AM
2.2.1
11kB
dopiate
03/05/15 09:33 AM


Post A Reply Comment Options
Unread 03/05/15, 10:46 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
wow!1 thanks for this! you are my hero!
Report comment to moderator  
Reply With Quote
Unread 03/05/15, 10:54 AM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Thank you, I had a look on it, but the minified and the obscuration obsessed me and had lot of thing, good work.
Report comment to moderator  
Reply With Quote
Unread 03/05/15, 11:57 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
first suggestion - make window movable, i dont like it now because it cover a part of the original UI for me
Report comment to moderator  
Reply With Quote
Unread 03/05/15, 02:50 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Put on the breaks pls....

On the main page you will notice:

updated and fixed by: Garkin

I asked him, as a favor, to please update this addon and he was kind enough to do so (even though it was "minified Lua" - which he is also NO fan of).

So HUGE thanks to him. Garkin is the reason we have this.

I did't do anything but ask for a favor.

This is not being continued or improved.

Sorry for the bad news.

The good news at least you have a current version!

Please don't ask Garkin to make changes. He asked me to post it because 1) I asked him to fix it 2) he has NO desire to work on this "minified Lua" project (beyond doing me this favor). So it's listed as one of my projects (not his).


-d
Report comment to moderator  
Reply With Quote
Unread 03/09/15, 03:20 PM  
Kil_07

Forum posts: 0
File comments: 7
Uploads: 0
Todays update has now deleted all my saved bars and puts a lovely huge white strip down the left side of my screen when i open my skills window....

Report comment to moderator  
Reply With Quote
Unread 03/09/15, 09:48 PM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Originally Posted by Kil_07
Todays update has now deleted all my saved bars and puts a lovely huge white strip down the left side of my screen when i open my skills window....
I am really sorry to see that.

You can go back to the previous version but I think you have selected the wrong addon as your issue.

So far today there were 600 downloads and I'm running it too.... no problems.



No issues at all.

What made you come to the conclusion it was SWAPS ?

I honestly doubt that it is. Turn it off or revert back to yesterdays see if that fixes is.

-d
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 04:56 AM  
Aluluei

Forum posts: 2
File comments: 10
Uploads: 0
Exact same problem here. Monday's update killed Swaps for me.

On loading I get this message:
Checking type on argument anchorTargetControl failed in TextureControlSetAnchorLua
stack traceback:
[C]: in function 'SetAnchor'
user:/AddOns/swaps/swaps.lua:430: in function 'SetAnchor'
user:/AddOns/swaps/swaps.lua:83: in function 'SWAPS.onLoadAddOn'
Opening my skills window shows no saved presets, and a white pane on the left. If I try to create a new preset I get this:
user:/AddOns/swaps/swaps.lua:58: attempt to index a nil value
stack traceback:
user:/AddOns/swaps/swaps.lua:58: in function '(anonymous)'
I tried reverting to the previous version, but that has the same problem, so I assume that there was something in Monday's game update that caused the problem. Unfortunately I can't roll that back
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 06:30 AM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
Originally Posted by Aluluei
Exact same problem here. Monday's update killed Swaps for me.

On loading I get this message:
Checking type on argument anchorTargetControl failed in TextureControlSetAnchorLua
stack traceback:
[C]: in function 'SetAnchor'
user:/AddOns/swaps/swaps.lua:430: in function 'SetAnchor'
user:/AddOns/swaps/swaps.lua:83: in function 'SWAPS.onLoadAddOn'
Opening my skills window shows no saved presets, and a white pane on the left. If I try to create a new preset I get this:
user:/AddOns/swaps/swaps.lua:58: attempt to index a nil value
stack traceback:
user:/AddOns/swaps/swaps.lua:58: in function '(anonymous)'
I tried reverting to the previous version, but that has the same problem, so I assume that there was something in Monday's game update that caused the problem. Unfortunately I can't roll that back
This is possible, it looks like my oversight in the code. When I was chaging Hulksmash's minified Lua source to readable form, I forgot to convert control name in SetAnchor. Even with this mistake in code it works for me. Missing variable "j" is interpreted as nil, so control will be anchored to GuiRoot. It doesn't work for you because you use some addon which defines "j" as a global variable.

Part of the original code:
Lua Code:
  1. local j=swaps.Chain(e:CreateControl("fuzzBG",ss,CT_TEXTURE)):SetDimensions(370,750):SetAnchor(TOPRIGHT,ZO_Skills,TOPLEFT,-20,-100):SetTexture("EsoUI/Art/Miscellaneous/centerscreen_left.dds"):SetDrawLayer(100).__END;local k=swaps.Chain(e:CreateControl("sideFuzz",ss,CT_TEXTURE)):SetDimensions(400,750):SetAnchor(TOPLEFT,j,TOPRIGHT,0,0):SetTexture("EsoUI/Art/Miscellaneous/centerscreen_right.dds"):SetDrawLayer(100).__END;

Readable code in current version of SWAPS:
Lua Code:
  1. local obj = SWAPS.Chain(WM:CreateControl("fuzzBG", SWAPS.UI, CT_TEXTURE))
  2.       :SetDimensions(370,750)
  3.       :SetAnchor(TOPRIGHT, ZO_Skills, TOPLEFT, -20, -100)
  4.       :SetTexture("EsoUI/Art/Miscellaneous/centerscreen_left.dds")
  5.       :SetDrawLayer(100)
  6.    .__END
  7. local obj = SWAPS.Chain(WM:CreateControl("sideFuzz", SWAPS.UI, CT_TEXTURE))
  8.       :SetDimensions(400,750)
  9.       :SetAnchor(TOPLEFT,j,TOPRIGHT,0,0)
  10.       :SetTexture("EsoUI/Art/Miscellaneous/centerscreen_right.dds")
  11.       :SetDrawLayer(100)
  12.    .__END

Correct code:
Lua Code:
  1. local bg = SWAPS.Chain(WM:CreateControl("fuzzBG", SWAPS.UI, CT_TEXTURE))
  2.       :SetDimensions(370,750)
  3.       :SetAnchor(TOPRIGHT, ZO_Skills, TOPLEFT, -20, -100)
  4.       :SetTexture("EsoUI/Art/Miscellaneous/centerscreen_left.dds")
  5.       :SetDrawLayer(100)
  6.    .__END
  7. local side = SWAPS.Chain(WM:CreateControl("sideFuzz", SWAPS.UI, CT_TEXTURE))
  8.       :SetDimensions(400,750)
  9.       :SetAnchor(TOPLEFT,bg,TOPRIGHT,0,0)
  10.       :SetTexture("EsoUI/Art/Miscellaneous/centerscreen_right.dds")
  11.       :SetDrawLayer(100)
  12.    .__END
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 07:29 AM  
Aluluei

Forum posts: 2
File comments: 10
Uploads: 0
Problem solved!

After a lot of tedious experimentation I discovered that Swaps was fine once I had disabled CraftingSwit.

Yay! Playing without Swaps was awful!
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 07:49 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
My apologies

Sorry guys - I didn't have an issue and had not heard from Garkin on this so I assumed it was something else.

As I stated before I am just the 'name' associated to this addon but Garkin is the one who deserves all the credit for bringing it back and making it work. All I did is ask for his assistance and he was kind enough to fix it.

I will reach out to him and see if he has a new zip if not I can take the changes he posted and make a new version.

Sorry for the bugged version.

Swaps was written in a very difficult way and Garkin has done great job making it work again.

-d
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 08:02 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
!! I Can't Test !! -- feedback pls

I was able to add Garkin's fix for the issue with the null variable.

I am UNABLE to test this. I can't exactly run the game at work :-)

Can someone who was having this issue please let me know if the fix worked.

Thanks,

-d
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 12:37 PM  
Aluluei

Forum posts: 2
File comments: 10
Uploads: 0
It's all good now

Thanks so much to dopiate and Garkin for looking into this. I appreciate it very much!
Report comment to moderator  
Reply With Quote
Unread 03/10/15, 07:05 PM  
Kil_07

Forum posts: 0
File comments: 7
Uploads: 0
all good here now My thoughts turned to Swaps as the problem as it was the only addon that had updated for me that day. But whatever magical wand has been waved, has done the trick many thanks!
Report comment to moderator  
Reply With Quote
Unread 03/11/15, 05:45 AM  
dopiate
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 677
Uploads: 11
Originally Posted by Kil_07
all good here now My thoughts turned to Swaps as the problem as it was the only addon that had updated for me that day. But whatever magical wand has been waved, has done the trick many thanks!
You were right. I should have asked if anything else had been updated.

I'm glad you started the ball rolling on getting this issue fixed.

thanks for alerting us and I'm glad you are working 100% again!

-d
Report comment to moderator  
Reply With Quote
Unread 03/11/15, 06:34 PM  
Kevinmon

Forum posts: 17
File comments: 150
Uploads: 0
Oh my god, this add-on is AMAZING! Way better than Wykkyd's Outfitter!!!!! A+++++
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: