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 


Instant execute the code

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

Joined: 22 Jan 2014
Posts: 9

PostPosted: Fri Apr 03, 2015 7:39 am    Post subject: Instant execute the code Reply with quote

I don't have idea how to execute the code without taking action in game. For Example I've got Healt code " mov [ecx],edx then i change edx to something different 0 . This code dont take action before i hit someone. It only works if i find enemy adres ant change it to 0. its possible to do this from assembler ?
I want to do something like Mass kill from the button
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Apr 03, 2015 10:11 am    Post subject: Reply with quote

You need to find the game instruction that is constantly accessing enemy health.
Or some other value that would allow you to get to the health address.
Often times, games are constantly checking health to see if it is below zero or for display. Hook one of those.

You can simply use the find out what ACCESSES this address functionality to find such an instruction.
Back to top
View user's profile Send private message
fireblade1555
How do I cheat?
Reputation: 0

Joined: 22 Jan 2014
Posts: 9

PostPosted: Fri Apr 03, 2015 4:24 pm    Post subject: Reply with quote

Yea finally i did it . Found instruction what have acces to the heatl before taking any damage . I use scan " find out what acces this address " by nop'ing instructions find good one . Thx for reply
Back to top
View user's profile Send private message
fireblade1555
How do I cheat?
Reputation: 0

Joined: 22 Jan 2014
Posts: 9

PostPosted: Sat Apr 04, 2015 7:36 am    Post subject: Reply with quote

I've got a problem . I Found code what checking the Life but when i NOP this code . It's dont take effect with my healt . This code checking my live, must be possible in some way to change it . What command should use?


EDIT: i Found in this code the offset what change life addres but i have problem. When i change life to big numbers , bigger = less life . I dont find a value to kill my character

I must write the code what will be decrasing value of life and . Anybody know a command for this ?



sdfdsf.jpg
 Description:
 Filesize:  748.6 KB
 Viewed:  2731 Time(s)

sdfdsf.jpg




Last edited by fireblade1555 on Sat Apr 04, 2015 11:10 am; edited 1 time in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Apr 04, 2015 10:11 am    Post subject: Reply with quote

I think your problem is that the damage taken variable you found is a float but you're treating it as 4-bytes.

So when you set the value to something higher, you want something like:

Code:
mov [eax+ecx*4],(float)100.0
mov edx,[eax+ecx*4]
mov [esp+08],edx
Back to top
View user's profile Send private message
fireblade1555
How do I cheat?
Reputation: 0

Joined: 22 Jan 2014
Posts: 9

PostPosted: Sat Apr 04, 2015 11:03 am    Post subject: Reply with quote

I discover a bad news . Life value is just information how close is death. Any number of Healt dont kill me. When i was killed by NPC. My last heatl was 3269034196 (4 bytes) -100 (float). typing this value taking no effect. I maked a add command decrasing heatl and nothing. Is possible to exist another code for death ?
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