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 


Pointer scan - choosing the right struct size

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3428

PostPosted: Thu Jul 23, 2009 6:35 pm    Post subject: Pointer scan - choosing the right struct size Reply with quote

Hi everyone!
I've been using CE for quite a while now, including the pointer scan.
So far, I have always used the default value because the purpose of the struct size is a mystery to me.
Could someone explain it to me:
- the purpose of this value in CE
- the details of how this value is used
- what is the significance if I choose a bigger/smaller value
- what should one consider when choosing (or how does one choose) the right struct size?
Thank you!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

Joined: 09 May 2003
Posts: 26006
Location: The netherlands

PostPosted: Thu Jul 23, 2009 11:15 pm    Post subject: Reply with quote

Structsize is the maximum block the pointer scan will scan

e.g:
the code to access a pointer:
mov eax,[00471234]
mov eax,[eax+80]
mov eax,[eax+24]
mov eax,[eax+8]

would mean the minimum structsize needed to find the pointer would be 84 (132)

but a code like:
mov eax,[00471234]
mov eax,[eax+80]
mov eax,[eax+908]
mov eax,[eax+8]
would mean the minimum structsize needed to find this pointer would be 90c (2312)

The bigger the structsize you pick, the better results it'll find, but with every 4 bytes increase, the time it takes to scan increases exponentially (just like levels)

As for picking the right size, not sure. I'd say look for something that won't take days.
You could probably make a calculation on how long it'll take on average depending on he size of the targeted game, and the used structsize/level

And you can help the pointer scan yourself if you do the first few steps of finding the pointer until you get stuck, and scan for that pointer, that'll limit the number of levels as well

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites