spaid1988 Posted November 20, 2014 Share Posted November 20, 2014 ok so i want to make a bot for a game so i can play catch up.... i do not plan to do anything game ruining cause i like to play but i want to play in my sleep ..... so i v done what i think we all have done is googled around till we end up here where it seems the pros hang out . this is what i have its simple but i cant figure out how to get it to click in the game plz dont just fix it im also doing this case i want to learn how to script expandcollapse popup#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 615, 437, 192, 124) $Group1 = GUICtrlCreateGroup("Group1", 40, 16, 417, 185) $_Start = GUICtrlCreateButton("start", 64, 40, 145, 57) $_Stop = GUICtrlCreateButton("stop", 64, 112, 145, 57) $_Close = GUICtrlCreateButton("exit", 256, 48, 169, 41) GUICtrlCreateGroup("", -99, -99, 1, 1) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $_Close Exit case $_Start sleep (10000) MouseMove(772,316) sleep(500) MouseClick ( "LEFT" ) sleep(1000) MouseMove(772,317) sleep(1000) MouseClick( "left" ) Sleep(1000) Exit EndSwitch WEnd and i need to figre out how it to id a color or screen or picture in the game so it knows when it battle it for my pokemon game dont laugh ya pokemon.....lol Link to comment Share on other sites More sharing options...
Jfish Posted November 20, 2014 Share Posted November 20, 2014 Game automation is against the forum rules which can be found in the lower right hand corner of your screen. Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt Link to comment Share on other sites More sharing options...
Recommended Posts