Quantcast
Download
(15 Kb)
Download
Updated: 01-27-20 05:33 AM
Pictures
File Info
Compatibility:
Classic Patch (1.13.4)
Classic Patch (1.13.3)
Classic (1.13.2)
Updated:01-27-20 05:33 AM
Created:09-29-19 04:00 PM
Downloads:3,539
Favorites:21
MD5:
Categories:Classic - General, Buff, Debuff, Spell, Miscellaneous

SpellBook Abridged for WoW Classic

Version: 2.6.4
by: LBXZero [More]

This addon modifies the default spellbook to filter out the lower ranks of each spell. A "Rank Filter" check button has been added to switch between viewing the last rank of each unique spell and the full spell list.

This addon is fully compatible with 1.13.4. I just don't feel like releasing a new update when there is nothing new to add. As such, I am open to suggestions to improve the spellbook.

--
With emphasis on making the spellbook easier to work with, I have added a basic Auto Up Rank function. If enabled, when you learn a new spell that is a higher rank of a spell you already know, the function will replace the spells in your action bars of the previous rank.

This Auto Up Rank function only updates spells when the new rank of the spell is learned, and only the spells of the previous highest rank are updated. If you learn Fireball Rank 5, all instances of Fireball Rank 4 in the action bars will be replaced with Fireball Rank 5. Ranks 3 and down are not touched. This doesn't affect macros. If is not currently in the action bars, it is not affected. I wanted to keep it basic.

--

From an old request back in the days of the Burning Crusade, I have been working on making shapeshift/stance specific spells easier to find. So far, I added a feature to detect if the spell requires a form and if the player is in the correct form. From there, I added an ability to change the color of the Spell Name and Spell Subtext in addition to alter the color of the Icon depending if the player is in the correct form or not in the needed form. Spells that don't specify a form in their tooltip are kept at the normal colors.

Being unable to decide what colors to pick, I added an options tab for you to select your own colors, add if you want to enable this feature or not. "Normal" colors are for spells that don't specify a stance or form. "In Form" colors are for spells that specify a form or stance and the player in that form. "Out of Form" colors are for spells that specify a form or stance and the player is not in it.

As a default, this is disabled. You need to go to the options tab and select the check boxes for which highlights you want if you care for this feature, and if you want a different standard color text.

--
This addon modifies 7 existing functions in SpellBookFrame to make the spellbook work from a custom filtered list. I was going for a minimal approach for this version to reduce conflict with other addons that affect the spellbook. Additional work done to make the spell buttons cast spells again.

Further modification was done to prevent errors if the Spellbook is open in combat. If combat starts with the Spellbook open, the Spellbook will close, and you will not be able to open it until you are out of combat.

For warriors and rogues, you should not see a difference. Also, this is pointless for modern WoW.

--

To install, just copy the "SpellBookAbridged" folder to the WoW Classic "Interface\Addons" folder.

No special configuration required

If you don't like where the Rank Filter or Auto UpRank buttons are at, you can drag each one around with Control + Right Click.
If you loose track where the Rank Filter or Auto UpRank buttons went, the console command "/sba" will reset both buttons' location to default.
These buttons' states are now saved when you close WoW, instead of defaulting to Enabled.

If something doesn't work quite right or this addon has a problem with another addon or you have a suggestion, leave a comment, and eventually I will find it and try to work on it.


--
Right now, there is a "attempt to index upvalue" error that affects rarely for only a few people. I made a change in newest update so the one function with the error mimics another function that does the same thing and no one has yet reported an error. Currently, I am assuming the behavior is a stability issue in Lua due to how not everyone is affected. If you are having this error, please let me know. I can't test this as I can not reproduce the conditions for the error, and not enough people will use a Beta version.

As far as future feature updates, I had an idea to make a set of 3 "favorites" tabs for arranging some spells for quick reference. An example utility of this concept is a mage with a lot of teleport and portal spells. Instead of loading all the teleport and portal spells an unused action bar (how I usually did it), you can add these to a favorites tab so all the portals are right there instead of paging through the Arcane tab. I am holding off on implementing this because I feel I am bloating this addon beyond necessity.

Change Log:
Version 2.6.4:
- Some code clean up. Reduce items unnecessary in global space.

Version 2.6.3
- Fixed bug in how frames added to SpellButtons by other addons are handled. Only frames that inherited "Button" at some stage are raised to top level.
- Tweaked how Form/Stance highlighting is applied. In the case of a skin addon applies its own default color, Spellbook Abridged's highlighting should be applied last if enabled.

Version 2.6.2
- Attempt to fix rare "attempt to index upvalue" bug

Version 2.6.1:
- Update TOC to 1.13.3
- Fixed error generated when Spellbook is closed while displaying "Options" and then learn a new spell

Version 2.6:
- Added Options Tab and ability to customize the colors of the Spell Name and Spell Subtext and alter the color of the Spell's Icon.
- Can now enable or disable form highlighting.

Version 2.5 (Beta):
- Fixed an issue where Multibar Grids hide and stay hidden after the Spellbook closes. (Oversight in Blizzard's code).
- (Beta) Added a feature to highlight spells based on being in the correct form or not.

Version 2.4:
- Spellbook will close when combat starts and can't be opened until out of combat. This is to prevent certain errors that can occur if the Spellbook is open in combat
- Added a basic Auto UpRank function.

Version 2.3:
- Rank Filter Button can be moved. Use Control+Right Mouse Button to drag and move.
Use "/sba" in the chat window to reset the location
- Fixed a compatibility issue with the addon "Clique"

Version 2.2:
- Fixed the issued where you can't cast spells directly from the Spellbook.
- Fixed Compatibility issue with Addons that read spell tab info before WoW finishes login.

Version 2.1:
- Changed when the Spell List generated to ensure it occurs before the Spellbook Updates.
- Fixed a design oversight that prevented Addons that used unused spell tabs from working properly.
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Author
Date
2.6.3
15kB
LBXZero
01-20-20 04:48 AM
2.6.2
15kB
LBXZero
12-17-19 04:54 PM
2.6.1
15kB
LBXZero
12-11-19 05:38 PM
2.6
14kB
LBXZero
11-28-19 11:40 AM
2.4
10kB
LBXZero
10-24-19 02:53 PM
2.3
8kB
LBXZero
10-13-19 07:51 AM
2.2
7kB
LBXZero
10-06-19 04:47 AM
2.1
6kB
LBXZero
09-29-19 04:00 PM


Post A Reply Comment Options
Unread 01-10-20, 12:52 PM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by tinyu
Originally Posted by LBXZero
Originally Posted by tinyu
Started a new toon, learnt Shadow Word: Pain (Rank 2) spell did not auto UpRank when I learnt it.
That is weird. Did any other errors occur at the time? Did the other spells automatically updated?
No errors. other spells did upRank.

Just happened with Psychic Scream.

Mind Blast (Rank 4) UpRanked
Mind Flay (Rank 2) UpRanked
Psychic Scream (Rank 2) did not.
What other addons do you have? Something may be causing some instability.
Report comment to moderator  
Reply With Quote
Unread 01-10-20, 05:34 AM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 838
File comments: 380
Uploads: 13
Originally Posted by LBXZero
Originally Posted by tinyu
Started a new toon, learnt Shadow Word: Pain (Rank 2) spell did not auto UpRank when I learnt it.
That is weird. Did any other errors occur at the time? Did the other spells automatically updated?
No errors. other spells did upRank.

Just happened with Psychic Scream.

Mind Blast (Rank 4) UpRanked
Mind Flay (Rank 2) UpRanked
Psychic Scream (Rank 2) did not.
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 12-24-19, 06:57 AM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by tinyu
Started a new toon, learnt Shadow Word: Pain (Rank 2) spell did not auto UpRank when I learnt it.
That is weird. Did any other errors occur at the time? Did the other spells automatically updated?
Report comment to moderator  
Reply With Quote
Unread 12-23-19, 11:46 PM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 838
File comments: 380
Uploads: 13
Started a new toon, learnt Shadow Word: Pain (Rank 2) spell did not auto UpRank when I learnt it.
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 12-17-19, 04:56 PM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by tinyu
Originally Posted by LBXZero
Originally Posted by tinyu
Just got this on login.

Code:
Date: 2019-12-08 10:41:40
ID: 1
Error occured in: Global
Count: 1
Message: ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua line 533:
   attempt to index upvalue 'Forms' (a nil value)
Debug:
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:533: SBA_SetFormsData()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:313:
      ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:261
How often is this error occurring? This one is quite weird.
So far just the once.
I made some changes to the code hoping to address this. I can't test it because I can't reproduce it reliably. I have an idea of what the error is, but my code already compensated for it.

If you get this error again, let me know.
Report comment to moderator  
Reply With Quote
Unread 12-09-19, 01:52 PM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by tinyu
Originally Posted by LBXZero
Originally Posted by tinyu
Just got this on login.

Code:
Date: 2019-12-08 10:41:40
ID: 1
Error occured in: Global
Count: 1
Message: ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua line 533:
   attempt to index upvalue 'Forms' (a nil value)
Debug:
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:533: SBA_SetFormsData()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:313:
      ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:261
How often is this error occurring? This one is quite weird.
So far just the once.
This error is one that I don't understand why it happens. As long as it is only 1 time out of several uses, I am leaving it. I am assuming this is an instability error in the lua interpreter.
Report comment to moderator  
Reply With Quote
Unread 12-08-19, 07:05 PM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 838
File comments: 380
Uploads: 13
Originally Posted by LBXZero
Originally Posted by tinyu
Just got this on login.

Code:
Date: 2019-12-08 10:41:40
ID: 1
Error occured in: Global
Count: 1
Message: ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua line 533:
   attempt to index upvalue 'Forms' (a nil value)
Debug:
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:533: SBA_SetFormsData()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:313:
      ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:261
How often is this error occurring? This one is quite weird.
So far just the once.
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 12-07-19, 10:18 PM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by tinyu
Just got this on login.

Code:
Date: 2019-12-08 10:41:40
ID: 1
Error occured in: Global
Count: 1
Message: ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua line 533:
   attempt to index upvalue 'Forms' (a nil value)
Debug:
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:533: SBA_SetFormsData()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:313:
      ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:261
How often is this error occurring? This one is quite weird.
Report comment to moderator  
Reply With Quote
Unread 12-07-19, 06:12 PM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 838
File comments: 380
Uploads: 13
Just got this on login.

Code:
Date: 2019-12-08 10:41:40
ID: 1
Error occured in: Global
Count: 1
Message: ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua line 533:
   attempt to index upvalue 'Forms' (a nil value)
Debug:
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:533: SBA_SetFormsData()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:313:
      ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:261
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 12-05-19, 09:33 AM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 838
File comments: 380
Uploads: 13
Originally Posted by LBXZero
Originally Posted by tinyu
Got this error when learning Short Crossbows in the Undercity.
Code:
Date: 2019-12-05 16:47:32
ID: 2
Error occured in: Global
Count: 1
Message: ..\FrameXML\SpellBookFrame.lua line 146:
   attempt to index field '?' (a nil value)
Debug:
   ..\FrameXML\SpellBookFrame.lua:146: origSpellBookFrame_Update()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:717: SpellBookFrame_Update()
   ..\FrameXML\SpellBookFrame.lua:82:
      ..\FrameXML\SpellBookFrame.lua:73
Is this all of the error message? I see the "ID" is 2, which makes me believe another error happened just prior.



What addons do you have?

Edit: Wait, was the spellbook open to the "options" tab when you learned crossbows?
The other error was from a different addon, and I'm not sure, I'll try having it open next time I learn something.
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 12-05-19, 08:28 AM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by tinyu
Got this error when learning Short Crossbows in the Undercity.
Code:
Date: 2019-12-05 16:47:32
ID: 2
Error occured in: Global
Count: 1
Message: ..\FrameXML\SpellBookFrame.lua line 146:
   attempt to index field '?' (a nil value)
Debug:
   ..\FrameXML\SpellBookFrame.lua:146: origSpellBookFrame_Update()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:717: SpellBookFrame_Update()
   ..\FrameXML\SpellBookFrame.lua:82:
      ..\FrameXML\SpellBookFrame.lua:73
Is this all of the error message? I see the "ID" is 2, which makes me believe another error happened just prior.

What addons do you have?

Edit: Wait, was the spellbook open to the "options" tab when you learned crossbows?
Last edited by LBXZero : 12-05-19 at 08:35 AM.
Report comment to moderator  
Reply With Quote
Unread 12-05-19, 12:18 AM  
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view AddOns

Forum posts: 838
File comments: 380
Uploads: 13
Got this error when learning Short Crossbows in the Undercity.
Code:
Date: 2019-12-05 16:47:32
ID: 2
Error occured in: Global
Count: 1
Message: ..\FrameXML\SpellBookFrame.lua line 146:
   attempt to index field '?' (a nil value)
Debug:
   ..\FrameXML\SpellBookFrame.lua:146: origSpellBookFrame_Update()
   ...rface\AddOns\SpellbookAbridged\SpellBookAbridged.lua:717: SpellBookFrame_Update()
   ..\FrameXML\SpellBookFrame.lua:82:
      ..\FrameXML\SpellBookFrame.lua:73
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
Report comment to moderator  
Reply With Quote
Unread 10-26-19, 08:34 AM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by AScares
Originally Posted by LBXZero
Originally Posted by AScares
ITs about time...!
What part? Some of the fixes I had to make or just making the addon?

Addon
I originally made an addon back 6 months prior to Wrath of the Lich King to filter the spellbook. I had a fire mage. I thought someone would eventually make the addon, but it ended up being me.

With Vanilla WoW, someone found the page on Curse and left a comment, which I got in my email. I decided to start playing Vanilla again and make a new version.

If Burning Crusade comes, this addon will be compatible. Wrath of the Lich King is when this addon becomes obsolete.
Report comment to moderator  
Reply With Quote
Unread 10-25-19, 01:07 PM  
AScares
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 1
Originally Posted by LBXZero
Originally Posted by AScares
ITs about time...!
What part? Some of the fixes I had to make or just making the addon?

Addon
Report comment to moderator  
Reply With Quote
Unread 10-14-19, 02:06 PM  
LBXZero
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 61
File comments: 20
Uploads: 4
Originally Posted by AScares
ITs about time...!
What part? Some of the fixes I had to make or just making the addon?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: