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 


help me plz

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

Joined: 23 Jan 2016
Posts: 39

PostPosted: Wed Oct 05, 2016 3:11 pm    Post subject: help me plz Reply with quote

I'm having some troubles hacking silenthill homecoming.
I've found the value for the health. Unfortunately it's the same instruction for the enemy units and I don't know how to modify that's the code:


Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
cmp [esi+128],02639B40//place your code here
jne originalcode
//what should I write here?



originalcode:
movss [esi+00000164],xmm0

exit:
jmp returnhere

"g_SilentHill.sgl"+31F11C:
jmp newmem
nop
nop
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"g_SilentHill.sgl"+31F11C:
movss [esi+00000164],xmm0
//Alt: db F3 0F 11 86 64 01 00 00



Plz can you explain me how the movss instruction works and how can I hack this?
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Oct 05, 2016 4:54 pm    Post subject: Reply with quote

Code:
mov [esi+00000164],(float)999
jmp returnhere
Back to top
View user's profile Send private message
brisingr
Cheater
Reputation: 0

Joined: 23 Jan 2016
Posts: 39

PostPosted: Thu Oct 06, 2016 6:11 am    Post subject: Reply with quote

Zanzer wrote:
Code:
mov [esi+00000164],(float)999
jmp returnhere

Ty, it works fine!
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