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 


Rapidly changing pointer value

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

Joined: 06 Aug 2014
Posts: 3

PostPosted: Wed Aug 06, 2014 9:44 pm    Post subject: Rapidly changing pointer value Reply with quote

Hi,

*pointer scanning with default parameters does not work*

A variable K1 whose address is given by

[EBP + 8] where EBP always has the value 0124DDAC when K1 is being accessed.

However, the pointer at 0124DDAC is changing rather rapidly so only at one instant would it contain the address for K1.

Using <find out what writes to this address> returns an enormous list of assembly code that had written something to the address at some point (I only did some minimal action in the game).

In this case how should I find out a static pointer? I am going to look at using breakpoint to investigate for now.

EDIT:
Okay,

So I have tracked down this pointer value one step back, which is calculated from yet another pointer value that is rapidly changing and gets written over all the time. I could trace it few steps back but I am considering an alternative solution right now -


Question: How to instruct cheat engine to read a value at a particular address when a specified instruction code is executed?
Back to top
View user's profile Send private message
cheatenginekyzhk
How do I cheat?
Reputation: 0

Joined: 06 Aug 2014
Posts: 3

PostPosted: Thu Aug 07, 2014 7:23 am    Post subject: Reply with quote

Alright, I had a feeling that the offset used to calculate the new pointer value everytime a new address is generated would also be be changing all the time, so it's pointless to keep tracing back.

I looked into LUA scripting, and just did some simple scripting to set value of EAX which gets written to whatever address ECX is pointing at when a block of assembly gets executed that deals with battle dynamics.

Code:

function debugger_onBreakpoint()
EAX = 0x000000C8
debug_continueFromBreakpoint(co_run)
return 1
end

openProcess("ED_ZEROK.exe")
debugProcess()
debug_setBreakpoint('"ED_ZEROK.exe"+313F25')
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