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 05:41 PM
Downloads:38,989
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 05:31 AM
5.1.0
10kB
Tuller
11-27-12 04:17 PM
5.0.0
10kB
Tuller
08-28-12 05:29 AM
4.3.1
11kB
Tuller
11-29-11 06:21 PM
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 05-27-13, 03:42 AM  
lynce
A Cyclonian

Forum posts: 40
File comments: 63
Uploads: 0
This has bothered me for some time now.

Code:
2x [ADDON_ACTION_BLOCKED] AddOn "tullaRange_Config" tried to call the protected function "CompactRaidFrame1:ClearAllPoints()".
!BugGrabber-r193-release\BugGrabber.lua:587: in function <!BugGrabber\BugGrabber.lua:587>
<in C code>
FrameXML\FlowContainer.lua:157: in function "FlowContainer_DoLayout"
FrameXML\FlowContainer.lua:17: in function "FlowContainer_ResumeUpdates"
Blizzard_CompactRaidFrameContainer.lua:185: in function "CompactRaidFrameContainer_LayoutFrames"
Blizzard_CompactRaidFrameContainer.lua:130: in function "CompactRaidFrameContainer_TryUpdate"
Blizzard_CompactRaidFrameContainer.lua:57: in function "CompactRaidFrameContainer_OnEvent"
<string>:"*:OnEvent":1: in function <string>:"*:OnEvent":1

Locals:
nil
I get different errors every time, but it always seems to be with FlowContainer or CompactRaidFrameContainer.

Ideas?
lynce is offline Report comment to moderator  
Reply With Quote
Old 04-18-13, 06:00 PM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1609
Uploads: 36
Originally Posted by itrulia
don't know why button:SetScript('OnUpdate', nil) is used. It crashes many addons and tullarange works without it
Since tullaRange actually completely replaces the functionality that's normally called by the OnUpdate handler on action buttons, I disable the script handler to improve performance.

What addons are crashing because of it?
Tuller is offline Report comment to moderator  
Reply With Quote
Old 04-18-13, 02:19 PM  
itrulia
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 3
Uploads: 1
don't know why button:SetScript('OnUpdate', nil) is used. It crashes many addons and tullarange works without it
itrulia is offline Report comment to moderator  
Reply With Quote
Old 10-14-12, 06:08 PM  
Pusikas
A Murloc Raider

Forum posts: 4
File comments: 133
Uploads: 0
Does not seem to check for Demonic Fury cost while in Metamorphosis. Does not color Soul Fire blue, even when I do not have the required 160 Demomic Fury.
Pusikas is offline Report comment to moderator  
Reply With Quote
Old 10-08-12, 12:44 PM  
xromania™
A Frostmaul Preserver
 
xromania™'s Avatar

Forum posts: 284
File comments: 191
Uploads: 0
this is not working for me for the new MOP skills , i have a mage, for example Living bomb, Frost bomb and more...... im bugged or for u guys didnt work too?
__________________
*sry my english
http://eu.battle.net/wow/en/characte...romania/simple
Last edited by xromania™ : 10-08-12 at 12:45 PM.
xromania™ is offline Report comment to moderator  
Reply With Quote
Old 08-30-12, 02:41 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1310
File comments: 3288
Uploads: 84
Just wanted to report. Tested it on MoP Beta and on WoW Patch 5.0.4.
No errors and working good.
__________________
| 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)
zork is offline Report comment to moderator  
Reply With Quote
Old 04-21-12, 02:49 PM  
Derpstar
A Kobold Labourer

Forum posts: 0
File comments: 6
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 Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1609
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: 50
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 Deviate Faerie Dragon

Forum posts: 19
File comments: 64
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 Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 84
File comments: 1609
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 Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 165
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 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
Post A Reply



Category Jump: