| View previous topic :: View next topic |
| Author |
Message |
xcd222 How do I cheat?
Reputation: 0
Joined: 28 May 2019 Posts: 5
|
Posted: Sun Jun 09, 2019 6:56 pm Post subject: Setting the value to 1000/MAX |
|
|
Hey, I just studied on how to make code injections. The problem is that I don't know how to actually change the value of the address assigned to it. I am trying #1000 for the new mem but it keeps popping up hat it is not injectable. Can anyone help me to turn the address and free it to a value of 1000?
Here is the code injection:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(OPreserve,1000)
label(originalcode)
label(exit)
label(returnhere)
OPreserve:
movss [esi+ecx*4+00010C74],#1000 //doesn't work, can't be injected
originalcode:
//movss [esi+ecx*4+00010C74],xmm1
exit:
jmp returnhere
0FDF0000:
jmp OPreserve
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(OPreserve)
0FDF0000:
movss [esi+ecx*4+00010C74],xmm1
|
|
| Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Sun Jun 09, 2019 7:14 pm Post subject: |
|
|
It's a float not an integer, and you can't use an immediate with the scalar instructions.
Try this:
| Code: | | mov [esi+ecx*4+00010C74],(float)1000 |
But this looks like a shared instruction, so it probably effects more than one thing.
_________________
|
|
| Back to top |
|
 |
xcd222 How do I cheat?
Reputation: 0
Joined: 28 May 2019 Posts: 5
|
Posted: Sun Jun 09, 2019 9:17 pm Post subject: |
|
|
Thanks, it did work but not the one I wanted it to work. Only the display values were changed . Is there any other way to make a cheat table in a complicated game (God Eater Resurrection in this case) besides using a pointer scan or a code injection? I tried pointer scan as well but I can’t get any matches during the 2nd pointer scan so I down know what to do anymore.
|
|
| Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Mon Jun 10, 2019 4:24 am Post subject: |
|
|
Code injection is fine. But you need to find the right value be for you start, usually freezing the value will help you find the right address. Or you can backtrace the display value to the real value, but this requires some ASM knowledge.
If your doing a pointer scan with the display value you'll end up with the same result. And you'll likely need to increase the level or structure size to find any results when you do find the right address to scan for.
Try the CE tutorial. Here is a video playlist that may help.
https://www.youtube.com/playlist?list=PLMomQxQh6AdWKmqnX_jPtiu0tCCKD7Ffs
_________________
|
|
| Back to top |
|
 |
xcd222 How do I cheat?
Reputation: 0
Joined: 28 May 2019 Posts: 5
|
Posted: Mon Jun 10, 2019 4:01 pm Post subject: |
|
|
| Thanks for the advice. I’m going to check it out.
|
|
| Back to top |
|
 |
|