jackus Posted January 13, 2007 Share Posted January 13, 2007 hi ppl. I am a noob with Autoit 3, so i was wundering if any one could help me. I am makeing a afk battleground bot. I have made one, but its kind a simple. So can any one tell me how to: 1. Make a start menu for it, where you could put in password, account, place of char and. Then save the config into the Autoit, and what Battleground you would like to join AV or AB(for the mouse X and Y). 2. Can autoit see colors or pic? Coz if I can get that to work, it would be very nice. Then the bot would know if it was in a battlegroundg or at a battlemaster. thanks Link to comment Share on other sites More sharing options...
BALA Posted January 13, 2007 Share Posted January 13, 2007 (edited) AutoIt has some "pixel detection" type of commands, just search for pixel in the help file, you'll get a bunch. For the "start menu" you want, just create a GUI with inputs and use those inputs for the password and such. here's the example from the help file: #include <GUIConstants.au3> GUICreate(" Test", 320,120, @DesktopWidth/2-160, @DesktopHeight/2-45, -1, 0x00000018); WS_EX_ACCEPTFILES $input = GUICtrlCreateInput ( "Type in something", 10, 5, 300, 20) GUISetState () While 1 sleep(10) ;Keeps GUI open WEnd MsgBox (4096, "Test", "You typed:" & GUICtrlRead($input)) ;Notice how GUICtrlRead is used to "read" what the user typed in EDIT: simplified code a bit Edited January 13, 2007 by BALA [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now