Dark Byte Site Admin Reputation: 457 Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Wed Mar 21, 2012 5:07 pm Post subject: |
|
|
let's say that you've found out that the structure is build up as:
pointer: pointer to vtable (always 00478120)
dword: unknown ( random value)
dword: max health ('always' 100 (hex 64)) (just an example)
dword: current health (value between 0 and 100)
dword: Team (1 for friend, 2 for enemy)
Now, if you do an aob scan for "20 81 47 00 ** ** ** ** 64 00 00 00 ** ** ** ** 01 00 00 00" you will find all the player structures of team one
"20 81 47 00 ** ** ** ** 64 00 00 00 ** ** ** ** 02 00 00 00" Will find all the player structures of team 2
"20 81 47 00 ** ** ** ** 64 00 00 00" Finds all the player structures.
And with most compilers, you can also do a 4 byte hex scan for just 00478120 but I recommend setting the fastscan alignment to 16 so the structure start is on a 16 byte alignment (ends with 0) _________________ Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
|
|