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 


Break run of memory viewer when acces or write variable

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

Joined: 27 Jul 2016
Posts: 5

PostPosted: Wed Jul 27, 2016 1:54 am    Post subject: Break run of memory viewer when acces or write variable Reply with quote

Hello everyone Very Happy

I'm trying to cheat a program (not a game).

This program creates the variable during its running, and the address of creation changes from time to time.

I was wondering if it was possible to break the execution of the program, in memory viewer, when it tries to acces or write a variable.

They are also open for other suggestions on how to proceed.
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Wed Jul 27, 2016 2:29 am    Post subject: Reply with quote

add a breakpoint to the instruction.
find the instruction by seeing what accesses an address.
Set breakpoint conditions once the breakpoint is in if you need more precision (such as only breaking on one address)
Back to top
View user's profile Send private message
vaschthestampede
How do I cheat?
Reputation: 0

Joined: 27 Jul 2016
Posts: 5

PostPosted: Wed Jul 27, 2016 3:09 am    Post subject: Reply with quote

cooleko wrote:
find the instruction by seeing what accesses an address.

The address of the accesses changes from every run so I can't set the breakpoint.

The program close itself then it is done.
Back to top
View user's profile Send private message
vaschthestampede
How do I cheat?
Reputation: 0

Joined: 27 Jul 2016
Posts: 5

PostPosted: Sun Aug 07, 2016 4:29 pm    Post subject: Reply with quote

Please help me, I'm running out of ideas.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 07, 2016 5:14 pm    Post subject: Reply with quote

Do as cooleko suggests and check to see what is accessing the address. Even though the address and/or instruction may change during each run, you can usually solve that problem with an AOB signature. Use the AOB injection template when creating the script.
Back to top
View user's profile Send private message
vaschthestampede
How do I cheat?
Reputation: 0

Joined: 27 Jul 2016
Posts: 5

PostPosted: Sun Aug 14, 2016 3:57 pm    Post subject: Reply with quote

It seems that the instructions which modify the parameter which I am interested are crate during the process, so even AOB injection is useful...

There is no way to pause the program execution (again is a program, not a game) when it accesses (and/or writes) a specified variable?

Is Cheat Engine the wrong program for this tipe of stuff?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 14, 2016 4:37 pm    Post subject: Reply with quote

You can set a breakpoint at startup with CE, but you'll need to incorporate some LUA to do it. I find it's easier to just work with x64dbg or immunity debugger, but both methods can work.
Back to top
View user's profile Send private message
vaschthestampede
How do I cheat?
Reputation: 0

Joined: 27 Jul 2016
Posts: 5

PostPosted: Mon Aug 15, 2016 2:03 am    Post subject: Reply with quote

Using x64dbg the program gives me this message:

"A debugger has been found running in your system.
Please, unload it from memory and restart your program."

At first it gave me the same message with CE but I found the setting to work around this problem. I can not find the corresponding setting in x64dbg.

However I think we're going beyond the scope of this forum so I think it's better to close. Perhaps I will continue in the x64dbg forum.

Thanks for your help.
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