Download
(7Kb)
Download
Updated: 10-27-16 12:35 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Updated:10-27-16 12:35 PM
Created:01-18-11 06:13 PM
Downloads:11,561
Favorites:65
MD5:

rThreat  Popular! (More than 5000 hits)

Version: 710.20161027
by: zork [More]


Intro

rThreat will display a simple threat table.
Requires
rLib
Git
https://github.com/zorker/rothui/tre...wow7.0/rThreat

Optional Files (0)


Post A Reply Comment Options
Unread 01-18-11, 07:33 PM  
Lucar
A Defias Bandit
 
Lucar's Avatar

Forum posts: 2
File comments: 64
Uploads: 0
Fantastic !!!
Report comment to moderator  
Reply With Quote
Unread 01-18-11, 07:47 PM  
Kinless
A Defias Bandit

Forum posts: 2
File comments: 29
Uploads: 0
Geil!

Is there an rDPS in the works? Following similar style and simplicity?
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 02:01 AM  
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 784
File comments: 150
Uploads: 14
Yah! finally, an awsome threat meter! Maybe you chould add an options to remove the titlebar? Thanks!
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 02:19 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Currently the frame position does not get saved correctly gonna fix that in the next version. Bedtime prevented adding it in time.

Todo:
- make title frame optional
- option to display yourself in red color
- fix frame position stuff

Currently not sure about wiping the threat table at the end of a fight. I like the fact that the data is kept until the next combat begins.

@Kinless
No there is no rDPS. That is much more difficult and there are alot of mods doing quite well on that topic. I suggest "Numeration". http://www.wowinterface.com/download...mageMeter.html
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 01-19-11 at 06:30 AM.
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 09:12 AM  
Lailend
A Kobold Labourer

Forum posts: 0
File comments: 52
Uploads: 0
Great mod rlly like it. I have one little question though. I saw that we are able to mod the add-ons to only show in combat though im wondering is there also a in-game command which we could use to hide/show it? since I don't like fighting mobs with just my pet and then im bothered with a threat window..
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 10:33 AM  
Gawain
A Defias Bandit

Forum posts: 2
File comments: 12
Uploads: 0
Great work, Zork! Fits very well with Roth UI also!
Would be nice if you put and option to remove the title bar tho
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 02:38 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Yeah all this is in 4.002 included. Upload coming. Version is tested.

Added a slash command. Check /rthreat for more.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 01-19-11 at 02:44 PM.
Report comment to moderator  
Reply With Quote
Unread 01-19-11, 03:04 PM  
ballagarba
A Fallenroot Satyr
 
ballagarba's Avatar

Forum posts: 22
File comments: 472
Uploads: 0
Haven't really tried the addon yet, but the seemingly high threat values from your screenshots tipped me off, you might want to divide all threat values with 100 to line it up with other threat addons (the popular Omen for example), seems to be a common praxis. Might be confusing if someone claims they are 1 000 000 behind on threat, and another say 10 000. I believe it has something to do with bringing threat values to that of health, but couldn't be sure.

Otherwise, sweet work
Last edited by ballagarba : 01-19-11 at 04:26 PM.
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 11:07 AM  
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 784
File comments: 150
Uploads: 14
Just grabbed this error :x

Code:
Message: Interface\AddOns\rThreat\core.lua:115: attempt to index global 'rRAID_CLASS_COLORS' (a nil value)
Time: 01/20/11 18:06:33
Count: 4
Stack: Interface\AddOns\rThreat\core.lua:115: in function <Interface\AddOns\rThreat\core.lua:111>
Interface\AddOns\rThreat\core.lua:214: in function <Interface\AddOns\rThreat\core.lua:148>
Interface\AddOns\rThreat\core.lua:248: in function <Interface\AddOns\rThreat\core.lua:235>

Locals: unit = "player"
color = <table> {
 b = 1
 g = 0
 r = 1
}
_ = "Priest"
class = "PRIEST"
(*temporary) = nil
(*temporary) = "attempt to index global 'rRAID_CLASS_COLORS' (a nil value)
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 12:01 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is wierd because there is a
Code:
color = rRAID_CLASS_COLORS[class] or RAID_CLASS_COLORS[class]
condition. It should grad the second variable if the first one is nil.

Wierd. Temp fix is to install rColors from Roth UI or making the line
Code:
color = RAID_CLASS_COLORS[class]
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 12:10 PM  
Rufio
A Murloc Raider
 
Rufio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 289
Uploads: 5
Code:
[19:09:09] Interface\AddOns\rThreat\core.lua:115: attempt to index global 'rRAID_CLASS_COLORS' (a nil value)
[C]: ?
Interface\AddOns\rThreat\core.lua:115: in function <Interface\AddOns\rThreat\core.lua:111>
Interface\AddOns\rThreat\core.lua:214: in function <Interface\AddOns\rThreat\core.lua:148>
Interface\AddOns\rThreat\core.lua:248: in function <Interface\AddOns\rThreat\core.lua:235>
while doning arenas
Report comment to moderator  
Reply With Quote
Unread 01-20-11, 05:11 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Same. rColors is not installed.
4.002a is there, it has rcolors in.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 01-20-11 at 05:14 PM.
Report comment to moderator  
Reply With Quote
Unread 01-26-11, 05:11 PM  
Ets
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
I second the call for a /slash command that "toggles" the view.

I usually want a threat-meter for specific pulls or when a problem player shows up.

I like my screen as free as possible (one of the main reasons I love your UI so much) and being able to "summon/dismiss" things I only need once in a while is a big part of that.

In any case, thank you greatly for all your work.

Ets
Report comment to moderator  
Reply With Quote
Unread 01-27-11, 01:28 PM  
Ets
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Thinking I might be able to do it, I copy pasted your code and just "hacked" at it until it worked.

I have NO CLUE if this is acceptable code or if I'm forcing hundreds of useless calls or anything of the like, but for now, it works.

So to anyone wanting a /slash command to show/hide the threat meter :

in slashcmd.lua, change this part :
Code:
local function SlashCmd(cmd)    
    if (cmd:match"unlock") then
      rThreat_unlockFrames()
    elseif (cmd:match"lock") then
      rThreat_lockFrames()
    else
      print("|c00FFAA00rThreat command list:|r")
      print("|c00FFAA00\/rthreat lock|r, to lock")
      print("|c00FFAA00\/rthreat unlock|r, to unlock")
    end
  end
to :
Code:
function rThreat_Show()
    for _, v in pairs(rThreat_Frames) do
      local f = _G[v]
      f:Show()
    end
  end

function rThreat_Hide()
    for _, v in pairs(rThreat_Frames) do
      local f = _G[v]
      f:Hide()
    end
  end
  
  local function SlashCmd(cmd)    
    if (cmd:match"unlock") then
      rThreat_unlockFrames()
    elseif (cmd:match"lock") then
      rThreat_lockFrames()
    elseif (cmd:match"show") then
      rThreat_Show()
    elseif (cmd:match"hide") then
      rThreat_Hide()
    else
      print("|c00FFAA00rThreat command list:|r")
      print("|c00FFAA00\/rthreat lock|r, to lock")
      print("|c00FFAA00\/rthreat unlock|r, to unlock")
      print("|c00FFAA00\/rthreat show|r, to show")
      print("|c00FFAA00\/rthreat hide|r, to hide")
    end
  end
Here's hoping a better solution is brought forth soon, I feel weird having "my code" in there...
Report comment to moderator  
Reply With Quote
Unread 01-27-11, 05:33 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Well you could use ToogleFrame("rThreatDragFrame") aswell. That even runs from a macro.

Code:
/run ToogleFrame("rThreatDragFrame")
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 01-27-11 at 05:34 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: