| View previous topic :: View next topic |
| Author |
Message |
xkasperx How do I cheat?
Reputation: 0
Joined: 13 Mar 2007 Posts: 9
|
Posted: Sun Jan 04, 2009 11:29 pm Post subject: Delphi Memory Editing Help? |
|
|
| I was wonder how would i make a program in delphi which edits memory of a certain game
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
|
| Back to top |
|
 |
xkasperx How do I cheat?
Reputation: 0
Joined: 13 Mar 2007 Posts: 9
|
Posted: Sun Jan 04, 2009 11:37 pm Post subject: |
|
|
| got an example?? cuz its hard to understand without examples >> sry if thats too much to ask bcuz thats the way i learn things
|
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Mon Jan 05, 2009 12:03 am Post subject: |
|
|
| xkasperx wrote: | | got an example?? cuz its hard to understand without examples >> sry if thats too much to ask bcuz thats the way i learn things |
An example can be found here, here or here. (Or there).
_________________
Blog
| Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Mon Jan 05, 2009 4:39 am Post subject: |
|
|
It's normal not to understand without seeing a basic sample:
Fill in the Address (VA) and the ID of the Process
This will patch 2 byte nop
| Code: | procedure PatchSomeProcess(const Address: Integer; dwProcessId: DWORD);
const aBuffer: Word = ($90);
var
hProcess: THandle;
lol: DWORD;
begin
hProcess := OpenProcess( PROCESS_VM_WRITE or PROCESS_VM_OPERATION, False, dwProcessId );
WriteProcessMemory( hProcess, Ptr(Address), aBuffer, sizeof(aBuffer), lol );
CloseHandle( hProcess );
end; |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Mon Jan 05, 2009 7:55 am Post subject: |
|
|
This is what you need:
http://ce.colddot.nl/browser/Cheat%20Engine
It's in delphi
and it's a memory editor
What else do you want ?
_________________
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 |
|
 |
xkasperx How do I cheat?
Reputation: 0
Joined: 13 Mar 2007 Posts: 9
|
Posted: Mon Jan 05, 2009 4:43 pm Post subject: |
|
|
| thx rot1 and dark byte for the help
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Tue Jan 06, 2009 5:24 am Post subject: |
|
|
| xkasperx wrote: | | thx rot1 and dark byte for the help |
You're welcome, Ptr() is a useful function when it comes to memory management.
Converts a specified address to an untyped pointer.
|
|
| Back to top |
|
 |
angerist Grandmaster Cheater Supreme
Reputation: 0
Joined: 18 Jun 2007 Posts: 1011 Location: Australia.
|
Posted: Fri Jan 16, 2009 6:14 pm Post subject: |
|
|
Rot looking at your code how would one fill this in. Sorry it just takes a while for things to click in my head.
So here's your code..
| Code: | procedure PatchSomeProcess(const Address: Integer; dwProcessId: DWORD);
const aBuffer: Word = ($90);
var
hProcess: THandle;
lol: DWORD;
begin
hProcess := OpenProcess( PROCESS_VM_WRITE or PROCESS_VM_OPERATION, False, dwProcessId );
WriteProcessMemory( hProcess, Ptr(Address), aBuffer, sizeof(aBuffer), lol );
CloseHandle( hProcess );
end; |
Is this where I put the process Id
And do I place the address in the (Address) bracket.
Thank you anyone in advance
And yes I'm a complete noob at delphi
_________________
|
|
| Back to top |
|
 |
|