[Help] auto dispell from raid member menu

User Tag List

Results 1 to 5 of 5
  1. #1
    lolo133's Avatar Private
    Reputation
    7
    Join Date
    Mar 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Help] auto dispell from raid member

    Hi.

    I’d like to create a bot for autodispell of certain debuffs from certain raiders.
    I have some question.

    How can I get the list of raiders? (now i use list PlayerObject's into dungeon but this solution is bad)
    How can I get the list of debuffs on a certain raider?

    [Help] auto dispell from raid member
  2. #2
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  3. #3
    lolo133's Avatar Private
    Reputation
    7
    Join Date
    Mar 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you very much

  4. #4
    lolo133's Avatar Private
    Reputation
    7
    Join Date
    Mar 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Results of my investigation:

    1. Count Raid Members :
    Code:
    0x00F32280: uint NumRaidMembers;
    2. Array ptr GUID Raid Members:
    Code:
    0x00F321E0: uint[] pRaidMembersGUID;
    example:
    Code:
            public struct RaidMembersOffsets
            {
                public const uint NumRaidMembers   = 0x00F32280;
                public const uint pRaidMembersGUID = 0x00F321E0;
            }
    
            public List<ulong> GetRaidMembersGUID()
            {
                List<ulong> result = new List<ulong>();
                int RaidMembersCount = manager.reader.ReadObject<int>(RaidMembersOffsets.NumRaidMembers);
    
                for (uint i = 0; i < RaidMembersCount; i++)
                {
                    uint pGUID = manager.reader.ReadObject<uint>(RaidMembersOffsets.pRaidMembersGUID + (i * sizeof(uint)));
                    if (pGUID  == 0) break;
                    ulong raidmemberGUID = manager.reader.ReadObject<ulong>(pGUID);
                    if (raidmemberGUID == 0) break;
                    result.Add(raidmemberGUID);
                }
                return result;
            }
    3. Example for activ buffs and debuffs:
    Code:
        public struct WoWAuraReference
        {
            public const uint AURA_TABLE_1 = 0xC10;
            public const uint AURA_COUNT_1 = 0xE90;
            public const uint AURA_TABLE_2 = 0xC18;
            public const uint AURA_COUNT_2 = 0xC14;
            public const uint AURA_SIZE = 0x28;
            public const uint AURA_SPELL_ID = 0x8;
            public const uint AURA_SPELL_STACK = 0x0E;
            public const uint AURA_SPELL_DURATION = 0x10;
            public const uint AURA_SPELL_END = 0x14;
            public const uint GLOBAL_TIME = 0x9bee94;
        }
        public struct WoWAura
        {
            public uint baseAddress;
            public int SpellId;
            public byte Stacks;
            public uint Left;
            public uint Duration;
        }
    
            public List<WoWAura> Auras
            {
                get
                {
                    List<WoWAura> list = new List<WoWAura>();
                    try
                    {
                        uint aurasbase = Base + WoWAuraReference.AURA_TABLE_1;
                        int aurascount = reader.ReadObject<int>(Base + WoWAuraReference.AURA_COUNT_1);
                        if (aurascount < 0)
                        {
                            aurasbase = reader.ReadObject<uint>(Base + WoWAuraReference.AURA_TABLE_2);
                            aurascount = reader.ReadObject<int>(Base + WoWAuraReference.AURA_COUNT_2);
                        }
                        for (uint i = 0; i < aurascount; i++)
                        {
                            uint currentaurabase = aurasbase + (WoWAuraReference.AURA_SIZE * i);
                            int auraspellID = reader.ReadObject<int>(currentaurabase + WoWAuraReference.AURA_SPELL_ID);
                            if (auraspellID > 0)
                            {
                                WoWAura item = new WoWAura();
                                item.baseAddress = currentaurabase;
                                item.SpellId = auraspellID;
                                item.Duration = reader.ReadObject<uint>(currentaurabase + WoWAuraReference.AURA_SPELL_DURATION) / 1000;
                                uint currenttime = reader.ReadObject<uint>(reader.WoWBase + WoWAuraReference.GLOBAL_TIME);
                                uint auraendtime = reader.ReadObject<uint>(currentaurabase + WoWAuraReference.AURA_SPELL_END);
                                item.Left = (auraendtime - currenttime) / 1000;
                                item.Stacks = reader.ReadObject<byte>(currentaurabase + WoWAuraReference.AURA_SPELL_STACK);
                                list.Add(item);
                            }
                        }
                        return list;
                    }
                    catch
                    {
                        return null;
                    }
                }
            }
    I hope this is helpful to someone.
    Last edited by lolo133; 03-25-2012 at 06:50 AM.

  5. #5
    hb123220's Avatar Member
    Reputation
    8
    Join Date
    Mar 2012
    Posts
    41
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx for share~learn alot

Similar Threads

  1. [Help] vb6 Reading from a random file
    By Murdok in forum Programming
    Replies: 3
    Last Post: 10-20-2008, 12:39 PM
  2. Attack Party/Raid members with Warrior
    By Weee in forum WoW EMU Exploits & Bugs
    Replies: 2
    Last Post: 02-10-2008, 08:11 PM
  3. [Help] Auto Fight Script
    By Sirect in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 02-05-2008, 10:26 AM
  4. Help hiding wow from my dad
    By RichyG in forum World of Warcraft General
    Replies: 7
    Last Post: 12-01-2006, 09:09 PM
All times are GMT -5. The time now is 06:31 PM. 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