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 


Dark Souls Remastered

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

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Fri Aug 13, 2021 4:43 pm    Post subject: Dark Souls Remastered Reply with quote

Hello when i find the opcode of the health i don't find any opcode for sub damage from health the opcode of my health is mov address,reg.Anyone play this game and find the damage sub please anyone help me.greats
Back to top
View user's profile Send private message
Birdi
Expert Cheater
Reputation: 0

Joined: 08 Jun 2020
Posts: 122
Location: Migrating

PostPosted: Fri Aug 13, 2021 5:32 pm    Post subject: Reply with quote

Look around your mov instruction to see what's writing to the register, and what modifies that.
Back to top
View user's profile Send private message Visit poster's website
OswaldoAomine
Cheater
Reputation: 0

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Sun Aug 15, 2021 11:12 pm    Post subject: Reply with quote

hello i make the one hit kill but when i kill the enemy the game is crash the opcode i use is this
newmem:
cmp [ecx+321],1 //this is one example i put 1 because i the player health
jne originalcode
mov eax,[ecx+110] // max health
mov [ecx+DD],eax // current health
jmp exit

originalcode:
mov eax,[OHK]
mov [ecx+DD],eax
jmp returnhere

Someone tell me if i did wrong in the script if i am wrong please help Very Happy
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Mon Aug 16, 2021 1:06 am    Post subject: Reply with quote

Post your whole script within code tags "[ code ] ... [/ code ]" (no spaces between the square brackets).

Original code would not be:

Code:

...
mov eax,[OHK]
...


This is most likely the cause of the crash but without seeing the full script it's hard to say.
Back to top
View user's profile Send private message
OswaldoAomine
Cheater
Reputation: 0

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Mon Aug 16, 2021 1:21 pm    Post subject: Reply with quote

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
alloc(our_address,4,"Game.dll"+4501F)
our_address:
dd (float)0
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
cmp [ecx+510],1
jne originalcode
movss xmm0,[ecx+48C]
movss [ecx+1C],xmm0
jmp exit
originalcode:
movss xmm0,[our_address]
movss [ecx+1C],xmm0

exit:
jmp returnhere

"Game.dll"+4501F:
jmp newmem
returnhere:




[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
dealloc(our_address)
"Game.dll"+4501F:
movss [ecx+1C],xmm0
//Alt: db F3 0F 11 41 1C


This is the full script.
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Mon Aug 16, 2021 3:49 pm    Post subject: Reply with quote

I've explained your script below.

Code:

[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
alloc(our_address,4,"Game.dll"+4501F)

our_address:
dd (float)0

newmem:
  cmp [ecx+510],1                  // If ECX+510 is anything but 1 then
    jne originalcode               // jump to originalcode
    movss xmm0,[ecx+48C]           // move value held at address [ecx+48C] to xmm0
    movss [ecx+1C],xmm0            // move xmm0 value to [ecx+1C]
    jmp exit                       // jump to exit

originalcode:
  movss xmm0,[our_address]         // move float 0 from our_address to xmm0
  movss [ecx+1C],xmm0              // move xmm0 value to ECX+1C

exit:
  jmp returnhere                       

"Game.dll"+4501F:
  jmp newmem

returnhere:

[DISABLE]
dealloc(newmem)
dealloc(our_address)

"Game.dll"+4501F:
movss [ecx+1C],xmm0
//Alt: db F3 0F 11 41 1C


I would recommend you use an AOB injection instead. You can alter the instructions in the same way but Cheat Engine can deal with the allocation/deallocation for you.
Back to top
View user's profile Send private message
OswaldoAomine
Cheater
Reputation: 0

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Mon Aug 16, 2021 5:55 pm    Post subject: Reply with quote

So if I use Aob dont crash game right
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Mon Aug 16, 2021 6:34 pm    Post subject: Reply with quote

Well, that depends if you use it correctly. It's bed time for me now but if no one has answered your question by the time I wake up I will see if I can help you further.
Back to top
View user's profile Send private message
OswaldoAomine
Cheater
Reputation: 0

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Tue Aug 17, 2021 2:16 am    Post subject: Reply with quote

Ok thanks for you help me
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Tue Aug 17, 2021 6:29 am    Post subject: Reply with quote

Did you progress any further with the AOB injection?
Back to top
View user's profile Send private message
OswaldoAomine
Cheater
Reputation: 0

Joined: 07 Aug 2021
Posts: 38
Location: Yggdrasil

PostPosted: Sat Aug 21, 2021 2:12 am    Post subject: Reply with quote

Yeah work perfect the problem is the npc for talk dead in the instanstly without hit
Back to top
View user's profile Send private message
LeFiXER
Grandmaster Cheater Supreme
Reputation: 20

Joined: 02 Sep 2011
Posts: 1055
Location: 0x90

PostPosted: Sat Aug 21, 2021 3:55 am    Post subject: Reply with quote

I'm not sure what you mean.
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