Quantcast
Download
(7 Kb)
Download
Updated: 07-23-08 01:36 AM
Pictures
File Info
Updated:07-23-08 01:36 AM
Created:unknown
Downloads:3,432
Favorites:10
MD5:

Serious Buff Sort and Timers

Version: 1.1
by: whoaa [More]

**DISCLAIMER** im discontinuing this addon come wrath mainly caused i've replaced it with Elk's BuffBars which are superior. I really just made this to introduce myself to addon coding and being in the beta im working on making more advanced addons for wrath.

This still WORKS FOR 2.4.3 as of 8/26/08

The timers is in the screenshot and I can't really show off the sort function in a screenshot.

And if you are one of the few who used these originals which are Neroix's Serious BuffTimers and mergele's BuffSort. I give them credit because they had the idea first as well as some of the major coding =]. Neither addon had been updated in a while and I was getting an error so i decided to update and combine them. There is no slash commands for the timers(cause they're not needed) but they different commands for the sort are below.

The buffsort portion of this mod actually modifies the order in which buffs are returned, it should work for any mods that update the buff window.

This mod has been tested with the standard buff frame, CT_BuffMod, and Gypsy_BuffBar.

/buffsort name - sort buffs by name
/buffsort duration - sort buffs by duration
/buffsort asc - sort buffs in ascending order
/buffsort desc - sort buffs in descending order
/buffsort sort - resort buffs


Known Issues:

Refreshing an active buff could cause duration sorting to be incorrect. This is because buffs are only sorted when they change. A refresh just updates the duration, it doesn't actually change anything. Buffs will be properly resorted the next time a buff is added or removed, or you can manually resort them at any time using the 'sort' command.

If the buff sort order is changed, CT_BuffMod will spam you with warnings when a buff is about to expire. This appears to be a side effect of remapping the buff locations without moving the buttons. This will only happen once and only after the buff order is changed. Once the buff order is set, this will not happen with any new buffs.

If the buff sort order is changed while any buffs are about to expire, the Gypsy button fading for some buffs may get 'stuck'.

ChangeLog
-----------
V1.1
----
*removed /bs ***(not working atm)
*changed file names to fix the sort function

V1.0
----
*AddOn Created
Optional Files (0)


Post A Reply Comment Options
Unread 06-13-09, 05:09 AM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 265
Uploads: 2
Code:
BuffSort.lua, line 121: attempt to call global 'GetPlayerBuff_Orig' (a nil value)
Code:
BuffSort.lua, line 28: in function BuffSort_Init string:"*:OnEvent":1: in function <[string "*:OnEvent"]:1>
Code:
BuffSort.lua, line 64: in function 'BuffSort_DoSlash'
Code:
BuffSort.lua, line 10: in function '?'
Code:
Interface\FrameXML\Chatframe.lua, line 3332: in function <Interface\FrameXML\ChatFrame.lua:3285>: <in C code>: in function 'ChatEdit_ParseText'
Code:
Interface\FrameXML\Chatframe.lua, line 3052: in function <Interface\FrameXML\ChatFrame.lua:3051>: <in C code>: in function 'ChatEdit_SendText'
Code:
Interface\FrameXML\Chatframe.lua, line 3073: in function <Interface\FrameXML\ChatFrame.lua:3072>: <in C code>: in function 'ChatEdit_OnEnterPressed'
<string:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1>
When doing the slash commands and when loading

EDIT: And as an effect of this, they don't sort (not by name, nor duration, nor asc/desc, /buffsort sort doesn't help either)
__________________
~~~~~~~~~~~~
Last edited by Fonjask : 06-13-09 at 05:10 AM.
Report comment to moderator  
Reply With Quote
Unread 08-01-08, 11:38 AM  
whoaa
A Deviate Faerie Dragon
 
whoaa's Avatar
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 1
Uploads: 1
just as a note i started using CT_BuffMod again and i believe that CT_buffmod overrides the timer function
__________________
Life is not measured by
the number of breaths we take,
but by the moments
that take our breath away.
My Addons:
Serious Buff Sorter and Timer
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: