 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
eviltidus How do I cheat?
Reputation: 0
Joined: 20 Feb 2008 Posts: 4
|
Posted: Thu Mar 18, 2010 10:10 am Post subject: Need help with Trainer Maker Kit |
|
|
Hi folks.
I have a problem with TMK, its built in help doesn't work, so I can't use the tutorial (I have a "failed to launch help" error).
I basically understand how to make a simple cheat with an address and a value, but how to make a cheat using a auto assembler script?
TMK uses codes which contains poke from what I've seen so how do I find them?
Edit: I managed to read the hlp file, but I still don't get how to use an aa script with tmk.
If I understood correctly, I can't use the "alloc()" function, nor can I use the labels while making a script for tmk.
Do I have to use code caves?
I don't know a thing about code caves.
Also, if I have an offset written as
Pinball.exe+14b7: (it's an example)
in an aa script, can I use it with tmk? Or do I have to use the direct address?
|
|
| Back to top |
|
 |
Radiation Grandmaster Cheater
Reputation: 14
Joined: 17 Jun 2009 Posts: 842 Location: Chernobyl
|
Posted: Thu Mar 18, 2010 5:37 pm Post subject: |
|
|
tmk's poke function only writes hex bytes into memory.
that's why i switched to an easy language: vb6.
you have more control of your program and such...
pm me if you need it
_________________
|
|
| Back to top |
|
 |
eviltidus How do I cheat?
Reputation: 0
Joined: 20 Feb 2008 Posts: 4
|
Posted: Fri Mar 19, 2010 11:22 am Post subject: |
|
|
Actually I understood how to make code injection with TMK, and how to convert asm into poke etc. but I have another problem.
my script goes like that
offset 0x400019
push bx
mov bx,[esi+00470386]
shl bx,1
add ax,bx
pop bx
ret
offset 0x40D991
call 0x400019
When I use it directly with TSearch, it works, but when I convert it to poke and use it with my trainer, it crashes the game, because the trainer doesn't write in my code cave, but it does write at the offset 40D991.
TMK's debugger tells me "0 of 18 bytes wrote in memory".
I don't understand where the problem is.
Edit (again):
I've solved my problem myself again ^^.
It didn't write in memory because the code cave I used was protected. I used another scanner than CE's to find a code cave, and now it works.
|
|
| 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
|
|