View previous topic :: View next topic |
Author |
Message |
souleaf How do I cheat?
Reputation: 0
Joined: 25 Dec 2010 Posts: 2
|
Posted: Sat Dec 25, 2010 4:28 am Post subject: How to open inventory or menu screen in game. |
|
|
Many of the game options have a key attached to it. For example I for Inventory. E for equipment.. and double click on shop to open up shop menu..
How do i open these menu automatically. Do i need to scan the address? and how?
much appreciated. |
|
Back to top |
|
 |
Jesper Grandmaster Cheater Supreme
Reputation: 9
Joined: 21 Feb 2007 Posts: 1156
|
Posted: Sat Dec 25, 2010 8:17 am Post subject: |
|
|
Send the window message to it using PostMessage function. |
|
Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Sun Dec 26, 2010 7:27 am Post subject: |
|
|
Depends on the game, it might have a openInventory() function, in which case you could just inject some code and call the function, or send a WM_KEYDOWN WM_KEYUP with the VK_E parameter. |
|
Back to top |
|
 |
Dacnomania Expert Cheater
Reputation: 1
Joined: 03 Sep 2010 Posts: 124
|
Posted: Sun Dec 26, 2010 8:29 am Post subject: |
|
|
scan unknown initial value, open the menu the normal way, scan changed value, close it, scan changed value, and so forth.
Until you find the address and there is in fact an address, I worked on something like this not so long ago, the value happened to be 100. |
|
Back to top |
|
 |
souleaf How do I cheat?
Reputation: 0
Joined: 25 Dec 2010 Posts: 2
|
Posted: Sun Dec 26, 2010 11:09 am Post subject: |
|
|
visiON_131 wrote: | Depends on the game, it might have a openInventory() function, in which case you could just inject some code and call the function, or send a WM_KEYDOWN WM_KEYUP with the VK_E parameter. |
Thanks for your reply, i am standing in a trainner making perpsective. using key press is only possible if the game interface gives it the option. I am looking for a way to programmatically without interaction through keyboard and mouse.
[scan unknown initial value, open the menu the normal way, scan changed value, close it, scan changed value, and so forth.
Until you find the address and there is in fact an address, I worked on something like this not so long ago, the value happened to be 100.]
I did try it on a few games. I cannot get it to work.. or scan the correct value. May i ask how many bytes did you scan it with? 4 or 2? |
|
Back to top |
|
 |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Tue Dec 28, 2010 4:28 am Post subject: |
|
|
Dacnomania wrote: | scan unknown initial value, open the menu the normal way, scan changed value, close it, scan changed value, and so forth.
Until you find the address and there is in fact an address, I worked on something like this not so long ago, the value happened to be 100. |
What? Why would that work? I just cant get the logics. _________________
Intel over amd yes. |
|
Back to top |
|
 |
BirdsEye Advanced Cheater
Reputation: 0
Joined: 05 Apr 2008 Posts: 94
|
Posted: Tue Dec 28, 2010 9:24 pm Post subject: |
|
|
This can be easily done without involving memory. So why complicate things. My suggestion is to use SendInput or PostMessage -> WM_KEYDOWN / WM_KEYUP. You can make sure that the window recieves this message by focusing it. (Sorry, I haven't programmed for a long time, search up on MSDN) |
|
Back to top |
|
 |
Deine Mutter Expert Cheater
Reputation: 1
Joined: 05 Apr 2006 Posts: 181
|
Posted: Fri Dec 31, 2010 11:10 am Post subject: |
|
|
BirdsEye wrote: | This can be easily done without involving memory. So why complicate things. My suggestion is to use SendInput or PostMessage -> WM_KEYDOWN / WM_KEYUP. You can make sure that the window recieves this message by focusing it. (Sorry, I haven't programmed for a long time, search up on MSDN) |
A solution that uses memory manipulation should be always preferable to SendInput/PostMessage/Sendmessage crap. In most cases it is just friggin hard to find. _________________
|
|
Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Fri Dec 31, 2010 6:55 pm Post subject: |
|
|
message handlers are typically quite trivial to find because of GetWindowLong with DWL_DLGPROC. ie. if it can be done with send/postmessage then finding the code that is triggered from a particular message tends to take little effort |
|
Back to top |
|
 |
|