Jump to content
Sign in to follow this  
Gehere

KTM Threatmeter not showing pet aggro

Recommended Posts

As title says, it appears KTM is not able to show pet aggro gain.

Kinda frustrating when you, as a Hunter, would like to know how close you are to taking aggro from your pet.

So I went on the internet.  And read a bit.   Can't seem to find any KTM version (Vanilla edition) that supports threat aggro gain.

However, I found this.   Simple Threat Meter.  (https://wow.curseforge.com/projects/project-7738/files?page=2)

It says it supports threat gain from pets.

Would anyone be able to backport this to Vanilla?

Share this post


Link to post
Share on other sites

Yes, and KTM will never be able to show it properly unless someone modifies it completly.

In TBC the threat system was changed a little, so "backporting" is not really an option.

Share this post


Link to post
Share on other sites

Googled and found this. I understand from your comment that a backport of KTM isn't possible, but what about Simple Threat Meter? Is that impossible as well? 

Share this post


Link to post
Share on other sites

Hmm, I guess it is possible to atleast make KTM track your pets aggro, when I think about it again.

But I hardly know how it is scripted. As far as I understand KTM only tracks your aggro and sends it to everyone else. Your pet is technically not a player that sends such data, so you gotta make some dirty workarounds there in order to also send your pet and track it.

Also hard to track its aggro gain by the abilities. Its basically a blockbox to KTM. 

Guess someone who has lots of time might be able to assemble something.

Most TBC threat addons rely on the threat library from tbc that itself must be backportet, the gui itself should not be a problem.

Share this post


Link to post
Share on other sites
13 hours ago, Shino said:

Hmm, I guess it is possible to atleast make KTM track your pets aggro, when I think about it again.

But I hardly know how it is scripted. As far as I understand KTM only tracks your aggro and sends it to everyone else. Your pet is technically not a player that sends such data, so you gotta make some dirty workarounds there in order to also send your pet and track it.

Also hard to track its aggro gain by the abilities. Its basically a blockbox to KTM. 

Guess someone who has lots of time might be able to assemble something.

Most TBC threat addons rely on the threat library from tbc that itself must be backportet, the gui itself should not be a problem.

Cool! Thanks for your detailed reply! I'm not expecting anyone to care enough about this to do anything about it, I guess it'd have to be a warlock or a hunter who's annoyed at not being able to see pet aggro while farming to optimize speed.

But that means that if you're going to do it in vanilla you basically have to create a new addon that takes the same info as KTM, but also adds some sort of predicted threat based on pet ability because the changes in BC made pet aggro possible without having to do any annoying work? Or did I misunderstand?

Thanks again for your reply!

Share this post


Link to post
Share on other sites

Found an interesting github for KTM. I take no credit for the work, but someone named ericraio was working on a pet mod for KTM. It is kinda janky and the threat for the pet fluctuates up and down unlike player threat but thought I would help the warlock and hunters out in the community: also if anyone knows how to edit the code to where the aggro / threat of the pet keeps rising instead of changing to current TPS msg on here please!

github for KTM_PetMod.lua file

https://github.com/ericraio/vanilla-wow-addons/blob/master/k/KLHThreatMeter/Code/KTM_PetMod.lua

main depository

https://github.com/ericraio/vanilla-wow-addons

Share this post


Link to post
Share on other sites

Hey! I don't know how active you are but if you ever get a chance or become active on here again. I posted a link to a github that has a KTM_PetMod.lua in the code. I was wondering if you or someone you know could improve on the coding for the file. At it's current state the code distributes pet aggro, but it is very janky and doesn't increase like player threat. It almost seems as though it is TPS and only Threat per second, which is hard to compare to overall threat of the player vs TPS of pet. I was wondering if there would be a way to edit the code to display Over all Pet threat for the combat with the target mob.

~edit: The code doesn't even show TPS its just what the pet did last... wether its cast Torment or melee or both. The code needs some work so it shows total pet threat.

~This was to Shino but I don't know how active he is and I want to get anyone that knows how to lua script for vanilla on this project! If you can get this code working for pet threat over all threat instead of threat per second I would be astounded!

Edited by TerraBaddie

Share this post


Link to post
Share on other sites

video proof. I am sorry for bad video quality:

BEFORE Pet Threat meter fix values were not adding up only overwriting the old threat value for the pet...:

 

 

Edited by TerraBaddie

Share this post


Link to post
Share on other sites

Ladies and gents its time for what you all have been waiting for: a working threat meter for your pet!!! 

***NOTE*** for correct values make sure your Voidwalker has all available Grimoires of Torment and Suffering , also applies to hunter's growl rank, don't skip them!

Now if you have the talent IMPROVED VOID WALKER in demonology you will have to edit some lua files with

Notepad++:

https://notepad-plus-plus.org/download/v7.6.1.html

Go to:

WoW Dir~ \Interface\AddOns\KLHThreatMeter\Code\KTM_PetMod.lua

line 126 change:     395, 300, 215, 125,  75,  45 TO     513.5, 390, 279.5, 162.5, 97.5, 45

line 129 change:     600, 450, 300, 150     TO     780, 585, 390, 195

Save doc and you are good. If you respec and use void walker without Improved Voidwalker 3/3 for proper threat values you must revert the numbers back.

Here is the github with the working pet threat meter on KTM just add KLHThreatMeter and KLHPerformanceMonitor to your AddOns folder:

https://github.com/TerraBaddie/KTM_PetThreat_Meter

googledrive DL:

https://drive.google.com/open?id=1dMvm4pQgAs8JDgJDQM1aa7jM6RdSaZM0

 

***NOTE*** I do not claim ownership over any of the files I just messed with them and through trial and error I got an accurate, WORKING pet threat meter, that wasn't working before to work. Thanks! Please be sure to support and give credit to the people that made KTM and the personal KTM_PetMod.lua

video proof. I am sorry for bad video quality:

AFTER Pet Threat meter fix values are now adding up to a grand total! 😄

 

Edited by TerraBaddie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×