| View previous topic :: View next topic |
| Author |
Message |
devedse Newbie cheater
Reputation: 0
Joined: 07 May 2007 Posts: 12
|
Posted: Thu Oct 02, 2008 12:17 pm Post subject: weird error with a trainer i made |
|
|
Hey everyone, if i start the trainer, then pres launch prism (its a shooter) and then click a cheat after it started i get this error: img505.imageshack.us/img505/9674/error1ce9.jpg
if i first start prism and after that the trainer i get this one directly when i start the trainer:
img230.imageshack.us/img230/6276/error2ir7.jpg
although if i click the speedhack, it works, but if i click the unlimited ammo hacks, it gives an error again and closes itself
if i do it manually with cheatengine, everything works perfectly
the only things the cheats are doing are these:
replace 005c2b49 with a code that does nothing
and the same goes for 005bc347 and 005517a7
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25866 Location: The netherlands
|
Posted: Thu Oct 02, 2008 1:51 pm Post subject: |
|
|
It looks a lot like the trainer is targeting the wrong process. Gor to processes with the same name running? Or did you just select a wrong process ?
_________________
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 |
|
 |
devedse Newbie cheater
Reputation: 0
Joined: 07 May 2007 Posts: 12
|
Posted: Thu Oct 02, 2008 2:19 pm Post subject: |
|
|
the weird thing actually is that it was working yesterday, but now it isn't anymore
the filename it starts is: PRISM.exe
and the process is PRISM.exe
cheat engine works with both
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Thu Oct 02, 2008 4:42 pm Post subject: |
|
|
Replacing code with code that does nothing is not a great idea, however it does work in some cases.
But if the game uses this line of code for other things it will cause a crash sometimes.
Also, as far as the trainer not working after it did work before could be, because the address your writing to has changed now after restarting the game.
|
|
| Back to top |
|
 |
random5566 Advanced Cheater
Reputation: 0
Joined: 28 Feb 2008 Posts: 82
|
Posted: Thu Oct 02, 2008 7:38 pm Post subject: |
|
|
I just finished training a game 'Mr.Robot' (or trying to at least) and I encountered your exact same problem. Are you sure, your code is nop'ed.
Also this may be a glitch of some kind with CheatEngine. But if I replace the code with code that does nothing (and the cheat works) then I exit the game. Then I restart the game again, go to CheatEngine and re-attach the process, the cheats don't work. I have to replace the nop'ed code with original code, then replace it back with code that does nothing again in order for the cheat to work.
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Fri Oct 03, 2008 9:44 am Post subject: |
|
|
| random5566 wrote: | I just finished training a game 'Mr.Robot' (or trying to at least) and I encountered your exact same problem. Are you sure, your code is nop'ed.
Also this may be a glitch of some kind with CheatEngine. But if I replace the code with code that does nothing (and the cheat works) then I exit the game. Then I restart the game again, go to CheatEngine and re-attach the process, the cheats don't work. I have to replace the nop'ed code with original code, then replace it back with code that does nothing again in order for the cheat to work. |
Possibly your address has changed. Look up a bit about defeating DMA.
|
|
| Back to top |
|
 |
random5566 Advanced Cheater
Reputation: 0
Joined: 28 Feb 2008 Posts: 82
|
Posted: Fri Oct 03, 2008 1:06 pm Post subject: |
|
|
| Labyrnth wrote: | | Possibly your address has changed. Look up a bit about defeating DMA. |
Don't think so, if the address changed, then how come it works if I replace the code with original code, then replace code with code that does nothing, without starting a new scan Besides, I thought replacing a code with code that does nothing defeats most DMA games. Not meaning to tell you what's what you guru you
|
|
| Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Fri Oct 03, 2008 1:32 pm Post subject: |
|
|
| Quote: | | But if I replace the code with code that does nothing (and the cheat works) then I exit the game. Then I restart the game again, go to CheatEngine and re-attach the process, the cheats don't work. I have to replace the nop'ed code with original code, then replace it back with code that does nothing again in order for the cheat to work. |
I see whats wrong, lol. Your closing the game with a ct toggled or replaced code. Then have to attach ce back to the process and do it again to make it work.
Sounds about right to me. Nothing wrong with ce. The problem lies with what you are doing.
1. With CE attached to the process then it can alter memory.
2. So if you close the process, and open it again and attach ce back to it. It is as if you never changed a thing. Because this is a new session and ce doesnt know what your wanting to do at this point.
|
|
| Back to top |
|
 |
devedse Newbie cheater
Reputation: 0
Joined: 07 May 2007 Posts: 12
|
Posted: Fri Oct 10, 2008 9:34 am Post subject: |
|
|
but what did i wrong then?
edit:
also another question, if i want to make a ct to nop that adress, what code should i put then?
[enable]
blah
[disable]
blah
|
|
| Back to top |
|
 |
Psy Grandmaster Cheater Supreme
Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Fri Oct 10, 2008 9:45 am Post subject: |
|
|
| Code: |
[enable]
<address>:
nop
nop
nop //etc etc
|
or, use define byte and put in the opcodes manually:
| Code: |
[enable]
<address>:
db 90 90 90 //etc, up to the number you need
|
~Psy
|
|
| Back to top |
|
 |
|