How to create your own bots/macros with AutoIt

04/16/2007 07:31 creeping#61
Great guide so far have made my first Gui Would love more help though on like changing colors of input box or any of the gui colors for that matter or can I merge a jpg/bmp file and use it as gui background I have great visions..
:eek: :eek: Eventually I wanna take cotobo and sv's best features and merge them into my own custom package .. with a way better looking appearance and way easyer and configurible... excuse spelling I swear I can learn codeing and scripting better then I can spell. and Please don't flame :ops: :ops: U all had to start somewhere ... also can auto it be configuregd to read like packets/item types ?? so it can be set like sv to only pick up certain quality's and all ..?? ok thanks for peeps times .
04/17/2007 15:32 vavo#62
nice work!!!
04/19/2007 00:00 AvatarOfMight#63
This is a very useful guide :D If you are making a program with auto it you might need to send keys, which is very well explained by this guide but there are only few examples of keys. This is the complete list of keys and the code of how to send them with auto it. I know that this is a very small contribution but I hope it helps :D .

Command----> Resulting Keypress


{!} ----> !
{#}----> #
{+}----> +
{^}----> ^
{{}----> {
{}}----> }
{SPACE}----> SPACE
{ENTER}----> ENTER key on the main keyboard
{ALT}----> ALT
{BACKSPACE} or {BS}----> BACKSPACE
{DELETE} or {DEL}----> DELETE
{UP}----> Up arrow
{DOWN}----> Down arrow
{LEFT}----> Left arrow
{RIGHT}----> Right arrow
{HOME}----> HOME
{END}----> END
{ESCAPE} or {ESC}----> ESCAPE
{INSERT} or {INS}----> INS
{PGUP}----> PageUp
{PGDN}----> PageDown
{F1} - {F12}----> Function keys(f1-f12) very useful in co :D
{TAB}----> TAB
{PRINTSCREEN}----> Print Screen key
{LWIN}----> Left Windows key
{RWIN}----> Right Windows key
{NUMLOCK on}----> NUMLOCK (on/off/toggle)
{CAPSLOCK off}----> CAPSLOCK (on/off/toggle)
{SCROLLLOCK toggle}----> SCROLLLOCK (on/off/toggle)
{CTRLBREAK}----> Ctrl+Break
{PAUSE}----> PAUSE
{NUMPAD0} - {NUMPAD9}----> Numpad digits
{NUMPADMULT}----> Numpad Multiply
{NUMPADADD}----> Numpad Add
{NUMPADSUB}----> Numpad Subtract
{NUMPADDIV}----> Numpad Divide
{NUMPADDOT}----> Numpad period
{NUMPADENTER}----> Enter key on the numpad
{APPSKEY}----> Windows App key
{LALT}----> Left ALT key
{RALT}----> Right ALT key
{LCTRL}----> Left CTRL key
{RCTRL}----> Right CTRL key
{LSHIFT}----> Left Shift key
{RSHIFT}----> Right Shift key
{SLEEP}----> Computer SLEEP key
{ALTDOWN}----> Holds the ALT key down until {ALTUP} is sent
{SHIFTDOWN}----> Holds the SHIFT key down until {SHIFTUP} is sent
{CTRLDOWN}----> Holds the CTRL key down until {CTRLUP} is sent
{LWINDOWN}----> Holds the left Windows key down until {LWINUP} is sent
{RWINDOWN}----> Holds the right Windows key down until {RWINUP} is sent
{ASC nnnn}----> Send the ALT+nnnn key combination
{BROWSER_BACK}----> 2000/XP Only: Select the browser "back" button
{BROWSER_FORWARD}----> 2000/XP Only: Select the browser "forward" button
{BROWSER_REFRESH}----> 2000/XP Only: Select the browser "refresh" button
{BROWSER_STOP}----> 2000/XP Only: Select the browser "stop" button
{BROWSER_SEARCH}----> 2000/XP Only: Select the browser "search" button
{BROWSER_FAVORITES}----> 2000/XP Only: Select the browser "favorites" button
{BROWSER_HOME}----> 2000/XP Only: Launch the browser and go to the home page
{VOLUME_MUTE}----> 2000/XP Only: Mute the volume
{VOLUME_DOWN}----> 2000/XP Only: Reduce the volume
{VOLUME_UP}----> 2000/XP Only: Increase the volume
{MEDIA_NEXT}----> 2000/XP Only: Select next track in media player
{MEDIA_PREV}----> 2000/XP Only: Select previous track in media player
{MEDIA_STOP}----> 2000/XP Only: Stop media player
{MEDIA_PLAY_PAUSE}----> 2000/XP Only: Play/pause media player
{LAUNCH_MAIL}----> 2000/XP Only: Launch the email application
{LAUNCH_MEDIA}----> 2000/XP Only: Launch media player
{LAUNCH_APP1}----> 2000/XP Only: Launch user app1
{LAUNCH_APP2}----> 2000/XP Only: Launch user app2

Or you can also use ascii characters

Ok, to send simulated keys using ASCII characters you need to follow the next syntax:

send("ASC ascii character(from 0 to 255)")
Note: the words in red shouldnt be typed, they must be replaced by the ASCII code.

Example: To send "A" using ascii characters

Send("{ASC 065}")
04/23/2007 20:38 KageKhan#64
Quote:
Originally posted by AvatarOfMight@Apr 12 2007, 02:09
+k :)
Nice job, I have been doing bots with c++ but it is much easier with auto it... hehe, thanks a lot.
And one question... Is it possible to start another program from autoit? For example:

I want to find a color in a bit map, which is possible to do with auto it, and i want to start a program in c++ once i find it. Is it possible?
Thanks :)
Yea it's possible... just goto the autoit website and they list all the functions that autoit currently supports. For what you are asking for in specific, here's the link [Only registered and activated users can see links. Click Here To Register...] And now to ask a question myself... I have not yet been able to find a way to search for text on the conquer screen such as finding coords/monster names/loot etc. I don't know if it's supported in autoit or not but I was hoping that someone may have come across a way to do this by now or not. Thanks in advance!
04/23/2007 21:12 hieitk#65
Quote:
Originally posted by KageKhan+Apr 23 2007, 20:38--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (KageKhan @ Apr 23 2007, 20:38)</td></tr><tr><td id='QUOTE'><!--QuoteBegin--AvatarOfMight@Apr 12 2007, 02:09
+k* :)
Nice job, I have been doing bots with c++ but it is much easier with auto it... hehe, thanks a lot.
And one question... Is it possible to start another program from autoit? For example:

I want to find a color in a bit map, which is possible to do with auto it, and i want to start a program in c++ once i find it. Is it possible?
Thanks* :)
Yea it's possible... just goto the autoit website and they list all the functions that autoit currently supports. For what you are asking for in specific, here's the link [Only registered and activated users can see links. Click Here To Register...] And now to ask a question myself... I have not yet been able to find a way to search for text on the conquer screen such as finding coords/monster names/loot etc. I don't know if it's supported in autoit or not but I was hoping that someone may have come across a way to do this by now or not. Thanks in advance![/b][/quote]
yesterday I was looking for the same thing (try to find text on the conquer window)

I found the function ControlCommand :
Code:
ControlCommand &#40; &#34;title&#34;, &#34;text&#34;, controlID, &#34;command&#34; &#91;, &#34;option&#34;&#93; &#41;
>"title" is the title of the window to access, [Conquer2.0] for example
>"command" can be ("FindString", 'string')

It worked perfect on some test using Notepad and some other programs but no on Conquer, and I was wondering why?
Then I found this Note about "Controls"
Quote:
Note: AutoIt only works with standard Microsoft controls - some applications write their own custom controls which may look like a standard MS control but may resist automation. Experiment!
Ill keep trying but Im downloading VB for sure

and... if you have a trojan or warrior check the Bot I made thx to this guide (KIRA Bot on signature) ^^
04/24/2007 03:33 AvatarOfMight#66
Quote:
Originally posted by KageKhan+Apr 23 2007, 14:38--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (KageKhan @ Apr 23 2007, 14:38)</td></tr><tr><td id='QUOTE'><!--QuoteBegin--AvatarOfMight@Apr 12 2007, 02:09
+k :)
Nice job, I have been doing bots with c++ but it is much easier with auto it... hehe, thanks a lot.
And one question... Is it possible to start another program from autoit? For example:

I want to find a color in a bit map, which is possible to do with auto it, and i want to start a program in c++ once i find it. Is it possible?
Thanks :)
Yea it's possible... just goto the autoit website and they list all the functions that autoit currently supports. For what you are asking for in specific, here's the link [Only registered and activated users can see links. Click Here To Register...] And now to ask a question myself... I have not yet been able to find a way to search for text on the conquer screen such as finding coords/monster names/loot etc. I don't know if it's supported in autoit or not but I was hoping that someone may have come across a way to do this by now or not. Thanks in advance![/b][/quote]
Oh, ok, thanks :D

And to answer your question: I was trying to do the same thing, but I had the same problem than Hieitk, the FindString command wont work on co =(. Then I thought on using an OCR software (Optical Character Recognition) to find text in co but it is too slow and u have to take a lot of screen shots. At least one screen shot for every time you want to find something :? (Just a theory tho, I havent get that program to work).

But now that I know how to start another application from autoit maybe I can get it to work :D .
04/24/2007 03:37 Richou93#67
can u explain how to make the script into a bot thing
04/26/2007 03:15 spoonieluv97#68
Quote:
Originally posted by AvatarOfMight+Apr 24 2007, 03:33--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (AvatarOfMight @ Apr 24 2007, 03:33)</td></tr><tr><td id='QUOTE'>
Quote:
Originally posted by -KageKhan@Apr 23 2007, 14:38
<!--QuoteBegin--AvatarOfMight
Quote:
@Apr 12 2007, 02:09
+k :)
Nice job, I have been doing bots with c++ but it is much easier with auto it... hehe, thanks a lot.
And one question... Is it possible to start another program from autoit? For example:

I want to find a color in a bit map, which is possible to do with auto it, and i want to start a program in c++ once i find it. Is it possible?
Thanks :)

Yea it's possible... just goto the autoit website and they list all the functions that autoit currently supports. For what you are asking for in specific, here's the link [Only registered and activated users can see links. Click Here To Register...] And now to ask a question myself... I have not yet been able to find a way to search for text on the conquer screen such as finding coords/monster names/loot etc. I don't know if it's supported in autoit or not but I was hoping that someone may have come across a way to do this by now or not. Thanks in advance!
Oh, ok, thanks :D

And to answer your question: I was trying to do the same thing, but I had the same problem than Hieitk, the FindString command wont work on co =(. Then I thought on using an OCR software (Optical Character Recognition) to find text in co but it is too slow and u have to take a lot of screen shots. At least one screen shot for every time you want to find something :? (Just a theory tho, I havent get that program to work).

But now that I know how to start another application from autoit maybe I can get it to work :D . [/b][/quote]
Yeah, this won't work with CO, at least im like 99% sure. I think VB is better than autoit, but autoit can be a bit easier to understand in my opinion, thats why I made the guide for it. This guide is very basic, and you should all go to the AutoIt help website. It has a complete list of what the built in functions do, like most languages. Its EXTREMELY helpful. Also thanks above for listing the list of sendkey's. Really useful for people to keep in handy when making shortcuts for programs.
04/26/2007 04:05 AvatarOfMight#69
Quote:
Originally posted by spoonieluv97+Apr 25 2007, 21:15--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (spoonieluv97 @ Apr 25 2007, 21:15)</td></tr><tr><td id='QUOTE'>
Quote:
Originally posted by -AvatarOfMight@Apr 24 2007, 03:33
Quote:
Originally posted by -KageKhan@Apr 23 2007, 14:38
<!--QuoteBegin--AvatarOfMight
Quote:
Quote:
@Apr 12 2007, 02:09
+k :)
Nice job, I have been doing bots with c++ but it is much easier with auto it... hehe, thanks a lot.
And one question... Is it possible to start another program from autoit? For example:

I want to find a color in a bit map, which is possible to do with auto it, and i want to start a program in c++ once i find it. Is it possible?
Thanks :)

Yea it's possible... just goto the autoit website and they list all the functions that autoit currently supports. For what you are asking for in specific, here's the link [Only registered and activated users can see links. Click Here To Register...] And now to ask a question myself... I have not yet been able to find a way to search for text on the conquer screen such as finding coords/monster names/loot etc. I don't know if it's supported in autoit or not but I was hoping that someone may have come across a way to do this by now or not. Thanks in advance!

Oh, ok, thanks :D

And to answer your question: I was trying to do the same thing, but I had the same problem than Hieitk, the FindString command wont work on co =(. Then I thought on using an OCR software (Optical Character Recognition) to find text in co but it is too slow and u have to take a lot of screen shots. At least one screen shot for every time you want to find something :? (Just a theory tho, I havent get that program to work).

But now that I know how to start another application from autoit maybe I can get it to work :D .
Yeah, this won't work with CO, at least im like 99% sure. I think VB is better than autoit, but autoit can be a bit easier to understand in my opinion, thats why I made the guide for it. This guide is very basic, and you should all go to the AutoIt help website. It has a complete list of what the built in functions do, like most languages. Its EXTREMELY helpful. Also thanks above for listing the list of sendkey's. Really useful for people to keep in handy when making shortcuts for programs.[/b][/quote]

Ok, I will try VB :), do you know if I can download it from somewhere for free?
04/26/2007 05:13 spoonieluv97#70
Quote:
Originally posted by AvatarOfMight+Apr 26 2007, 04:05--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (AvatarOfMight @ Apr 26 2007, 04:05)</td></tr><tr><td id='QUOTE'>
Quote:
Originally posted by -spoonieluv97@Apr 25 2007, 21:15
Quote:
Originally posted by -AvatarOfMight@Apr 24 2007, 03:33
Quote:
Originally posted by -KageKhan@Apr 23 2007, 14:38
<!--QuoteBegin--AvatarOfMight
Quote:
Quote:
Quote:
@Apr 12 2007, 02:09
+k :)
Nice job, I have been doing bots with c++ but it is much easier with auto it... hehe, thanks a lot.
And one question... Is it possible to start another program from autoit? For example:

I want to find a color in a bit map, which is possible to do with auto it, and i want to start a program in c++ once i find it. Is it possible?
Thanks :)

Yea it's possible... just goto the autoit website and they list all the functions that autoit currently supports. For what you are asking for in specific, here's the link [Only registered and activated users can see links. Click Here To Register...] And now to ask a question myself... I have not yet been able to find a way to search for text on the conquer screen such as finding coords/monster names/loot etc. I don't know if it's supported in autoit or not but I was hoping that someone may have come across a way to do this by now or not. Thanks in advance!

Oh, ok, thanks :D

And to answer your question: I was trying to do the same thing, but I had the same problem than Hieitk, the FindString command wont work on co =(. Then I thought on using an OCR software (Optical Character Recognition) to find text in co but it is too slow and u have to take a lot of screen shots. At least one screen shot for every time you want to find something :? (Just a theory tho, I havent get that program to work).

But now that I know how to start another application from autoit maybe I can get it to work :D .

Yeah, this won't work with CO, at least im like 99% sure. I think VB is better than autoit, but autoit can be a bit easier to understand in my opinion, thats why I made the guide for it. This guide is very basic, and you should all go to the AutoIt help website. It has a complete list of what the built in functions do, like most languages. Its EXTREMELY helpful. Also thanks above for listing the list of sendkey's. Really useful for people to keep in handy when making shortcuts for programs.
Ok, I will try VB :), do you know if I can download it from somewhere for free? [/b][/quote]
I think you can get old versions for free. My friend signed up to watch these movies and he got a few free promotional copies of VB 2003. (and gave one to me xD )
04/26/2007 05:24 hieitk#71
I have a question about what u r talking, I already have Visual Studio 2005 express edition, can I do something with that? o.0

I mean, is enough to make speed hacks, zoom and stuff like that?

alrigth, thats all ^^
04/27/2007 16:53 KageKhan#72
Quote:
Originally posted by AvatarOfMight@Apr 26 2007, 04:05
Ok, I will try VB :), do you know if I can download it from somewhere for free?
You can get VB 2005 Express for free... not too sure about it's limitations... and then you could always get it off of a torrent site for free as well.. Which ever you prefer. Taking express would be faster and more reliable, but like I said it may have limitations I'm un-aware of. I'll look into as well.. I've been wanting to create my own bot for when SV gets dropped by the community (someday, the almighty ones will get sick of creating tutorials to crack SV, or at least thats my belief) and it's also more interesting to create your own bot. The only real problem I have is that I would LOVE to make a bot using hooks like SV but I can't understand jack when it comes to windows api hooking.
04/28/2007 03:15 AvatarOfMight#73
Quote:
Originally posted by KageKhan+Apr 27 2007, 10:53--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (KageKhan @ Apr 27 2007, 10:53)</td></tr><tr><td id='QUOTE'><!--QuoteBegin--AvatarOfMight@Apr 26 2007, 04:05
Ok, I will try VB :), do you know if I can download it from somewhere for free?
You can get VB 2005 Express for free... not too sure about it's limitations... and then you could always get it off of a torrent site for free as well.. Which ever you prefer. Taking express would be faster and more reliable, but like I said it may have limitations I'm un-aware of. I'll look into as well.. I've been wanting to create my own bot for when SV gets dropped by the community (someday, the almighty ones will get sick of creating tutorials to crack SV, or at least thats my belief) and it's also more interesting to create your own bot. The only real problem I have is that I would LOVE to make a bot using hooks like SV but I can't understand jack when it comes to windows api hooking.[/b][/quote]
Ok, thanks. I will look for it :)
05/03/2007 06:14 jengaling#74
well ill try to make one for this new patch they have and hopefully i can if i need some help i know where to look one
05/05/2007 22:51 MoOdY2006#75
Nice man :)