Download
(56Kb)
Download
Updated: 06-24-09 03:12 PM
Pictures
File Info
Updated:06-24-09 03:12 PM
Created:05-19-09 05:05 PM
Downloads:6,053
Favorites:55
MD5:

lolThreat  Popular! (More than 5000 hits)

Version: 1.1.4b
by: Lolzen [More]

Overview
This Addon puts a Simple text on your screen, giving information about your current threat, of your target.

What does it show me?
At first the threat you have on your target. In percent.
There will be additional information shown next to your threat. It can be following:

notable Changes
As my code changed a bit, the value in tank mode can go up 100% too
Healer Mode is automically activated, when targeting a friendly player fighting a mob

[Tank Mode]
11% Get Aggro! >> Very low on Threat, mob Attacking another player
78% Get Aggro! >> High threat, but still not as high as the mob's target
85% Low on Threat! >> You should get your Aggro Back!
100% Safe Tanking >> You're tanking safe.

[Damage Mode]
21% Safe Damage >> Your threat is on a good level, proceed doing Damage.
76% High Threat! >> Be careful.
89% DAMAGE STOP >> Stop your Damage.
94% DAMAGE STOP >> Stop your Damage.

[Heal Mode]
21% Safe Threat >> No harm.
76% High Threat! >> Be careful.
80% You have AGGRO >> You have Aggro.
99% You have AGGRO >> You have Aggro.


Remind, that this Addon is very simpleminded and does not give any other information than mentioned above.

Tank Mode
Q:What is this, how do i activate?
A:lolThreat checks for a Stance or a Buff related to Tanking (Bearform, Righteous Fury...) and automatically switches to Tanking mode until the Buff is expired, cancelled or the Stance is switched.

Heal Mode
Q:What is this, how do i activate?
A:Whenever you target a friendly player who is in combat with a mob, you'll see the threat of that mob YOU have.

Configuration
Slashcommands:

Code:
/lt 
/lolthreat
to toggle testmode

1.14b
*Forgot to change debugging "Settings" back to default; with 1.1.4 the threat will be shown regardless if you're solo or in a grp/raid^^

1.1.4
*Optimized code
*Added textline showing current mode
*Made TButton unclickable until testmode is activated
*Added healer Mode (target a friendly unit, fighting a mob)

1.1.3
*Added SlashCommands /lt tm & /lolthreat tm for toggling testmode
*there is no more need of editing the lua now

1.1.2
*Fixed Tankmode, should work now properly (feedback please =) )

1.1.1b
*Fixed Typo ;O

1.1.1
*Made Button throughclickable when testmode = 0

1.1
*Added Tankmode

1.0.2
*Added testmode (activate in lua)
*Made Frame movable (alt + click)

1.0.1
Shows only up when in Group, Raid, or have an active Pet

1.0
Initial Release
Post A Reply Comment Options
Unread 05-28-09, 06:51 PM  
Zimran
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 11
File comments: 17
Uploads: 11
This is a great mod, thanks for sharing. However, I've been having a bit of trouble with it in that when I tank on my warrior it seems to switch between tanking and dps mode.

I start the fight and get the "Safe Tanking" message but soon after this switches to "DAMAGE STOP". I'm not sure why this is happening, I'm not changing stances or anything that I can think of to cause this.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 08:27 AM  
Chrome67
A Murloc Raider
 
Chrome67's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 52
Uploads: 8
Great job Lolzen...

and I totally agree with Syrupk, it's his mod, please stop rudely requesting things as "must have" and "unacceptable without", this just isn't proper.

Skylinee, the solution to your desired state is to make the changes I posted earlier in the "hack" msg. This will give you a movable and slightly visible frame, not clickthru, with no text. Just leave it in testmode when done, like I do. You'll have to make these changes on each update, but I think deleting 2 words and changing a 0 to a 1 is pretty simple to achieve what you desire.

All and all I think everyone should just thank Lolzen for sharing his mod with us and the effort he's put into it.
Report comment to moderator  
Reply With Quote
Unread 05-28-09, 08:17 AM  
syrupk
A Cliff Giant
 
syrupk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 71
File comments: 199
Uploads: 1
Everyone who is posting comments needs to remember something. This is HIS personal mod. He uploaded it because I, and I'm sure other people requested it after we saw it on wowace. He's not going to implement things he doesn't use and you should stop asking him too. If you want to add something, please learn how or use another mod.

This problem is one of the reasons we don't have alot of Neal's wonderful mods anymore and why Caith didn't upload his UI for a long time. People are too pushy. Don't expect him to add every single little thing you want.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 04:55 PM  
Azande
A Defias Bandit

Forum posts: 2
File comments: 33
Uploads: 0
Thanks for this, used it in raid tonight and works great.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 03:19 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Originally posted by Zidomo
It still does not eliminate the issue of losing collected raid data from a few mods like InstanceTime, StatBlock RaidDPS and so on when being forced to relog, which is unacceptable.[/b]
If it is unacceptable for you, you might considering solving that problem, so it doesn't bother you anymore?
Why is it necessary to disable "Testmode" in the lua file after finishing positioning? Doesn't that defeat the purpose of what people are asking for? You still have to relog/exit for the disabling of "Testmode" to take effect .
Well. The thing is that: Instead of editing the numbers, save the lua-file, and you have to type /console reloadui every time, you just need to edit the lua 2 Times with just changing a number from 0-1 or 1-0. Then you know the exact position you threw it, instead of guessing. Thats the purpose.
But if it's too messy for you, you might add slash commands to your threat.lua

I, for myself can live with the default position and didn't need testmode either.

How am i supposed to move the frame when it's clickthrough? :/ Lets say i'm raiding and want to move it to another spot, i need to exit the game, make Lua changes, log in, move it, log out again and re-do the lua changes. But too much i think.
I really don't see a point in changing the position everytime. Search a fix position where no other mod overlaps the text and problem solved. imo.

Also, i doubt anyone would accidentaly move it as you need to hold alt to move it anyway. I don't see the purpose of making it clickthrough. Thanks for the mod anyway though, i can stick with an older version for now.
It is clickthrough, because if you don't see it (OOC), and want to move your camera, accidentily click on the button, it's nerving.

the solution is deleting
Code:
TButton:EnableMouse(testmode == 1)
at line 61. No need to reup.

---------
If it is bothering enouh people i can make this an option? Also it when seems silly to me oO
Last edited by Lolzen : 05-27-09 at 05:06 PM.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 01:25 PM  
Skylinee
A Murloc Raider

Forum posts: 5
File comments: 371
Uploads: 0
How am i supposed to move the frame when it's clickthrough? :/ Lets say i'm raiding and want to move it to another spot, i need to exit the game, make Lua changes, log in, move it, log out again and re-do the lua changes. But too much i think.

Also, i doubt anyone would accidentaly move it as you need to hold alt to move it anyway. I don't see the purpose of making it clickthrough. Thanks for the mod anyway though, i can stick with an older version for now.


Edit: Please upload version 1.1 to the archive, currently there's only version 1.1.1 there.
Last edited by Skylinee : 05-27-09 at 01:30 PM.
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 12:55 PM  
Zidomo
A Cliff Giant
 
Zidomo's Avatar

Forum posts: 76
File comments: 1046
Uploads: 0
Originally posted by Attro
As far as logging out and back in... you don't need to. Just type:

/console reloadui

And the updated Lua file will take affect.
Heh. Both using /console reloadui or logging out to the character screen and coming back have the identical effect. But the majority of addons I've tested won't properly register updates done to LUA code while logged into WoW without completely exiting WoW and coming back. If this one does by just relogging, though, fine.

It still does not eliminate the issue of losing collected raid data from a few mods like InstanceTime, StatBlock RaidDPS and so on when being forced to relog, which is unacceptable.

Originally posted by Lolzen
Anyways, i added a "Testmode" (activate in the config section, in the lua file) where you can, if activated, drag the frame around with alt + click.

Just don't forget to disable testmode when finished positioning.
Why is it necessary to disable "Testmode" in the lua file after finishing positioning? Doesn't that defeat the purpose of what people are asking for? You still have to relog/exit for the disabling of "Testmode" to take effect .
Report comment to moderator  
Reply With Quote
Unread 05-27-09, 04:06 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Thanks for the hint =)

Sorry to say, but i like it how it is now :P I for myself didn't needed the Frame to be Dragable, but well^^ Tried to be a bit more Userfriendly.

But you are free to modify this mod in any ways you want

/Edit: horrible english ~.~
Last edited by Lolzen : 05-27-09 at 04:07 AM.
Report comment to moderator  
Reply With Quote
Unread 05-26-09, 04:35 PM  
Chrome67
A Murloc Raider
 
Chrome67's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 52
Uploads: 8
Typo in line 141...

Code:
"|cffff0000DAMAGE DTOP|r")
I imagine it should be "STOP" not "DTOP"

just lookin out for ya!
Last edited by Chrome67 : 05-26-09 at 04:41 PM.
Report comment to moderator  
Reply With Quote
Unread 05-26-09, 04:28 PM  
Chrome67
A Murloc Raider
 
Chrome67's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 52
Uploads: 8
Positioning hack...

Just a quick hack I made to the lua to make repositioning a bit easier...
set

Code:
testmode = 1
and at the very end of the script changed the move text (so I didn't have to see it constantly too) ...

@ line 145
Code:
	elseif testmode == 1 then
		TFont:SetText(" ")
	else
		TFont:SetText(" ")
	end
end)
this gave me an opaque yet visible frame that I could then move w/ alt-click anywhere on the screen. The level of opacity is not obtrusive to the overall look of my screen, so I figured I'd leave it as is. This might be a good default setting with a hover over tool tip that says how to move the frame.

Just an idea...I know it will change upon update

Oh, and thanks...works great! (especially for hunters soloing and not wanting to pull aggro off their pets)
Last edited by Chrome67 : 05-26-09 at 04:42 PM.
Report comment to moderator  
Reply With Quote
Unread 05-26-09, 12:25 PM  
Chiril
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 27
Uploads: 5
Looks really nice, gonna test it tommorow
Report comment to moderator  
Reply With Quote
Unread 05-26-09, 10:40 AM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Originally posted by rza
Hi

First nice and simple mod

one question

can you make the frame locked and/or click-throughable?

rza
Yeah this bugged me too yesterday, i just thought i might add another feature before uploading this, but well... i didn't thought of any, and well.. update pending right now
Report comment to moderator  
Reply With Quote
Unread 05-26-09, 10:26 AM  
rza
A Defias Bandit

Forum posts: 3
File comments: 55
Uploads: 0
Hi

First nice and simple mod

one question

can you make the frame locked and/or click-throughable?

rza
Report comment to moderator  
Reply With Quote
Unread 05-24-09, 12:17 PM  
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 167
Uploads: 12
Well, i didn#t think about positioning in the first place, rather showing up not in a Group would be silly.
Anyways, i added a "Testmode" (activate in the config section, in the lua file) where you can, if activated, drag the frame around with alt + click.

Just don't forget to disable testmode when finished positioning.
Report comment to moderator  
Reply With Quote
Unread 05-20-09, 04:30 PM  
Attro
A Murloc Raider

Forum posts: 6
File comments: 25
Uploads: 0
This one is tricky to move/relocate... not because you have to edit the Lua file, but because you have to have someone else (or a pet) doing dmg to your target for the threat meter to show up.

As far as logging out and back in... you don't need to. Just type:

/console reloadui

And the updated Lua file will take affect.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: