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 


Problem with trainermaker

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

Joined: 18 Aug 2007
Posts: 4

PostPosted: Mon Aug 20, 2007 9:45 pm    Post subject: Problem with trainermaker Reply with quote

I wrote some auto assembler scripts for Loki 1.0.6:

Quote:
[ENABLE]
alloc(newmem,256)
alloc(epplus,4)
registersymbol(epplus)
label(originalcode)
label(returnhere)

epplus:
dd 03E8

Loki.exe+1F8FDB:
jmp newmem
nop
nop
nop
nop
returnhere:

newmem:
mov eax,[epplus]

originalcode:
push eax
lea ecx,[ebp-18]
call loki.exe+5d7aa
jmp returnhere

[DISABLE]
dealloc(newmem)
unregistersymbol(epplus)
dealloc(epplus)

Loki.exe+1F8FDB:
push eax
lea ecx,[ebp-18]
call loki.exe+5d7aa


Quote:
[ENABLE]
alloc(newmem,256)
alloc(gpplus,4)
registersymbol(gpplus)
label(originalcode)
label(returnhere)

gpplus:
dd 03E8

Loki.exe+1F8E38:
jmp newmem
nop
nop
returnhere:

newmem:
mov eax,[gpplus]

originalcode:
push eax
push [esi+0000008c]
jmp returnhere

[DISABLE]
dealloc(newmem)
unregistersymbol(gpplus)
dealloc(gpplus)

Loki.exe+1F8E38:
push eax
push [esi+0000008c]


I can save them in a cheat table and everthing works as intended. But when i make a trainer using the intergrated trainermaker with these scripts they dont work. Can anyone tell why?
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Mon Aug 20, 2007 10:42 pm    Post subject: Reply with quote

Yes because you are using "alloc"

You have to define the cave manually for a trainer.
Back to top
View user's profile Send private message
Negima
I post too much
Reputation: 6

Joined: 22 May 2007
Posts: 2221

PostPosted: Tue Aug 21, 2007 3:52 am    Post subject: Reply with quote

Follow a tut for making a trainer
Back to top
View user's profile Send private message Visit poster's website
lokicheat
How do I cheat?
Reputation: 0

Joined: 18 Aug 2007
Posts: 4

PostPosted: Tue Aug 21, 2007 4:52 am    Post subject: Reply with quote

thx alot
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Tue Aug 21, 2007 11:30 am    Post subject: Reply with quote

For veryone else, having this problem look at this link and look at the AA for trainers.
This will show you how it will look so it works for a trainer.

http://forum.cheatengine.org/viewtopic.php?t=112385
Back to top
View user's profile Send private message
lokicheat
How do I cheat?
Reputation: 0

Joined: 18 Aug 2007
Posts: 4

PostPosted: Tue Aug 21, 2007 3:49 pm    Post subject: Reply with quote

thx alot.
i already managed to build a trainer for loki 1.0.5.0 now.
upload_worldofplayers_de/upload.cgi?a=show&file=4c6f6b6920312e302e352045502b47502b41502e43542e7a6970&big=1
if youre interested.
i found several code caves with the dissassembler, i just chose the first one. hope i wasnt wrong on this decision and that this code cave will remain stable during the execution of the main program.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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