[FFXV] Get enemies' stats adresses

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
Alkadix
Noobzor
Noobzor
Posts: 8
Joined: Fri Apr 06, 2018 8:19 am
Reputation: 0

[FFXV] Get enemies' stats adresses

Post by Alkadix »

Hello there,

first i'm kinda noob with cheat engine, I mean I know the basics about scanning, re-scanning a number in a process to find the value's adress and change it.
But besides that I can't do much with it which sucks a bit, especially when I would be able to locate enemies' stats adresses in the current fight in order to modify their health, defense, maybe speed.

The thing is like I said I only know how to find it in cheat engine when I already have a bit of informations, but i'm pretty sure there is others ways with CE to reach my goal.

So for those who knows CE better than me, do you think there could actually be a not too tedious way of doing that, or the only real way would be to fight a monster and scan for decreased values while the hp are decreasing, and hopefully find the address for the current hp, and search for others current monster' stats within a certain range of addresses around the hp address ?

I would try like that with my noobish skills, but i'm pretty sure this isn't that easy. What do you think ?

UltimatePoto42
Expert Cheater
Expert Cheater
Posts: 103
Joined: Tue May 02, 2017 6:00 am
Reputation: 15

Re: [FFXV] Get enemies' stats adresses

Post by UltimatePoto42 »

In most game any more, they use a lot of shared opcode. So the same function that decreases player health may also decrease NPCs health. The best I can really say is do the CE tutorial, it goes over code injection and shared opcode.

[Link]
[Link]

Alkadix
Noobzor
Noobzor
Posts: 8
Joined: Fri Apr 06, 2018 8:19 am
Reputation: 0

Re: [FFXV] Get enemies' stats adresses

Post by Alkadix »

Thanks for your answer, yeah i've found the address of the current HP of an enemy and so the opcode which decreases HP, indeed that one seems to also decrease player health, so I guess it's used for every entities losing HP.

The thing is, I just tried for a first step to increase the HP value of the enemy, but if I go further than its original max HP, it just resets to original max HP before decreasing the value with the damages I just did.

So it looks like the game is checking an another address with the max HP value, i'm wondering if there is a way to find that address from there ?

Because i know the value of the max HP, I tried to scan for unchanged values multiple times but obviously it doesn't work cause there are 200 other addresses keeping the same value, and to see addresses accessed by opcodes in relation with HP but didn't managed to find the max hp address.
I guess it's finally time to see the tutorial

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4630

Re: [FFXV] Get enemies' stats adresses

Post by SunBeam »

I'm pretty sure you need to understand this shit in a diagram-fashion first, as you require a lot more skills than just scanning for addresses. You see, in deterministics, there's no such thing as "around that"; it's either there or not. No grays.

Alkadix
Noobzor
Noobzor
Posts: 8
Joined: Fri Apr 06, 2018 8:19 am
Reputation: 0

Re: [FFXV] Get enemies' stats adresses

Post by Alkadix »

Yeah I know that's true, I was hoping to not need that much skills for a simple thing like modifying some stats, but I guess when you start to dig in the memory you can't dodge that
Last edited by Alkadix on Sat Apr 07, 2018 2:05 am, edited 1 time in total.

UltimatePoto42
Expert Cheater
Expert Cheater
Posts: 103
Joined: Tue May 02, 2017 6:00 am
Reputation: 15

Re: [FFXV] Get enemies' stats adresses

Post by UltimatePoto42 »

Alkadix wrote:
Fri Apr 06, 2018 9:14 pm
Thanks for your answer, yeah i've found the address of the current HP of an enemy and so the opcode which decreases HP, indeed that one seems to also decrease player health, so I guess it's used for every entities losing HP.
...
Step 9 in the CE tutorial will help explaining how to separate them out.
Alkadix wrote:
Fri Apr 06, 2018 9:14 pm
...
The thing is, I just tried for a first step to increase the HP value of the enemy, but if I go further than its original max HP, it just resets to original max HP before decreasing the value with the damages I just did.

So it looks like the game is checking an another address with the max HP value, i'm wondering if there is a way to find that address from there ?

Because i know the value of the max HP, I tried to scan for unchanged values multiple times but obviously it doesn't work cause there are 200 other addresses keeping the same value, and to see addresses accessed by opcodes in relation with HP but didn't managed to find the max hp address.
I guess it's finally time to see the tutorial
If max HP isn't near the HP, then I look at the assembly to find it. So have a "find what accesses this address" debugger running and set the HP above the max and see what comes up; it may be right there some where or you may need to break and trace to find where the value comes from. There will have to be some kind of compare to check if HP is above max.

And the max HP may be a float while HP is an int of visa versa, it could be stored as 10x the value and only really exist as you see it in a registry just before the compare and write instructions.

Alkadix
Noobzor
Noobzor
Posts: 8
Joined: Fri Apr 06, 2018 8:19 am
Reputation: 0

Re: [FFXV] Get enemies' stats adresses

Post by Alkadix »

Thanks I got some good results

Alkadix
Noobzor
Noobzor
Posts: 8
Joined: Fri Apr 06, 2018 8:19 am
Reputation: 0

Re: [FFXV] Get enemies' stats adresses

Post by Alkadix »

Hello,

I was wondering if someone could enlight me on the purpose of those movups instructions :

[Link]

It seems to set values, and max hp in particular, but I have no clue what it's really doing :mrgreen:

TimFun13
Expert Cheater
Expert Cheater
Posts: 1353
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 7

Re: [FFXV] Get enemies' stats adresses

Post by TimFun13 »

Alkadix wrote:
Sun Apr 08, 2018 4:04 pm
Hello,

I was wondering if someone could enlight me on the purpose of those movups instructions :

[Link]

It seems to set values, and max hp in particular, but I have no clue what it's really doing :mrgreen:
[Link]
Move Unaligned Packed Single-Precision Floating-Point. Basically it moves 16 bytes at a time and doesn't require alignment like MOVAPS.

[Link]

Post Reply

Who is online

Users browsing this forum: No registered users