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 


[Help] AutoIT Script ~Simple~

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Fantasy
I post too much
Reputation: 13

Joined: 29 Jul 2007
Posts: 3113

PostPosted: Fri Jul 25, 2008 4:19 pm    Post subject: [Help] AutoIT Script ~Simple~ Reply with quote

Hey CEF.
I need help Sad

It's with AutoIT .. I need a little sourcecode..

It has to do the following:

Spampress a certain key , and IF needed, press another.

Kinda simple bot for a little game.. Spampress is attack, the other one is rest for ex 20 secs, or pot.. Can someone help me?

In short

SpamPress "key"
If needed press "key2", wait 20 secs
go back to spampress ..


Thanks In advance. I know im stupid T_T

edit by DB: Moved from auto assembler scripts to gen programming.
Could belong in gen gamehacking though, so move if you have to
Back to top
View user's profile Send private message
Chaosis13
Master Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 372

PostPosted: Fri Jul 25, 2008 5:41 pm    Post subject: Reply with quote

I dont use AutoIt, well I did but.... yeah....
Anyway, any script with AutoIt well get detected. By Runescape, GameGuard, HackSheild, PunkBuster....

But if you do want help.... Ask a more clear question, I dont know what you need help with.
Back to top
View user's profile Send private message
Fantasy
I post too much
Reputation: 13

Joined: 29 Jul 2007
Posts: 3113

PostPosted: Fri Jul 25, 2008 5:57 pm    Post subject: Reply with quote

Well, I need to know how to make a keypress command, and a "IF necessary, press 'key'" xD
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Jul 29, 2008 2:42 pm    Post subject: Reply with quote

Chaosis13 wrote:
I dont use AutoIt, well I did but.... yeah....
Anyway, any script with AutoIt well get detected. By Runescape, GameGuard, HackSheild, PunkBuster....

But if you do want help.... Ask a more clear question, I dont know what you need help with.


Runescape detects autoit??? How???
Back to top
View user's profile Send private message
asianking
Expert Cheater
Reputation: 0

Joined: 25 Jun 2008
Posts: 109

PostPosted: Tue Jul 29, 2008 2:50 pm    Post subject: Reply with quote

if i'm not by mistaken, runescape detect almost all warez that are used as cheating.... I got BAN for using artmoney!
Back to top
View user's profile Send private message MSN Messenger
NothingToShow
Grandmaster Cheater Supreme
Reputation: 0

Joined: 11 Jul 2007
Posts: 1579

PostPosted: Tue Jul 29, 2008 2:57 pm    Post subject: Re: [Help] AutoIT Script ~Simple~ Reply with quote

Asbetos wrote:


In short

SpamPress "key"
If needed press "key2", wait 20 secs
go back to spampress ..


You can't just say "If needed". We need to know, when it is needed to press that key.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Jul 29, 2008 4:26 pm    Post subject: Reply with quote

How can it detect? its a java program. and they are programed so they prevent it from looking at the computer's api such as processes,modules.
Back to top
View user's profile Send private message
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Wed Jul 30, 2008 10:49 am    Post subject: Reply with quote

Send("n")
Send("{CTRL}")
If I remember correctly.
Look @ the helpfile docu.

_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.
Back to top
View user's profile Send private message
merlin22
Master Cheater
Ban
Reputation: 0

Joined: 29 Mar 2008
Posts: 267

PostPosted: Wed Jul 30, 2008 10:52 am    Post subject: Reply with quote

Chaosis13 wrote:
I dont use AutoIt, well I did but.... yeah....
Anyway, any script with AutoIt well get detected. By Runescape, GameGuard, HackSheild, PunkBuster....

But if you do want help.... Ask a more clear question, I dont know what you need help with.


Bullshit, I made a successful runescape woodcutter/firemaker bot with autoit and got to like lvl 40 woodcutting/firemaking while I was beta testing it.
Back to top
View user's profile Send private message AIM Address
SXGuy
I post too much
Reputation: 0

Joined: 19 Sep 2006
Posts: 3551

PostPosted: Sat Dec 06, 2008 7:28 am    Post subject: Reply with quote

look, if you want to press a key if needed, then we need to know when it may be needed, we cant write if scripts based on unknown assumptions.

to send a key every 20 seconds its like this
Code:

While 1
Send("key")          ;change key to your key press letter
Sleep ("20000")     ;increase or decrease delay 1sec = 1000
WEnd


if you wanna press another key for any other reason then

Code:

While 1
Select
Case     ;something
Send ("key2")
EndSelect
Send ("key")
Sleep ("20000")
WEnd
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