| View previous topic :: View next topic |
| Author |
Message |
almar2023 Newbie cheater
Reputation: 0
Joined: 14 Feb 2009 Posts: 19
|
Posted: Thu Mar 11, 2010 11:17 pm Post subject: Delphi 7 .DLL adding hotkeys.. |
|
|
Guys i need Help with This...
Im adding a Hotkey for This Delphi's DLL
so if i press F12 the hack will enable
could someone help me adding hotkeys im new at coding...
BTW here is my code.. if possibly show me some code which does have hotkeys or edit my work and add some hotkeys...
| Quote: | library almar2023;
uses
Windows;
const
CellAddress:dword=$00734B59;
CellArray:Array[0..1] of Byte = ($EB,$1D);
Procedure celladdress2cellarray;
Var
j:Integer;
Begin
VirtualProtectEx(GetCurrentProcess,ptr(CellAddress),2,PAGE_EXECUTE_READWRITE,nil);
for j := 0 To Length(CellArray) do
PByte(CellAddress + j)^:=CellArray[j];
end;
Var
x:cardinal;
Begin
CreateThread(nil,0,@celladdress2cellarray,nil,0,x);
MessageBox(0,'Created By almar2023','almar2023',0);
end. |
_________________
Hi im almar from philippines and i'm using cheatengine in all of my games i've played
i join now here because i wanted to learn and
share if how to make the UCE [undetectable cheat engine] |
|
| Back to top |
|
 |
almar2023 Newbie cheater
Reputation: 0
Joined: 14 Feb 2009 Posts: 19
|
Posted: Sat Mar 13, 2010 1:22 am Post subject: |
|
|
still no one cant answer my problem...
T-T
realy need help for this..
_________________
Hi im almar from philippines and i'm using cheatengine in all of my games i've played
i join now here because i wanted to learn and
share if how to make the UCE [undetectable cheat engine] |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat Mar 13, 2010 4:36 am Post subject: |
|
|
| Hotkeys are usually done with GetAsyncKeyState() or RegisterHotKey().
|
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Sat Mar 13, 2010 7:49 am Post subject: |
|
|
Use GetAsyncKeyState for the detection of the hotkey.
| Code: |
VirtualProtectEx(GetCurrentProcess,ptr(CellAddress),2,PAGE_EXECUTE_READWRITE,nil);
|
can be
| Code: |
VirtualProtect(ptr(CellAddress), 2, PAGE_EXECUTE_READWRITE, nil);
|
|
|
| Back to top |
|
 |
almar2023 Newbie cheater
Reputation: 0
Joined: 14 Feb 2009 Posts: 19
|
Posted: Sun Mar 14, 2010 3:31 am Post subject: |
|
|
still cant figure what do do with that GetAsyncKeyState()
i realy new at coding..
_________________
Hi im almar from philippines and i'm using cheatengine in all of my games i've played
i join now here because i wanted to learn and
share if how to make the UCE [undetectable cheat engine] |
|
| Back to top |
|
 |
iPromise Grandmaster Cheater
Reputation: -1
Joined: 27 Jun 2009 Posts: 529 Location: Canada
|
Posted: Sun Mar 14, 2010 10:35 am Post subject: |
|
|
mhmm
read this [url=http://msdn.microsoft.com/en-us/library/ms646293(VS.85).aspx]documentation[/url]
and this can help
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Mon Mar 15, 2010 1:47 am Post subject: |
|
|
if your really that new you should not start with memory cheating (instead learn the basics)
anyhow place this in a timer
if odd(GetAsyncKeyState(VK_F1) then begin // place the key where VK_F1 is placed
{
your code
}
end;
ps you should use registerhotkey instead
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
almar2023 Newbie cheater
Reputation: 0
Joined: 14 Feb 2009 Posts: 19
|
Posted: Sun Mar 21, 2010 2:20 am Post subject: |
|
|
| ups2000ups wrote: | if your really that new you should not start with memory cheating (instead learn the basics)
anyhow place this in a timer
if odd(GetAsyncKeyState(VK_F1) then begin // place the key where VK_F1 is placed
{
your code
}
end;
ps you should use registerhotkey instead |
thansz for this info..
now i need to know how to find the player pointer and X Y Z pointer of the FPS games...
_________________
Hi im almar from philippines and i'm using cheatengine in all of my games i've played
i join now here because i wanted to learn and
share if how to make the UCE [undetectable cheat engine] |
|
| Back to top |
|
 |
|