Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(13 Kb)
Download
Updated: 09-16-13 04:42 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-16-13 04:42 AM
Created:01-18-11 06:13 PM
Downloads:8,006
Favorites:71
MD5:

rThreat  Popular! (More than 5000 hits)

Version: 50400.01
by: zork [More]


Intro

rThreat updated for World of Warcraft Mist of Pandaria.

A simple mod to display a stylish threat table. Check the config.lua for some config values.
The zip file contains two folders. rLib and rThreat. Put both into your AddOns folder.
Slash commands
Code:
/rthreat
/rthreat unlock
/rthreat lock
/rthreat reset
SVN
http://code.google.com/p/rothui/sour...wow5.0/rThreat


50400.01
- updated toc to 50400

50200.02
- major code review. complete overhaul.

50200.01
- updated for patch 5.2

50100.01
- updated for patch 5.1

50001.01
- updated for MoP patch 5.0.5

4.005
- updated toc for patch 4.2

4.004
- frame becomes visible once unlocked. status before unlock is saved and frame will return to that status once locked.

4.003
- updated toc for patch 4.1

4.002a
- added rcolors to the package to prevent the error message

4.002
- added option to mark the player bar in red color
- added option to hide frame out of party
- added option to hide title
- fixed frame movement
- added slash command "/rthreat" for more

4.001
- initial release
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Author
Date
50200.02a
13kB
zork
04-12-13 02:26 PM
50200.01
14kB
zork
03-04-13 05:48 PM
50100.01
14kB
zork
11-28-12 12:59 PM
50001.01
14kB
zork
09-21-12 01:48 PM
40300.01
11kB
zork
11-30-11 12:53 PM
4.005
11kB
zork
06-29-11 04:20 PM
4.004
11kB
zork
04-30-11 09:45 AM
4.003
11kB
zork
04-29-11 10:20 AM
4.002a
11kB
zork
01-20-11 05:13 PM
4.002
11kB
zork
01-19-11 02:40 PM
4.001
10kB
zork
01-18-11 06:13 PM


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

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

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

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

Forum posts: 662
File comments: 705
Uploads: 14
Yah! finally, an awsome threat meter! Maybe you chould add an options to remove the titlebar? Thanks!
Game92 is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| 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 : 01-19-11 at 06:30 AM.
zork is offline 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..
Lailend is offline 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
Gawain is offline 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: 1391
File comments: 3396
Uploads: 89
Yeah all this is in 4.002 included. Upload coming. Version is tested.

Added a slash command. Check /rthreat for more.
__________________
| 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 : 01-19-11 at 02:44 PM.
zork is offline 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: 376
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.
ballagarba is offline Report comment to moderator  
Reply With Quote
Unread 01-20-11, 11:07 AM  
Game92
A Molten Giant
 
Game92's Avatar
AddOn Author - Click to view AddOns

Forum posts: 662
File comments: 705
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)
Game92 is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| 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
Unread 01-20-11, 12:10 PM  
Rufio
A Murloc Raider
 
Rufio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 203
Uploads: 7
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
Rufio is offline 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: 1391
File comments: 3396
Uploads: 89
Same. rColors is not installed.
4.002a is there, it has rcolors in.
__________________
| 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 : 01-20-11 at 05:14 PM.
zork is offline 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
Ets is offline 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...
Ets is offline 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: 1391
File comments: 3396
Uploads: 89
Well you could use ToogleFrame("rThreatDragFrame") aswell. That even runs from a macro.

Code:
/run ToogleFrame("rThreatDragFrame")
__________________
| 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 : 01-27-11 at 05:34 PM.
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: