| Tested: | Hour of Twilight 4.3 |
| Updated: | 09-19-11 09:17 PM |
| Created: | unknown |
| Downloads: | 96,236 |
| Favorites: | 433 |
| MD5: |

File Name |
Version |
Size |
Author |
Date |
Type |
r649 |
2kB |
04-08-08 02:17 AM |
Patch |
File Name |
Version |
Size |
Author |
Date |
r20100719 |
12kB |
Shadowed |
07-19-10 12:23 PM |
|
r20100215 |
12kB |
Shadowed |
02-15-10 12:53 PM |
|
r20091210 |
12kB |
Shadowed |
12-10-09 04:30 PM |
|
r20091210 |
11kB |
Shadowed |
12-10-09 04:00 PM |
|
r20090923 |
11kB |
Shadowed |
09-23-09 07:55 PM |
|
r20090808 |
11kB |
Shadowed |
08-08-09 10:57 PM |
|
r1206 |
10kB |
Shadowed |
04-05-09 10:05 AM |
|
r1192 |
10kB |
Shadowed |
04-04-09 12:58 AM |
|
r1057 |
26kB |
Shadowed |
01-08-09 03:11 PM |
|
r1052 |
26kB |
Shadowed |
01-04-09 10:13 AM |
|
r1026 |
25kB |
Shadowed |
11-23-08 10:03 AM |
![]() |
Comment Options |
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 4
Uploads: 0
|
Love this addon
I would only add an option to save specific action bar, not all at the same time. Would be awsome!
![]() |
|
|
|
|
|
|
Running diff through my installed ABS and r20110919, I noticed a few differences that I only can call "regressions".
I.e. "restoreRank = true," being default behavior. |
|
|
|
|
|
|
|
A Murloc Raider
Forum posts: 9
File comments: 66
Uploads: 0
|
welcome back ?!
|
|
|
|
|
|
|
A Deviate Faerie Dragon
Forum posts: 12
File comments: 26
Uploads: 0
|
i need an update SOOO bad. i like to respec a lot (yes i need more than 2 specs on my toon) and i HATE having to put back all the buttons 1 by 1.
any word on an update? /cry edit: ok. it seems blizz has done something that might make this addon unnecisary. so i've been holding out on respeccing cause i didn't want to put back all my moves again to the action bar. (lazy ) but today when i forced myself to respec, NONE of my buttons dissapeared! they were all there and still are even after i removed one of those moves. (got rid of concussive blow on my tank)so i guess if that's all you ever used this addon for, we no longer need it? O_o idk if the same applies to macros though. just putting in my observations. idk if they help. great addon none the less and a great backup to have on the offchance all your buttons do dissapear. (very annoying). so update still appreciated cause it's awesome. ![]()
Last edited by Tact : 10-17-10 at 12:54 AM.
|
|
|
|
|
||
|
Re: Not working in 4.0.1
Code:
--- ActionBarSaver.lua.orig 2010-10-13 15:14:35.816250000 -0400
+++ ActionBarSaver.lua 2010-10-13 18:16:09.519375000 -0400
@@ -15,6 +15,9 @@
local MAX_ACTION_BUTTONS = 144
local POSSESSION_START = 121
local POSSESSION_END = 132
+local screwed = {
+ ["Lifeblood"] = true,
+}
function ABS:OnInitialize()
@@ -69,11 +72,13 @@
set[actionID] = nil
local type, id, subType, extraID = GetActionInfo(actionID)
+ --print("actionID", actionID, "maps to type", type, "id", id, "sub", subType, "extra/global", extraID)
if( type and id and ( actionID < POSSESSION_START or actionID > POSSESSION_END ) ) then
-- DB Format: <type>|<id>|<binding>|<name>|<extra ...>
-- Save a companion
if( type == "companion" ) then
- set[actionID] = string.format("%s|%s|%s|%s|%s|%s", type, id, "", name, subType, extraID)
+ -- FIXME 'name' here is the name of the profile, not the name of the critter
+ set[actionID] = string.format("%s|%s|%s|%s|%s|%s", type, id, "", name, subType, extraID or "")
-- Save an equipment set
elseif( type == "equipmentset" ) then
set[actionID] = string.format("%s|%s|%s", type, id, "")
@@ -82,7 +87,7 @@
set[actionID] = string.format("%s|%d|%s|%s", type, id, "", (GetItemInfo(id)) or "")
-- Save a spell
elseif( type == "spell" and id > 0 ) then
- local spell, rank = GetSpellName(id, BOOKTYPE_SPELL)
+ local spell, rank = GetSpellInfo(id) --GetSpellBookItemName(id, BOOKTYPE_SPELL)
if( spell ) then
set[actionID] = string.format("%s|%d|%s|%s|%s|%s", type, id, "", spell, rank or "", extraID or "")
end
@@ -196,7 +201,7 @@
for i=1, numSpells do
local index = offset + i
- local spell, rank = GetSpellName(index, BOOKTYPE_SPELL)
+ local spell, rank = GetSpellBookItemName(index, BOOKTYPE_SPELL)
-- This way we restore the max rank of spells
spellCache[spell] = index
@@ -272,12 +277,15 @@
-- Restore a spell
if( type == "spell" ) then
local spellName, spellRank = ...
+ if GetSpellInfo(spellName) and not screwed[spellName] then
+ PickupSpellBookItem(spellCache[spellName], BOOKTYPE_SPELL)
+ --[[
if( ( self.db.restoreRank or spellRank == "" ) and spellCache[spellName] ) then
PickupSpell(spellCache[spellName], BOOKTYPE_SPELL)
elseif( spellRank ~= "" and spellCache[spellName .. spellRank] ) then
PickupSpell(spellCache[spellName .. spellRank], BOOKTYPE_SPELL)
+ end]]
end
-
if( GetCursorInfo() ~= type ) then
-- Bad restore, check if we should link at all
local lowerSpell = string.lower(spellName)
@@ -321,6 +329,7 @@
local critterName, critterType, critterID = ...
PickupCompanion(critterType, actionID)
if( GetCursorInfo() ~= "companion" ) then
+ critterName = actionID --FIXME see SaveProfile
table.insert(restoreErrors, string.format(L["Unable to restore companion \"%s\" to slot #%d, it does not appear to exist yet."], critterName, i))
ClearCursor()
return
@@ -392,7 +401,8 @@
-- Profile restoring
elseif( cmd == "restore" and arg ~= "" ) then
- for i=#(restoreErrors), 1, -1 do table.remove(restoreErrors, i) end
+ --for i=#(restoreErrors), 1, -1 do table.remove(restoreErrors, i) end
+ table.wipe(restoreErrors)
if( not self.db.sets[playerClass][arg] ) then
self:Print(string.format(L["Cannot restore profile \"%s\", you can only restore profiles saved to your class."], arg))
@@ -434,7 +444,7 @@
end
self:Print(string.format(L["Errors found: %d"], #(restoreErrors)))
- for _, text in pairs(restoreErrors) do
+ for _, text in ipairs(restoreErrors) do
DEFAULT_CHAT_FRAME:AddMessage(text)
end
|
||
|
|
|
|
|
|
A Kobold Labourer
Forum posts: 0
File comments: 10
Uploads: 0
|
Not working in 4.0.1
Has anyone found another mod that serves this function and works in 4.0.1? As a shaman, I respec pretty often, and with the number of hotkeys and macros I bind....
Or maybe the hack below works...anyone else tried it live, and is it the "<" lines that need deletion and replacement with the ">" lines? |
|
|
|
|
||
|
A Murloc Raider
Forum posts: 7
File comments: 15
Uploads: 0
|
Code:
85c85 < local spell = GetSpellInfo(id) --- > local spell, rank = GetSpellName(id, BOOKTYPE_SPELL) 199c199 < local spell = GetSpellBookItemName(index, SpellBookFrame.bookType) --- > local spell, rank = GetSpellName(index, BOOKTYPE_SPELL) 205c205 < --[[if( rank and rank ~= "" ) then --- > if( rank and rank ~= "" ) then 207c207 < end]] --- > end 275,279c275,279 < --if( ( self.db.restoreRank or spellRank == "" ) and spellCache[spellName] ) then < if spellCache[spellName] then PickupSpellBookItem(spellCache[spellName], BOOKTYPE_SPELL) end < --elseif( spellRank ~= "" and spellCache[spellName .. spellRank] ) then < -- PickupSpell(spellCache[spellName .. spellRank], BOOKTYPE_SPELL) < --end --- > if( ( self.db.restoreRank or spellRank == "" ) and spellCache[spellName] ) then > PickupSpell(spellCache[spellName], BOOKTYPE_SPELL) > elseif( spellRank ~= "" and spellCache[spellName .. spellRank] ) then > PickupSpell(spellCache[spellName .. spellRank], BOOKTYPE_SPELL) > end |
|
|
|
|
|
|
|
Does this work on the current Beta?
|
|
|
|
|
|
|
|
Re: Totem Action Bar Support
I wasn't aware of the max-rank feature. Polymorph(Rabbit) restores correctly if I disable this feature.
/abs rank has a typo in its chat message, saying "disabeld" instead of "disabled". Also it would be nice if the max-rank feature didn't try to change ranks that aren't numbers, since it only makes sense for numbers. It's fairly minor though, especially since Cata will make the issue moot. |
|
|
|
|
|
|
|
Totem Action Bar Support
I changed lines 63 and 238 from "1,120" to "1,144" this seems to allow the saving and placing of shaman totem multi-cast action bars.
http://www.wowwiki.com/API_GetMultiCastTotemSpells |
|
|
|
|
|
|
|
This seems to get confused by the "rank" of alternate Polymorph spells like Polymorph(Rabbit) vs. Polymorph(Pig). When I try to save my action bars with the Rabbit version, it restores with the Pig version.
Also I just want to say how useful this mod is. Thanks! |
|
|
|
|
|
|
|
Just wanted to post a quick thanks. I'm constantly swapping between three specs, and ABS makes things nice and painless
![]() |
|
|
|
|
|
||
|
Guest
Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
|
|
|
|
|
![]() |
You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.