[AutoIt] Help With AutoLogin On Conquer!

11/06/2010 17:14 PuN|SheR#1
Hello.. I Wanted to make a script that,when you run the script,automaticly runs CQ, and only writes password(account ID is saved) and login on.
But There was a problem.. So here it is:
1.Run Conquer
2.MouseClick High Definition
3.Wait(Sleep) 20000
4.MouseClick On the box for the passwords, the account id isn't needed,because is saved .Then Sleep(1000)
5.Send("password")
6.MouseClick(login)


So Thats how i made it.. but when comes to the step 5, theres a problem! When Mouse Pointer will click on the Password Entry Box, then goes the Send Command("password)" , but it only writes 6-7 characters, and my passsword got 10 chars, and then when it clicks Login, it says invalid pass.. so any help how do i made it? Is it because the AUTOIT it types so fast? i tryed with
Quote:
send("p")
sleep(1000)
send("a")
sleep(1000)
send ("s")
sleep(1000)
send("s")
sleep 1000 etc etc etc till it comletes the phrase PASSWORD
But Still Happenin the same.. Any Suggestion?

Code Of AutoLogin(account ID of the Character on conquer was saved into the Account ID box, so thats why i didnt need to write the Accound ID and x,y are coordinates for mouse Click)
:
Code:
Run("play.exe")
WinActivate("Play")
MouseClick("left",X,Y,1,10)  ; [I]<<The Mouse Click For Coordinates Of Clicking"High Definition"[/I]
sleep(20000)
WinWaitActive("Conquer Online")
MouseClick("left",x,y,1,10) ; <<The Mouse Click For Coordinates Of Password Entry Box
sleep(1000)
send("Password")
sleep(1000)
mouseclick("left",x,y,1,10) ; << The Mouse Click For Coordinates Of LOGIN Button
11/06/2010 20:53 hok30#2
AutoIt types too fast for the client to recognize. You have to split each character to a different Send(), and sleep in between.
11/06/2010 23:17 PuN|SheR#3
Quote:
Originally Posted by hok30 View Post
AutoIt types too fast for the client to recognize. You have to split each character to a different Send(), and sleep in between.
Actually, i think that too, and i think that will solve problem, so i make something like this

HTML Code:
Send("p")
sleep(1000)
send("a")
sleep(1000
etc etc,but still had the problem.. maybe more Sleep(delay) between each send?
11/07/2010 21:55 kelluxu#4
you could try and Send("p a s s w o r d") (more than one space between the letters) and i am saying that because in the login screen " " doesn't get typed.
so if you type "p"," ","a" in the login screen u'll get "pa" not "p a".
i hope you understood what i wanted to say and i hope it works. gl.
11/08/2010 02:36 hok30#5
Possibly. Now that I think about it, that login screen may only accept actual keystrokes, and it may be impossible to send virtual keystrokes.
11/08/2010 08:42 PuN|SheR#6
Ok , I'll try with the space between characters, i guess will work, and hok30, maybe thats the reason, it cannot accept virtual keystrokes