Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 23:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to create your own bots/macros with AutoIt

Discussion on How to create your own bots/macros with AutoIt within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old 04/16/2007, 07:31   #61
 
creeping's Avatar
 
elite*gold: 0
Join Date: Sep 2006
Posts: 55
Received Thanks: 6
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..
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 ps: ps: 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 .
creeping is offline  
Old 04/17/2007, 15:32   #62
 
elite*gold: 0
Join Date: Dec 2006
Posts: 153
Received Thanks: 1
nice work!!!
vavo is offline  
Old 04/19/2007, 00:00   #63
 
AvatarOfMight's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 31
Received Thanks: 2
This is a very useful guide 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 .

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
{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}")
AvatarOfMight is offline  
Old 04/23/2007, 20:38   #64
 
elite*gold: 0
Join Date: May 2006
Posts: 51
Received Thanks: 4
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 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!
KageKhan is offline  
Old 04/23/2007, 21:12   #65
 
elite*gold: 0
Join Date: Mar 2007
Posts: 608
Received Thanks: 365
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 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) ^^
hieitk is offline  
Old 04/24/2007, 03:33   #66
 
AvatarOfMight's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 31
Received Thanks: 2
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 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

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 .
AvatarOfMight is offline  
Old 04/24/2007, 03:37   #67
 
elite*gold: 0
Join Date: Apr 2007
Posts: 12
Received Thanks: 5
can u explain how to make the script into a bot thing
Richou93 is offline  
Old 04/26/2007, 03:15   #68
 
elite*gold: 0
Join Date: Apr 2006
Posts: 249
Received Thanks: 79
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 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

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 . [/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.
spoonieluv97 is offline  
Old 04/26/2007, 04:05   #69
 
AvatarOfMight's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 31
Received Thanks: 2
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 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

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 .
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?
AvatarOfMight is offline  
Old 04/26/2007, 05:13   #70
 
elite*gold: 0
Join Date: Apr 2006
Posts: 249
Received Thanks: 79
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 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

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 .

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 )
spoonieluv97 is offline  
Old 04/26/2007, 05:24   #71
 
elite*gold: 0
Join Date: Mar 2007
Posts: 608
Received Thanks: 365
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 ^^
hieitk is offline  
Old 04/27/2007, 16:53   #72
 
elite*gold: 0
Join Date: May 2006
Posts: 51
Received Thanks: 4
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.
KageKhan is offline  
Old 04/28/2007, 03:15   #73
 
AvatarOfMight's Avatar
 
elite*gold: 0
Join Date: Jun 2006
Posts: 31
Received Thanks: 2
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
AvatarOfMight is offline  
Old 05/03/2007, 06:14   #74
 
elite*gold: 0
Join Date: Dec 2006
Posts: 1
Received Thanks: 0
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
jengaling is offline  
Old 05/05/2007, 22:51   #75
 
elite*gold: 0
Join Date: Mar 2007
Posts: 17
Received Thanks: 0
Nice man
MoOdY2006 is offline  
Reply


Similar Threads Similar Threads
[GUIDE] How to create Scripts/bots with AutoIT
09/22/2010 - Tutorials - 6 Replies
for all who want to learn something or create bots for browsergames, mmorpgs and other games download Autoit here: http://www.autoitscript.com/cgi-bin/getfile.pl?au toit3/autoit-v3-setup.exe Now run the Scite Script Editor this is where you type in your code, let check your code if errors are in it and compile it to executable exe file. the first thing you need are the coordinates of your mouse to find locations on the screen, like skill buttons, status bars, or just positions which...
(GUIDE)How to create own scripts/bots with AutoIt
11/19/2008 - Rappelz - 4 Replies
for all who want to learn something or create bots for browsergames, mmorpgs and other games download Autoit here: http://www.autoitscript.com/cgi-bin/getfile.pl?au toit3/autoit-v3-setup.exe Now run the Scite Script Editor this is where you type in your code, let check your code if errors are in it and compile it to executable exe file. the first thing you need are the coordinates of your mouse to find locations on the screen, like skill buttons, status bars, or just positions which...
learning how to create/write Bots/Macros
01/28/2006 - Conquer Online 2 - 8 Replies
Well I know that this is kind of off topic and a lot of people have been flamed by asking questions. I've tried a search and couldnt really find anything in english that i could actually read. Does anyone know any good sites or anything that a beginner could start learning how to create/write programs for bots and stuff like that? I'm learning how to write programs in VisualBasic at school but dont really know much. If anyone could supply any sites and stuff it would be awesome. thanks in...



All times are GMT +1. The time now is 23:22.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.