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 


Is this possible when editing the assembly

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

Joined: 16 Sep 2005
Posts: 28

PostPosted: Sat Sep 17, 2005 6:28 pm    Post subject: Is this possible when editing the assembly Reply with quote

When hitting an enemy u get to dmg him.. dmg is never the same.. its alittle random.. so cant scan for value..

But u see his hp.. like 200 .. So u find the memory location for it.. u hit him and u tap the "what write to this adress" u get this..

mov [esi+08],edi <- I guess the [ESI+08] Register holds the dmg

But how do i get that register to everytime be 255 in dmg... ??

Should i change the sentence to:

add esi, 000000FF

or??

The problem is that everytime there is a new monster the hp location changes .. and i simply cant find it with a pointer.. gets some really weird results..
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sat Sep 17, 2005 6:42 pm    Post subject: Reply with quote

[esi+08] will hold the address of the health of the monster
edi holds the new value of health

the code that decreases edi will the the damage it does and if you change that you change the damage it does.

But, you could also just change the code just before that mov into xor edi,edi (2 bytes) or change the instruction to mov [esi+8],0 (7 bytes) so the monsters health becomes 0
Take in mind that the same coude could also be used for your own player.

You could try the code inject template in the auto assemble to do all the jumping and nopping for you for easier editing. (Less concerns about opcode size)


Also, if you just intend on finding the health address of the monster you're fighting, then add this code to the code list and choose the option "Find out what addresses this code writes to"
It will then fill a list with addresses that get used by that code (all the health addresses of all the monsters you damage)

_________________
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
Tsongkie
Newbie cheater
Reputation: 0

Joined: 24 Sep 2005
Posts: 16

PostPosted: Sat Sep 24, 2005 5:29 am    Post subject: Reply with quote

hmm with cheat engine auto assembler, i would probably do it as this

00010ABF: //(CODE CAVE)
mov dword ptr[esi+08],00000000
jmp address_here //where address_here is the next address to mov [esi+08],edi

address_of_mov [esi+08],edi_here: //address of mov [esi+08],edi
jmp 10abf
nop


1. im guessing mov [esi+08],edi is 6 bytes which it normally is
2. this is also called one hit kill
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