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 


how to change all value by using code injection ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
knightblizs
Advanced Cheater
Reputation: 0

Joined: 18 Jun 2013
Posts: 56

PostPosted: Sat Jul 27, 2013 8:37 pm    Post subject: how to change all value by using code injection ? Reply with quote

i want change all value in that address to 0 (4 byte)

i tried

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
mov [eax+10],0

originalcode:
mov ecx,[eax+10]
mov [ebp-20],ecx

exit:
jmp returnhere

0AA90412:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
0AA90412:
mov ecx,[eax+10]
mov [ebp-20],ecx
//Alt: db 8B 48 10 89 4D E0


but not work
is there something wrong?



Screenshot (203).png
 Description:
 Filesize:  38.77 KB
 Viewed:  3739 Time(s)

Screenshot (203).png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25791
Location: The netherlands

PostPosted: Sun Jul 28, 2013 3:03 am    Post subject: Reply with quote

Don't the values change to 0 or doesn't it have the required effect? (E.g enemies don't automatically die)
_________________
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
View user's profile Send private message MSN Messenger
knightblizs
Advanced Cheater
Reputation: 0

Joined: 18 Jun 2013
Posts: 56

PostPosted: Sun Jul 28, 2013 4:15 am    Post subject: Reply with quote

This flyhack, value 0 to be able jump and when jump value changed to ramdom and i want freeze value 0 so to be able jump again
Back to top
View user's profile Send private message
smx
Newbie cheater
Reputation: 0

Joined: 02 Sep 2012
Posts: 13

PostPosted: Sun Aug 04, 2013 8:00 am    Post subject: Reply with quote

Try this

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(code)
label(returnhere)

newmem:

code:
mov [ebp-20],00000000
jmp returnhere

0AA90412:
jmp code
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
0AA90412:
mov ecx,[eax+10]
mov [ebp-20],ecx
//Alt: db 8B 48 10 89 4D E0
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