Download
(4Kb)
Download
Updated: 12-03-08 03:31 AM
Pictures
File Info
Updated:12-03-08 03:31 AM
Created:unknown
Downloads:3,376
Favorites:18
MD5:

ScudThreat

Version: 1.4.7
by: Scudmarx [More]

A very minimal threat display.

Will not display if you have no threat on your target or if you are tanking with a clear threat lead.

If you are tanking but there is a danger of losing aggro, it will warn you. If you aren't tanking it will display your threat as a percentage of the amount needed to pull aggro, and will warn you if you are getting close to this.

Will display where you stand in relation to the main tanks' threat.

ScudLight can be used as a LoadManager for this AddOn.



--- This bit's quite technical ---


You can use this to display anybody in relation to you, not just the MTs.

To do this, use the slash command /scudthreatfunc <function>

This will cause you to display anybody in your group for whom <function> returns true. You can call the unit's name as a variable 'a'. Here are some examples:

Code:
/scudthreatfunc return true;
Will let everybody appear on your list.

Code:
/scudthreatfunc return UnitClass(a) == "Rogue";
Will display all rogues.

You can reset this to the default (Main Tanks) by leaving <function> blank. Also, note that only the highest 5 people will ever be displayed (not including yourself).

Please be careful with this functionality. It runs this function fairly often; on your head be it if you get error-spammed .

When you use this, it will highlight players who match a second test. By default, it highlights players who are not MTs. So if you were to use the 'return true;' test above, you would be able to see who on your display is meant to be there and who isn't. You can use
Code:
/scudthreathlfunc <function>
to change the highlight test, and again leave it blank to reset to default (not a Main Tank). It works just the same as the previous one.

1.4.7 - Fixed a bug that would spam "'Unknown' is not in your party." errors. Added highlighting functionality.

1.4.6 - Fixed a bug where players were displayed out of threat order. Prettied up the options menu a bit.

1.4.5 - Fixed another bug (the same one really) with the sort function.

1.4.4 - Fixed a bug with the sort function.

1.4.3 - Altered display logic again. Fixes minor bug resulting from unexpected Blizz functionality.

1.4.2 - Included calls to null functions 'ScudThreat_IterateCallPre(i)' and 'ScudThreat_IterateCallPost(i)' either side of updating ScudThreat.ThreatTable[i].

1.4.1 - Fixed the check for whether to display anything.

1.4.0 - Reworked a bunch of code. Allowed the Main Tanks function to be customised.

1.3.8 - 'Default' button correctly resets the frame's location. Silly me.

1.3.7 - Primary Threat pointer is now a sexy icon.

1.3.6 - Text size now configurable. ('version b' of this repretties something I uglified)

1.3.5 - Main Tanks display is improved another little.

1.3.4 - Main Tanks display is improved a little.

1.3.2 - Displaying Main Tanks is now optional, defaulting on.

1.3.0 - Now detects Main Tanks and displays your standing in relation to them.

1.2.1 - Now says xx% instead of just xx. True story.

1.2.0 - Frame movable via blizzard options menu.

1.1.0 - More helpful whilst tanking, better warning thresholds when not, and takes even less memory.
Optional Files (0)


Post A Reply Comment Options
Unread 11-05-08, 09:53 AM  
tralkar
An Onyxian Warder
 
tralkar's Avatar

Forum posts: 352
File comments: 215
Uploads: 0
Ok, after clearing of my hard drive and reistalling the game. The only addon i installed was Scudthreat. went too the same place with the 70-72 mobs where "daily quests" The same error popped up.?. So now what i have to do is turn off the addon when doing these quests. Only way to stop this from happening... I'm going to a friends house to try this and see if it happens there too..
Report comment to moderator  
Reply With Quote
Unread 11-03-08, 11:22 AM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Originally posted by tralkar
OK, i do under stand where your coming from but I did delete my WTF folder twice. I allso did a seach for this threat on my computer and still come up blank. But when i disabled this addon, I didnt get the message?
I'm not blaming your addon for doing this, I'm just confused to why its happening.. If i can't find out I'm going to have to reistall the game and hope this fixes it?
Keep me posted if you find anything out. I can't really be more helpful at the moment, my apologies.
Report comment to moderator  
Reply With Quote
Unread 11-03-08, 08:58 AM  
tralkar
An Onyxian Warder
 
tralkar's Avatar

Forum posts: 352
File comments: 215
Uploads: 0
Originally posted by Scudmarx
If you can get me the error message that's firing from my AddOn, I'll see what I can do. What you posted before is part of an error firing from a frame called "Threatening", which I have nothing to do with. If that AddOn is really not on then it must have tainted your UI when it was, and you may wish to clear your WTF folder. But I'd make triple sure it's fully deleted from your AddOns folder first 'cos it seems more likely that it has turned back on.



OK, i do under stand where your coming from but I did delete my WTF folder twice. I allso did a seach for this threat on my computer and still come up blank. But when i disabled this addon, I didnt get the message?
I'm not blaming your addon for doing this, I'm just confused to why its happening.. If i can't find out I'm going to have to reistall the game and hope this fixes it?
Report comment to moderator  
Reply With Quote
Unread 11-02-08, 03:55 AM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Originally posted by tralkar
I tryed that one back then but since that time i have only yours.. It only happening on high lvl mobs 70 to 72. Didn't try any higher yet.
If you can get me the error message that's firing from my AddOn, I'll see what I can do. What you posted before is part of an error firing from a frame called "Threatening", which I have nothing to do with. If that AddOn is really not on then it must have tainted your UI when it was, and you may wish to clear your WTF folder. But I'd make triple sure it's fully deleted from your AddOns folder first 'cos it seems more likely that it has turned back on.
Report comment to moderator  
Reply With Quote
Unread 11-01-08, 09:13 PM  
tralkar
An Onyxian Warder
 
tralkar's Avatar

Forum posts: 352
File comments: 215
Uploads: 0
Originally posted by Scudmarx
Hmm... Are you sure that's this AddOn doing that? I have absolutely no calls to mouseovers at all, there's no reason for anything to happen from mousing over a mob. It looks more like an addon called 'threatening' is doing this to me.

A brief investigation shows you reported this exact same bug on the page for the 'Threatening' addon in July. Looking at that report, I can see what he's done wrong in his code, he needs to lose an 's'. Did you reactivate the same version of that addon now 3.0 hit live? Try updating it.
I tryed that one back then but since that time i have only yours.. It only happening on high lvl mobs 70 to 72. Didn't try any higher yet.
Last edited by tralkar : 11-01-08 at 09:17 PM.
Report comment to moderator  
Reply With Quote
Unread 11-01-08, 04:00 PM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Originally posted by level12wizard
After a lot of playtime, the social aggro bug seems completely fixed since 1.4.2. Hoorah.
great. Thanks for reporting this stuff, I know a lot of people would just disable it and let me rot.
Report comment to moderator  
Reply With Quote
Unread 11-01-08, 02:52 PM  
level12wizard
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 39
Uploads: 1
After a lot of playtime, the social aggro bug seems completely fixed since 1.4.2. Hoorah.
Report comment to moderator  
Reply With Quote
Unread 10-31-08, 08:59 PM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Originally posted by tralkar
Got this error last night..

[string"threatening - frame: on update"]:2:Attempt to call global" unitdetailedthreat

All i was doing was mousing over a mob and the error frame came up.. This was twice sofar..
Hmm... Are you sure that's this AddOn doing that? I have absolutely no calls to mouseovers at all, there's no reason for anything to happen from mousing over a mob. It looks more like an addon called 'threatening' is doing this to me.

A brief investigation shows you reported this exact same bug on the page for the 'Threatening' addon in July. Looking at that report, I can see what he's done wrong in his code, he needs to lose an 's'. Did you reactivate the same version of that addon now 3.0 hit live? Try updating it.
Last edited by Scudmarx : 10-31-08 at 09:05 PM.
Report comment to moderator  
Reply With Quote
Unread 10-31-08, 04:06 PM  
tralkar
An Onyxian Warder
 
tralkar's Avatar

Forum posts: 352
File comments: 215
Uploads: 0
Got this error last night..

[string"threatening - frame: on update"]:2:Attempt to call global" unitdetailedthreat

All i was doing was mousing over a mob and the error frame came up.. This was twice sofar..
Last edited by tralkar : 10-31-08 at 04:06 PM.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 10:57 AM  
level12wizard
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 39
Uploads: 1
Wouldn't be the first time Blizzard did something weird this patch (looking at you, nil error when someone buys my auctions while I'm browsing the AH)

I'll give it a whirl.
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 09:49 AM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Right, 1.4.3 should have this fixed. It seems to on mine. Turns out this slightly unexpected behaviour from Blizz's function is affecting their own threat display system too - you'll notice if you had aggro warnings set to 'always on' that usually mobs you're soloing will be red-bordered with a '100%' message on them - occasional mobs you're soloing don't! This is because of this odd behaviour, which seems to happen sometimes when mobs get social-pulled (ie you pull a mob through another mob, which adds because it sees it's friend fighting you, not because it actually sees you directly).
Report comment to moderator  
Reply With Quote
Unread 10-29-08, 09:29 AM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Little bit of progress. What is occasionally happening that I think you mean, is that mobs that get pulled sometimes display 100%, when really you'd expect it not to show anything as you're soloing, and clearly you're "tanking with a major threat lead". It turns out this is because the built-in Blizz threat functions are returning weird results occasionally when a mob's threat list only has one member. Without getting too technical, the functions are sometimes returning your threat status as being 0, meaning 'you don't have more threat than the person tanking', instead of, as is usual, returning 3 ('nobody else has more threat than you'). You can see how it is confusing itself. Now I know this, I'll see about fixing it ASAP (in this addon; really the problem is Blizz's function being weird :P).
Report comment to moderator  
Reply With Quote
Unread 10-28-08, 03:20 PM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Originally posted by Scudmarx
it displays 100% threat on mobs you're not fighting, when you're soloing multiple other mobs
Am afraid I'm struggling to make it bug like described. Looking at the code a few times, I'm finding it hard to see that there's any way it could bug like this. Unless there's something odd going on with Blizz's threat functions. But I don't think that's the case either. The stronger belief I'm forming is that I've misunderstood what you're saying is happening.
Report comment to moderator  
Reply With Quote
Unread 10-27-08, 03:34 PM  
Scudmarx
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 37
Uploads: 10
Originally posted by level12wizard
Bug still seems to happen pretty frequently just as I described. I haven't really looked at the code so I don't have much more to say than

"it dun werk plz fix "
The problem is, let me see if I got this right, that it displays 100% threat on mobs you're not fighting, when you're soloing multiple other mobs? Will look into it tomorrow (sleeeepy).

Cheers for the heads up!
Report comment to moderator  
Reply With Quote
Unread 10-27-08, 12:30 AM  
level12wizard
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 39
Uploads: 1
Bug still seems to happen pretty frequently just as I described. I haven't really looked at the code so I don't have much more to say than

"it dun werk plz fix "
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: