Satrina Buff Frames 3

SBF has a maintainer!
I have to say, I am amazed by the number of people who just kept plugging along. It makes me feel bad that I do not have the time to keep working on this myself - you guys are all awesome! The good news is that a new maintainer has been found. Meet father0fnine, who is taking over SBF. I'm sure you'll all show him as much love as you showed me all these years

Version 3.1.25
+ "my" filters are fixed
+ Added support for thrown weapon poisons
+ Poisons, totems, etc. should not cause errors in filters anymore
+ Added "id" filter type
+ Spells tab works again
+ Added option in the spells tab to show/not show buffs by spellID
+ Added options in the global tab to show default buff frame and default enchant frame
+ SBFOptions will now make the background for names visible when configuring to help you not overlap the icons when positioning (which can cause clicks on icons to not register)

Version 3.1.24
- Sadly, clicking off of buffs is not fated to be at this time. Disabled for now

Version 3.1.23
+ Fix an error when tracking is enabled

Version 3.1.22
+ Added "id" filter for spell ID numbers
+ You should now be able to click off player buffs
+ Fixed problems with the colour picker
+ You can now remove/edit filters
+ You should be able to rename buff frames without error now
- You will not be able to click off temporary enchants or totems
- When you rename a buff frame, the old name will still appear in ButtonFacade's list until you reload UI or restart

Version 3.1.21
- Update for WoW 4.0
- The scale slider has finally been removed. Use the individual sizing mechanisms on the tabs, and set spacing between buffs on the layout tab
- Some performance tweaks courtesy of Yarlir@Area52
- You won't be able to click off buffs (same with pretty much all buff addons right now)

Version 3.1.20
- Fix an error for new users introduced by 3.1.19

Version 3.1.19
- Fixed an error between SBF and Parrot
- Increased maximum number of buff frames

Version 3.1.18
- Reworked temporary weapon enchants somewhat. They should work a lot better now
- Fixed a problem where ButtonFacade users could not rename frames
- Fixed an error during buff updates when fast bar is enabled (line 177)
- Some performance tweaks
- The SBF entry in the Interface panel now has a button to launch SBF options rather than just clicking on the name
- Fixed a bug where the tracking type icon would not update when the tracking type was changed

Version 3.1.17
- Hopefully fixed ButtonFacade problems

Version 3.1.16
- More work on castable filters
- Buff timers and bars should refresh correctly when first appearing in frames

Version 3.1.15
- Fix dumb error in 3.1.14

Version 3.1.14
- Fix for castable filter (that should fix up out my filters as well)
- Added option for icon opacity
- If you set a the height of a frame's bars to be greater than its width, the bar will automatically become vertical (experimental)
- Totems and weapon enchants should work correctly with my filters now

Version 3.1.13
- Player and vehicle buffs are now separated correctly (this fixes the stack count problem)
- Added a vehicle (v) filter for filtering your vehicle's effects
- Added an option on the General tab to have player blacklist buff frames show vehicle buffs when mounted
- The spellsteal (s) filter works correctly now.
- Added the player (player) filter that will filter effects cast by players
- Added the NPC (npc) filter that will filter effects cast by NPCs
- Added the party (party) filter that will filter effects cast by members of your party or raid
- You can now toggle buff names to show tooltips when hovered over
- Added frame visibility options for solo, party, raid, party or raid, friendly, and hostile
- Using !~ in filters (n!~xyz, tt!~abc) will now work correctly
- SBFOptions now has localisation for koKR (submitter did not give locale file for SBF itself)
- Some other small bug fixes

Version 3.1.12
* When SBF can determine the caster of an effect, it will put the name in the effect's tooltip
* The list on the Spells tab should populate correctly now
* The tt filter should function correctly now
* Fixed a condition where SBF would sometimes not be able to determine a border colour for ButtonFacade skinned icons and an error would occur

Version 3.1.11
* Fix errors when creating/removing frames

Version 3.1.10
* Fix that error with temporary enchantments

Version 3.1.9
* Fixed an error when checking castable status (SBFUtil line 86)

Version 3.1.8
* Fixed an error where size limited frames get the wrong buffs
* Some small fixes for ButtonFacade. Some skins will still not get border colours. I've sent a message to StormFX to see if there's something I am missing or if it's just an inconsistency with some BF skins
* Added the ability for users to add custom sounds for expiry warnings. See SatrinaBuffFrame/Media/SBFSounds.lua for directions
* When changing SBF profiles, the list of frames shown in ButtonFacade setup will update correctly

Version 3.1.7
3.1.7 is version bookkeeping to keep in sync with a massive fubar I had at Curse

Version 3.1.6
* Bars should no longer jump directly from 00:01 to 00:00
* Buff flows will no longer reset when you re-enter the options after setting them up
* Fixed an error that was occuring for new users and people converting from 3.0, preventing them from using SBF
* Buff icons changing from debuffs to buffs due to buff flowing should have their borders re-coloured correctly now
* You can now have SBF try to fix corrupted saved variables for the current character by using /sbf fix
* You can now reset the profile for the current character by using /sbf reset

Version 3.1.5
* TOC version has been updated for WoW 3.1 :rolleyes:
* SBF will no longer allow you to try and flow buffs for different units. (There's no way to make that work without a major code revamp)
* Buff and Name help in non-English localisations has been updated with the current English version. Translators will need to re-translate them
* ha filters should behave a little bit better now
* Vehicle buff frames will update and clear when you exit a vehicle
* Hopefully (hopefully!) the overextending bar thing is gone finally.
* SBF and SBFOptions now has an actual licence besides All Rights Reserved. Check out licence.txt in the zipfile, or read online: http://evilempireguild.org/SBF/licence.php

Version 3.1.4
* Code change for my filters to work correctly with WoW 3.1
* Added an option to reverse cooldown sweeps
* Flashing buffs should not go insane in combat
* You should be able to dismiss weapon enchants/poisons correctly now

Version 3.1.3
* Cases where the first buff in a frame cannot be clicked should be fixed for real now
* Shaman weapon imbues should not get moved into frames using the to filter any more
* Cooldown sweeps should not flicker in combat now
* Cooldown sweeps should not occasionally cause an error

Version 3.1.1
* Because it wouldn't be an SBF release without me forgetting something ridiculous, SBF will no longer say "hi" to you when you click on a buff
* Added vehicle to the list of units for buff frames on the general tab

Version 3.1.0
* Filters now work completely for any unit
* In addition to assigning a unit to each frame, each frame is designated as holding buffs or debuffs, and is designated as a whitelist or a blacklist
* Each frame now maintains its own filter list
* Filters now work with the whitelist or blacklist setting for the frame
* A dropdown allowing you to select from commonly used filters is now available
* The filter system has been simplified, read the SBF site for details
* Timers, counts, and names can now have their frame level adjusted (allows you to ensure that things appear on top of each other correctly)
* You can now name your buff frames, and the name appears in the drag tabs
* You can size buff icons
* You can set bar height
* Buff bars can show tooltips when hovered over, and can dismiss effects when right clicked
* Bars should not occasionally go insane when buffs are refreshed anymore
* Timers should always update in a timely manner in combat
* The filter evaluator has been rewritten for performance
* You can put a cooldown sweep (like on action bars) on buff icons
* Some other performance enhancements

Version 3.0.7
- Tweak to re-get buffs when a buff's time left reaches 0
- ButtonFacade settings saved in SBF's saved vars
- Tweak timer and bar updates
- Add new zhCN and zhTW locale files
- Account for multiple separate buffs with same name

Version 3.0.6
- Fix pets and other units coming and going

Version 3.0.5
- Fix for when party members leave so that buff frames clear correctly
- Add Name options trunc, chop, of
- Add zhCN and zhTW locales
- Add option to display N/A as time for auras
- Castables are stored separately by class now

Version 3.0.4
- Really fix the problem from 3.0.2

Version 3.0.3
- Fix error from 3.0.2 where frames are not regenerated when changing buff count

Version 3.0.1
- Fix an error when temp enchants reach 0 time
- Add time left on temp enchants to their tooltips

Version 3.0.0
- Add SBF button to Interface panel
- Fix so Sentry Totems are not destroyed when right clicked
- Fix so frames with out of combat visibility do not flash in combat
- Fix so flowed buffs actually use the expiry settings of their home frame
- Promote to release version

Beta 11
- ButtonFacade is still disabled
- Fix a couple of in your face problems from beta 10

Beta 10
- ButtonFacade is still disabled
- Added throttling to the event input to reduce unnecessary extra work when buffs are coming and going quickly
- Fixed an error where the Copy From dropdown never got updated
- Some general performance enhancements

Beta 9
- ButtonFacade is still disabled
- The auras have max time option should work correctly
- Time remaining filters should work now
- When a frame fills, it should correctly discard extra buffs
- Frame visiblity options Always, In Combat, Out of Combat, and Never are available again. Mouseover is currently removed.
- Random other fixes and tweaks

Beta 8
- Fix an error in SBFOptions when ButtonFacade is loaded

Beta 7
- Disabled ButtonFacade support for the time being
- Buff flashing when expiring fixed
- Mirror buffs should work correctly now
- New users should not have problems with profiles not being saved
- Some profiling fixes for performance

Beta 6
- The positioning window is hopefully now in a more obvious place
- Positioning window also has labels now!
- Profile stuff now works
- Fixed an error where you could sometimes only adjust positions of items in frame 1
- Increased the maximum scale to 3.0 times
- The spells tab works normally again for setting up show in frame/always warn (though filter diagnosis is broken currently)
- cyCircled support should be back again

Beta 2
- Added new timer formats
- Very early and basic work on sticky frames.
- Stability fixes

Beta 1
- Weapon enchants should work right now
- Totems should appear correctly now. Won't disappear when you go out of range, though
- A bit of fixing in the 2.x saved variables conversion
- You shouldn't see errors with ButtonFacade now

Beta 0 (fixed)
- Fixed load order in embeds.xml for people who have no other Ace3 addons

Hello there, I've been looking for a new buff mod for a little while now and yours looked interesting. Something with just the icons and time remaining is nice and compact. Now I'm not sure if this is even possible, but I thought that your addon may be the one to make it so. What I am looking for is the ability to filter buffs/debuffs into a multitude of bars. Something like ...

AddonLoader doesn't seem to be erroring out the options menu anymore, hurrah!

A couple new issues:

1. If I log in (or reload the UI) as a ghost, I see empty borders for every possible icon in any buff frame with an acrive aura. Generally this is the debuff frame, because the debuff Ghost is active, but if I have a flask on, the buff frame is also affected.

On a related note, why are you bypassing normal error handlers and sticking this in the chat frame? I normally use BugSack so I can easily copy and paste errors for reporting...

2. Buffs and debuffs with a total duration of less than my expiry warning time never show as expiring. For example, my paladin's Seals last for 30 seconds, and I have my expiry time set to 60 seconds with white expiring timer text and a flashing icon, so when I cast a Seal, the buff icon should immediately be flashing and have its timer text in white instead of gold. However, it doesn't flash, and has gold text. Buffs with a longer duration correctly turn their timer text white and flash when they reach less than 60 seconds remaining.

3. The expiring buff flash rate is hyperactively fast in the latest update. I'm not sure if this was an intended change or not, but I vastly prefer the old slower fading flash rather than this new hyper blink!

After some days using the addon without any problems, today each I started to get this error :
23:46:28 SBF: Error in ...terface\AddOns\SatrinaBuffFrame\SatrinaBuffFrame.lua (line 653) - attempt to index field 'db' (a nil value)

How it happens each time :
- I logg a toon with a profile and all set, and all is fine
- I log off and check a toon without any use of buffs, aka a mule bank, there is no problem
- I relog on my main toon and then the message pop up, showing me 2 emptys columns
- I need each time to quit the game and all is fine after that until I need to check a toon with a low level and no profil for that.

Hope it can help to find if I do something wrong or not )

Edit : this is happening with the version 2.8 Beta 12 - sorry will try tomorrow with the new version and post here

Originally posted by Satrina SCT is generic. SBF knows what one you are using though, so I could make it less ambiguous.

I shall check into the debuff flashing, thanks!
Edit: Seems to be working for me. Maybe double check the expiry settings on the frame? Note that a debuff that is 1 minute long will never flash if you have the minimum duration set to more than that.

Hey Satrina and thanks for responding so quickly... as usual. The debuff started at 30 seconds and counted down to 0 with no flashes. Does the debuff have to start like after 30 mins expiry or something to flash when it counts down? If it helps, I got the debuff flying over the horde camp in Zangarmarsh to check this (I'm Alliance for some wacky reason lol).

Edit: Read your comment again and think I understand it now... new meds may be bad I say! I"ll go back and check the min durations.

SCT is generic. SBF knows what one you are using though, so I could make it less ambiguous.

I shall check into the debuff flashing, thanks!
Edit: Seems to be working for me. Maybe double check the expiry settings on the frame? Note that a debuff that is 1 minute long will never flash if you have the minimum duration set to more than that.

I tried setting debuffs and weapons buffs up in their own frames to flash when close to expiry but it doesn't seem to work for me. I tested the weapon buffs and switched weapons out several times and that works great now. I was also wondering about the sending messages to sct option... is that just for Grayhoof's SCT or is that a generic term for any scrolling combat text mod?

Edit: the weapon enchant flashed and played the sound properly so it appears to only be an issue with debuffs. Oh and debuffs were on the 3rd frame with 2 rows of 5 each.

Hey Satrina... was just playing around with settings and wondering if there's a way to setup the bars to allow tracking changes like the minimap button does currently. Elk Buffbars will do it but I really like the customization options of this better. Sorry if I've overlooked something obvious and hope you're having a good day.

Hi, I'd like to request a few small features, but as I am new to your mod, I want to apologize if you already got these things requested a thousand times or they already are implemented into your addon and I just overlooked them. I also want to apologize for any bad English, as I im not natively speaking this language.

- I set the expiry warning to warn at 30 seconds, minimum duration to "all buffs" and activated icon-flashing, because I want the look and feel of my addons to be as close as possible to the original Blizzard ui. When my druid now casts rejuvenation on himself, which lasts for 12 seconds, the icon does not start to flash. When I set the "warn at" setting to 5 seconds, the icon of rejuvenation begins to flash when there are only 5 seconds left. Could you maybe add a check if the warning should be triggered right after the buff is cast and the icon appears in the bar?

- Could you please add an option not to hide the original Blizzard buff bar? I'm using your addon to keep the buff and debuff bars close to my character so I don't have to always keep an eye to the top right corner of the screen, but I set this bar to show no tooltip and disabled the right click in it so I don't accidently dismiss my buffs, so I would like to keep the original bar for these things. I know that you can set up bars that mirror other bars, but it seems to me that those bars always contain all buffs AND debuffs, which is not what I want, and it also is additional work to set them up, so it would be nice to be able to just keep the original. Also, it would be awesome if I could click-through your bars, but I think I already saw that feature on your to do list.

- Would it be possible to add a new type of timer format that is a mix of the mm:ss and the Blizzard style format, like displaying all buffs with a duration of more than one minute left like "15:24" and the ones with less than a minute left like "36 s"? It would also be nice if you could disable leading zeros in timer displays below ten minutes, like "9:20" instead of "09:20".

Originally posted by Satrina It works fine for my mage and warrior using sharpening stones and wizard oil, weird. If you can give a bit of detail on filters, what temporary enchant, etc., that will help me track it down. Thanks!

Hey Satrina... all I'm doing is filtering weapon enchants to bar 4 and testing with a fishing pole and bauble. I switch back to a 2 hander then back to the fishing pole and voila... no more enchant icon. I again went back to Buffalo to confirm and Buffalo still works so still doesn't seem like something on my end. Maybe it's a mod that SBF doesn't like or something. My current mods are as follows (I'm a stickler for keeping them updated):