Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Cheat Engine Forum Index
PostGo back to topic
Dark Byte
Site Admin
Reputation: 457
Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: 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
Back to top
View user's profile Send private message MSN Messenger
Post reviews:   Approve 1
Author Review
SER[G]ANT
Review: Approve
Post reference:
ReviewPosted: Wed Mar 21, 2012 5:56 pm

txh
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites