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 


A lot of opcodes found (solved)

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

Joined: 03 Dec 2015
Posts: 2

PostPosted: Thu Dec 03, 2015 2:27 pm    Post subject: A lot of opcodes found (solved) Reply with quote

I used "Find out what writes to this address" and I have a lot of results. I guess maybe about one hundred.

It's for a software. When I click the button in the software, the memory get written many times with "garbage" the last write is the value I'm looking for.

Is there an easy way to find which opcode changes the value to the one I'm looking for? Checking them one by one would take a while.

I checked quickly at the breakpoints but I'm not sure it's doable. I'm under the impression that I can add a conditional breakpoint on an instruction but not on a data breakpoint.


Last edited by brunoqc on Fri Dec 04, 2015 1:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4695

PostPosted: Thu Dec 03, 2015 11:17 pm    Post subject: Reply with quote

I think this will work:
  1. Pause the process from the advanced options menu
  2. Find out what writes to that address
  3. Open up the memory viewer
  4. Go to view -> breakpointlist
  5. Right click on the breakpoint that's finding code on write
  6. Select set/change condition
  7. Set your condition there (for advanced, return any nonzero value to record the instruction IIRC)
  8. Resume the process

If you'd like more help with the Lua code for the advanced condition, please provide more information (i.e. what the value you're looking for is).

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
brunoqc
How do I cheat?
Reputation: 0

Joined: 03 Dec 2015
Posts: 2

PostPosted: Fri Dec 04, 2015 1:05 pm    Post subject: Reply with quote

It worked.

I was looking for the string "M12032s_10(1).bpp" but I wasn't able to find it using readString(). I tried with a short and long Maxlength and with and without isWideString.

When the code was done running I saw in Memory View that only the "M12032s_10(1)" part of the string was highlighted in green. I tried searching for only this and it worked. I'm not sure why.

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