ymiu Cheater
Reputation: 0
Joined: 16 Dec 2018 Posts: 41
|
Posted: Sun May 05, 2019 4:58 am Post subject: Cannot find code that writes to address with changing value |
|
|
This game uses the Unreal engine. I'm trying to find the address for "Scrap", which is currency. I locate two addresses with the correct value by entering a shop, searching for the original value, buying something, then leaving the shop and then searching for the updated value. It seems to be important that I don't search for the new value until after I've left the shop screen.
So this leaves me with two addresses. I try to find what writes to those addresses, repeat the previous steps, and I get no results. I can watch the values update as I'm leaving the shop each time after I buy something, but the debugger doesn't pick up any opcode. It can only detect code that accesses those addresses.
Manually editing these values has no visual effect in the game. In CE, one of them reverts to the original value when I enter the shop. Both of them revert to the original value when I leave the shop.
I'm trying to imagine what's going on behind the scenes. Obviously, I could just be picking up the value coming from the on screen display of my scrap, rather than the actual scrap variable. But these addresses are static, so I'm unsure why I can't detect the code that changes them each time I buy something and leave the shop, even if it is just the GUI's display number that I'm picking up.
|
|