[C#]Problem with Party menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Mc-fly's Avatar Sergeant
    Reputation
    14
    Join Date
    Dec 2009
    Posts
    64
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C#]Problem with Party

    hiho, I use this funcs to get the Party member GUIDs but only get strange values, not nearly to the readl GUIDs. Anyone sees the mistake?

    public static WoWObject GetPartyMember(int index)
    {
    return GetObjectByGuid(GetPartyMemberGuid(index));
    }

    public static ulong GetPartyMemberGuid(int index)
    {
    return Memory.Read<ulong>(new IntPtr(0x856D60 + (index * ));
    }
    {
    var ret = new List<WoWUnit>(3);
    for (int i = 0; i < 4; i++)
    {
    var unit = WoWParty.GetPartyMember(i) as WoWUnit;
    Log(unit.Name);
    }
    }
    Log.Output("" + Me.GUID);
    Log.Output("" + Me.TargetGUID);
    Log.Output(""+ WoWParty.Members.Count());

    }

    [C#]Problem with Party
  2. #2
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Since I use Lua for everything (UnitGUID('party1') FTW!), I have no idea what 0x856D60 is, but my guess at a glimpse is that you haven't accounted for the process base in that hard-coded static.
    Don't believe everything you think.

  3. #3
    alynel's Avatar Member
    Reputation
    4
    Join Date
    Jun 2010
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try offset 0xDEC4C0 (wow.exe + 0x9EC4C0). Have a look at one of wow's lua functions that takes "party1" etc as an argument, they all call the function at 0x458930 which takes that string and returns a GUID. That function has all the info you need to get GUIDs

Similar Threads

  1. Problems With Instance Switching
    By SandLOL in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 08-30-2006, 09:22 PM
  2. Problem with WPE
    By weedlord in forum World of Warcraft General
    Replies: 0
    Last Post: 08-14-2006, 03:35 AM
  3. Problem with BWH 1.11.2
    By gwl15 in forum World of Warcraft General
    Replies: 3
    Last Post: 08-11-2006, 05:37 PM
  4. Problem with CE.
    By Eldretch in forum World of Warcraft General
    Replies: 1
    Last Post: 08-08-2006, 06:49 PM
  5. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
All times are GMT -5. The time now is 11:00 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