Autoit Issue Need help from the Experts!!

09/25/2007 05:10 darkwang#1
Hi guys, I am hoping some of you with more experience using autoit can help me with this. Basically I am trying to make a simple script to log me back into the game after DC's in shop while I am sleeping. It gets pretty annoying constantly getting DC'd everynight. I have 2 issues I couldnt figure out.....
1. I cannot get script to type my username and password. It just simply doesnt type in the login in window. I am using the simple Send command to do so and the error is not appearing to be in the command itself. Is this a gameguard issue or something else?

2. My other issue...What is the simplest way to program script to detect when 2moons closes? Pixel based I was assuming, but who knows there could be something easier. I dont have experience with pixel codes so I wanted to ask that too.
Thanks for any help you guys can give me!!
09/25/2007 06:35 3456543#2
Yeah i wrote those bot for relog to shop

Autoit commands are blocked

I use Autome and it works really good

I do pixelsearch the taskbar for a colour in 2moons logo and it works
09/25/2007 07:43 lowa_kadiza#3
autome?any link?mind dosnt work...
09/25/2007 09:01 oscinis#4
I use ControlSend instead of the standard Send command.

Syntax:
ControlSend ( "title", "text", controlID, "string" [, flag] )

Example:
ControlSend ( "2Moons", "", "", "oscinis{TAB}password123")
09/25/2007 14:47 darkwang#5
Quote:
Originally Posted by oscinis View Post
I use ControlSend instead of the standard Send command.

Syntax:
ControlSend ( "title", "text", controlID, "string" [, flag] )

Example:
ControlSend ( "2Moons", "", "", "oscinis{TAB}password123")
This worked very good! Thanks so much for that quick recommendation! I really appreciate that! Also thank you 3456543 for the autome program, I didnt end up looking for it though, due to ease of this simple command :D I will try to figure out how to get the pixel search to do its job and loop the program and such. No idea how that will work, because I am a beginner, but enjoy trying. Theres a good chance I may need to post a question about the pixel part if I get stuck....hope you guys dont mind:) and thanks again for the help!!
09/25/2007 20:33 3456543#6
@lowa_kadiza here the link:

[Only registered and activated users can see links. Click Here To Register...]

And darkwang im a noob in scripting too but autome is very simple to use and should be no problem to script one because u dont need any knowledge.
I would send u my shop bot but it wont work for u because the icon is at another place and u use different resolution and to config all this would be more work than writing a new one.
09/26/2007 07:06 darkwang#7
Quote:
Originally Posted by 3456543 View Post
@lowa_kadiza here the link:

[Only registered and activated users can see links. Click Here To Register...]

And darkwang im a noob in scripting too but autome is very simple to use and should be no problem to script one because u dont need any knowledge.
I would send u my shop bot but it wont work for u because the icon is at another place and u use different resolution and to config all this would be more work than writing a new one.
For whatever reason after recording the whole sign in process procedure, it would never execute past double clicking the minilauncher. It kept opening up 2 at once and freezing. Not sure what it was all about, but it is a very simple program!! Thanks. Im going to research how to make the script detect closing soon... We'll see how that goes LOL.