View previous topic :: View next topic |
Author |
Message |
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Sun Aug 21, 2016 9:06 pm Post subject: How to extract hotkeys from memory |
|
|
Is that possible to change hotkeys used in game with cheat engine memory scanning ? I want to replace ctrl key which is responsible of flying in the game with left click How to do that ?
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Aug 21, 2016 9:11 pm Post subject: |
|
|
It's possible. Depending on the game, you may try different approaches.
|
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Sun Aug 21, 2016 9:53 pm Post subject: |
|
|
++METHOS wrote: | It's possible. Depending on the game, you may try different approaches. |
tell me some of them please?
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Aug 21, 2016 10:13 pm Post subject: |
|
|
First, find the instruction that handles the ctrl key. Inject a script to cancel it out. Then, find the instruction that handles the mouse button and combine that with a script that handles flying and set up a trigger that checks for button-down.
Alternatively, you may be able to find the routine for flying and see if there is a check being done for keyboard/mouse inputs and change them around.
You may also be able to simply change the instruction that handles ctrl and write a combined script with mouse instruction so that flying happens with mouse-down instead of ctrl-down etc. etc..
|
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Aug 21, 2016 11:49 pm Post subject: |
|
|
Scan for it.
|
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Sun Aug 21, 2016 11:56 pm Post subject: |
|
|
++METHOS wrote: | Scan for it. |
how I get million result !! leftclick =0x1 !!
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Aug 22, 2016 12:09 am Post subject: |
|
|
Do another scan.
Unknown initial value. Hold left-click and search for increased value. Let off of mouse button and search for decreased value. Search for unchanged value. Press and hold left-click again and search for increased value. Repeat steps as needed.
|
|
Back to top |
|
|
Twistedfate Expert Cheater Reputation: 1
Joined: 11 Mar 2016 Posts: 231
|
Posted: Mon Aug 22, 2016 1:01 am Post subject: |
|
|
I fail in this sorry
|
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Aug 22, 2016 1:27 am Post subject: |
|
|
Make sure that you keep focus on the target process while doing your scans. You'll have to set up hotkeys in CE so that you can scan without removing focus from the game and without letting go of the mouse.
If that doesn't work, try changed/unchanged instead of increased/decreased.
If that doesn't work, maybe I can take a look when I am not busy.
|
|
Back to top |
|
|
|