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 


Need help unlimited health shovel knight

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

Joined: 29 Apr 2018
Posts: 1

PostPosted: Mon Apr 30, 2018 3:31 am    Post subject: Need help unlimited health shovel knight Reply with quote

Hi,

I am trying to get unlimited health in shovel knight. After finding the address of the health which is float I cannot for the life of me find the pointer. I have given up on that and I am trying to use code injection. I then came across another hurdle.... The game uses shared code. This was quickly overcome and I found that when ebx is equal to 1 then it is the player. Here comes the issue. I don't know what to inject on. Here is the assembly that access the player life.

BEFORE TAKING DAMAGE

Code:
00DA0EBB - D9 02  - fld dword ptr [edx]
00DA0EDF - D8 12  - fcom dword ptr [edx]
00DA0EF2 - D8 1A  - fcomp dword ptr [edx]


AFTER TAKING DAMAGE

Code:
00CE5B55 - D9 46 20  - fld dword ptr [esi+20]
00CE5FDA - D9 46 20  - fld dword ptr [esi+20]
00CE602C - D9 46 20  - fld dword ptr [esi+20]
00CE6050 - D9 46 20  - fld dword ptr [esi+20]
00CE605C - D9 56 20  - fst dword ptr [esi+20]
00CE6072 - D8 66 20  - fsub dword ptr [esi+20]


And this is what writes to it

AFTER TAKING DAMAGE

Code:
00CE605C - D9 56 20  - fst dword ptr [esi+20]


Thank you and any help is greatly appreciated.
Back to top
View user's profile Send private message
kantoboy69
Advanced Cheater
Reputation: 2

Joined: 31 Mar 2010
Posts: 53
Location: Manila

PostPosted: Thu May 03, 2018 4:11 pm    Post subject: Reply with quote

Click Memory View
Press ctrl-a for auto assembly
Press shift-ctrl-f for Full Injection
put 00CE6072 then click ok and then ok
Code:

label(code)
label(return)
label(end) // add this

newmem:

code:
  pushf
  cmp ebx, 1 // check if player
  je end       // jump to end if player
  fsub dword ptr [esi+20]  // orig code
end:
  popf
  jmp return


do not remove other generated AA
I assume that you are right that ebx == 1 is player

_________________
Cheater always prosper Hitler
Back to top
View user's profile Send private message
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