 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
merlin22 Master Cheater
Reputation: 0
Joined: 29 Mar 2008 Posts: 267
|
|
| Back to top |
|
 |
lamamuffin Expert Cheater
Reputation: 0
Joined: 08 Nov 2007 Posts: 223
|
|
| Back to top |
|
 |
merlin22 Master Cheater
Reputation: 0
Joined: 29 Mar 2008 Posts: 267
|
Posted: Fri May 02, 2008 6:07 pm Post subject: |
|
|
| lawlz, forgot to include them
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Fri May 02, 2008 7:02 pm Post subject: |
|
|
i alrdy got a better one..
may you make that user may choose hotkeys? would be 1337
_________________
|
|
| Back to top |
|
 |
merlin22 Master Cheater
Reputation: 0
Joined: 29 Mar 2008 Posts: 267
|
Posted: Fri May 02, 2008 7:04 pm Post subject: |
|
|
| wtf is 1337?
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Fri May 02, 2008 7:09 pm Post subject: |
|
|
| merlin22 wrote: | | wtf is 1337? |
your auto clicker isnt
and thats leet:
1'm $0 ƒµ(|{1n9 £337 1 pwn ¥0µ!
(I'm so fucking leet i pwn you!)
_________________
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sat May 03, 2008 4:41 am Post subject: |
|
|
well i'm bored, lemme try make one in delphi real quick
_________________
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sat May 03, 2008 5:16 am Post subject: |
|
|
well i got bored and gave up, it doesn't work for some reason, i removed the hotkey thing cos it buggered up, may make it tomrow for ya, just to let you know, this is a real piss-poor effort, took about 3 minutes, just showing you how little code is needed
its attached, and here's source:
| Code: | unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
TimerClicks: TTimer;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
procedure OnClick(Sender: TObject);
procedure TimerClicksTimer(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
function IsStrANumber(const S: string): Boolean;
var
P: PChar;
begin
P := PChar(S);
Result := False;
while P^ <> #0 do
begin
if not (P^ in ['0'..'9']) then Exit;
Inc(P);
end;
Result := True;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Sleep(1500); //Wait for mouse to move
if TimerClicks.enabled = false then
begin
if IsStrANumber(edit1.Text) = True then TimerClicks.Interval := StrToInt(Edit1.Text);
TimerClicks.enabled := true;
Exit
end;
if TimerClicks.enabled = true then
begin
TimerClicks.enabled := false;
Exit
end;
end;
procedure TForm1.OnClick(Sender: TObject);
begin
If Edit1.text = 'delay in ms' then Edit1.text := '' //Remove default text
end;
procedure TForm1.TimerClicksTimer(Sender: TObject);
begin
Mouse_Event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
Mouse_Event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
end;
end. |
_________________
|
|
| Back to top |
|
 |
92Garfield I'm a spammer
Reputation: 57
Joined: 20 Dec 2007 Posts: 5871 Location: Banana Republic Germany
|
Posted: Sat May 03, 2008 5:29 am Post subject: |
|
|
lol your one isnt better no hotkeys just smaller but much files
_________________
|
|
| Back to top |
|
 |
merlin22 Master Cheater
Reputation: 0
Joined: 29 Mar 2008 Posts: 267
|
Posted: Sat May 03, 2008 6:32 am Post subject: |
|
|
| Snootae wrote: | well i got bored and gave up, it doesn't work for some reason, i removed the hotkey thing cos it buggered up, may make it tomrow for ya, just to let you know, this is a real piss-poor effort, took about 3 minutes, just showing you how little code is needed
its attached, and here's source:
| Code: | unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
TimerClicks: TTimer;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
procedure OnClick(Sender: TObject);
procedure TimerClicksTimer(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
function IsStrANumber(const S: string): Boolean;
var
P: PChar;
begin
P := PChar(S);
Result := False;
while P^ <> #0 do
begin
if not (P^ in ['0'..'9']) then Exit;
Inc(P);
end;
Result := True;
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Sleep(1500); //Wait for mouse to move
if TimerClicks.enabled = false then
begin
if IsStrANumber(edit1.Text) = True then TimerClicks.Interval := StrToInt(Edit1.Text);
TimerClicks.enabled := true;
Exit
end;
if TimerClicks.enabled = true then
begin
TimerClicks.enabled := false;
Exit
end;
end;
procedure TForm1.OnClick(Sender: TObject);
begin
If Edit1.text = 'delay in ms' then Edit1.text := '' //Remove default text
end;
procedure TForm1.TimerClicksTimer(Sender: TObject);
begin
Mouse_Event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
Mouse_Event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
end;
end. |
|
You have to specify what "MOUSEEVENTF_LEFTUP" and "MOUSEEVENTF_LEFTDOWN" is.
As an example you cant just say kills "noob" when you didnt code what "noob" represented.
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sat May 03, 2008 7:00 am Post subject: |
|
|
it's declared in there somewhere, probably in Windows
| Code: |
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls; |
and garfield, that's cause i attached source
_________________
|
|
| Back to top |
|
 |
merlin22 Master Cheater
Reputation: 0
Joined: 29 Mar 2008 Posts: 267
|
Posted: Sat May 03, 2008 7:07 am Post subject: |
|
|
| Nice bot man.
|
|
| Back to top |
|
 |
NothingToShow Grandmaster Cheater Supreme
Reputation: 0
Joined: 11 Jul 2007 Posts: 1579
|
Posted: Sat May 03, 2008 7:38 am Post subject: |
|
|
| merlin22 wrote: | | Nice bot man. |
If you want hotkeys for it, you can use this simple way:
Create a timer, name it tHotkey and set the interval to 10.
In the onTimer procedure, do:
| Code: | If odd(GetAsyncKeyState(vk_f1)) then
begin
tAutoClick.Enabled := True;
end; |
I think that's the most easy way, not best, but easy.
And vk_f1 is F1.
|
|
| Back to top |
|
 |
Snootae Grandmaster Cheater
Reputation: 0
Joined: 16 Dec 2006 Posts: 969 Location: --->
|
Posted: Sat May 03, 2008 9:26 am Post subject: |
|
|
yeh moller, i knows (i hope you were talking about me)
i know you could use registerhotkey as well
but i don't know how to use changable hotkeys with that way, but with the KeyState i do
on buttonHotkeysClick
| Code: | | TimerHotKeys.enabled := true; |
on TimerHotkeysTick
| Code: | If odd(GetAsyncKeyState(vk_f1)) then
hotkey := vk_f1
TimerHotkeys.enabled := true;
begin |
just add more of that if statment line but replace vk_f1 with what ever key, and keep adding for every key you want available, and then use the code moller supplied except
| Code: | If odd(GetAsyncKeyState(hotkey)) then
begin
tAutoClick.Enabled := True;
end; |
i put hotkey (the variable) instead of a vk
just add that stuff to my project for a nice easy autoclicker, with changable hotkeys
_________________
|
|
| Back to top |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Sat May 03, 2008 9:39 am Post subject: |
|
|
| Snootae wrote: | yeh moller, i knows (i hope you were talking about me)
i know you could use registerhotkey as well
but i don't know how to use changable hotkeys with that way, but with the KeyState i do
on buttonHotkeysClick
| Code: | | TimerHotKeys.enabled := true; |
on TimerHotkeysTick
| Code: | If odd(GetAsyncKeyState(vk_f1)) then
hotkey := vk_f1
TimerHotkeys.enabled := true;
begin |
just add more of that if statment line but replace vk_f1 with what ever key, and keep adding for every key you want available, and then use the code moller supplied except
| Code: | If odd(GetAsyncKeyState(hotkey)) then
begin
tAutoClick.Enabled := True;
end; |
i put hotkey (the variable) instead of a vk
just add that stuff to my project for a nice easy autoclicker, with changable hotkeys |
or just?:
| Code: | if odd(GetAsyncKeyState(hotkey1.hotkey) then
... |
Then drag a THotkey to your project...
|
|
| 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
|
|