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 in modify pop esi

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

Joined: 06 Apr 2016
Posts: 8

PostPosted: Fri Apr 08, 2016 3:24 am    Post subject: need help in modify pop esi Reply with quote

plz help ..this is my code of health in a game i want to modyfy it so my health dnt go down it stay still and plz advise me some video tutorial which explain pop,dx etc. and how to modify them in games (sry for my poor english skills)

alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [esi+ecx],dx
pop esi

exit:
jmp returnhere
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4300

PostPosted: Fri Apr 08, 2016 8:41 am    Post subject: Reply with quote

http://forum.cheatengine.org/viewforum.php?f=15
http://forum.cheatengine.org/viewtopic.php?t=570083
https://www.youtube.com/watch?v=OCN93EXmGyw
https://www.youtube.com/playlist?list=PLNffuWEygffbbT9Vz-Y1NXQxv2m6mrmHr
http://forum.cheatengine.org/viewtopic.php?t=95363
https://www.youtube.com/playlist?list=PL038BE01D3BAEFDB0


In this case, the mov instruction moves the word in the dx register into the memory address located at esi+ecx. I don't think pop esi does anything important with your health in this case; CE used that to get enough bytes for the jump to your code. So, if you don't want to lose health, then just comment that line of asm out, or delete it completely.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
hamza_ali
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 8

PostPosted: Fri Apr 08, 2016 8:49 am    Post subject: thanks Reply with quote

thanks for replying. iam already delete the pop esi but it didnt work and also done some random stuff like add ,int etc the stuff which usually works for me in other games but not here Sad


thanks forr refrences Smile
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4300

PostPosted: Fri Apr 08, 2016 10:16 am    Post subject: Reply with quote

I don't mean delete the pop esi. That probably has nothing to do with your health; deleting it won't do anything and will probably make the game crash. I meant deleting the instruction mov [esi+ecx],dx.

Just make sure that instruction doesn't access multiple addresses. Right click on that mov in the disassembler and select "Find out what addresses this instruction accesses" to find out. If anything besides the address you're concerned with pops up, try to find some other instruction. Read this for more information.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
hamza_ali
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 8

PostPosted: Sat Apr 30, 2016 1:04 pm    Post subject: thanks Reply with quote

thanks alot the topic u share help alot Smile
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