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 


help with debugging

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

Joined: 24 Dec 2011
Posts: 9

PostPosted: Sat Dec 24, 2011 3:21 pm    Post subject: help with debugging Reply with quote

So, I'm trying to locate a static address that points (eventually) to the dynamic pointer that points to the data I'm interested in.

I followed a tut that showed me to use "Find out what accesses" and then do "More info" to find the register values at that instruction.

CE's suggestion was a register value (EDI) that held an address. I did a search through memory and found nothing for that pointer which made me sad.

The instruction that was accessing looked like this:

FSTP QWORD PTR DS:[EDI+4]

[EDI + 4] was the data (X position of my MMO game) that I wanted to find a static address to. CE said the value of EDI. The search led nowhere so I assumed that either I was totally messing up somehow, missing something, or that the address was calculated before being passed into the register...

The farthesst I could get was to see that the EDI register got its value from the ECX register at the beginning of the sub (fastcall i assume) so it was the value of the first parameter (EBP + 4? my assembly knowledge is really old).

Anyways, I'm looking for the best way to trace back to the static address at this point. The calling sub looks really messy and dont know the best/easiest method of searching for the proper address value that I need to reference to get my value and search for in order to hunt down the static address I so deserve to find Razz
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8585
Location: 127.0.0.1

PostPosted: Sat Dec 24, 2011 4:12 pm    Post subject: Reply with quote

You would want to add EDI's value to your table and pointer scan for that. But this isn't guaranteed to get you a static address. Especially with it being an MMO.

You could also look at where EDI is being set. Assuming its being passed from a param, set a break on the start of the function and look at the call stack for the return address (or follow it til it returns back to the previous function) to follow the flow back to the function that calls the one you have already.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
drdorianwhite
How do I cheat?
Reputation: 0

Joined: 24 Dec 2011
Posts: 9

PostPosted: Sat Dec 24, 2011 6:37 pm    Post subject: Reply with quote

cheers for pointing out the pointer scanner tool. I haven't used it before but get the gist of how it works. i get back a lot of results so, I guess I'm looking for the shortest route (lowest level) to the value im looking for and then test out each candidate by restarting the game and seeing if that static pointer will work...

One other question. I have 5 addresses that give my my x coordinate. so, this complicates things. do I just stick with one and work on that?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25902
Location: The netherlands

PostPosted: Sat Dec 24, 2011 6:48 pm    Post subject: Reply with quote

After a pointerscan restart the game and do a rescan with the previous pointerscan results
That will filter out the paths that only worked that one time

_________________
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
View user's profile Send private message MSN Messenger
drdorianwhite
How do I cheat?
Reputation: 0

Joined: 24 Dec 2011
Posts: 9

PostPosted: Sat Dec 24, 2011 7:30 pm    Post subject: Reply with quote

Dark Byte wrote:
After a pointerscan restart the game and do a rescan with the previous pointerscan results
That will filter out the paths that only worked that one time


pointerscan with the new address on top of the old scan with the old address?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25902
Location: The netherlands

PostPosted: Sat Dec 24, 2011 7:54 pm    Post subject: Reply with quote

there is a rescan pointers option at the top of the pointerscan window
There fill in the new address (or value that the address contains)

_________________
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
View user's profile Send private message MSN Messenger
drdorianwhite
How do I cheat?
Reputation: 0

Joined: 24 Dec 2011
Posts: 9

PostPosted: Sat Dec 24, 2011 9:25 pm    Post subject: Reply with quote

btw, how do I load a pointscan file?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 473

Joined: 09 May 2003
Posts: 25902
Location: The netherlands

PostPosted: Sat Dec 24, 2011 9:33 pm    Post subject: Reply with quote

in the pointerscan window (you can get to it from memoryview ->tools)
click file->open

_________________
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
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Sat Dec 24, 2011 10:10 pm    Post subject: Reply with quote

Maybe this will help a bit.


Link

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
drdorianwhite
How do I cheat?
Reputation: 0

Joined: 24 Dec 2011
Posts: 9

PostPosted: Mon Dec 26, 2011 2:38 am    Post subject: Reply with quote

Wiccaan wrote:
You would want to add EDI's value to your table and pointer scan for that. But this isn't guaranteed to get you a static address. Especially with it being an MMO.


Yeah, I'm trying to find game object list for an online game. I ended up trying to search for the X position of my character which gave me 5 identical values at different addresses.

I used the pointscan/rescan method 25 times, therefore, to no avail.

Why are MMOs so challenging?

Any tips on what I can try next? Didn't find a static address yet Sad

do I search deeper than level 5?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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