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 


Scripts

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Wed Jan 02, 2008 1:09 pm    Post subject: Scripts Reply with quote

how do i use a script like this in a trainer ?
(a self made not made by cheatengine ....)


[Enable]
alloc(ItemVac,128)
label(return)
ItemVac:
pushad
mov ecx,[ebp+8]
mov ebx,[ebp-24]
mov [ecx],ebx
mov [ecx+4],eax
mov ecx,eax
mov eax,ebx
lea edx,[eax-19]
mov [ebp-34],edx
lea edx,[ecx-32]
add eax,19
add ecx,A
mov [ebp-30],edx
mov [ebp-2C],eax
mov [ebp-28],ecx
popad
push eax
push [ebp-24]
lea eax,[ebp-34]
jmp return
4A9C09: // 50 FF 75 DC 8D 45 CC 50 FF 15 4C EC 80 00 85 C0
jmp ItemVac
nop
nop
return:

[Disable]
4A9C09:
push eax
push [ebp-24]
lea eax,[ebp-34]

_________________
dont complain about my english...
1*1 = 2?
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Wed Jan 02, 2008 1:11 pm    Post subject: Reply with quote

There are many ways. The most logical one is probably allocating memory in the guest process, WPM'ing the allocated memory w/ your code and then fixing the jmp thing.
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Wed Jan 02, 2008 1:19 pm    Post subject: Reply with quote

Jani wrote:
There are many ways. The most logical one is probably allocating memory in the guest process, WPM'ing the allocated memory w/ your code and then fixing the jmp thing.


well anyway im a noob at this =)

i know how to add asm codes in delphi but i get errors when it comes to the address

i hopw some 1 could give me an exampel (and yes im already checking at google)

_________________
dont complain about my english...
1*1 = 2?
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 programming 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