 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
savopem665 How do I cheat?
Reputation: 0
Joined: 05 Feb 2020 Posts: 8
|
Posted: Wed Feb 05, 2020 2:19 pm Post subject: AOB scan randomly not working / Possible Cheat Engine bug? |
|
|
Hello! I made a trainer for one game, and I'm finding the values I need through an AOB scan. Everything seemed to be working fine, I restarted my computer and tested to see if the scan still returns the same address, opened the game up like 20 times and the aob scan always returned a unique result. Everything was perfect. However, just now, I suddenly could not find the address that I need through an AOB scan. I found it manually, and checked like 10 times whether my aob scan should be correct, and it is. The bytes in the memory viewer are exactly as I searched for them, however, the aob scan isn't picking them up.
I tried changing the preset to "scan all memory", it still did not work. It is completely baffling to me how the fuck this happens, especially because everything was working fine up until a few hours ago. I am literally writing the bytes as I see them, but to no avail.
I restart my PC along with the game, and now it's working again. However, I would like to ensure that this doesn't happen. Is this a bug in cheat engine, or am I at fault?
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4706
|
Posted: Wed Feb 05, 2020 9:16 pm Post subject: |
|
|
It's likely a problem with the AOB pattern you're using. I can say what's wrong with it if you post it.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Wed Feb 05, 2020 10:38 pm Post subject: |
|
|
Try eunning the trainer script as a CT and test if it works, then try scanning manually, if you are able to find it manually, perhaps your aobscan is set incorrectly (autoassmbler or lua?)
Post at least the way you are scanning the aob
Also verify that it does attach to the right process, perhaps there are several processes with identical names.
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
savopem665 How do I cheat?
Reputation: 0
Joined: 05 Feb 2020 Posts: 8
|
Posted: Thu Feb 06, 2020 7:06 am Post subject: |
|
|
| ParkourPenguin wrote: | | It's likely a problem with the AOB pattern you're using. I can say what's wrong with it if you post it. |
I am doing | Code: | | aobscan(test, 10 ?? ?? ?? 07 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 42 65 70 6c 61 63 65 61 62 6c 65 54 65 78 74 75 71 65 73 5c 53) |
I opened memory viewer, and went byte by byte like five times to make sure it's correct, and the whole thing looked completely identical to what I was searching for. The search for | Code: | | 10 ?? ?? ?? 07 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 42 65 70 6c 61 63 65 61 62 6c 65 54 65 78 74 75 71 65 73 5c | shows 500+ results, but when I add 5c as the last byte it drops down to 0, which should not be happening, given that I also manually added the address of the last byte in the address list to make sure its value is 5c. This same aob scan works now, and I have not been able to replicate this bug since then.
| DaSpamer wrote: | Try eunning the trainer script as a CT and test if it works, then try scanning manually, if you are able to find it manually, perhaps your aobscan is set incorrectly (autoassmbler or lua?)
Post at least the way you are scanning the aob
Also verify that it does attach to the right process, perhaps there are several processes with identical names. |
I also made sure I was attaching to the right process. I also tried reinstalling cheat engine while I had the game opened in this state. Didn't fix the issue.
I can not find the address through a manual aob scan, despite the fact that it should definitely be showing up.
If this issue happens again, what steps should I take to troubleshoot it better, and document it in a way that you guys can make more sense of what is going on?
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4706
|
Posted: Thu Feb 06, 2020 10:18 am Post subject: |
|
|
That AOB pattern looks like data. It's expected this won't work. Either you use too few bytes and can't get a unique result, or you use too many and can't get a reliable result. This isn't a CE problem- it's a user problem.
Use pointers (search: "pointer scanner") or code injection (search: "injection copy") to get the address you want.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
savopem665 How do I cheat?
Reputation: 0
Joined: 05 Feb 2020 Posts: 8
|
Posted: Thu Feb 06, 2020 11:51 am Post subject: |
|
|
| ParkourPenguin wrote: | That AOB pattern looks like data. It's expected this won't work. Either you use too few bytes and can't get a unique result, or you use too many and can't get a reliable result. This isn't a CE problem- it's a user problem.
Use pointers (search: "pointer scanner") or code injection (search: "injection copy") to get the address you want. |
You seem to be ignoring a fact which I keep stressing here, and that is that I am literally scanning for these bytes as I see them, and they aren't giving me any results. I found the address by manually searching (not through an aob scan) and confirmed these bytes to be correct. And the AOB scan is STILL not picking them up. Your response of "the aob pattern is incorrect" is literally false.
So either the memory viewer is incorrectly showing me the bytes, or cheat engine's aob scan is failing to pick up the correct byte pattern.
I have closed and opened the game up about 20 more times now, and I can not replicate the case of the aob scan not working.
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4706
|
Posted: Thu Feb 06, 2020 1:34 pm Post subject: |
|
|
No one else has posted about such a problem, and a post about a one-time non-repeatable "bug" with next to no supplementary information doesn't mean much to anyone else. I don't know what you expect to hear besides it was probably your fault.
Maybe an (anti)virus on your computer is screwing with CE e.g. by a nonconcurrent hook on RPM calls? Maybe the game just happened to make transient changes to some value(s) in that memory during the scan between updates in the hex view? Maybe you accidentally clicked or changed something you shouldn't have?
I don't know what the problem was, and I don't see any way of figuring it out.
| savopem665 wrote: | I am doing | Code: | | aobscan(test, 10 ?? ?? ?? 07 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 42 65 70 6c 61 63 65 61 62 6c 65 54 65 78 74 75 71 65 73 5c 53) |
I opened memory viewer, and went byte by byte like five times to make sure it's correct, and the whole thing looked completely identical to what I was searching for. The search for | Code: | | 10 ?? ?? ?? 07 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 42 65 70 6c 61 63 65 61 62 6c 65 54 65 78 74 75 71 65 73 5c | shows 500+ results, but when I add 5c as the last byte it drops down to 0... | I'm guessing you meant to say "when I add 53 as the last byte..."
If not, that might have had something to do with your problem.
Come back with more information and screenshots if/when it happens again. i.e. the address the bytes are actually located at, relevant memory region information (memory view -> View -> Memory Regions), CE settings ("Scan Settings" and "Extra" tab sheets), and main window scan settings (scan type, scan region, writable / executable / CoW, fast scan, alignment) would be a good start.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
savopem665 How do I cheat?
Reputation: 0
Joined: 05 Feb 2020 Posts: 8
|
Posted: Thu Feb 06, 2020 2:37 pm Post subject: |
|
|
| ParkourPenguin wrote: | No one else has posted about such a problem, and a post about a one-time non-repeatable "bug" with next to no supplementary information doesn't mean much to anyone else. I don't know what you expect to hear besides it was probably your fault.
Maybe an (anti)virus on your computer is screwing with CE e.g. by a nonconcurrent hook on RPM calls? Maybe the game just happened to make transient changes to some value(s) in that memory during the scan between updates in the hex view? Maybe you accidentally clicked or changed something you shouldn't have?
I don't know what the problem was, and I don't see any way of figuring it out.
| savopem665 wrote: | I am doing | Code: | | aobscan(test, 10 ?? ?? ?? 07 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 42 65 70 6c 61 63 65 61 62 6c 65 54 65 78 74 75 71 65 73 5c 53) |
I opened memory viewer, and went byte by byte like five times to make sure it's correct, and the whole thing looked completely identical to what I was searching for. The search for | Code: | | 10 ?? ?? ?? 07 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 42 65 70 6c 61 63 65 61 62 6c 65 54 65 78 74 75 71 65 73 5c | shows 500+ results, but when I add 5c as the last byte it drops down to 0... | I'm guessing you meant to say "when I add 53 as the last byte..."
If not, that might have had something to do with your problem.
Come back with more information and screenshots if/when it happens again. i.e. the address the bytes are actually located at, relevant memory region information (memory view -> View -> Memory Regions), CE settings ("Scan Settings" and "Extra" tab sheets), and main window scan settings (scan type, scan region, writable / executable / CoW, fast scan, alignment) would be a good start. |
Alright, will do. I've disabled windows defender since then, and if the issue repeats I'll make sure to take screenshots.
|
|
| Back to top |
|
 |
|
|
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
|
|