| View previous topic :: View next topic |
| Author |
Message |
Hexorg How do I cheat?
Reputation: 0
Joined: 19 Jun 2013 Posts: 4
|
Posted: Wed Jun 19, 2013 6:51 pm Post subject: A little more complex searches |
|
|
Hello everyone, I've been using cheat engine for a while now. I'm decent at asm, and a good C/C++ programmer. I'm goofing around a bit and am trying to see If I can perform a little more complex searches then just "look for this", "change", "look for new stuff".
In the memory there is a double somewhere, and same double 0x48 bytes away from the first one. I know the value of the double but I have trouble changing it.
How would you recommend tackling this search? If I just type in the value of the double it comes up with about 200 results. Last time I manually looked at all the results and found the only pair that was 0x48 bytes away form each other.
Can I import this in LUA and filter the pair out?
|
|
| Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Wed Jun 19, 2013 7:08 pm Post subject: |
|
|
| Use the "grouped" datatype, click "generate goupscan command", then fill the lines to describe your pattern. Given what you described above, you should end with something like "d:123.0 w:64 d:123.0" if your double is worth 123.0.
|
|
| Back to top |
|
 |
Hexorg How do I cheat?
Reputation: 0
Joined: 19 Jun 2013 Posts: 4
|
Posted: Wed Jun 19, 2013 7:24 pm Post subject: |
|
|
That's odd.. at 0x272332E0 I have a Double "100.00" and at 0x27233328 I have a Double "50.2", but "d:100 w:72 d:52.2 " finds nothing
|
|
| Back to top |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Wed Jun 19, 2013 8:15 pm Post subject: |
|
|
"Skip nr of bytes" is the number of bytes between the end of the previous entry and the beginning of the next.
You should find your structure with "d:100 w:64 d:52.2"
Last edited by Gniarf on Wed Jun 19, 2013 8:18 pm; edited 1 time in total |
|
| Back to top |
|
 |
Hexorg How do I cheat?
Reputation: 0
Joined: 19 Jun 2013 Posts: 4
|
Posted: Wed Jun 19, 2013 8:17 pm Post subject: |
|
|
| oh!! ok thanks!!!
|
|
| Back to top |
|
 |
|