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 


Unknown Initial Value

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
iPromise
Grandmaster Cheater
Reputation: -1

Joined: 27 Jun 2009
Posts: 529
Location: Canada

PostPosted: Sun Dec 26, 2010 2:16 am    Post subject: Unknown Initial Value Reply with quote

Can somebody tell me if i'm correct and help me out a little please Smile ?

For an Unknown Initial Value scan, I must record down each address being used with its value into a buffer. Then if I do a Changed Value Scan, I must read that buffer which I stored the values inside, and see if it still equals the same value as it did before, if it equals the same value as it did before I do not add the item to the list.

BUT.

Won't it be slow, just the Unknown Initial Value scan itself, it would be amazingly slow, right? Or would it be fast because we're not doing any checking, we're just storing each address with its value down?

I did some trial and error myself and found the process to be quite slow, if anyone can tell me if the way I do things is right or not, and give me some advice on how to improve, would be appreciated Smile

Thanks in advance.
Back to top
View user's profile Send private message MSN Messenger
Dacnomania
Expert Cheater
Reputation: 1

Joined: 03 Sep 2010
Posts: 124

PostPosted: Sun Dec 26, 2010 3:14 am    Post subject: Reply with quote

I don't know what you mean with the text above "BUT".

Unknown initial value is quite slow, But that depends on your PC performance, though mainly the 'value type' you're using.

'All (byte to double)' will take much longer than '4 bytes'.

Bottom line: If you want to find a value but don't know what it is, use 'unknown initial value'. The little time you'll wait is short enough for you to hold your breath. Razz
Back to top
View user's profile Send private message Send e-mail AIM Address
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Dec 26, 2010 6:05 am    Post subject: Reply with quote

I'm not sure how CE implements it. Maybe for a single type your method is okay. Like the poster above said, who I believe misunderstood the question, all types would be slow. Your method does not work in reality though I believe. The buffer would need to be too large in some cases and you would be unable to allocate so much memory. I would advise doing the same thing but writing to a disk file. For 'all types' I think I would just copy all the memory into a memory mapped file. I'm not sure if it would be faster but pretty sure it won't be slower than using a regular file. With a MMF you could possibly preserve the address/value mapping as well. Although again I don't know if this is efficient.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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