auto it pissing me off, plz help me out

12/26/2008 11:52 bob122#1
(BTW, i have a slowass computer with 10 year old crap and very very slow 256mb RAM, so this is EXTREMELY hard for me to do because its sooooooooo slow)

okay im trying to make a macro to talk to coach li in tc, get a reference letter, then to drop it.


ive made my character stand at 354,313
this is using windowed 600x800 conquer or whatever.

standing at 354,313. He needs to make 5 clicks to complete the proccess of obtaining and dropping the letter.

1. 3 clicks at 342,224 - to click on coach li (extra 2 to make sure)
2. 3 clicks at 282,184 - to answer the 3 questions
3. 1 click at 692,250
4. 1 click at 492,450
5. 1 click at 528,360

so ive figured out how to obtain and drop the letter.

standing at 354,313 with 800x600 windowed conquer

Quote:
WinWaitActive("[Conquer2.0]")
MouseClick("left", 342, 224, 1)
MouseClick("left", 342, 224, 1)
MouseClick("left", 342, 224, 1)
MouseClick("left", 282, 184, 1)
Sleep(1900)
MouseClick("left", 282, 184, 1)
Sleep(1900)
MouseClick("left", 282, 184, 1)
Sleep(1900)
MouseClick("left", 692, 250, 1, 5)
MouseClick("left", 492, 450, 1, 5)
MouseClick("left", 528, 360, 1, 5)
and to compose the refs into da tali (doesnt matter where u stand)

Quote:
MouseClick("left", 790, 110, 1, 5)
MouseClick("left", 550, 325, 1, 1)
MouseClick("left", 430, 535, 1, 1)

and to talk to coach lin in pc and to answer da question with repeatedly clicking da first answer. NOTE: THIS PART FAILS ALOT AND ITS PISSING ME OFF, SOMEONE HELP ME OUT TO ABORT IT OR SOMETHING

Quote:
MouseClick("left", 342, 224, 1)
MouseClick("left", 342, 224, 1)
MouseClick("left", 342, 224, 1)

MouseClick("left", 272, 184, 1)
MouseClick("left", 272, 184, 1)
MouseClick("left", 272, 184, 1)
sleep (1000)
MouseClick("left", 272, 184, 1)
MouseClick("left", 272, 184, 1)
MouseClick("left", 272, 184, 1)
sleep (1000)
MouseClick("left", 272, 184, 1)





Ive got some questions
1. How do you tell auto it to keep repeating the procces XX number of times? (38 in this case)
2. How do you abort the macro if its failed? right clicking da taskbar in da corner is of no help coz its clicks to fast.
3. How can i make my character pick up the reference letters?
12/26/2008 16:49 IAmHawtness#2
Try using the sleep(x) function. (x = amount of milliseconds to sleep)
Might look something like this:

Code:
MouseClick ("left", x, y, 1, 0)
Sleep(4000)
MouseClick ("left", x, y, 1, 0)
12/26/2008 23:47 Hiyoal#3
Opt("MouseClickDelay",{Milliseconds})

Use that before you process the delayed mouse click call and then reset it using Opt("MouseClickDelay",10) - 10 is the default.

It should look something like this:

Opt("MouseClickDelay",Wht_You_Are_Stalling_For)
Mouseclick("left",282, 184,1,5)
Opt("MouseClickDelay",10)


That is how to do delay, not make the speed of the mouse pointer slower...lol

Hiyoal
12/26/2008 23:56 bobbyaube#4
on the other thread i received the codes to talk to coach lin and answer his questions. Im working on finishing it.
Maybe we could make all this into a big talisment socking bot?
12/27/2008 03:59 bob122#5
lol thanx guys xD
il try to figure it out.

also, how do u make a macro such as one made using auto it to play with da window being minimized?
12/31/2008 08:23 bob122#6
bump