Can't remember if I posted this before, but for those who keep up with the offsets, you can probably resurrect this bad boy.
Would be cool to see people run with it and use it again.
Would be cool to see people run with it and use it again.
public void UpdateID()
{
this.PtrTarget = (int)Memory.ReadUInt(Process.handle, (uint)(Process.Modules.Game + 0xB40E74));
this.PtrEntity = (int)Memory.ReadUInt(Process.handle, (uint)(PtrTarget + 0x254));
[COLOR="red"] this.ID = (int)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x28));What is it!!!????What is it!!!????
this.TargetID = Memory.ReadByte(Process.handle, (Process.Modules.Game + 0xB40E74));What is it!!!????What is it!!!????[/COLOR]
this.HasTarget = (TargetID != 0);
}
/// <summary>
/// Reads values from AION's memory and sets class member values accordingly.
/// </summary>
new public void Update()
{
try
{
this.PtrTarget = (int)Memory.ReadUInt(Process.handle, (uint)(Process.Modules.Game + 0xB40E6C));
if (PtrTarget != 0)
{
this.PtrEntity = (int)Memory.ReadUInt(Process.handle, (uint)(PtrTarget + 0x254));
[COLOR="red"] this.Attitude = (eAttitude)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x1C));//Attitude??What is it?
this.Class = (eClass)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0xe18));//This is Warrior 0 = | 1 = Gladiator | 2 = Guard | 3 = Ranger etc.or what?
this.Health = (Memory.ReadInt(Process.handle, (uint)(PtrEntity + 0x11D8)) / 100 * Memory.ReadInt(Process.handle, (uint)(PtrEntity + 0x11dc)));//i can't find hp percent offset,can someone find it?
this.TargetID = (int)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x2b0));//What is it?
this.HasTarget = (TargetID != 0);
this.ID = (int)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x20));//Memory.ReadInt(Process.handle, (PtrEntity + 0x20));What is it?
this.Stance = (eStance)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x2a0));What is it?[/COLOR]
this.IsDead = ((int)Stance == 8);
this.Level = Memory.ReadByte(Process.handle, (uint)(PtrEntity + 0x36));
this.Name = Memory.ReadString(Process.handle, (uint)(PtrEntity + 0x3a), 64, true);//, 64, true);
[COLOR="red"] this._Type18 = (int)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x18));What is it!!!????
this._Type168 = (int)Memory.ReadUInt(Process.handle, (uint)(PtrEntity + 0x160));What is it!!!????[/COLOR]
this.X = Memory.ReadFloat(Process.handle, (uint)(PtrTarget + 0x34));//Memory.ReadFloat(Process.handle, tarx);//(PtrTarget + 0x28));
this.Y = Memory.ReadFloat(Process.handle, (uint)(PtrTarget + 0x38));//(PtrTarget + 0x2C));
this.Z = Memory.ReadFloat(Process.handle, (uint)(PtrTarget + 0x3c));//(PtrTarget + 0x30));
}
else
SetZero();
}
catch
(Exception ) { }
}