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 


Scanning for 4 byte = no result. Value type All = success ??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
fatso83
How do I cheat?
Reputation: 0

Joined: 16 Aug 2013
Posts: 2

PostPosted: Fri Aug 16, 2013 5:10 am    Post subject: Scanning for 4 byte = no result. Value type All = success ?? Reply with quote

I was trying to find the memory location of the number of creatures in a creature stack in HOMM3 by following some tips (search for HOMM3+Wog).

Pretty forward: scan for the number using Exact Value, change it, scan again, ...
Except I did not find anything. No results.

I changed the value type to Byte, 2 Byte, 4 byte, ... to no avail. It was only when I tried to set value type to "All" that I was successfull in finding the memory location. From the memory layout I can see that we are talking 4 bytes in little endian (LSB) order.

OK, so I found the location in the end, but any clues as to why I couldn't find it using Exact Value and Value type set to 4 bytes?

edit:
ANSWER!
It was due to byte alignment! The memory locations were on uneven boundaries such as 0x041FADD7. Therefore Fast scanning did not work, as it assumes even boundary values. When choosing "All" it scanned every byte location for a match in every type, thus it worked.
Back to top
View user's profile Send private message
zhongff
Newbie cheater
Reputation: 0

Joined: 13 Sep 2016
Posts: 11
Location: youxi jiangjin chongqing china

PostPosted: Wed Mar 09, 2022 5:55 am    Post subject: Reply with quote

when search in byte,
it appears in form of xx a0,
this is why can't search out.

_________________
zhengxing zhong.
Back to top
View user's profile Send private message Send e-mail
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