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 


Thanks guys![Mod, delete please]
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Sat Oct 13, 2007 11:10 am    Post subject: Thanks guys![Mod, delete please] Reply with quote

Thanks.

Last edited by Never Again on Sun Oct 14, 2007 9:23 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Oct 13, 2007 11:23 am    Post subject: Reply with quote

mouse_event() although I think that got superseded so SendInput().
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Sat Oct 13, 2007 11:26 am    Post subject: Reply with quote

What would I put between the parenthesis?
Back to top
View user's profile Send private message MSN Messenger
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Oct 13, 2007 11:29 am    Post subject: Reply with quote

Mouse_Event
eg:
Code:

mouse_event(MOUSEEVENTF_LEFTDOWN,90,300,0,0);
mouse_event(MOUSEEVENTF_LEFTUP,90,300,0,0);

this code will simulate one click on 90:300.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Oct 13, 2007 11:30 am    Post subject: Reply with quote

mouse_event()
SendInput()

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sat Oct 13, 2007 11:39 am    Post subject: Re: How would I make an Auto Clicker in Delphi? Reply with quote

Never Again wrote:
I've seen many Auto Clickers compiled in Delphi but I wanted to learn how to make one myself because I'm making one for a trainer I'm going to make. I know how to make edit1 have the milliseconds and suc but what about the clicking function?


SendInput(), but be careful, it is hooked.

Edit: Oh wow, post lag.


Last edited by Flyte on Sat Oct 13, 2007 11:50 am; edited 1 time in total
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Oct 13, 2007 11:49 am    Post subject: Reply with quote

My simple source:

Code:

procedure TForm1.Timer1Timer(Sender: TObject);
begin
Mouse_Event(MOUSEEVENTF_ABSOLUTE or
               MOUSEEVENTF_LEFTDOWN,
               0, 0, 0, 0);

   Mouse_Event(MOUSEEVENTF_ABSOLUTE or
               MOUSEEVENTF_LEFTUP,
               0, 0, 0, 0);
end;

procedure TForm1.Timer2Timer(Sender: TObject);
begin
if odd(GetaSyncKeyState(VK_F9)) then
Timer1.Enabled := True;
//
if odd(GetaSyncKeyState(VK_F10)) then
Timer1.Enabled := False;
end;


Make Timer1 Interval 1ms. it will click every 1ms ^.^

Timer2 Interval 1ms also, and make Timer1.Eneabled := False;
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Sat Oct 13, 2007 12:04 pm    Post subject: Reply with quote

Lol, do not use GetASyncKeyState(). It uses more CPU power than you need. Use RegisterHotkey().
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Never Again
I post too much
Reputation: 0

Joined: 13 Jan 2007
Posts: 2000
Location: New Mexico

PostPosted: Sat Oct 13, 2007 9:56 pm    Post subject: Reply with quote

Ok so I did everything but I wanted to make it so that Edit1 will have the MS between a click, but I get an error when I try this :

Code:
Timer6.Interval:=edit1.text;

edit:
NVM I got it.
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun Oct 14, 2007 2:44 am    Post subject: Reply with quote

But this wont work IN MapleStory, isn't it?
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Oct 14, 2007 3:23 am    Post subject: Reply with quote

lol rEakW0n, no it wont because off GG and you need to SetActiveWindow (Or w.e (Aslong you Focus your app)) to MapleStory.
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Sun Oct 14, 2007 3:49 am    Post subject: Reply with quote

Kaspersky wrote:
lol rEakW0n, no it wont because off GG and you need to SetActiveWindow (Or w.e (Aslong you Focus your app)) to MapleStory.


I knew it Twisted Evil
Do you know how to make a bot for maplestory?
x0r said DispatchMessage() / TranslateMessage() would work, but idk how to use it correctly.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Oct 14, 2007 5:10 am    Post subject: Reply with quote

rEakW0n wrote:
Kaspersky wrote:
lol rEakW0n, no it wont because off GG and you need to SetActiveWindow (Or w.e (Aslong you Focus your app)) to MapleStory.


I knew it Twisted Evil
Do you know how to make a bot for maplestory?
x0r said DispatchMessage() / TranslateMessage() would work, but idk how to use it correctly.


I don't wanna try making Bots/Trainers for MS (Yet) since i'm not experienced yet, nor do you or any other Delphi "Programmer" here (except appal, Renko, db)
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sun Oct 14, 2007 6:11 am    Post subject: Reply with quote

oib111 wrote:
Lol, do not use GetASyncKeyState(). It uses more CPU power than you need. Use RegisterHotkey().


Hardly.
Back to top
View user's profile Send private message MSN Messenger
TheIndianGuy
Advanced Cheater
Reputation: 102

Joined: 14 Jan 2007
Posts: 88

PostPosted: Mon Oct 15, 2007 5:50 pm    Post subject: Re: Thanks guys![Mod, delete please] Reply with quote

Never Again wrote:
Thanks.


its good to save this just in case anyone else needs this information so people do not have to repeat themselves
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
Goto page 1, 2  Next
Page 1 of 2

 
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