Jump to content
Sign in to follow this  
ziknos

Newbie trying to make game bot

Recommended Posts

ziknos

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

Share this post


Link to post
Share on other sites
FireFox

@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.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
ziknos

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

Share this post


Link to post
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
Sign in to follow this  

×