2.4.3 Unit Class menu

User Tag List

Results 1 to 1 of 1
  1. #1
    Achilees's Avatar Member
    Reputation
    14
    Join Date
    Sep 2013
    Posts
    20
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    2.4.3 Unit Class

    I am working on 2.4.3 bot. I am trying to read Unit's class.

    Descriptor bytes are at :
    Bytes0 = 0x78,

    Code:
     enum EnWowClass
        {
            None = 0,
            Warrior = 1,
            Paladin = 2,
            Hunter = 3,
            Rogue = 4,
            Priest = 5,
            DeathKnight = 6,
            Shaman = 7,
            Mage = 8,
            Warlock = 9,
            Druid = 11,
        }
    
      public EnWowClass Class
            {
                get
                {
                    return (EnWowClass)UnitBytes0[1];
                }
            }
    
    
     private byte[] UnitBytes0
            {
                get { return BitConverter.GetBytes(GetAbsoluteDescriptor<uint>((int)EnWowUnit.Bytes0)); }
            }
    
        internal T GetAbsoluteDescriptor<T>(int offset) where T : struct
            {
                var descriptorArray = Manager.Memory.Read<uint>(new IntPtr(Pointer.ToInt64() + 0x8));
                return Manager.Memory.Read<T>(new IntPtr(descriptorArray + offset));
    
            }
    I am assuming checking descriptors is a valid way to check class in 2.4.3. Above method keeps return class descriptor of hunter for all classes.

    2.4.3 Unit Class

Similar Threads

  1. What class do you play as?
    By janzi9 in forum Community Chat
    Replies: 28
    Last Post: 11-13-2006, 04:03 PM
  2. Whats your favorite class?
    By Bossman4 in forum World of Warcraft General
    Replies: 32
    Last Post: 11-07-2006, 09:48 AM
  3. Guide for your class in an instance!
    By Bossman4 in forum World of Warcraft Guides
    Replies: 5
    Last Post: 10-28-2006, 03:39 PM
  4. Full Guide for Dungeon Set 1 items (all classes)
    By Cush in forum World of Warcraft Guides
    Replies: 13
    Last Post: 09-07-2006, 03:07 PM
  5. priest own any class
    By bigbaz in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 06-10-2006, 01:13 AM
All times are GMT -5. The time now is 01:45 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