 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
jonboy999 Newbie cheater
Reputation: 0
Joined: 21 Oct 2023 Posts: 20
|
Posted: Sun Jun 30, 2024 8:36 am Post subject: How would i go about finding fall damage in elden ring? |
|
|
Hi all been looking hard for fall damage but in elden ring, it seems they have a limit and if you fall past that it kills you no matter if you have infinite health or not, for instance i wont take fall damage when i normally would by nopping the health decrement, but after a certain point it will kill you anyway without going through that code.
Any tips for finding that? (its not a kill box, just more like if more than 20m kill player instantly).
I also tried finding a timer and flag for in air but no luck
Thanks
|
|
| Back to top |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Mon Jul 01, 2024 12:22 am Post subject: |
|
|
assuming you have a pointer to the HP, look for a "death" flag instead, it should be around the character's HP and other data, for example: the current X,Y,Z co-ordinates of the character.
usually, fall damage is just a huge number subtracted from the value(or basically set the HP to a instant zero), but in some other ways\circumstances: they modify the "death" flag directly.
|
|
| Back to top |
|
 |
jonboy999 Newbie cheater
Reputation: 0
Joined: 21 Oct 2023 Posts: 20
|
Posted: Mon Jul 01, 2024 5:23 am Post subject: |
|
|
| TsTg wrote: | assuming you have a pointer to the HP, look for a "death" flag instead, it should be around the character's HP and other data, for example: the current X,Y,Z co-ordinates of the character.
usually, fall damage is just a huge number subtracted from the value(or basically set the HP to a instant zero), but in some other ways\circumstances: they modify the "death" flag directly. |
Yes I think the last part is what is happening, so im looking for like 1 alive and 0 dead or something similar?
The problem i have with this is I cant really test on death as then all the values change, so I will have a look around the structure, but if its somewhere else i dont sell how i will ever find it as soon as i test "on death", all the values will reset and im back to square 1
|
|
| Back to top |
|
 |
TsTg Master Cheater
Reputation: 5
Joined: 12 Dec 2012 Posts: 340 Location: Somewhere....
|
Posted: Tue Jul 02, 2024 7:58 pm Post subject: |
|
|
agreed, looking inside the structure in CE's memory view box, try to eye-catch a value that only changes once the character dies, try to memorize where that value was (ex: 0x20 bytes before the HP's address) and on the next respawn do find out what writes\access that value, then do another death fall, usually a 1\0 value but it can be anything really.
another way would be to check what accesses\writes the HP itself, there should be at least a piece of code where it doesnt get executed that much, that shall lead you to the fall damage control.
another way would be watching what accesses\writes the character's Z-axis co-ordinate (or in case there is a separate height value, go for that instead)
|
|
| Back to top |
|
 |
LamontCardenas Newbie cheater
Reputation: 1
Joined: 03 Jun 2024 Posts: 15
|
Posted: Thu Jul 04, 2024 7:01 pm Post subject: |
|
|
| You might want to try looking for the specific value that represents the height threshold for fall damage. One approach could be to monitor the player's Z-coordinate (vertical position) to identify when the instant death occurs. You could set breakpoints around the suspected fall height and look for any conditions or checks in the code that trigger the instant death. Additionally, check if there's a value in the game's memory that changes when the player falls beyond a certain height.
|
|
| 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
|
|