Jump to content

Newbie trying to make game bot


Recommended Posts

Hello! im new whit Autoit and in this forum, very nice Web & Forum, congratulations for this.

I post my questions here :

1º - can do something for when i put the mouse cursor in a X position whitout move and the background of where mouse is its in White colour , can the mouse detect if the blackground change colour to red and start move where i want ? ( the white/red colour its a Heal Bar and this one regen).

2º - its possible to when the mouse cursor change ( same when you put the cursor up to a link ) this one stop move and start click whitout move?

( normally have to click in same position whit a low move left or right )

3º - can i do a "interface" for i put the username and pw in one box and one number ( that last select character ).?

thats all, sorry for my english.

very thanks for all.

i post here the Code i got atm.

run("C:\Program Files\Mozilla Firefox\firefox.exe");open explorer
Sleep(1000)
Mousemove (1597, 61,90);move the mouse to put url
MouseClick ("left")
Sleep(1000)
Send ("http://xxx.com") put the url
send ("{Enter}")
MouseMove (1904, 557,90)
MouseClick ("left")
Sleep(500)
MouseMove (1924, 559,90)
MouseClick ("left")
Sleep(1000)
Send ("xxxx",1);  Username
MouseMove (1924, 606,90)
MouseClick ("left")
Sleep(1000)
Send ("xxxx",1); password 1
MouseMove (1924, 661,90)
MouseClick ("left")
Sleep(1000)
Send ("xxxx",1); password 2
MouseMove (1924, 712,90)
MouseClick ("left")
Sleep(2000)
MouseMove (1861, 275,100);Select Character
MouseClick ("left")
MouseMove (1828, 482,90)
MouseClick ("left")
MouseMove (1861, 275,100);Select Character
MouseClick ("left")
Sleep(1000)
send ("{F3}")
Sleep(1800000)
send ("{F3}")
Mousemove (2547, 18,90)
MouseClick ("left")
Sleep(20000)

thanks!!

Edited by ziknos
Link to comment
Share on other sites

@ziknos

Welcome to autoit forum :P

1st of all : Search in this forum before posting

Search in the helpfile (F1 in SciTE)

Take a look to PixelGetColor ; MouseGetPos ; and for make interface : GuiCreate and all GuiCtrl functions :unsure:

Cheers, FireFox.

Link to comment
Share on other sites

thanks, i searched a bit but my english isnt good so i cant search so much, sorry for dont search more before.

and now whit yours "keys" pixelgetclor , mousegetpos , etc i can search by exactly type.

thanks :P

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...