View previous topic :: View next topic |
Author |
Message |
nero1232 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Wed Mar 08, 2017 9:27 am Post subject: Cheat Engine Script |
|
|
Hi all,
I have a script in cheat engine that allows me to infinite run, it changes some code. I want to investigate more commands near by but the game crashed so all I have left is the script. The script still works and allows me to infinite run but my questions is how can I get back to the area in memory that it edits?
In the script it says "injection point blahblah + 3b61ef" however when I go to that address the code is different, I am guessing because it dynamically changes at runtime. The script still works though so it is editing the right part. How do I find that part in memory again so I can investigate more around where the script edits?
Thanks
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Mar 08, 2017 9:32 am Post subject: |
|
|
Best post the script here, it's way easier to tell you things when seeing the code.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 08, 2017 9:36 am Post subject: |
|
|
Going to that location in memory does not happen to show a jump instruction, by chance?
|
|
Back to top |
|
 |
nero1232 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Wed Mar 08, 2017 9:36 am Post subject: |
|
|
Hey here is the script:
[ENABLE]
aobscanmodule(infrun,Pa.exe,50 80 7C 24 30 00 74 06 0F B6 4F 7A) // should be unique
registersymbol(infrun)
infrun+06:
db 75 06 0F B6 4F 7A
[DISABLE]
infrun+06:
db 74 06 0F B6 4F 7A
unregistersymbol(infrun)
{
// ORIGINAL CODE - INJECTION POINT: "Pa.exe"+3B61EB
......
So the above is editing the right thing and it works. However if I go to Pa.exe+3B61EB that is not the instruction it is editing anymore.
So I want to find that point where the code is being edited again so I can do some more testing. At this point I feel like I have to go through all the searches and everything again just to find where I was, but surely there is a way to get to the address through this script?
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 08, 2017 9:38 am Post subject: |
|
|
Okay. Go here: 50 80 7C 24 30 00 74 06 0F B6 4F 7A
Search for that signature using CE. Change data type to array of byte and make sure that the checkbox below, that says 'writable' has a filled-in square. Keep in mind the +6.
|
|
Back to top |
|
 |
nero1232 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Wed Mar 08, 2017 9:48 am Post subject: |
|
|
Hey I did try that, just tried again and it doesn't find anything. The writable box is checked.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 08, 2017 9:50 am Post subject: |
|
|
If CE cannot find that signature, then you would not be able to activate that script. Make sure the script is not activated when you perform your search.
|
|
Back to top |
|
 |
nero1232 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Wed Mar 08, 2017 9:54 am Post subject: |
|
|
++METHOS wrote: | If CE cannot find that signature, then you would not be able to activate that script. Make sure the script is not activated when you perform your search. |
It definitely works, I start the game and you can only sprint when you have no weapon. I activate the script with no weapon and sprint, then if I hold a weapon I can still sprint no problem.
Searched again and still nothing coming up.
Is there some way I can search the instructions?
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 08, 2017 9:57 am Post subject: |
|
|
Yes, but I stand by my previous statement.
|
|
Back to top |
|
 |
nero1232 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Wed Mar 08, 2017 10:00 am Post subject: |
|
|
++METHOS wrote: | Yes, but I stand by my previous statement. |
I tried my other scripts too, e.g. no recoil and infinite ammo, neither of them show up when I search that byte array?
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 08, 2017 10:02 am Post subject: |
|
|
Take a screenshot of Cheat Engine showing what you are doing.
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Mar 08, 2017 10:49 am Post subject: |
|
|
Rightclick on the "Writable" checkbox and select "Preset: Scan all memory".
Then try again.
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Mar 08, 2017 5:14 pm Post subject: |
|
|
Activate the script, then go to address: infrun+06
|
|
Back to top |
|
 |
nero1232 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2017 Posts: 65
|
Posted: Wed Mar 08, 2017 5:18 pm Post subject: |
|
|
Zanzer wrote: | Activate the script, then go to address: infrun+06 |
Sweet this worked, thanks man
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Mar 08, 2017 7:01 pm Post subject: |
|
|
Sigh.
|
|
Back to top |
|
 |
|