 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Wed Jan 16, 2008 8:59 am Post subject: Delphi find address by Array of byte ? |
|
|
hi i wondering how do i do to find a address and change it by array
| Code: |
var
x:dword;
Address,Val:Array of byte;
begin
Address:=75 36 83 7C 24 0C 00 75 19 8B 86 88 20 00 00 FF;
Val:=db 90 90;
Writeprocessmemory(processhandle,pointer(Address),@Val,4,x);
end;
|
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Wed Jan 16, 2008 9:24 am Post subject: |
|
|
First of all, in delphi, hexadecimalic number has $ before of it.
Array of Byte should look like Address := [75, 36, 83]; (I think)
Val should be $90 $90 not db 90 90...
Then read X ammount of bytes (lets say from 00400000 to 00410000 its 65536 which is 0x10000) and check the first byte, if it matchs store or somewhere and read the next one, else reset it and continue.
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Wed Jan 16, 2008 11:55 am Post subject: |
|
|
okay thanks
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Wed Jan 16, 2008 12:58 pm Post subject: |
|
|
| Code: | | array [0..15] of byte = ($75,$36,$83,$7C,$24,$0C,$00,$75,$19,$8B,$86,$88,$20,$00,$00,$FF); |
$ represent Hex (Hexadecimal) in delphi
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|