Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


All pointers lost on rescan.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Flameberger
How do I cheat?
Reputation: 0

Joined: 03 Feb 2016
Posts: 2

PostPosted: Wed Feb 03, 2016 6:13 pm    Post subject: All pointers lost on rescan. Reply with quote

So I'm trying to use scans to get consistent pointers for some memory values of a game (Fortune Summoners: Secret of the Elemental Stone.) I've successfully done it for an HP memory value using the procedure described in the basic tutorials: Find address, pointer scan / rescan, repeat until sufficiently narrowed down. No problems there.

My problem is that for a specific value I want to work with I am getting odd behavior from the pointers. I can find the address, do a pointer scan and get many results but they are all lost when I go for a rescan, even if I don't restart the game or do anything else that would cause the address to change. I can pointer scan the address and then immediately, without letting the game run at all (it pauses when out of focus), rescan that same address and all the pointers are gone. When I try this for other memory addresses an immediate rescan does not lose pointers, which is what I would expect considering that the game state isn't changing.

I tried it numerous times, with or without letting the game run between scans, restarting the game and re-finding the address or game-overing and re-finding the address all had the same result: all pointers gone on the 2nd scan.

Here's some details about the address specifically I am trying to work with: In this game you can have up to 3 characters in your party at a time, if their HP drops to 0 they enter a fainted state where they are uncontrollable until healed. The memory value I am working with is one of the party member's fainted state: 0 = active, 1 = fainted. From when I load a save file until I game over the address of the value, and which party member it corresponds to, do not change.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Feb 03, 2016 6:20 pm    Post subject: Reply with quote

When you rescan, are you scanning for the address (not the value)?
Is this address close to that unit's health address? Or any other address within the pointer chain?
Could you simply modify the health pointer slightly to find the fainted state address?
Back to top
View user's profile Send private message
Flameberger
How do I cheat?
Reputation: 0

Joined: 03 Feb 2016
Posts: 2

PostPosted: Wed Feb 03, 2016 6:42 pm    Post subject: Reply with quote

Zanzer wrote:
When you rescan, are you scanning for the address (not the value)?
Is this address close to that unit's health address? Or any other address within the pointer chain?
Could you simply modify the health pointer slightly to find the fainted state address?


Good call, it seems the faint status address is always 1014 (0x3F6) bytes after the health address. Not entirely sure how to modify the pointer, but I'll look into that now.

Edit: OK, figured out how to tinker with the pointer offsets and got a persistent faint pointer set up. Still a bit curious what was going on with my scans, but I've got what I need for my project now. Thanks a bunch Zanzer.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites