Download
(16Kb)
Download
Updated: 08-05-09 05:11 PM
Pictures
File Info
Updated:08-05-09 05:11 PM
Created:unknown
Downloads:32,687
Favorites:71
MD5:

Class Buttons  Popular! (More than 5000 hits)

Version: v3.2.0
by: kneeki [More]

DISCONTINUED

by: kneeki - [email protected]
  • /classbuttons3 or /cb3

Minimalism and low usage are key! This addon will display buttons which are not often used in neat rows for easy access.

To enhance this addon further, use the following addons:

BUGS:
  • None I know of.

05Aug2009: TOC Update

29July2009: Added a new feature: "Fly in stealth mode"

16July2009: Fixed the 'changing tooltip' issue that would occur each time the player learned new spell ranks or changed talent trees via dual spec.

30May2009: Fixed the occasional issue with ButtonFacade integration.

23May2009: Fixed the error that would occur when the player switched specs.

14May2009: ButtonFacade support up to 100%, fixed the issue with bars not staying hidden if the player chooses.

11May2009: Cleaned up button creation, it no longer uses a 'ClassButtons Template'. Added support for OmniCC.

06May2009: Fixed the issue with vehicles causing buttons to disappear, but not reappear. Updated Options code, to make it easier to add new features, and more seamless integration.

15April2009: Added support for Dual Specs, cleaned up quite a few spells in spell list and glyph support. Also changed how often, and the way buttons are refreshed to make the addon MUCH less CPU intensive during the loading process.

13April2009: Fixed the issue with low level characters.

09April2009: Reworked the button positioning code, should now work flawlessly. Also updated the Spells listing.

05April2009: Options now only load once after typing /cb3 multiple times.
#2: Fixed the mage conjur food/water issue

03April2009: I reworked the glyph checking, item counting, Shaman spells and updated a lot of other code. Also made the options 'load on demand' to avoid unnecessary memory usage.
#2: Fixed the options loading issue.

02April2009: Reworked the glyph checking code. Since this is mainly for Druids (so far) as they are the only ones with - reagent glyphs that I know of, if there is any issues let me know!

01April2009: Fixed quite a few lingering issues...

11March2009: Fixed an error that is given to classes which have no spells on their bars.

09Mar2009: Rewrote a lot of the code and legacy functions to make things much smoother, most notibly the button positioning and scaling. Also, partially added ButtonFacade support.

27Feb2009: Rewrote the button template, and updated the code for when buttons are created/moved/updated. Also adjusted some scaling code.

14Jan2009: Added support for character specific settings, scale horizontal bars & vertical bars independantly, and updated spells for most classes.

06Jan2009: Cleaned up options window, added more Alpha options, and updated Mage Portal: spells.

30Dec2008: Added mouse over alpha support and removed the reagent count for druids when they have the glyph. Also added the missing lvl 71+ mage and hunter spells.

08Dec2008: Updated some DK spells & so forth. I will be doing more adding/removing from this area in the future. As my DK is gaining more levels. =)

01Dec2008: Fixed the issues with vertical/horiz bars not saving the show/hide settings after relogging. Also added the new ranks of Priest consumables for Prayers, and Druids now have item counts on the Gifts/Rebirth spells.

18Nov2008 Fixed some anchor issues. Also, I added the easyPos option to the anchor itself, and removed '/cb3 easypos'.
23Oct2008 Fixed the scaling issue.

17Oct2008#2 Fixed '/cb3 easypos' bug. =\

17Oct2008 Fixed the options resetting bug.

15Oct2008 Cleaned up Pally spells a bit.

14Oct2008 Updated and released for 3.0.2. Also increased font size in Options window.

03Oct2008 Added a configuration window! /cb3 to change all your settings. I left in '/cb3 easypos' because it was a habbit of mine. CB3 will now auto update when you gain levels, train spells, and use talent points! No more /reloadui to get it to have the most up-to-date spells! Cleaned up a bunch of code, and fixed the shift-click on anchors error.

24Sept2008 Should now always position correctly to the anchors (mages saw this problem the most).

22Sept2008 Fixed WolTK error on line 345 - Added the self cast modifier to all buttons - fixed line 98 error.

Fixed Paladin (v3.0.2) spells and button colouring.
Optional Files (0)


Post A Reply Comment Options
Unread 06-15-09, 04:48 PM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
Hi Argo I can answer some of these questions and I'm sure if I am wrong Kneeki will put me right

1. By default CB3 has 5 usable bars - 4 vertical and 1 horizontal. As the spells for the bars come from the spell book it is possible to add any spell onto it. Therefore it may be possible for you to add the profession buttons onto your own bar as they are technically spells, though I have never tried. Items, gear sets, trinkets etc are not spells and won't go onto the bars. (I had alot of attempts trying to get the pala, lock and dk mounts to appear with no joy)

2. The only way I know to turn off the bars is via the CB3 options in the interface options. Though a show / hide text command could or maybe is available or made possible via some coding.

3. There is no way that I know of to leave a blank space, in fact a lot of the coding and data that I have produced has been to remove problems that were arising from the bars having spaces. As it was causing problems with the later made bars.

CB3 is open to any modification you feel will fit your needs so any spells you want to add to your own bars just change your spell.lua file, I do recommend that you keep a backup copy as each new version will give you the default file which you will then need to reedit with your spells

If you need any assistance please just ask and we will try and help you any suggestions are more then welcome. It will mean that someone other then me will will be going "oh why not add this spell" at kneeki.

I use CB3 as a framework for my chars then modify it to my needs, for spells I like to use or want on hand and off the default UI.

So go forth and modify away
Report comment to moderator  
Reply With Quote
Unread 06-14-09, 01:16 PM  
Argogruelin
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
A few things I'd like to do if it's possible.

1. I'd like to add bars and customize them. It would be nice to have a professions set as well as a set to swap various clothing/items on a regular basis. Like fishing poles, hats, off-hands, resist gear, etc.

2. Is it possible to write a macro to toggle the bar off an on?

I've already added Fel Armor and Demon Armor just below my Detect Invisibility Unending Breath. I was thinking Banish and Enslave Demon should be somewhere near all that crap too.

3. Is there a way to leave a blank spot between buttons like if I wanted to separate out my FA/DA and still have it in the same row.
Report comment to moderator  
Reply With Quote
Unread 06-09-09, 07:36 PM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
No problem at all mate, anything I can do to help

More info can only be helpful and I know from my own experience it can be a pain to look for what maybe one error in lines of code. Sometime it helps to know what's going on, I'll provide some more info on this bug in the next few days haven't really had a change to do the shammy yet

Again I'll note each change might try doing the last skill first and see if I get the problem that was, as last time it was only the last skill that made the bars go wrong :S

I'll get some screenies as well so i can note the spell book changes per skill see if I can correlate anything out of the ways the tooltips change, I'll also do it only running cb3 so I can check if it's an addon interaction issue too. I find it unlikely that it is an interaction issue with cb3 being stand alone with no libraries but worth a check
Report comment to moderator  
Reply With Quote
Unread 06-08-09, 08:17 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Thanks for your notes Neko

I should have some time today while I'm at work to try and isolate this damn thing down. I find it really frustrating, especially while raiding, to see the icon, and glance at the tooltip, only to have them be different! It's really a mind fuck. -_-
Report comment to moderator  
Reply With Quote
Unread 06-06-09, 07:00 PM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
Warlock Test 24 - 26

Ok here we go with a dump of my level up test I know I said it would be my shammy but well felt like having a little minion fun :P

Though I have also got the shammy up to 24 - 26 too so I'll post that info when I get back to the space goat ship to get my shammy skills

New Lock Skills at level 26
  • Curse of Tongues (Rank 1)
  • Life Tap (Rank 3)
  • Detect Invisibility
  • Searing Pain (Rank 2)

This is from my personal spell.lua file so some of the spells may not appear the the default file

Code:
    WARLOCK = {
        {
            "Summon Imp",
            "Summon Voidwalker",
            "Summon Succubus",
            "Summon Felhunter",
            "Summon Felguard",
            "Inferno",
            "Ritual of Doom",
            "Soul Link",
            "Fel Domination",
            "Eye of Kilrogg",
	    "Demonic Circle: Summon",
	    "Demonic Circle: Teleport",
        },
        {
            "Create Healthstone",
            "Create Spellstone",
            "Create Firestone",
	    "Create Soulstone",
	    "Ritual of Souls",
	    "Ritual of Summoning",
        },
        {
	    "Detect Invisibility",
	    "Unending Breath",	
	},
        {},
        {
            "Amplify Curse",
            "Curse of Exhaustion",
            "Curse of Agony",
            "Curse of Doom",
            "Curse of Recklessness",
            "Curse of Shadow",
            "Curse of the Elements",
            "Curse of Tongues",
            "Curse of Weakness",
	    "Seed of Corruption",
        },
    },
Spell bar layout in standard form for tables in spell.lua so you can visualise how it looks on screen

@24

Code:
    WARLOCK = {
        {
            "Summon Imp",
            "Summon Voidwalker",
            "Summon Succubus",
            "Soul Link",
            "Eye of Kilrogg",
        },
        {
            "Create Healthstone",
	    "Create Soulstone",
	    "Ritual of Summoning",
        },
        {
	    "Unending Breath",	
	},
        {},
        {
            "Curse of Agony",
            "Curse of Weakness",
        },
    },
All tooltips correct and spells working fine.

@26 *comment in code shows spell tooltip

Code:
    WARLOCK = {
        {
            "Summon Imp", *Ritual of Summoning
            "Summon Voidwalker", *Soul Link
            "Summon Succubus", *Sense Demons
            "Soul Link", *Health Funnel
            "Eye of Kilrogg", *Demon Skin
        },
        {
            "Create Healthstone", *Life Tap
            "Create Spellstone", *Create Healthstone
	    "Ritual of Summoning", *Eye of Kilrogg
        },
        {
	    "Detect Invisibility", *Detect Invisibility
	    "Unending Breath",	*Summon Imp
	},
        {},
        {
            "Curse of Agony",
            "Curse of Tongues",
            "Curse of Weakness",
        },
    },
The activated spell is the one that should be there only the tooltip is incorrect. There so far seems not to be any logic to the wrong tooltips not like their they aren't known spells but most of those aren't even on the spell list, when I do the shammy level up I will make notes on relative spell book position. On another not it was all fine until I learnt the last skill, so it might be only tied the the bottom bar as I say I get some more test data to you asap. sometimes its good to have a lot of alts lol, plus being low level they level very fast even better with heirloom items now
Report comment to moderator  
Reply With Quote
Unread 06-01-09, 07:46 PM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
well i'm doing a bit of work on my shammy over then next week, so lots of extra spells

I'll make a note of what my skill up were and the toll tip changes are might help with narrowing something down.

Though as you say it's scanning the spell book so it reading the spell tips shouldn't be a prob as the spell is still right. Might be worth looking into some way to relate the update to the spell id# rather then the spell name, might help with localization as I believe the spell id# is universal in all languages where as the names are local to the client country

a possible fix might be to completely refresh the bars after any changes are made (eg, leveling or changing spec) however I don't know if that's even possible to do with the api

Also I don't know what sort of load that might put on the addon if it refreshes to often, probs either slow down or memory load *shrug*

Testing data in a few days
Report comment to moderator  
Reply With Quote
Unread 06-01-09, 10:23 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
I have not yet. It's really a bizzare bug! The spells that it's placing on the tooltip are not even in the spells list, so, my only guess as of now is that it's messing something up when it scans the SpellBook. However, if the button already exists, it should do nothing at all, why it's recreating every button when it should not, I haven't the foggiest =p
Report comment to moderator  
Reply With Quote
Unread 06-01-09, 10:15 AM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
Originally posted by Dranwyr
Also, more shaman changes: as of 3.1 the shaman totems changed again, and require a modification. The third block should be updated as follows:

Code:
        {
            "Healing Stream Totem",
            "Fire Resistance Totem",
            "Mana Spring Totem",
            "Cleansing Totem",
            "Mana Tide Totem",
        },
Thank you again!
Hey Kneeki just a quick poke on the spell list again for your next update, I know I made this change but it hasn't made it into the release as yet.

Know you been busy with other code, just to let you know this is the only thing I can see that needs a tweak in the spells atm

You had any joys tracking the tooltip bug? It doesn't seem to be just on duel specs had it last night when I leveled and had a spell added to my bar. A little annoying but nothing a /reloadui doesn't fix
Report comment to moderator  
Reply With Quote
Unread 05-15-09, 08:14 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Originally posted by Nekoko
I know I've been slacking again, but atleast it gave you a chance to fix the BF issue for the release too

2 birds 1 stone I think
/agree, for sure
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 08:38 PM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
Originally posted by kneeki
Aw man, I'm sorry. You should let me know when something like this happens. For the most part, when I release any addon, the default settings is what I use on a day to day basis, and never really mess with them. The only reason I even create options, is for everyone other than myself

But, as an update. The issue is fixed. Now, to get ButtonFacade texture nonsense working correctly...
I know I've been slacking again, but atleast it gave you a chance to fix the BF issue for the release too

2 birds 1 stone I think
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 09:59 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Originally posted by Nekoko
btw it does the same with the vertical bar too, but i have just been living with it

going into the options every time to turn it off got annoying so i just left it
Aw man, I'm sorry. You should let me know when something like this happens. For the most part, when I release any addon, the default settings is what I use on a day to day basis, and never really mess with them. The only reason I even create options, is for everyone other than myself

But, as an update. The issue is fixed. Now, to get ButtonFacade texture nonsense working correctly...
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 08:23 AM  
Nekoko
A Defias Bandit

Forum posts: 2
File comments: 49
Uploads: 0
btw it does the same with the vertical bar too, but i have just been living with it

going into the options every time to turn it off got annoying so i just left it
Report comment to moderator  
Reply With Quote
Unread 05-14-09, 08:08 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
Re: Horizontal Bar won't stay away

Originally posted by wakeboarder141
I can't keep my horizontal bar disabled. I open the options menu, it is already disabled so when I hit OK, it disappears. As soon as I move/do anything, the bar pops back up. Please help!
Wha, really? Not quite sure how I missed this. I'll be releasing an update in the next day or two (being that I resolve the ButtonFacade issue) and it will also address this horizontal bar issue.
Report comment to moderator  
Reply With Quote
Unread 05-12-09, 10:21 PM  
wakeboarder141
A Kobold Labourer

Forum posts: 1
File comments: 7
Uploads: 0
That works, thanks.
Report comment to moderator  
Reply With Quote
Unread 05-12-09, 03:52 PM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
Re: Horizontal Bar won't stay away

Originally posted by wakeboarder141
I can't keep my horizontal bar disabled. I open the options menu, it is already disabled so when I hit OK, it disappears. As soon as I move/do anything, the bar pops back up. Please help!
A temporarily fix until this is fixed would be the following:

Go to \Interface\AddOns\ClassButtons\Spells.lua
And remove the spells that are on your horizontal bar; if you are a Warrior for example you change
Code:
    WARRIOR = {
        {
            "Battle Shout",
            "Commanding Shout",
            "Demoralizing Shout",
            "Intimidating Shout",
            "Challenging Shout",
        },
        {},
        {},
        {},
        {
			"Heroic Throw",
			"Shattering Throw",
		},
    },
into the following:
Code:
    WARRIOR = {
        {
            "Battle Shout",
            "Commanding Shout",
            "Demoralizing Shout",
            "Intimidating Shout",
            "Challenging Shout",
        },
        {},
        {},
        {},
        {},
    },
And then you wait for a 'real' fix by Kneeki!


s, Fonjask
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: