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 


code injection help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
bensh
Newbie cheater
Reputation: 0

Joined: 15 May 2010
Posts: 15

PostPosted: Sat May 15, 2010 9:22 am    Post subject: code injection help Reply with quote

hi guys =)

I really need your help )=

I went trough the intern tutorials from cheat engine, but the 7th (code injection) works only for the tutorial, and not in my game.

for example in the tut I scan for the hp adress and choose "find out what writes to this adress" and so on. In the end I get an code like:

dec [004567d43+eax]

this adress could be changed in:

inc [004567d43],99999...easily.

but in my real game I get this adress:

originalcode:
mov [esi],dx
pop esi
pop ebx

how do I have to change such an adress to make It work?

every time I tried to change It, my game is shutting down. )=

please help me guy's =)

and sorry for my bad english Very Happy
Back to top
View user's profile Send private message
Slejur
Newbie cheater
Reputation: 0

Joined: 08 May 2010
Posts: 11

PostPosted: Mon May 17, 2010 6:28 am    Post subject: Reply with quote

Hi!

In this case only " mov [esi],dx " is of interest for you.
change it to something like:

mov [esi],#100

which means insert (dec) 100 into [esi]
Back to top
View user's profile Send private message
bensh
Newbie cheater
Reputation: 0

Joined: 15 May 2010
Posts: 15

PostPosted: Mon May 17, 2010 9:08 am    Post subject: Reply with quote

okay thank you for your help, I try this one out =)
I edit this post if it helps.

edit: I tried it out just now, but the game freezes after I Inject the code.

but thank you anyway for your help=)
Back to top
View user's profile Send private message
Slejur
Newbie cheater
Reputation: 0

Joined: 08 May 2010
Posts: 11

PostPosted: Mon May 17, 2010 4:02 pm    Post subject: Reply with quote

Maybe you can see what DX contains by using "more information" button.
I am not sure, but DX is maybe not used for storing "values", it is used for storing registers. So if that is the case, you must find out what "address" DX is holding. And from there find out where to change your code.

Its feels like I am wrong person here, maybe someone here can explain it better.
Back to top
View user's profile Send private message
bensh
Newbie cheater
Reputation: 0

Joined: 15 May 2010
Posts: 15

PostPosted: Tue May 18, 2010 10:48 am    Post subject: Reply with quote

hmm you may be right, but I don't know how to find out what adress DX is holding )= and no one else here is posting in this thread so I guess no one knows the answer
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 Gamehacking 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