Download
(10 Kb)
Download
Updated: 10-03-13 05:08 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:10-03-13 05:08 PM
Created:01-09-10 06:41 PM
Downloads:39,283
Favorites:489
MD5:
5.4
tullaRange  Popular! (More than 5000 hits)
Version: 5.4.0
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.
5.4.0
* Fixed issues that would cause the menu to not show up properly
* TOC bump for WoW 5.4

5.3.0
* TOC bump for WoW 5.3

5.2.0
* Updated TOC for 5.2

5.1.0
* Updated TOC for 5.1

5.0.0
* Updated TOC for 5.0
* Dropped holy power highlighting (for now)

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 (20)
File Name
Version
Size
Author
Date
5.3.0
10kB
Tuller
05-22-13 05:11 PM
5.2.0
10kB
Tuller
03-05-13 06:31 AM
5.1.0
10kB
Tuller
11-27-12 05:17 PM
5.0.0
10kB
Tuller
08-28-12 05:29 AM
4.3.1
11kB
Tuller
11-29-11 07:21 PM
4.3.0
11kB
Tuller
11-11-11 02: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 09:07 PM
2.5
9kB
Tuller
12-03-10 07:51 PM
2.4
9kB
Tuller
11-25-10 01:32 PM
2.3
9kB
Tuller
11-07-10 04: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 11:01 AM
1.4
7kB
Tuller
01-15-10 05:48 AM
1.3
7kB
Tuller
01-13-10 06:29 PM
1.2
2kB
Tuller
01-11-10 05:47 AM
1.1
2kB
Tuller
01-09-10 06:41 PM


Post A Reply Comment Options
Unread 09-10-11, 01:16 PM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1622
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
Unread 09-07-11, 02:19 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
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
Unread 04-01-11, 02:35 PM  
Nallepuh
A Deviate Faerie Dragon

Forum posts: 19
File comments: 64
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
Unread 03-23-11, 04:37 PM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1622
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
Unread 03-22-11, 08:44 AM  
Nallepuh
A Deviate Faerie Dragon

Forum posts: 19
File comments: 64
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
Unread 01-21-11, 03: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
Unread 01-12-11, 05:10 PM  
Seyss
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 123
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
Unread 12-30-10, 12:19 AM  
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
Unread 12-15-10, 09:06 AM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1622
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
Unread 12-15-10, 05:05 AM  
Paprika
A Black Drake

Forum posts: 86
File comments: 29
Uploads: 0
It was just a request, nothing else . If Spellflash managed to provide Button Forge support i thought you, as an experienced author, could accomplish the same. I see that I was wrong, sorry that i have bothered you.

PS: Why do you think i asked in the first place? Because it isn't a standard action button addon and i love TullaRange for what it does

Originally posted by Tuller
No, since buttonForge isn't a standard action button addon.
Last edited by Paprika : 12-15-10 at 05:13 AM.
Paprika is offline Report comment to moderator  
Reply With Quote
Unread 12-14-10, 09:12 PM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1622
Uploads: 36
No, since buttonForge isn't a standard action button addon.
Tuller is offline Report comment to moderator  
Reply With Quote
Unread 12-11-10, 02:57 AM  
Paprika
A Black Drake

Forum posts: 86
File comments: 29
Uploads: 0
Could you please add Button-Forge-support?
Paprika is offline Report comment to moderator  
Reply With Quote
Unread 12-04-10, 01:56 PM  
Nevrah
A Kobold Labourer

Forum posts: 0
File comments: 21
Uploads: 0
Not sure why it does this, but Invisibility Potions that are placed on the actionbars are "blue'd" out like they're /oom.
Nevrah is offline Report comment to moderator  
Reply With Quote
Unread 12-01-10, 06:11 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1351
File comments: 3322
Uploads: 86
Tuller I'm using tullaRange 2.0 in Roth UI btw. Some reported broken SavedVariables (from older versions pre 2.0) caused freezes. Once that file got cleaned the problem was gone.

But the freeze may aswell be caused by rActionButtonStyler. I have a function in there that hooks the SetVertexColor of the normaltexture and will call itself everytime that is called with color 1,1,1 (plain white).

I have no issues at all with the mod. Updating the mod aswell as deleting the old savedvariable both fixes the problem.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-01-10 at 06:18 PM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-28-10, 06:28 PM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1622
Uploads: 36
And what happens if you use the latest version that I provide?
Tuller is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: