Get who unit is attacking... menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As a sidenote, where should I begin looking to determine a PlayerObject's class? I've tried searching the forums and reading quite a few useful looking posts but to no avail. Bed time now, guess I'll keep looking tomorrow =]

    Get who unit is attacking...
  2. #17
    Sillyboy72's Avatar Member
    Reputation
    13
    Join Date
    Jan 2009
    Posts
    66
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    Totally unnecessary and won't work in certain situations.

    Better way:
    CGUnit_C member at 0x0A38. WGUID AttackingGUID.
    Hrm. Call me crazy for disagreeing with the dude-of-much-green-text, but I was just checking this out. It would appear to only be set for MELEE. If a mob was casting spells from a distance, this wasn't set.

  3. #18
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sillyboy72 View Post
    Hrm. Call me crazy for disagreeing with the dude-of-much-green-text, but I was just checking this out. It would appear to only be set for MELEE. If a mob was casting spells from a distance, this wasn't set.
    I have it tagged as working in tests for 2.4.x but haven't looked at it since then... I'll take another look later.

  4. #19
    Zombie911's Avatar Member
    Reputation
    11
    Join Date
    Mar 2008
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To identify the attacking units must be:
    Get the flag of local players, from the Unit offset
    [UNIT_FIELD_FLAGS] & 0x00080000 == if this is true, then the player has in combat.

    Next you need to iteract through object linked list to find units who have same flag and his target is player GUID.

  5. #20
    jbrauman's Avatar Member
    Reputation
    65
    Join Date
    Dec 2007
    Posts
    72
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have checked and it is working for melee mobs, I must have overlooked the fact that it isnt set for casters.

    More iterating through the object list =/ I'm already reading from wow about a million times per second.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Get your pet to attack while stealthed.
    By advanta in forum World of Warcraft Exploits
    Replies: 2
    Last Post: 06-02-2015, 09:50 AM
  2. Never get a Dodged/Parried attack
    By newfang in forum WoW EMU Exploits & Bugs
    Replies: 4
    Last Post: 04-13-2008, 06:23 AM
  3. How to get your own city (faction) to attack you, and other players.
    By Meltoor in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 08-18-2007, 10:15 PM
  4. Warriors get a huge attack power boost
    By Matt in forum World of Warcraft Exploits
    Replies: 0
    Last Post: 04-02-2006, 10:02 PM
All times are GMT -5. The time now is 08:57 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