View previous topic :: View next topic |
Author |
Message |
vohai2003 How do I cheat? Reputation: 0
Joined: 11 Sep 2022 Posts: 3
|
Posted: Sun Sep 11, 2022 4:38 am Post subject: Use results of method in Mono as record |
|
|
Hi,
I found some interesting methods in a Unity-based game. Can I use the output of it as record? Or is there anyway to check where's that function writing to?
P/s: The option "Find out where the instruction is writing to" didn't work. It didn't show anything, although it should be something access that function and the instructions.
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4299
|
Posted: Sun Sep 11, 2022 11:07 am Post subject: |
|
|
If you mean "Find out what addresses this instruction accesses", that only works for a single instruction (not a whole function) and only populates the list when the instruction is actually run (you may need to do something in game for that to happen)
You could do a code injection at the end of the function and use {$luacode} and `synchronize` to add a memory record to the address list.
https://forum.cheatengine.org/viewtopic.php?t=618134
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
vohai2003 How do I cheat? Reputation: 0
Joined: 11 Sep 2022 Posts: 3
|
Posted: Mon Sep 12, 2022 2:31 am Post subject: |
|
|
ParkourPenguin wrote: | If you mean "Find out what addresses this instruction accesses", that only works for a single instruction (not a whole function) and only populates the list when the instruction is actually run (you may need to do something in game for that to happen)
You could do a code injection at the end of the function and use {$luacode} and `synchronize` to add a memory record to the address list.
|
I think I did sth wrong but I dont know which one.
Description: |
|
Filesize: |
170.58 KB |
Viewed: |
750 Time(s) |
|
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Mon Sep 12, 2022 2:49 am Post subject: |
|
|
remove the spaces in front of {$luacode} and {$asm}
and put it under newmem:
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
vohai2003 How do I cheat? Reputation: 0
Joined: 11 Sep 2022 Posts: 3
|
Posted: Mon Sep 12, 2022 4:24 am Post subject: |
|
|
Uhhhhhhh what did I miss here...?
Description: |
|
Filesize: |
201.71 KB |
Viewed: |
728 Time(s) |
|
|
|
Back to top |
|
|
ParkourPenguin I post too much Reputation: 140
Joined: 06 Jul 2014 Posts: 4299
|
Posted: Mon Sep 12, 2022 10:14 am Post subject: |
|
|
The game needs to run the code for that code to do anything. (e.g. if the original instruction gets executed only when you press a button, you need to press the button to run your code)
Also, make sure the injection point is jumping to newmem and not code.
That aside, you're interested in rsp? The stack pointer? You're almost certainly doing something wrong here.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
|
|