Download
(4 Kb)
Download
Updated: 07-14-10 02:32 AM
Pictures
File Info
Updated:07-14-10 02:32 AM
Created:12-10-09 10:38 AM
Downloads:3,348
Favorites:51
MD5:
Custom Consolidate Buffs
Version: 1.05
by: Vladinator [More]
Important announcement

Version 1.04 introduced new database system once again but this time it will be final. You have two ways to fix the errors while playing (because of the old database data):

Method A:
  1. Exit the game, install the latest addon version, start the game and enter the world.
  2. Paste this into the chat:
    Code:
    /run customConsolidate={}
  3. Add the auras you wish to force hide/show once again using /ccb commands.
Method B:
  1. Exit the game and install latest addon version.
  2. Go to ..\WoW\WTF\Account\<ACCNAME>\SavedVariables
  3. Delete "CustomConsolidateBuffs.lua"
  4. Start the game and play, add the auras using /ccb once more.

Custom Consolidate Buffs

A lightweight addon that allows you to specifically add or remove buffs that are being grouped in the "Consolidate Buffs" option.

Have you felt like you would prefer to see a specific buff rather than it being automatically consolidated? Have you felt that there is a buff you would preferably not see and would like to group it up with the rest of the consolidated buffs? Fear no more!

This is the addon you need. It's pretty simple to use, all based on slash commands too. The commands are as follows:

Code:
/ccb show <name>
/ccb hide <name>
/ccb delete <name>
/ccb print
Examples for hiding buffs that are not consolidated by default:
/ccb hide Haunted
This would make "Haunted" group up in the consolidation box.

/ccb delete Haunted
This would remove (undo what we did above) Haunted from preferences to keep it hidden. Thus it will rely on the default behavior for that buff.

Examples for showing buffs that are consolidated by default:
/ccb show Essence of Wintergrasp
This would show the "Essence of Wintergrasp" buff (by default it's "hidden")

/ccb delete Essence of Wintergrasp
This would undo what we did above, removing the buff from our custom "force visible" list so it will rely on the default behavior Blizzard implemented for that buff.

Short command versions:
Code:
/ccb s <name>
/ccb h <name>
/ccb d <name>
/ccb p
Same as above, only shorter command names.

Alternative for /ccb is /consolidatebuffs.
1.05:
+ Updated UnitAura to include rank parameter (added in 3.3.5 I believe).

1.04:
+ Improved performance even more. This should take much less CPU cycles in raids!
+ Removed old database check, this means you must delete the old SV file or reset the table to an empty one manually. Simply check front page for instructions, there are two ways of doing it. :)

1.03:
+ Added French and German but have not done a spell-check. Anyway the possibility to translate is there. :)
+ Added a microscopical "fix" that prevents errors if someone tries to add a empty buff name.

1.02:
+ No longer case sensitive.

1.01:
+ Changed how preferences are saved. This may cause instability (and it will for some people) thus the addon will try to load old data into the new style of storage. If it fails and you get errors from the addon, then simply (1) exit the game (2) go to ...\WoW\WTF\Account\<ACCNAME>\SavedVariables (3) delete the file "CustomConsolidateBuffs.lua" and there should be no more errors the next time you play.
+ Added localization support if people want to translate it to their own language.
+ Overall improved slash commands and how you show and hide buffs, much easier and faster to use!

1.00:
+ Initial release.
Optional Files (0)


Archived Files (5)
File Name
Version
Size
Author
Date
1.04
4kB
Vladinator
01-06-10 09:32 AM
1.03
4kB
Vladinator
12-17-09 01:30 PM
1.02
4kB
Vladinator
12-15-09 05:18 AM
1.01
3kB
Vladinator
12-12-09 06:17 AM
1.00
2kB
Vladinator
12-10-09 10:38 AM


Post A Reply Comment Options
Unread 01-09-10, 01:50 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Originally posted by Mikari
I run with taint logging enabled, the error in game was in the chat log that says "Interface action failed because of an AddOn" Is there not a way to use hooksecurefunc to prevent the taint causing problems?
Odd because when I use I don't get any "Interface action failed because of an AddOn" because of CCB, tried just now to taintlog and nothing happened (in combat). Do you use taintlog level 2 or 1? Level 2 logs all sort of taint, even when addon taints itself (funny :P)

UnitAura is probably returning more taint message in the log when you taintlog level 2, but even if I hook the AuraButton_Update func instead it would still generate entries in the taint.log file that the other func is tainted but still no "Interface action failed because of an AddOn" here.

I suggest if you could reproduce that error only using the CCB addon and describe how you can reproduce the error so I can try it and fix it.

(I tried to reproduce it myself by running more mods than CCB and I couldn't get it to happen. I assume you run a buff mod that use UnitAura and assume it's secure then try to do a secure action -bam it returns that message.)

Can't do much about that, /sadface.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 01-09-10, 10:13 AM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 111
Uploads: 3
Originally posted by Vladinator
Was this an error or debug notification of some sort? I myself don't see any errors while running the addon, I know UnitAura is tainted as it has to be in order to override the consolidate flags by the default function. This may be of another addon running, perhaps a buff related mod.

Sadly there is nothing we can do except me looking into hooking the BuffFrames functions itself but yet again I would just taint AuraButton_Update or some of it's functions so this taint warning would show up anyway.
I run with taint logging enabled, the error in game was in the chat log that says "Interface action failed because of an AddOn" Is there not a way to use hooksecurefunc to prevent the taint causing problems?
Mikari is offline Report comment to moderator  
Reply With Quote
Unread 01-09-10, 09:32 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Originally posted by Mikari
Received the following today whilst running Oculus.

Code:
1/9 14:39:56.731  Global variable UnitAura tainted by CustomConsolidateBuffs - Interface\AddOns\CustomConsolidateBuffs\core.lua:97
1/9 14:39:56.731  Execution tainted by CustomConsolidateBuffs while reading UnitAura - Interface\FrameXML\BuffFrame.lua:125 AuraButton_Update()
Was this an error or debug notification of some sort? I myself don't see any errors while running the addon, I know UnitAura is tainted as it has to be in order to override the consolidate flags by the default function. This may be of another addon running, perhaps a buff related mod.

Sadly there is nothing we can do except me looking into hooking the BuffFrames functions itself but yet again I would just taint AuraButton_Update or some of it's functions so this taint warning would show up anyway.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 01-09-10, 08:47 AM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 111
Uploads: 3
Received the following today whilst running Oculus.

Code:
1/9 14:39:56.731  Global variable UnitAura tainted by CustomConsolidateBuffs - Interface\AddOns\CustomConsolidateBuffs\core.lua:97
1/9 14:39:56.731  Execution tainted by CustomConsolidateBuffs while reading UnitAura - Interface\FrameXML\BuffFrame.lua:125 AuraButton_Update()
Mikari is offline Report comment to moderator  
Reply With Quote
Unread 01-08-10, 09:49 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Originally posted by Mikari
Just posting to let you know that performance is much better with version 1.04. Thank you.
No problem! Just curious if you do a CPU profiling while in a 25 man raid (I am unable to attend those at the moment you see), how is it now compared to before? I suspect it should be on the bottom now.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 01-07-10, 05:29 PM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 111
Uploads: 3
Just posting to let you know that performance is much better with version 1.04. Thank you.
Mikari is offline Report comment to moderator  
Reply With Quote
Unread 01-06-10, 08:50 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Announcement: check front page news for guide how to get rid of errors in version 1.04 (it is not backward compatible in order to improve performance to the max!).

Originally posted by Mikari
Noticed in 25 man raids when using this addon that it reduces my fps a lot, dropping me down to 15 or so fps, this doesn't occur with the addon disabled. Using the CPU profiler this addon tends to be the addon using the most CPU.
Thanks for the report. I'll look into it and try improve performance.

*Edit*

Fixed performance by using aura names as table key instead having to run trough the whole table each time a buff ticks. Now it just directly extract the buff state (0/1) if any or nil if no preference. This should be much better, removed the old "check if database is old" and with this fix everyone must manually delete their SV file or they will get errors (or it simply won't work).

Thanks for the handy report Mikari!
Last edited by Vlad : 01-06-10 at 09:27 AM.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 01-06-10, 08:06 AM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 111
Uploads: 3
Noticed in 25 man raids when using this addon that it reduces my fps a lot, dropping me down to 15 or so fps, this doesn't occur with the addon disabled. Using the CPU profiler this addon tends to be the addon using the most CPU.
Mikari is offline Report comment to moderator  
Reply With Quote
Unread 12-17-09, 01:32 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Originally posted by Mikari
version 1.02 doesn't work and spams a ton of lua errors on login.
I assume you used the first version (1.00) and I did a major database change at 1.01 that made it produce errors like this. Try to go to your WoW folder and to ...\WoW\WTF\Account\namehere\SavedVariables\CustomConsolidateBuffs.lua and delete that file. You would have to now add the buffs again but the errors should be gone.

If it still does not work try to paste the error(s) here so I can take a look on it/them.
Last edited by Vlad : 12-17-09 at 01:33 PM.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 12-17-09, 12:32 PM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 111
Uploads: 3
version 1.02 doesn't work and spams a ton of lua errors on login.
Mikari is offline Report comment to moderator  
Reply With Quote
Unread 12-15-09, 05:14 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Re: Case Sensitive

Originally posted by Catharsys
Would it be possible to remove case sensitivity to the command lines?
Currently
/ccb h Essence of Wintergrasp
doesn't equal
/ccb h essence of wintergrasp
Yes I have been thinking about that. Done!
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 12-15-09, 02:52 AM  
Catharsys
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Case Sensitive

Would it be possible to remove case sensitivity to the command lines?
Currently
/ccb h Essence of Wintergrasp
doesn't equal
/ccb h essence of wintergrasp
Last edited by Catharsys : 12-15-09 at 02:53 AM.
Catharsys is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: