Originally Posted by
Shynd
There's a few things that need changed in my articles, since I wrote them for 2.4.2. Since the update to 2.4.3, a few things have broken, and I've been very busy lately so have not found a chance to update it. Hopefully you can search around here, especially in the 2.4.3 address release thread, and be able to update whatever needs updating.
hey Shynd,
well, the only things that is not up to date in your blog is the GetTargetGUID, you peek a value directly at some address. This adress is not valid anymore.
Here's some code using TLS to get Unit's target, works with all units
Code:
// enum => UNIT_TARGET_FIELD = 0x28
UInt64 TargetGUID = Memory.ReadUInt64(hProcess, (Memory.ReadUInt(hProcess, (pObject + 0x120)) + UNIT_TARGET_FIELD));
So, now i just have to keep the enum field up to date
Cheers,
Seb