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 


Problem with infinite health Assemle

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

Joined: 28 Jun 2018
Posts: 1

PostPosted: Thu Jun 28, 2018 5:29 am    Post subject: Problem with infinite health Assemle Reply with quote

Hello , I'm new with CE but I've read a lot of tutorials. My problem is the next one: I'm trying to make a infinite health using AOB scan, but I found something that I dont understant:

Code:


aobscanmodule(INJECT,nineparchments_64bit.exe,89 3C 8B 44 0F B7 53 4E) // should be unique
alloc(newmem,$1000,"nineparchments_64bit.exe"+10DD211)

label(code)
label(return)

newmem:

code:
  push ebx
  mov ebx,[rbx+rcx*4-4]       //memory position of max health
  mov [rbx+rcx*4],ebx         //my health = max health
  pop ebx
  movzx r10d,word ptr [rbx+4E] //problem that i have, idk what is it
  jmp return


  //mov [rbx+rcx*4],edi
  //movzx r10d,word ptr [rbx+4E]
  //jmp return



I've found my max health and my actual health memory positions. But I dont understand what is the function of " movzx r10d,word ptr [rbx+4E]" I know it is some kind of register but I cant ignore it, delete or something. The game crash if I do it. How can I modify it to work?

Thank you for all
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Thu Jun 28, 2018 5:59 am    Post subject: Reply with quote

kinda messy, can you post the original hooked instructions?
also posting used register values (by hooked instructions) can help. [rbx, rcx .. others]

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
anticiudadano
How do I cheat?
Reputation: 0

Joined: 28 Jun 2018
Posts: 1

PostPosted: Fri Jun 29, 2018 2:56 am    Post subject: Reply with quote

The original code of the Assemble is:

Code:

[ENABLE]

aobscanmodule(INJECT,nineparchments_64bit.exe,89 3C 8B 44 0F B7 53 4E) // should be unique
alloc(newmem,$1000,"nineparchments_64bit.exe"+10DD211)

label(code)
label(return)

newmem:

code:
  mov [rbx+rcx*4],edi
  movzx r10d,word ptr [rbx+4E]
  jmp return

INJECT:
  jmp newmem
  nop
  nop
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 89 3C 8B 44 0F B7 53 4E

unregistersymbol(INJECT)
dealloc(newmem)



And the values of the register are this:



registers.png
 Description:
 Filesize:  42.24 KB
 Viewed:  8481 Time(s)

registers.png


Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Fri Jun 29, 2018 7:34 am    Post subject: Reply with quote

why you didnt just mov max health into edi?
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
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