Download
(11 Kb)
Download
Updated: 11-29-11 06:21 PM
Pictures
File Info
Tested:Hour of Twilight 4.3
Updated:11-29-11 06:21 PM
Created:01-09-10 05:41 PM
Downloads:29,903
Favorites:436
MD5:
This AddOn is 4.3 compatible
tullaRange  Popular! (More than 5000 hits)
Version: 4.3.1
by: Tuller [More]
tullaRange is an addon that's main purpose is to make standard action buttons appear red when out of range. Colors for both the out of range indicator, and the out of mana/energy/rage indicator are customizable via the in game GUI.

Why use tullaRange over something like RedRange?
tullaRange is derived from RedRange. The main thing I do differently is that I replace each individual action button's OnUpdate handler with a single global one. The end result is that tullaRange uses less CPU than other implementations.
4.3.1
* Updated TOC for 4.3

4.3.0
* Bugfixes for WoW 4.3 (should be compatible with WoW 4.2)

4.2.0
* Updated TOC for 4.2

2.8
* Fixed a typo in the options menu that was causing errors.
* Fixed the TOC for the the config addon

2.7
* Updated TOC for 4.1
* Added a threshold slider for Holy Power highlighting

2.6
* Removed Holy power spells that only do linear scaling (Inquisition)

2.5
* Removed Holy power spells that only do linear scaling (Word of Glory, Light of Dawn)

2.4
* Added Light of Dawn to the holy power spell list; Removed Divine Storm

2.3
* Added Word of Glory to the list of holy power spells

2.2
* Added holy power detection (thanks to Avitus@wowi)

2.0
* Updated for WoW v4.0.1

1.5
* Fixed the problem where buttons would stop updating oor/oom status
* Added a few checks to make sure a button has an action with a range component when adding to the list of buttons to update. This will probably introduce a new version of the above issue, but probably only for macros :P

1.4
* Out of range coloring bugfix.

1.3
* Added a configuration interface.

1.2
* Fixed an error with flashing buttons.

1.1
* Initial release.
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Author
Date
4.3.0
11kB
Tuller
11-11-11 01:25 PM
4.2.0
11kB
Tuller
06-27-11 07:47 PM
2.8
10kB
Tuller
04-27-11 05:28 AM
2.7
11kB
Tuller
04-26-11 06:46 PM
2.6
10kB
Tuller
12-14-10 08:07 PM
2.5
9kB
Tuller
12-03-10 06:51 PM
2.4
9kB
Tuller
11-25-10 12:32 PM
2.3
9kB
Tuller
11-07-10 03:00 PM
2.2
9kB
Tuller
10-21-10 05:23 PM
2.0
7kB
Tuller
10-11-10 05:04 PM
1.5
7kB
Tuller
01-17-10 10:01 AM
1.4
7kB
Tuller
01-15-10 04:48 AM
1.3
7kB
Tuller
01-13-10 05:29 PM
1.2
2kB
Tuller
01-11-10 04:47 AM
1.1
2kB
Tuller
01-09-10 05:41 PM


Post A Reply Comment Options
Old 04-21-12, 02:49 PM  
Derpstar
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Error

Im also getting this error. Not sure why. But it seems to be destroying my fps on these fights. Im not sure though :s Only getting it past couple of resets however.
Derpstar is offline Report comment to moderator  
Reply With Quote
Old 12-21-11, 11:59 AM  
Lexdivina
A Kobold Labourer
 
Lexdivina's Avatar

Forum posts: 0
File comments: 1
Uploads: 0
Originally Posted by Tuller
What error message are you getting?
Hi, I've got the same problem on Ultraxxion and Madness of Deathwing.
Might be a bug with the " ExtraActionButton1 " in those encounters.

I'll try to copy/paste the bug message next time I'll go there.

BTW really nice addon, especially for Holy Power management :P

Code:
1490x tullaRange\tullaRange-2.8.lua:277: attempt to index local "nt" (a nil value)
tullaRange\tullaRange-2.8.lua:277: in function "SetButtonColor"
tullaRange\tullaRange-2.8.lua:251: in function "UpdateButtonUsable"
tullaRange\tullaRange-2.8.lua:227: in function <tullaRange\tullaRange.lua:225>
<in C code>
FrameXML\ActionButton.lua:517: in function "ActionButton_OnEvent"
FrameXML\ActionButton.lua:141: in function <FrameXML\ActionButton.lua:139>

Locals:
button = ExtraActionButton1 {
 0 = <userdata>
 feedback_action = 121
 action = 121
 buttonType = "EXTRAACTIONBUTTON"
 UpdateTooltip = <func> @FrameXML\ActionButton.lua:568
 flashing = 0
 eventsRegistered = true
 rangeTimer = -1
 style = <unnamed> {}
 tullaRangeColor = "normal"
 flashtime = 0
 isExtra = true
 cooldown = ExtraActionButton1Cooldown {}
 icon = ExtraActionButton1Icon {}
}
action = 121
isUsable = 1
notEnoughMana = nil
ActionButton_GetPagedID = <func> @FrameXML\ActionButton.lua:641
IsUsableAction = <func> =[C]:-1
IsActionInRange = <func> =[C]:-1
tullaRange = tullaRange {
 0 = <userdata>
 OnButtonUpdate = <func> @..\tullaRange.lua:230
 UpdateButtons = <func> @..\tullaRange.lua:180
 Active = <func> @..\tullaRange.lua:71
 PLAYER_LOGIN = <func> @..\tullaRange.lua:133
 OnButtonShow = <func> @..\tullaRange.lua:217
 Update = <func> @..\tullaRange.lua:160
 OnUpdateButtonUsable = <func> @..\tullaRange.lua:225
 buttonsToUpdate = <table> {}
 SetButtonColor = <func> @..\tullaRange.lua:267
 OnButtonHide = <func> @..\tullaRange.lua:221
 GetDefaults = <func> @..\tullaRange.lua:307
 SetColor = <func> @..\tullaRange.lua:324
 GetHolyPowerThreshold = <func> @..\tullaRange.lua:342
 RegisterButton = <func> @..\tullaRange.lua:209
 SetHolyPowerThreshold = <func> @..\tullaRange.lua:338
 GetColor = <func> @..\tullaRange.lua:333
 UpdateButton = <func> @..\tullaRange.lua:190
 UpdateButtonStatus = <func> @..\tullaRange.lua:195
 sets = <table> {}
 OnEvent = <func> @..\tullaRange.lua:124
 UpdateActive = <func> @..\tullaRange.lua:170
 UpdateFlash = <func> @..\tullaRange.lua:281
 ForceColorUpdate = <func> @..\tullaRange.lua:164
 Stop = <func> @..\tullaRange.lua:64
 UpdateButtonUsable = <func> @..\tullaRange.lua:237
 Start = <func> @..\tullaRange.lua:57
 PLAYER_LOGOUT = <func> @..\tullaRange.lua:153
 Load = <func> @..\tullaRange.lua:115
 Reset = <func> @..\tullaRange.lua:317
}
PLAYER_IS_PALADIN = true
isHolyPowerAbility = <func> @..\tullaRange.lua:92
SPELL_POWER_HOLY_POWER = 9
HAND_OF_LIGHT = "Dessein divin"
Last edited by Lexdivina : 01-09-12 at 01:16 PM.
Lexdivina is offline Report comment to moderator  
Reply With Quote
Old 12-17-11, 09:47 AM  
Tuller
A Cliff Giant
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 1535
Uploads: 36
What error message are you getting?
Tuller is offline Report comment to moderator  
Reply With Quote
Old 12-17-11, 07:19 AM  
kawe
A Murloc Raider

Forum posts: 7
File comments: 29
Uploads: 1
ultraxion

hi,

getting errors when in DS fight against ultraxion

gr
kawe is offline Report comment to moderator  
Reply With Quote
Old 12-06-11, 03:27 PM  
Nallepuh
A Murloc Raider

Forum posts: 9
File comments: 56
Uploads: 0
Color

Hi, LOVE the addon first of all!

Now to my question. Can you color the holy power as u gain holy power? You know 1 holy power you get little less blue 2 holy power almost not blue and 3 holy power usable, instead of you only see it when u have 3 holy power, kinda like Tukui uses for holy power thingy. I really hope you get the idea here!

/ Regards Winnethepoh
Nallepuh is offline Report comment to moderator  
Reply With Quote
Old 12-05-11, 02:21 AM  
asdf
A Murloc Raider

Forum posts: 9
File comments: 57
Uploads: 0
is there a way to make this work for mouseover buttons to show the red color for out of range too?
asdf is offline Report comment to moderator  
Reply With Quote
Old 09-10-11, 01:16 PM  
Tuller
A Cliff Giant
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 1535
Uploads: 36
That's more or less how I'd write the code :P

I do wonder if it would be possible to add in some sort of plugin architecture to allow people to do things like that more easily.
Tuller is offline Report comment to moderator  
Reply With Quote
Old 09-07-11, 02:19 PM  
Kesava
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 64
Uploads: 3
Not the best way of doing this I'm sure, but I've modified this to colour heroic strike and cleave as OOM when a warrior has below 60 rage. If anyone else likes the sound of that, here's the code.

Paste this below line 108.

Code:
local PLAYER_IS_WARRIOR = select(2, UnitClass('player')) == 'WARRIOR'
local isRageAbility
do
    local RAGE_SPELLS = {
        [78] = GetSpellInfo(78),
        [845] = GetSpellInfo(845)
    }
    
    isRageAbility = function(actionId)
        local actionType, id = GetActionInfo(actionId)
        if actionType == 'macro' then
            local macroSpell = GetMacroSpell(id)
            if macroSpell then
                for spellId, spellName in pairs(RAGE_SPELLS) do
                    if macroSpell == spellName then
                        return true
                    end
                end
            end
        else
            return RAGE_SPELLS[id]
        end
        return false
    end
end
Then find (ctrl+f) this line:
Code:
elseif PLAYER_IS_PALADIN and isHolyPowerAbility(action) and not(UnitPower('player', SPELL_POWER_HOLY_POWER) >= tullaRange:GetHolyPowerThreshold() or UnitBuff('player', HAND_OF_LIGHT)) then
And paste this above it, on its own line:
Code:
        --a rage ability and we're below the rage threshold
        elseif PLAYER_IS_WARRIOR and isRageAbility(action) and UnitPower('player') < 60 then
            tullaRange.SetButtonColor(button, 'oom')
Just a copy of your holy power segment without configuration really, but I was looking for something like this for a while. I've had this for some time but recently I overwrote it by accident so I thought I'd put it here this time.
Kesava is offline Report comment to moderator  
Reply With Quote
Old 04-01-11, 02:35 PM  
Nallepuh
A Murloc Raider

Forum posts: 9
File comments: 56
Uploads: 0
Originally posted by Tuller
Bartender4 actually builds in out or range coloring, using a relatively efficient algorithm to do so. I don't think you need tullaRange for it.
oh,im sorry but i like tullarange!
Last edited by Nallepuh : 04-01-11 at 02:35 PM.
Nallepuh is offline Report comment to moderator  
Reply With Quote
Old 03-23-11, 04:37 PM  
Tuller
A Cliff Giant
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 1535
Uploads: 36
Bartender4 actually builds in out or range coloring, using a relatively efficient algorithm to do so. I don't think you need tullaRange for it.
Tuller is offline Report comment to moderator  
Reply With Quote
Old 03-22-11, 08:44 AM  
Nallepuh
A Murloc Raider

Forum posts: 9
File comments: 56
Uploads: 0
Range

This mod dosent seems to work with bartender 4!!! can't change the colors or anything.....nothing happend,pls fix this!!
Nallepuh is offline Report comment to moderator  
Reply With Quote
Old 01-21-11, 02:28 AM  
Gumurak
A Kobold Labourer

Forum posts: 0
File comments: 16
Uploads: 0
Originally posted by Zenh
Holy Power handling seems odd, but maybe it's just my preference. I changed the code so any Holy Power ability is colored "OOH" if there's no Holy Power, instead of requiring 3 charges. I sometimes use abilities at one charge under dire situations (e.g. WoG or spamming LoD).
I have to agree with this, leveling a paladin with BOA gear on. Sometimes all you have is a single charge of holy power. And I keep skipping over it because the button is greyed out. In my personal opinion, drop it down to highlight if you have any. Or just don't include this option.

I was happy with this addon until I saw how it handled this. OOm is awesome, range check is awesome. Not having control over how you display your holy power is not awesome. At least at a slider to say, tell me when I have this many. if you are going to make it like a combo point check.
Gumurak is offline Report comment to moderator  
Reply With Quote
Old 01-12-11, 04:10 PM  
Seyss
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 112
Uploads: 2
The "not at max holy power" coloring is bugged. The button is being colored as OOM.

Please fix it
Seyss is offline Report comment to moderator  
Reply With Quote
Old 12-29-10, 11:19 PM  
Zenh
A Murloc Raider
 
Zenh's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 32
Uploads: 4
Holy Power handling seems odd, but maybe it's just my preference. I changed the code so any Holy Power ability is colored "OOH" if there's no Holy Power, instead of requiring 3 charges. I sometimes use abilities at one charge under dire situations (e.g. WoG or spamming LoD).
Zenh is offline Report comment to moderator  
Reply With Quote
Old 12-15-10, 08:06 AM  
Tuller
A Cliff Giant
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 70
File comments: 1535
Uploads: 36
The reason I avoid doing so is to avoid having to write custom code to handle each specific action bar addon (I don't even do that for Dominos :P)
Tuller is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: