How to create a bot?

08/20/2008 12:27 bob122#1
Ok, im COMPLETELY new to this whole programming/hacking thing.
But i want to learn how to create a bot myself. Basically the ones that kill for you, pick up items and do the whole thing.

Ive noticed people use a program called AutoIt to create their hacks so i have downloaded it. What now? lol

The sort of things id like to start making include speed hacks, multi clients, item quality detectors and bots to kill monsters.
But how and where could i start learning to make these things? Can someone offer me some help? I dont really like using programs other people have created off here due to many reasons such as viruses..the long wait..etc.
So how can i learn to create these things myself in the hope of one day being able to share the programs with my fellow players (ie. you guys)?

Note: im an archer.
The main thing i wanna do is create my own bot which will:
*Jump around in a certain area scattering monsters and killing them
*Pick up quality items including mets/db's
*Auto pot and use arrows
*Maybe dc at certain points like very low health, blue names/red names/black names
*Then reconnect after say 5 minutes


So can anyone send me in the right direction so i can create my own hacks?
I will be glad to offer them to u guys if i am successful.
08/20/2008 15:14 Real~Death#2
~:Hiyoal:~ made a guide for auto-it its around here somewhere.
My advice,ask simpler questions.Your asking how to make a "whole" bot,try asking how to make the mouse find a certin color then click on it(red for the life bar-purple for mets/dbs evens edited paw thing ,ect)and hot key pressing(reload arrows-on low life ect).
Start simple and go from there

::edit::
also you can try ahk basicly almost the same thing as auto-it(i think?),evenxxx release's the script code(source)for all(most?) of his programs,you can look at them to see what he does
08/20/2008 18:03 evanxxxm#3
bob122@
well, my suggestion is lets not try to run when u didnt learn walk yet
open the autoit Manuel and actually study them each function by function first
after knowing what functions are available, create some simple programs like clicking at a certain point
i can write at least 10 ways to do a simple click..., thats why u really need to read the Manuel over and see which function do best on which situation.
(for example, some games block certain key send by programs, thats why u need to know so many ways to click)
then start to read people's script and try to understand
08/20/2008 21:41 harrypotter2#4
hey evan are thes pics of u and ur GF?
[Only registered and activated users can see links. Click Here To Register...]
08/21/2008 00:07 Hiyoal#5
Hey Bob,

Glad to see another person wanting to learn how to program...and in AutoIt :p

I made the bot ~Ellipse~ after about 1yr of "Studying" trying functions of AutoIt. What I did was try and make the simplest of programs:
Make a msgbox with options of "Yes" and "No" buttons, and finding what they pressed to then show another message box showing what you pressed.

Code:
Eg.
Messagebox says "Press yes or no"
I press Yes
~"Program gets input of what I pressed"~
You pressed the "Yes" button
Now, as Real-Death pointed out, very kindly :) I have made a 2 part documented tutorial on Auto-It starting with functions/variables and then moving over to mouseclicking.

I have not made one on pixelbased functions as I do not use them, but rather use Control bots "Background Working Bots (you can minimize conquer and it will still work)"

Here are my AutoIt tutorials, I hope you find them helpful :)
NOTE: Some includes will be different, especially in the GUI section as #include GUIConstant.au3 is no longer supported. If you need any help in this area give me a buzz :p

Part 1: [Only registered and activated users can see links. Click Here To Register...]
Part 2: [Only registered and activated users can see links. Click Here To Register...]

Hope all this information is helpful to you :)
And once again, feel free to PM me with any help or just send an email or add me on msn.

~:Hiyoal:~
08/21/2008 01:05 Miv#6
suggested functions to look up when your familiar with autoit
-pixelsearch
-mouseclick
-send

but I'll tell you now, the help file is your new best friend.
08/21/2008 12:31 bob122#7
Okay. thankyou so much for responding in the way you guys did. i didnt expect people to care much, lol.
I will read and re-read the autoit manuel and the links you guys have provided for me. thanx for being so helpful. im still learning so ill try to create smaller programs first, such as an auto clicker and such.
08/21/2008 14:01 Hiyoal#8
Thats really good that your starting out small, better than many people who want to start out making private servers even if they dont know how an If function works.

Start off small, the way you are doing at the moment. Its really good :)

~:Hiyoal:~
08/23/2008 03:28 warrior101#9
which auto it should i get the v3 one? nvm i found out the answer
09/18/2008 18:46 thuishie#10
plsss.... help me to make a cheat autolvling
09/19/2008 00:51 (GAME)Master#11
use vb,java,c++
09/24/2008 00:26 nuketopp#12
where can download java and how work