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 


Some questions

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

Joined: 23 Apr 2018
Posts: 6

PostPosted: Thu Apr 26, 2018 10:47 pm    Post subject: Some questions Reply with quote

1) I really like the trace output of CE. It's composed into a nice structure and so easy to look at. But I notice that the Find feature doesn't work, or maybe I did something wrong. For example: "EAX==1" or "readInteger(0x15e090)==42".
2) How can I change the hotkeys for actions like Step into, Step over, etc ? I can't find them in the settings.
3) Can I set a conditional breakpoint that will trigger as soon as the condition is true (like awatch in GDB) ? Because I don't know where the value will change.
4) How to trace a value to the line where it was created ? Like in:

sub eax,3
mov [ecx+78],eax
mov edx,[ecx+78]
pop ecx,edx
push ecx
mov eax,[ebp+8]
...

Suppose that I'm looking for the line that decreases the health value (1st line). And the health went through 1000 times of either written to or read from memory, in hundreds of different functions. It will take a lot of time and tedious to do it manually.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Apr 27, 2018 1:33 am    Post subject: Reply with quote

1: probably a bug, i'll fix it. (readInteger will not work because it doesn't store a full memory copy with each instruction)
2: currently no official way, but you can use lua to change the shortcuts of the menuitems

3: after setting the breakpoint rightclick it and choose the option for a condition. If it breaks before you have time first break before, or pause the target process

4: no idea, that is different for each thing. some are in the stack, some are just intermediate values. but usually the value is in a register at some point

_________________
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
night_sky
How do I cheat?
Reputation: 0

Joined: 23 Apr 2018
Posts: 6

PostPosted: Fri Apr 27, 2018 3:16 am    Post subject: Reply with quote

Quote:
2: currently no official way, but you can use lua to change the shortcuts of the menuitems

Including Run, Step, etc ? Can you elaborate a bit ?

Quote:
3: after setting the breakpoint rightclick it and choose the option for a condition. If it breaks before you have time first break before, or pause the target process

That's not a very useful method. But thanks anyway.
The game I'm debugging is quite complex. The values are stored in different ways, some times it's * 10, sometimes + 2 for example. And there are C + assembly code. Sometimes the real action is like 50 stacks below...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Fri Apr 27, 2018 3:58 am    Post subject: Reply with quote

this lua script changes the shortcuts:
Code:

mf=getMemoryViewForm()
mf.Run1.ShortCut=textToShortCut('F5')
mf.Step1.ShortCut=textToShortCut('F6')
mf.StepOver1.ShortCut=textToShortCut('F7')
mf.Executetillreturn1.ShortCut=textToShortCut('F8')
mf.RunTill1.ShortCut=textToShortCut('F9')
mf.miSetAddress.ShortCut=textToShortCut('F10')
mf.Setbreakpoint1.ShortCut=textToShortCut('F11')

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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