View previous topic :: View next topic |
Author |
Message |
skyw4rrior Advanced Cheater Reputation: 0
Joined: 21 Aug 2005 Posts: 67
|
Posted: Wed Aug 24, 2005 12:30 pm Post subject: Change the assembly code |
|
|
Hi.. Im making a game trainer in delphi... and i have to modify the assembly code of an address of the game (the original assembly of that address is "MOV [EAX+EBP+41],CL" and i want to change it to
"MOV [EAX+EBP+41],DL" )
Can someone tell me how can i do this?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Wed Aug 24, 2005 9:21 pm Post subject: |
|
|
stand on the address and just type it in and press enter
_________________
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 |
|
|
bitterbanana Cheater Reputation: 0
Joined: 28 Nov 2004 Posts: 44
|
Posted: Wed Aug 24, 2005 11:39 pm Post subject: |
|
|
1. first assemble the asm code to hex
2. find the window handle of your game using FindWindow API
3. use WriteProcessMemory API to write the hex to the game
this isn't too specific, but it'll get you started. Just search around for those api functions.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Thu Aug 25, 2005 10:16 am Post subject: |
|
|
ah yes, didn't read it correctly. But do what bitterbanana says. (and also use virtualprotectex since code is usually read only and sometimes even writeprocessmemory wont work then)
_________________
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 |
|
|
skyw4rrior Advanced Cheater Reputation: 0
Joined: 21 Aug 2005 Posts: 67
|
Posted: Thu Aug 25, 2005 2:30 pm Post subject: |
|
|
yes i tryed it.. but didnt work.. i used ce to read the value at that address, and it matches with the result of the readprocessmemory in my program code.. but when i use the writeprocessmemory it dont work correctly.. the value read has 11 numbers, but the writeprocessmemory writes only 10...
|
|
Back to top |
|
|
bitterbanana Cheater Reputation: 0
Joined: 28 Nov 2004 Posts: 44
|
Posted: Thu Aug 25, 2005 6:13 pm Post subject: |
|
|
there's an extra parameter in the functions for the number of bytes you're writing or reading. Check it out.
|
|
Back to top |
|
|
|