Source of damage

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
MTK
Noobzor
Noobzor
Posts: 5
Joined: Thu Dec 28, 2023 8:29 pm
Reputation: 1

Source of damage

Post by MTK »

Hello,

I need some help in finding source of damage and entities ID (or whatever it's called) in the game 東方幻想魔録W ~ The Devil of Decline.



Keep in mind that I have absolutely no programming language knowledge, I'm learning through this process.

Here where I'm at:

I found the static address where the damage inflicted by characters or monsters is (supposedly(I have no idea)) stored. 1 hit is inflicted, the value change to that damage and so on. Everytime a damage is inflicted this instruction mov [rcx+000003D0],edx write to this address.
I can easily do an injection, replacing edx to let's say 10000 and do tons of damage but of course, so the ennemies.
Above this instruction there is this one instruction mov edx,[rax+58], if I understand correctly rax+58 is the source.
When I perform a breakpoint on mov edx,[rax+58], the game freeze as soon as someone will perform a hit, I take the rax address then had 58 and go to that address. Nice there's is my value (even before it appears in game). As soon as I unfreeze the game, the value disappear and the address for rax change when I perform an another breakpoint. I tried to find the static address but I failed.

What do I do from here? My goal is to manipulate damage for all the entities on the field and why not, do a One Hit KO script.

Thanks for your help.

User avatar
Send
Table Makers
Table Makers
Posts: 1152
Joined: Fri Feb 02, 2018 5:58 pm
Reputation: 938

Re: Source of damage

Post by Send »

It's a unity game. Just use the .NET mono window. There's probably a Player or Character class that holds all parameters. I don't own the game so can't help any further. For One Hit Kill, search for an Enemy class that holds the health. Write a script to set the hp to 1 or 0.

MTK
Noobzor
Noobzor
Posts: 5
Joined: Thu Dec 28, 2023 8:29 pm
Reputation: 1

Re: Source of damage

Post by MTK »

Thanks for your reply.

I did look into it but I won't lie I didn't understand much.

I assume everything should be in the Assembly-CSharp.dll?

I'll look into it more.

Thanks.

User avatar
Send
Table Makers
Table Makers
Posts: 1152
Joined: Fri Feb 02, 2018 5:58 pm
Reputation: 938

Re: Source of damage

Post by Send »

MTK wrote:
Wed Mar 05, 2025 9:27 pm
Thanks for your reply.

I did look into it but I won't lie I didn't understand much.

I assume everything should be in the Assembly-CSharp.dll?

I'll look into it more.

Thanks.
Usually, yeah. Some games use a custom dll.

Post Reply

Who is online

Users browsing this forum: No registered users