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());
}