|
You last visited: Today at 22:28
Advertisement
[TUTORIAL] How to make a BOT
Discussion on [TUTORIAL] How to make a BOT within the AutoIt forum part of the Coders Den category.
07/23/2011, 14:42
|
#91
|
elite*gold: 227
Join Date: Jun 2010
Posts: 295
Received Thanks: 37
|
can someone pls translate it into german
|
|
|
09/24/2011, 17:42
|
#92
|
elite*gold: 0
Join Date: Nov 2007
Posts: 67
Received Thanks: 0
|
im hardly can't understand much better in chapter 4. need more images and informations. but all in all i like ur thread.
|
|
|
09/27/2011, 03:31
|
#93
|
elite*gold: 0
Join Date: Jan 2010
Posts: 114
Received Thanks: 10
|
Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.0.0
Author: Forsaken
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>
GUICreate("Forsaken's Bot", 335, 100)
GUISetState(@SW_SHOW)
GUICtrlCreateLabel("Key", 8, 10)
$key1 = GUICtrlCreateInput("", 35, 8, 120)
GUICtrlCreateLabel("Time", 8, 44)
$time1 = GUICtrlCreateInput("", 35, 40, 120)
$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($time1)
While 1
Send($send1)
Sleep($sleep1)
WEnd
Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
EndSelect
WEnd
how to make pause button and exit button ?
help
|
|
|
10/25/2011, 22:32
|
#94
|
elite*gold: 0
Join Date: Oct 2011
Posts: 1
Received Thanks: 0
|
I am having trouble with GUI appearing after some function is run. I have the following code
$Button1 = GUICtrlCreateButton("Open...", 48, 48, 187, 25)
GUICtrlSetOnEvent(-1, 'new') ; Runs website() when pressed
Func new()
; Hides the GUI while the function is running
GUISetState(@SW_HIDE)
Run(".....")
Exit
EndFunc
;show GUI again after the function has finished running
GUISetState(@SW_SHOW)
After I click this button and run the function, the gui hides but it does not appear again even though I have @SW_SHOW.
Can someone help me with this please. Thanks.
|
|
|
11/01/2011, 14:51
|
#95
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
Quote:
Originally Posted by insteadof
Code:
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.0.0
Author: Forsaken
#ce ----------------------------------------------------------------------------
#include <GUIConstantsEx.au3>
GUICreate("Forsaken's Bot", 335, 100)
GUISetState(@SW_SHOW)
GUICtrlCreateLabel("Key", 8, 10)
$key1 = GUICtrlCreateInput("", 35, 8, 120)
GUICtrlCreateLabel("Time", 8, 44)
$time1 = GUICtrlCreateInput("", 35, 40, 120)
$startbutton = GUICtrlCreateButton("Start", 190, 8, 60)
While 1
$msg = GUIGetMsg()
Select
Case $msg = $startbutton
$send1 = GUICtrlRead($key1)
$sleep1 = GUICtrlRead($time1)
While 1
Send($send1)
Sleep($sleep1)
WEnd
Case $msg = $GUI_EVENT_CLOSE
GUIDelete()
ExitLoop
EndSelect
WEnd
how to make pause button and exit button ?
help 
|
your script stucks in the 2nd while loop. to prevent such things, you should learn to use states.
you could simply set a variable which holds a "run" state. if run is true, the script will do some stuff. since you're allready in an endless loop, for scanning the gui events, you can put a simple if query.
if $run is true, then do your actions.
this will enable you to only set the $run variable, once the startbutton is called.
now that we've got a variable which is true or false, depending on the state the script is in currently, we can even modify the button to show us 'Start' or 'Stop', depending on the state.
if the actions are currently running, we wanna set the button label to Stop. if the script is not running ($run = False ( = 0 )), we set the button label to Start.
beside that, you should never use the sleep command in your script. it's way better to use timer functions, since sleep blocks your script.
once the script gets into sleep mode, no other commands will be applied. that means, that the gui won't get checked for events. (if you use a button the script won't get to know about it).
a reworked script could look like this:
Code:
Dim $timer, $run = False, $label[2]=['Start','Stop']
$gui = GUICreate("Forsaken's Bot", 335, 100)
GUISetState()
GUICtrlCreateLabel("Key", 8, 10)
$key1 = GUICtrlCreateInput("", 35, 8, 120)
GUICtrlCreateLabel("Time", 8, 44)
$time1 = GUICtrlCreateInput("", 35, 40, 120)
$button = GUICtrlCreateButton($label[$run], 190, 8, 60)
While 1
Switch GUIGetMsg()
Case -3
ExitLoop
Case $button
$run = Not $run
GUICtrlSetData($button, $label[$run])
$timer = 0
Case Else
If $run Then
If TimerDiff($timer) > GUICtrlRead($time1) And Not WinActive($gui) Then
Send(GUICtrlRead($key1))
$timer = TimerInit()
EndIf
EndIf
EndSwitch
WEnd
|
|
|
02/04/2012, 02:27
|
#96
|
elite*gold: 0
Join Date: Aug 2009
Posts: 25
Received Thanks: 15
|
Thx but if u can make TheCrims bot
for go to nightclub comand and healing power comand
and Click mouse and write any thing i says by click start on bot i make?
|
|
|
02/19/2012, 00:26
|
#97
|
elite*gold: 0
Join Date: Feb 2012
Posts: 6
Received Thanks: 0
|
Help me!!!!!!!!?
|
|
|
04/07/2012, 14:09
|
#98
|
elite*gold: 0
Join Date: Apr 2012
Posts: 1
Received Thanks: 0
|
in chapter 2
why the program can't exit after I pressed the start .
it still in loop .
Quote:
Originally Posted by ks661354
in chapter 2
why the program can't exit after I pressed the start .
it still in loop .
|
ok I understand . thanks
|
|
|
08/06/2012, 08:50
|
#99
|
elite*gold: 0
Join Date: Aug 2009
Posts: 283
Received Thanks: 71
|
How would i go about making autoit to be active with my game window in windowed mode
i have tried winactive and tried pixelsearch none worked
if there some other way to hook auto-it to a program window?
|
|
|
09/15/2012, 09:37
|
#100
|
elite*gold: 0
Join Date: Sep 2012
Posts: 38
Received Thanks: 7
|
This is a really good tutorial. Thanks!
|
|
|
11/15/2012, 23:39
|
#101
|
elite*gold: 0
Join Date: Feb 2008
Posts: 34
Received Thanks: 4
|
How do i use a low level key hook in this programm?
I am a totall noob i have searched everywhere.
I need another Command for send because send is blocked by the Game I want to use.
Could you help me please?
|
|
|
11/16/2012, 14:19
|
#102
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Quote:
Originally Posted by ExerlosMyst
I need another Command for send because send is blocked by the Game I want to use.
|
may help you
rgds
|
|
|
11/24/2012, 03:21
|
#103
|
elite*gold: 0
Join Date: Oct 2012
Posts: 12
Received Thanks: 0
|
hi guys can i request this ^^
need a script that makes you press "Y" every5 seconds and at the same time it presses "1" every 0.5 second
|
|
|
11/24/2012, 19:31
|
#104
|
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
|
Quote:
Originally Posted by naruto3967
hi guys can i request this ^^
need a script that makes you press "Y" every5 seconds and at the same time it presses "1" every 0.5 second
|
Request here:
Code:
AdlibRegister('_1', 5000)
AdlibRegister('_2', 500)
While 1
Sleep(1)
WEnd
Func _1()
Send('{Y}')
EndFunc ;==>_1
Func _2()
Send('{1}')
EndFunc ;==>_2
Have fun.
rgds
|
|
|
11/30/2012, 18:17
|
#105
|
elite*gold: 0
Join Date: Aug 2011
Posts: 6
Received Thanks: 0
|
The bot will not do anything. It is good for writing text to note pad and that is all. You need to explain that all this tutorial is good for is to learn how to build a simple GUI. It will not work as a bot for a game. Calling it a bot tuterial is miss leading.
|
|
|
 |
|
Similar Threads
|
[Video Tutorial] - Very Easy Tutorial How to make your Own Wallhack in C++
09/01/2012 - Soldier Front Hacks, Bots, Cheats & Exploits - 16 Replies
Hello Everyone!Hellow Philippines - Mabuhay Pinoy Cheaters!
Confidentials000 of GZP and Me Babyface21 ay iisa lang!
Today i Will Teach you on How to Make Your Own Wallhack in C++
Very Simple By Video Tutorials Step by Step Part 1 - 3
Dont Ask me to Release my Private Wallhack coz i Need it to still Undetected
|
[[Tutorial]] how to make your own hacks with VB
03/13/2011 - WarRock Hacks, Bots, Cheats & Exploits - 81 Replies
] : None Of the addresses work anymore, Current finding the updated ones. So the hacks will not work until me or someone else finds the new addresses!
Hey there. Are you getting sick of antiously waiting for someone to post a new hack for use, then in like one hour getting banned? Well thats over.
In this tutorial i will show you how to..
Designing and customizing your very own hacks
A few examples on how to add stuff such as Unlimited stamina or swimming
----------Getting...
|
[TUTORIAL] How To Make A UCE !!!
08/12/2010 - MapleStory - 23 Replies
PART 1
UCE ToolsDDK (Driver Development Kit)- Used To Compile, Files For UCE
Delphi 7 - Compiling, And Editing UCE Files
Delphi 7 Keygen - To Crack Delphi so it's free
ASR (Actual Search and Replace) - Used To Search And Replace *Characters* To You Choice
|
My First tutorial How to make 20K GP in 5 Min
08/05/2010 - CrossFire - 26 Replies
Sup Guys this is my First tutorial on how to make 20K GP in 5 min
And this is my video
Note: Dont say its bad video or anything ITS MY FIRST TIME MAKING VIDEO BTW
Program You will need
HotSpot Shield
|
[Tutorial] How To Make Around $50 A Day
01/30/2010 - Main - 4 Replies
Site is called IMreportcard. You have to comment reviews on products/services/persons to gain points. You can exchange those points into money.
Sign-Up Here: *edited*
http://i46.tinypic.com/iqg67s.png
Now, 100 credits = $1. And as you can see, it's not hard to make 100 credits.
Commenting
|
All times are GMT +1. The time now is 22:28.
|
|