deten How do I cheat? Reputation: 0
Joined: 04 Jan 2016 Posts: 6
|
Posted: Sun Sep 22, 2019 11:52 pm Post subject: Applying Bandages (timed effect) |
|
|
Hi Guys,
I am looking into a few things about bandages in a game. Basically bandages are initiated (on button press, no animation). Then a timer clicks down. After timer is complete, the bandage is applied and heals a portion of health.
I was trying to find a way to send the "initiate bandage" action using a script. End goal being "if health is below xx, apply bandage".
To keep it simple. I went through a cycle after an initial search for "unknown value". I applied a bandage, searched for a changed value, then waited for the bandage to complete, ignore value, then repeated the process agian.
I found (2) hexes that hold a byte that is either a value of 1 or a value of 2. It is a value of 2 until a bandage is applied. Then it becomes a value of 1 until complete. Then it cycles over agian.
So here is where I am stuck.
Should I be finding what "writes" or "accesses" this value?
Attached is a screenshot of what writes to this memory locaiton
Thanks!
Description: |
|
Filesize: |
40.91 KB |
Viewed: |
1727 Time(s) |
|
|
|