Sign in to follow this  
Followers 0
sillytiger

i created a bot to do the santa..

11 posts in this topic

#1 ·  Posted (edited)

how do you search all over.. the towns... right... then when you see santa stop searching, and click on him?

it would me like

click 10, 10 (the arrow just an example,)

*

*

repeat (different arrows)

different town

(stop when detects)

color search (X)

how do i do that??

1. how to use it to stop and go click the color

then go back to what it was doing

2. why my script isnt working correctly

__________________________________________

; ----------------------------------------------------------------------------

;

; AutoIt Version: 3.1.0

; Author: A.N.Other <myemail@nowhere.com>

;

; Script Function:

; Template AutoIt script.

; HotKeySet("{ESC}","Stop")

; ----------------------------------------------------------------------------

$I=1-1000

; Script Start

sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('',246, 347)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 61, 140)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 244, 325)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 59, 251)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 235, 346)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 56, 250)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 248, 367)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 65, 246)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 252, 325)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 67, 257)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 285, 352)

Send('i' & $I)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 61, 240)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 246, 324)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 62, 352)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 250, 250)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

MouseClick('', 55, 422)

MouseClick('', 36, 702)

MouseClick('', 61, 298)

MouseClick('', 362, 705)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=0)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=1)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=2)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=3)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=4)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=5)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=6)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=7)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=8)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=9)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=10)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=11)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=12)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=13)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=14)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=15)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=16)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=17)

Send {ENTER}

Sleep(200000)

MouseClick('', 1269, 10)

next

Edited by sillytiger

Share this post


Link to post
Share on other sites



basicaly sorry to say i need to know what to enter for the color finder.. i thinks thats it..

i cants seem to work it..

i figure find red.. but then in the help it says have red.exe (something close)

then are you supposed to enter i have no clue

Share this post


Link to post
Share on other sites

please?? help any1

Share this post


Link to post
Share on other sites

No offense ... but help with what? There's no script.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

No offense ... but help with what? There's no script.

yeah, no script, no attached program or url to game... try this it should work:

Msgbox(0,"Dude","Post more information, include script that you've tried, and a url to the game so that solutions can be tested")

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

$I=1-1000

; Script Start

sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('',246, 347)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 61, 140)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 244, 325)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 59, 251)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 235, 346)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 56, 250)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 248, 367)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 65, 246)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 252, 325)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 67, 257)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 285, 352)

Send('i' & $I)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 61, 240)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 246, 324)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 62, 352)

Sleep(1000)

MouseClick('', 1265 , 663, 20)

Sleep(1000)

MouseClick('', 250, 250)

Sleep(200000)

MouseClick('', 1265 , 663, 20)

MouseClick('', 55, 422)

MouseClick('', 36, 702)

MouseClick('', 61, 298)

MouseClick('', 362, 705)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=0)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=1)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=2)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (http://www.gaiaonline.com/gaia/map.php?m=3)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=4)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=5)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=6)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=7)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=8)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=9)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=10)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=11)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=12)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=13)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=14)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=15)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=16)

Send {ENTER}

Sleep(200000)

MouseClick('', 250, 442)

Send (www.gaiaonline.com/gaia/map.php?m=17)

Send {ENTER}

Sleep(200000)

MouseClick('', 1269, 10)

next

Ok rather than going thru this whole thing, I'll point out just a few things.

Send (www.gaiaonline.com/gaia/map.php?m=whatevernumber)

Should be: Send("www.gaiaonline.com/gaia/map.php?m=whatevernumber") with quotes around the string.

MouseClick('', 250, 442)

Should be: MouseClick("left or right", 250, 442, number of clicks, speed of mouse movement)

Send {Enter}

Should be: Send("{ENTER}")

Looks like you need a trip through the help file on the command calls your using. That would probably help you best.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

yes but if you leave it blank with clicks it automaticaly goes to 1...

so mouseclick(10,10)

is x=10. y=10.. speed=1 clicks=1

right??(sorry im new to autoit3 still )

but im just saying what i though i read said...

but thanks!!

Edited by sillytiger

Share this post


Link to post
Share on other sites

I'm not saying it's necessary to have the Clicks/Speed (you had it reversed to speed/clicks).

I was basically giving you the structure, because you left the "left/right" mouseclick out.

Try the suggestions I posted, read the helpfile a bit more so you understand the commands your trying to use.

Maybe even run the script in my signature to make sure you have all the tools that most of us use.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

ok, thanks every1 but there is 1 thing i need now..

how to operate the color... which one do i put in from the window the left or right color number.. and then how do you use and create a color finder

Share this post


Link to post
Share on other sites

Look at PixelGetColor()/PixelSearch()/and PixelCheckSum() in the help file. They have examples of how to use them.


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Here are a couple pointers:

  • For what it's worth, according to the help file MouseClick() does indeed accept '' as the first parameter in which case it will default to the left mouse button.
  • You appear to be attempting to use a loop, however the first line is malformed. It should be For $I = 1 To 1000.
  • An additional loop can be used to simplify the script starting at this point:

    MouseClick('', 250, 442)
    Send (http://www.gaiaonline.com/gaia/map.php?m=0)
Here's my rewrite of your code if you're interested:

HotkeySet('{ESC}', 'Stop')
Func Stop()
    Exit
EndFunc

For $I = 1 To 1000
; Script Start
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 246, 347)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 61, 140)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 244, 325)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 59, 251)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 235, 346)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 56, 250)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 248, 367)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 65, 246)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 252, 325)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 67, 257)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 285, 352)
    Send('i' & $I)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 61, 240)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 246, 324)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 62, 352)
    Sleep(1000)
    MouseClick('', 1265, 663, 20)
    Sleep(1000)
    MouseClick('', 250, 250)
    Sleep(200000)
    MouseClick('', 1265, 663, 20)
    MouseClick('', 55, 422)
    MouseClick('', 36, 702)
    MouseClick('', 61, 298)
    MouseClick('', 362, 705)
    For $J = 1 To 17
        MouseClick('', 250, 442)
        Send('http://www.gaiaonline.com/gaia/map.php?m=' & $J & '{ENTER}')
        Sleep(200000)
    Next
    MouseClick('', 1269, 10)
Next

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  
Followers 0