problem with getting target menu

User Tag List

Results 1 to 1 of 1
  1. #1
    yeahlol's Avatar Member
    Reputation
    -6
    Join Date
    Nov 2010
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem with getting target

    I got stuff up and running, but somehow reading target information is troubled. Ill just post what im doing...

    Reading whats suppose to be GUID of the target:
    Code:
    public ulong TargetGUID
            {
                get 
                {
                    uint DescriptorFields = Memory.Read<uint>(Baseaddress + 0x08);
                    return Memory.Read<ulong>(DescriptorFields + (uint)Descriptors.UnitFields.UNIT_FIELD_TARGET);
                }
            }
    The descriptor is:
    Code:
    UNIT_FIELD_TARGET = OBJECT_END + 0x30
    where OBJECT_END is:
    Code:
    const int OBJECT_END = 0x20;
    So inside my "object manager":
    Code:
    if (Player.HasTarget())
                        {
                            if (currGUID == Player.TargetGUID)
                            {
                                Target = new WoWUnit(currentObj.Baseaddress);
                            }
                        }
    HasTarget is just a bool function that reads if TargetGUID is 0 or something else. Target = new WoWUnit(..) is never triggered.

    currGUID is guid per object as i traverse the object manager:
    Code:
    ulong currGUID = Memory.Read<ulong>(currentObj.Baseaddress);
    the guid fields a ulongs. any pointers on where im doing wrong?

    problem with getting target

Similar Threads

  1. [Question] Problem with Fishbot - Interact with Target
    By VexeRR in forum WoW Memory Editing
    Replies: 15
    Last Post: 01-11-2011, 07:22 AM
  2. Problems with bot getting deleted
    By fuzzo in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 12-27-2010, 04:35 AM
  3. Help getting 3.3.0 Invincible? And problems with cataclysm model injection.
    By random101 in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 07-25-2010, 08:49 AM
  4. Problem with getting mah server Public
    By antonp93 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 07-11-2009, 06:50 PM
  5. Very simple problem with Wamp - I cant get my server site up - please help
    By faxmunky in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 04-19-2008, 02:59 AM
All times are GMT -5. The time now is 08:02 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search