Get the right aggro count menu

User Tag List

Results 1 to 5 of 5
  1. #1
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    191/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get the right aggro count

    Hello,
    rather a theoretical question: Right now I get all units I am in combat with by iterating over all units I get by calling EnumVisibleObjects and filter out those who target me.

    Now there are some special circumstances atleast in the version of WoW I work with:
    If a mob is stunned it wont have a target for the duration of the debuff. Same goes for fleeing aswell feared mobs.
    One can easily overcome this by adding conditions to the function which retrieves mobs I am in combat with but isnt there a better solution?

    Maybe somewhere hidden in WoW.exe theres a function which determines if a mob is in combat with me which I didnt found until now? Or is my solution really the best I can get?

    Thanks in advance
    Last edited by Corthezz; 05-31-2015 at 01:46 AM.
    Check my blog: https://zzuks.blogspot.com

    Get the right aggro count
  2. #2
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes there is a function which returns you a threat-like value. It's basically the threat which is shown you at the portrait of a monster or inside an addon like Omen Threat Meter.

  3. #3
    Corthezz's Avatar Elite User Authenticator enabled
    Reputation
    386
    Join Date
    Nov 2011
    Posts
    325
    Thanks G/R
    191/98
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Frosttall View Post
    Yes there is a function which returns you a threat-like value. It's basically the threat which is shown you at the portrait of a monster or inside an addon like Omen Threat Meter.
    Thanks. Lets hope this function already exists in the client version 1.12.1
    Check my blog: https://zzuks.blogspot.com

  4. #4
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Corthezz View Post
    Thanks. Lets hope this function already exists in the client version 1.12.1
    Nope.
    filler

  5. #5
    Frosttall's Avatar Active Member
    Reputation
    64
    Join Date
    Feb 2011
    Posts
    261
    Thanks G/R
    16/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Corthezz View Post
    Thanks. Lets hope this function already exists in the client version 1.12.1
    No it doesn't. It has been introduced during WotLK or even later. Threat-Meters had to estimate the threat based on combatlogs and there was no information from the server at all.

    Edit1:
    http://wowprogramming.com/docs/api/U...hreatSituation
    http://wowprogramming.com/docs/api/UnitThreatSituation
    Introduced with Patch 3.0 (see http://wowwiki.wikia.com/API_UnitDet...hreatSituation)
    Last edited by Frosttall; 05-31-2015 at 06:33 AM.

Similar Threads

  1. need help getting the right laptop
    By stan88 in forum Hardware
    Replies: 4
    Last Post: 09-04-2016, 02:14 PM
  2. [Bot] Getting the right GUID (1.12.1)
    By Corthezz in forum WoW Memory Editing
    Replies: 2
    Last Post: 09-09-2012, 08:53 AM
  3. [Question] How do you get the DL'd files to count as add-ons
    By sadpanda1234 in forum World of Warcraft Model Editing
    Replies: 6
    Last Post: 01-31-2008, 07:49 AM
  4. I need help, cant get the right IDs on my server
    By xn00bpwn3rx in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 09-08-2007, 06:02 PM
  5. Your First Mount - Where to Get the Cash while Grinding
    By Matt in forum World of Warcraft Guides
    Replies: 2
    Last Post: 05-12-2006, 06:58 PM
All times are GMT -5. The time now is 03:36 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search