Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Delphi] Using Debug Registers

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Acim
Grandmaster Cheater Supreme
Reputation: 0

Joined: 04 Jun 2007
Posts: 1948
Location: If anyone has a GMS DK and they don't need it I'll have it!!

PostPosted: Sun Nov 11, 2007 6:26 pm    Post subject: [Delphi] Using Debug Registers Reply with quote

This code is from vener's tutorial on making trainers. Say I used this code:


Code:

procedure TTrainer.tickeax(address:dword;regval:string);
begin
frmModifyRegisters:=tfrmModifyRegisters.create(nil,address);
frmModifyRegisters.checkbox1.checked:=true;
frmModifyRegisters.edit1.Text:=regval;
frmModifyRegisters.Button1.Click;
frmModifyRegisters.Free;
end;


then used this:

Code:

procedure TTrainer.CheckBox8Click(Sender: TObject);
var
regval:string;
begin
regval:=edit1.Text;
if checkbox8.checked then
begin
tickeax($0069041D,regval);
end
else
begin
disablebp($0069041D);
edit1.Text:=''
end;
end;


Excluding all the errors in the script, would I be able to use tfrmModifyRegisters? I'm trying to make a standalone trainer, not one inside the UCE, I am still firguring out how to attach to a process, but I'm looking at KAspersky's thread.

Main Question: Can I use tfrmModifyRegisters without the program being inside CE?

_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06.
Back to top
View user's profile Send private message
sphere90
Grandmaster Cheater
Reputation: 0

Joined: 24 Jun 2006
Posts: 912

PostPosted: Sun Nov 11, 2007 6:55 pm    Post subject: Reply with quote

No.
Back to top
View user's profile Send private message
Acim
Grandmaster Cheater Supreme
Reputation: 0

Joined: 04 Jun 2007
Posts: 1948
Location: If anyone has a GMS DK and they don't need it I'll have it!!

PostPosted: Sun Nov 11, 2007 7:14 pm    Post subject: Reply with quote

..Crying or Very sad

So what should I do to make a standalone trainer using debug registers?

_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Sun Nov 11, 2007 7:20 pm    Post subject: Reply with quote

rip just the amount of code you need from CE
_________________
Back to top
View user's profile Send private message
sphere90
Grandmaster Cheater
Reputation: 0

Joined: 24 Jun 2006
Posts: 912

PostPosted: Sun Nov 11, 2007 7:34 pm    Post subject: Reply with quote

That's going to be a lot... Since you need code from the driver and the code from the usermode program.
Back to top
View user's profile Send private message
Acim
Grandmaster Cheater Supreme
Reputation: 0

Joined: 04 Jun 2007
Posts: 1948
Location: If anyone has a GMS DK and they don't need it I'll have it!!

PostPosted: Mon Nov 12, 2007 7:12 am    Post subject: Reply with quote

Thats what I was thinking, use CE's code. But that'd be...difficult for me. Wink
_________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites