View previous topic :: View next topic |
Author |
Message |
Epz Newbie cheater
Reputation: 0
Joined: 01 Jul 2012 Posts: 23
|
Posted: Wed Dec 04, 2013 2:08 pm Post subject: [C#] Wondering how to capture/repeat action of game |
|
|
Hey there. I've been wondering so long how do I capture some kind of action in game? Well... I mean action as some game move in example if I open some menu so -> ("OPEN MENU"). How do I capture that and I make my C# trainer open that menu without sending any keys to game itself?
I'm asking, because I don't have any kind of clue what it's called for or what keywords I can use to search some examples / tutorials.
Thanks!
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
Back to top |
|
 |
Epz Newbie cheater
Reputation: 0
Joined: 01 Jul 2012 Posts: 23
|
Posted: Wed Dec 04, 2013 2:49 pm Post subject: |
|
|
Well. I find the memory in Memory Viewer that changes when menu appears on game and so on, but I have no clue how to make it simple. It changes array of bytes between like 50 lines of array of bytes. Changes is shown as red glow under memory viewer's bottom thing. Is that something correct relating to appear? I tried to search menu open and closed trigger like "0 and 1" -> "closed and open"
|
|
Back to top |
|
 |
justa_dude Grandmaster Cheater
Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Wed Dec 04, 2013 3:18 pm Post subject: |
|
|
If you can browse the imports to find some relevant bits that handle input, you can set a breakpoint and step out until you find the logic code. Ultimap works pretty well for finding this stuff, too.
Quote: |
Well. I find the memory in Memory Viewer that changes when menu appears on game and so on, but I have no clue how to make it simple. It changes array of bytes between like 50 lines of array of bytes. Changes is shown as red glow under memory viewer's bottom thing. Is that something correct relating to appear? I tried to search menu open and closed trigger like "0 and 1" -> "closed and open" |
It sounds like you might be looking at the bitmap that changes to display the menu instead of the logic that handles menu items.[/quote]
|
|
Back to top |
|
 |
Epz Newbie cheater
Reputation: 0
Joined: 01 Jul 2012 Posts: 23
|
Posted: Wed Dec 04, 2013 4:55 pm Post subject: |
|
|
Well. I found one call function in Memory View that calls the function for open a dialog (Notepad++) if I set a breakpoint there and I try to open the dialog in Notepad++ it will not open it, because of breakpoint. So I think it's correct place, but... how do I make sure how long way I have to copy the assembler code before I have to stop that I can make Thread of it without crashing?
Description: |
|
Filesize: |
65.93 KB |
Viewed: |
11668 Time(s) |

|
|
|
Back to top |
|
 |
Epz Newbie cheater
Reputation: 0
Joined: 01 Jul 2012 Posts: 23
|
Posted: Fri Dec 06, 2013 8:16 pm Post subject: |
|
|
E: Bump
(Changed to normal notepad)
Edit 2: I got it work without crash. If I open a notepad. I simply attach the Cheat Engine on it. If I click "Help -> About Notepad" I get Window opened up. I have several problems with it now that I figured out (figured out the reason how it crashes, but I don't still have solved how to fix the crash)
1. If I don't have manually opened the Window once and left it on and I execute the "Create Thread" on it. It will open more windows of that and it works, but if I close one of the windows the Notepad crashes.
2. If I don't have opened the window already manually then it crashes immediately when I execute the Create Thread thing.
NOTEPAD.EXE+1BA8 <- Start of calling the external window open in my notepad.
Edit 3: http://i.imgur.com/xEMFqmj.png
|
|
Back to top |
|
 |
|