|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
pharaon Advanced Cheater Reputation: 1
Joined: 29 Jun 2012 Posts: 80
|
Posted: Sat Sep 16, 2017 10:58 am Post subject: RISE OF THE TOMB RAIDER Health hacking |
|
|
im trying to separate the hero life than enemies life by different registries the hero register RDI=000000000000012C is always the same and is different for the enemies
i tried this code but it's not working
Code: | [ENABLE]
aobscanmodule(health1,ROTTR.exe,F3 0F 11 70 2C 48 8B 8B A8) // should be unique
alloc(newmem,$1000,"ROTTR.exe"+3356C18)
label(code)
label(return)
newmem:
pushf
cmp RDI,000000000000012C
jne code
popf
mov [rax+2C],(float)450
jmp return
code:
popf
movss [rax+2C],xmm6
jmp return
health1:
jmp newmem
return:
registersymbol(health1)
[DISABLE]
health1:
db F3 0F 11 70 2C
unregistersymbol(health1)
dealloc(newmem) |
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sat Sep 16, 2017 12:33 pm Post subject: |
|
|
i have tomb raider 2013, but not the rise of the tomb raider.
the new version have graphic updates, and some technical changes.
health previously was integer (4 byte) so idk if its float or changed in this version.
also lara start with health of 300, and by the time it will increase up to 450 and it will never go higher.
and lara's health cap is 4 bytes after current health
you can do a very basic compare upon this info's:
this script can work from the very beginning of the game til the end
Code: | label(laraGODmode)
cmp [rax+30],(float)300 // or (int)300
je laraGODmode
cmp [rax+30],(float)450 // or (int)450
je laraGODmode
code:
movss [rax+2C],xmm6
jmp return
laraGODmode:
push rdx
mov rdx,[rax+30] // moving health cap/limit into rdx
mov [rax+2C],rdx // then rdx will write it into our current health location.
pop rdx
jmp return |
_________________
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 |
|
|
pharaon Advanced Cheater Reputation: 1
Joined: 29 Jun 2012 Posts: 80
|
Posted: Sat Sep 16, 2017 3:08 pm Post subject: |
|
|
not working
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Sat Sep 16, 2017 9:15 pm Post subject: |
|
|
well, then there is probably something different between tomb raid and the rise of tomb raider.
check if health cap is 4 bytes after health address, if not then change the offset...find your cap and make a compare on it.
_________________
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 |
|
|
|
|
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
|
|