| View previous topic :: View next topic |
| Author |
Message |
Two_Crush Cheater
Reputation: 0
Joined: 15 Sep 2007 Posts: 29
|
Posted: Sat Sep 15, 2007 1:15 pm Post subject: |
|
|
aahaa^^ thx now i know how
PS: How can i Unfreeze it? I mean i have 999 HP and it stay at 999, how can i Unfreeze it? |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Sep 15, 2007 1:20 pm Post subject: |
|
|
Make a button thats says Freeze or w/e you want. Double click it and put this code.
| Code: |
Timer1.Enabled := True;
|
Change Timer1 to whatever the name of your timer is. Btw, make the timer disabled already. Otherwise it will automaticly be enabled when you open the program. Now make another button called Stop or w/e you want. Double click it and put this code.
| Code: |
Timer1.Enabled := False;
|
These are pretty self explanatory. The first one turns your timer on making you hack go. The other one turns off your timer so your hack stops. Well, actually, if your using writeprocessmemory, you prolly are going to have to write back all the bytes xP, idk i dont rly used writeprocessmemory with taking back what i wrote, so im not sure. _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
oOoNyquiloOo Grandmaster Cheater Supreme
Reputation: 0
Joined: 18 Jun 2006 Posts: 1420
|
Posted: Sat Sep 15, 2007 8:50 pm Post subject: |
|
|
| Use a hotkey! xP |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Sep 15, 2007 9:14 pm Post subject: |
|
|
Yea, hotkey would be better. But look up global hotkeys, hotkeys on timers take up more CPU power. _________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Two_Crush Cheater
Reputation: 0
Joined: 15 Sep 2007 Posts: 29
|
Posted: Sat Sep 15, 2007 11:51 pm Post subject: |
|
|
1. Thanks oib111^^
2. How to make Hotkey lol (sorry im really new to this:P) |
|
| Back to top |
|
 |
igoticecream Grandmaster Cheater Supreme
Reputation: 0
Joined: 23 Apr 2006 Posts: 1807 Location: 0x00400000
|
|
| Back to top |
|
 |
Two_Crush Cheater
Reputation: 0
Joined: 15 Sep 2007 Posts: 29
|
Posted: Sun Sep 16, 2007 12:26 am Post subject: |
|
|
im using VB 6 not C/C++  |
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Sep 16, 2007 1:40 am Post subject: |
|
|
| RegisterHotKey is what you're looking for. |
|
| Back to top |
|
 |
SkatSkat Grandmaster Cheater
Reputation: 0
Joined: 30 Oct 2006 Posts: 648
|
Posted: Sun Sep 16, 2007 7:24 am Post subject: |
|
|
Hook the procedure that decrements your health (you can find it through CE's "what writes to this" function) and don't decrement. _________________
"We're betting everything on ourselves tonight" - The Bouncing Souls
 |
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sun Sep 16, 2007 9:49 am Post subject: |
|
|
As the person said, you must use the RegisterHotkey API. I am not really familliar with this API. But I know other ways to do this. Here is some delphi code on how to do global hotkeys. If your good enough in vb, you might be able to translate it to vb code. If you can't I will gladly have my friend see to it. And delphi and vb are pretty similar so you should understand most of the code.
| Code: |
{
The following example demonstrates registering hotkeys with the
system to globally trap keys.
Das Folgende Beispiel zeigt, wie man Hotkeys registrieren und
darauf reagieren kann, wenn sie gedrückt werden. (systemweit)
}
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
private
{ Private declarations }
id1, id2, id3, id4: Integer;
procedure WMHotKey(var Msg: TWMHotKey); message WM_HOTKEY;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
// Trap Hotkey Messages
procedure TForm1.WMHotKey(var Msg: TWMHotKey);
begin
if Msg.HotKey = id1 then
ShowMessage('Ctrl + A pressed !');
if Msg.HotKey = id2 then
ShowMessage('Ctrl + Alt + R pressed !');
if Msg.HotKey = id3 then
ShowMessage('Win + F4 pressed !');
if Msg.HotKey = id4 then
ShowMessage('Print Screen pressed !');
end;
procedure TForm1.FormCreate(Sender: TObject);
// Different Constants from Windows.pas
const
MOD_ALT = 1;
MOD_CONTROL = 2;
MOD_SHIFT = 4;
MOD_WIN = 8;
VK_A = $41;
VK_R = $52;
VK_F4 = $73;
begin
// Register Hotkey Ctrl + A
id1 := GlobalAddAtom('Hotkey1');
RegisterHotKey(Handle, id1, MOD_CONTROL, VK_A);
// Register Hotkey Ctrl + Alt + R
id2 := GlobalAddAtom('Hotkey2');
RegisterHotKey(Handle, id2, MOD_CONTROL + MOD_Alt, VK_R);
// Register Hotkey Win + F4
id3 := GlobalAddAtom('Hotkey3');
RegisterHotKey(Handle, id3, MOD_WIN, VK_F4);
// Globally trap the Windows system key "PrintScreen"
id4 := GlobalAddAtom('Hotkey4');
RegisterHotKey(Handle, id4, 0, VK_SNAPSHOT);
end;
// Unregister the Hotkeys
procedure TForm1.FormDestroy(Sender: TObject);
begin
UnRegisterHotKey(Handle, id1);
GlobalDeleteAtom(id1);
UnRegisterHotKey(Handle, id2);
GlobalDeleteAtom(id2);
UnRegisterHotKey(Handle, id3);
GlobalDeleteAtom(id3);
UnRegisterHotKey(Handle, id4);
GlobalDeleteAtom(id4);
end;
end.
{
RegisterHotKey fails if the keystrokes specified for the hot key have
already been registered by another hot key.
Windows NT4 and Windows 2000/XP: The F12 key is reserved for use by the
debugger at all times, so it should not be registered as a hot key. Even
when you are not debugging an application, F12 is reserved in case a
kernel-mode debugger or a just-in-time debugger is resident.
}
|
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
|