 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
gloowa How do I cheat?
Reputation: 0
Joined: 27 Mar 2021 Posts: 3
|
Posted: Sat Mar 27, 2021 1:02 am Post subject: Pointer scanning for address which changes on every write? |
|
|
Hi,
I know how to to a pointer scan, if i am able to locate the address of the variable i am looking for (find address, make a pointermap, save, restart game, find address again, make another pointermap, combine the two (or more)).
However, my current predicament is that when i search for the value (in this case - a string that indicates current player location in game) i find ~70 addresses. And when i make the value change in game, the "next scan" comes empty. "New scan" however yields 70 new addresses.
My two assumptions are that:
1) rather than changing content of the string, game allocates new string
2) apparently game keeps ~70 copies of the string, rather than pointing to one copy from different places
How would i approach searching for "true" address and its pointer in this scenario?
Comparing pointermaps for each found address is well... pointless, since the target address is different.
I am convinced that most of the copies of the value are artifacts of the UI etc, not the actual place where game keeps the "player is here" location name, so only one address would be the correct one, but doing the pointerscan / reload game / pointerscan for every of the ~70 addresses fills me with dread (game has large mem footprint, takes 5~10 minutes to run pointerscan even with 12 cores)
My end goal is to write an autosplitter for speedrunning, but for that i need to have reliable method of locating the pointer that targets the location address... |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Sat Mar 27, 2021 3:51 am Post subject: |
|
|
I'd say every single string you've found is in fact an UI artifact and that the actual "player is here" is 2 or 3 float values _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
gloowa How do I cheat?
Reputation: 0
Joined: 27 Mar 2021 Posts: 3
|
Posted: Sat Mar 27, 2021 5:13 am Post subject: |
|
|
That might actually be correct. I am searching for current star system name (each star system is it's own "map") but it's probably some kind of id. But it should be able to locate at least one pointer that always points to current location name, somehwere in memory.
Assuming i want to search for pointer for location name/label to be able to read current location name, how would i go about it?
Is my only option to make two pointermaps and then do a comparison one addres by one (effectively making a cross product of the addresses i search for in the pointer scan)?
that's 1400 coparisons, let's assume 5 min each... 120 hours... non stop... |
|
| 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
|
|