Sign in to follow this  
Followers 0
spaid1988

IM THE NOOB....help!!!!

2 posts in this topic

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

#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

Share this post


Link to post
Share on other sites



Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0