fatso83 How do I cheat?
Reputation: 0
Joined: 16 Aug 2013 Posts: 2
|
Posted: Fri Aug 16, 2013 5:10 am Post subject: Scanning for 4 byte = no result. Value type All = success ?? |
|
|
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.
|
|