Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need help with Trainer Maker Kit

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
eviltidus
How do I cheat?
Reputation: 0

Joined: 20 Feb 2008
Posts: 4

PostPosted: Thu Mar 18, 2010 10:10 am    Post subject: Need help with Trainer Maker Kit Reply with quote

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
View user's profile Send private message
Radiation
Grandmaster Cheater
Reputation: 14

Joined: 17 Jun 2009
Posts: 842
Location: Chernobyl

PostPosted: Thu Mar 18, 2010 5:37 pm    Post subject: Reply with quote

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

_________________
Jesus loves you, Hitler! Smile

Playing/Embedding XM and MOD files in Visual Basic 6

.erutangis ruoy ni siht esu neht ,sdrawkcab siht daer ot hguone trams erew uoy fI
I can spell your name backwards: ‮Hitler
Back to top
View user's profile Send private message
eviltidus
How do I cheat?
Reputation: 0

Joined: 20 Feb 2008
Posts: 4

PostPosted: Fri Mar 19, 2010 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites