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 continue from here?

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

Joined: 12 May 2010
Posts: 3

PostPosted: Thu May 13, 2010 9:14 am    Post subject: How to continue from here? Reply with quote

I've got a game in which I want to freeze the hero's life.
I found the address (in fact I found 5 of them, no less no matter what I've tried). Then I found what wrote to the address:

mov [eax+04],edi

I created a code injection (BTW I finished the code injection part of the tutorial) and got this:

originalcode:
mov [eax+04],edi
jle ordinal10771+14b

Now I got some questions:
-first, could you comment on what exactly does each of the above 2 lines do? I can't understand 'em.
-then, where could I go from here? Mind that I've already tried to NOP the first instruction (mov [eax+04 etc.) and I've obtained godmode- but
me and all the enemies moved much slower (why?) - so *that* is no good.
Back to top
View user's profile Send private message
Slejur
Newbie cheater
Reputation: 0

Joined: 08 May 2010
Posts: 11

PostPosted: Thu May 13, 2010 12:15 pm    Post subject: Reply with quote

I am no expert, but this is what I think.

mov [eax+04],edi = the "container" with the address [eax+04] will be given the value edi contains.

jle ordinal10771+14b = this is a conditional jump. It will jump if it is less then or equal to a value. In this case ordinal10771+14b.

I am not really sure why your game is slowing, probably your "conditional jump" part don't like NOP. So try something like;

mov [eax+04],#100 or whatever value you find good. Maybe your "conditional jump"-thingy will act more normal.
Back to top
View user's profile Send private message
chtmod
How do I cheat?
Reputation: 0

Joined: 12 May 2010
Posts: 3

PostPosted: Thu May 13, 2010 2:23 pm    Post subject: Reply with quote

Quote:
mov [eax+04],edi = the "container" with the address [eax+04] will be given the value edi contains.

How can I find out what value edi has?

Quote:
jle ordinal10771+14b = this is a conditional jump. It will jump if it is less then or equal to a value. In this case ordinal10771+14b.

I thought a "jle" instruction was followed by the label to which it must jump. And where is the "cmp"? I thought conditional jumps (jg, jge, jl etc.) were preceded by cmp's.
Back to top
View user's profile Send private message
Slejur
Newbie cheater
Reputation: 0

Joined: 08 May 2010
Posts: 11

PostPosted: Thu May 13, 2010 3:12 pm    Post subject: Reply with quote

do a "find out what writes to this address" and when cheat engine finds mov [eax+04],edi. Chose the button "More information", and you will get your edi

And about your jle ordinal10771+14b .. I think it will jump to that location in your game. Use "show disassembler" and try to find your cmp, some lines above.

mov [eax+04],edi
jle ordinal10771+14b

Something there has to set a "flag" which jle is checking.
Back to top
View user's profile Send private message
apocalypticx
Expert Cheater
Reputation: 4

Joined: 19 Jul 2009
Posts: 126
Location: UK

PostPosted: Fri May 14, 2010 3:35 pm    Post subject: Reply with quote

mov [eax+04],edi
Fyi this controls stamina mana life gold and maybe more i havent bothered to check but if you do some simple code injection you can achieve a one hit kill godmode infinte stamina infinite mana maybe more...
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