| View previous topic :: View next topic |
| Author |
Message |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sun Nov 04, 2007 3:33 pm Post subject: Update Value? |
|
|
well i trying to make a trainer (im nearly done just a few steps more) thanks dark byte for CELite source
now to the question how do i update the value in the value box?
in CELite the value dosent update in the value box
exampel
i have address "68888" with type "4" value "Unknow" << how do i make this being updated from the memory
_________________
dont complain about my english...
1*1 = 2?
Last edited by ups2000ups on Sun Nov 04, 2007 3:44 pm; edited 1 time in total |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sun Nov 04, 2007 3:39 pm Post subject: |
|
|
What is CeLittle? Do you mean CELite?
_________________
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sun Nov 04, 2007 3:43 pm Post subject: |
|
|
| appalsap wrote: | | What is CeLittle? Do you mean CELite? |
ops sorry myfoult =p
yes i mean CELitle
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sun Nov 04, 2007 3:50 pm Post subject: |
|
|
You find the procedure that fills the box when it first spawns, and call it again.
_________________
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sun Nov 04, 2007 4:00 pm Post subject: |
|
|
it never fills the box it is pretty simple
search for a value
in the value box put ur own value and press "dork" and it chnges on the address
| Code: |
function Poke(address:dword;bytes:tbytearray):boolean;
var bw: dword;
begin
result:=writeprocessmemory(processhandle,pointer(address),@bytes[0],length(bytes),bw);
end; |
| Code: |
procedure TForm1.Button2Click(Sender: TObject);
var address:dword;
value1: byte;
value2: word;
value3: dword;
value4: single;
value5: double;
x:dword;
check:boolean;
newvalue:string;
begin
if sender<>timer2 then undo;
address:=StrToInt('$'+edit2.text);
newvalue:=edit3.text;
check:=false;
case combobox2.ItemIndex of
0: //byte
begin
value1:=StrToInt(newvalue);
check:=writeprocessmemory(processhandle,pointeR(address),@value1,1,x);
end;
1: //2 byte
begin
value2:=StrToInt(newvalue);
check:=writeprocessmemory(processhandle,pointeR(address),@value2,2,x);
end;
2: //4 byte
begin
value3:=StrToInt(newvalue);
check:=writeprocessmemory(processhandle,pointeR(address),@value3,4,x);
end;
3: //float
begin
value4:=StrToFloat(newvalue);
check:=writeprocessmemory(processhandle,pointeR(address),@value4,4,x);
end;
4: //double
begin
value5:=StrToFloat(newvalue);
check:=writeprocessmemory(processhandle,pointeR(address),@value5,8,x);
end;
end;
if not check then raise exception.Create('Master... Master.... I failed to write to the memory my master. Please, don''t hurt me!');
end; |
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sun Nov 04, 2007 4:02 pm Post subject: |
|
|
I don't understand what you're trying to do now.
_________________
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sun Nov 04, 2007 4:06 pm Post subject: |
|
|
first you search for 1 value
doubel click the address and it will be putted into address and value box
but how do i make the value read the address value (update)
EDIT
Got it Thanks
_________________
dont complain about my english...
1*1 = 2?
Last edited by ups2000ups on Sun Nov 04, 2007 4:20 pm; edited 1 time in total |
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Sun Nov 04, 2007 4:17 pm Post subject: |
|
|
I understand. You are putting in the addresses manually then, without scanning? Use ReadProcessMemory and convert the output to string form.
_________________
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sun Nov 04, 2007 4:21 pm Post subject: |
|
|
| appalsap wrote: | | I understand. You are putting in the addresses manually then, without scanning? Use ReadProcessMemory and convert the output to string form. |
yea =p well thanks anyway you helped alot =)
+rep now i hope dark byte will answear how to add a pointer in the address too xD
lol i fell like a big ass begger right now lolz
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
|