Sign in to follow this  
Followers 0
Handsonfire

World of Warcraft Auto-Login help?

6 posts in this topic

Ok, so I'm a total newbie when it comes to this, but I did some searching and found a WoW Auto-Login Script.

; AutoIt Version: 3.0
; Language:    English
; Platform:    WinXP
; Author:        Oldhead
;
; Script Function:
;   WoW FishBot.
;
; Wow Window Title - World of Warcraft
; WoW Window Size - w1032 x h795
; classname=GxWindowClassD3d



; Initial shit
WinActivate("World of Warcraft")
HotKeySet("{PAUSE}", "EndScript")

; Script Start

If FileExists(@ProgramFilesDir & "\World of Warcraft\WoW.exe") Then
Run(@ProgramFilesDir & "\World of Warcraft\WoW.exe")


Sleep(25000)
MouseClick("left", 460, 400, 1, 2)
send("username")

Sleep(100)
MouseClick("left", 455, 477, 1, 2)
send("password")

send("{ENTER}")


EndIf



; Function to exit script
Func EndScript()
  $exit = MsgBox(4, "WoW Log In", "End login script?")
  If $exit = 6 Then
    Exit
  EndIf
EndFunc

Now my reason for using this Auto-Login, is my server I play on, is alot of the times full, so if it is full, you will connect, stay connected for a few seconds, then it will say disconnected. Now what I want to do, is have the script press enter, closing the "Disconnected" window, and have the script repeat untill I have logged in.

Any help would be appreciated.

Share this post


Link to post
Share on other sites



just use controlsend? -.-


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Ok, can you be a little more helpfull and not assume I know everything. As I stated, I'm a complete newbie. So a little more concrete help would be useful.

Share this post


Link to post
Share on other sites

Ok, can you be a little more helpfull and not assume I know everything. As I stated, I'm a complete newbie. So a little more concrete help would be useful.

dont take this personal

YOU MAKE ME VERY VERY ANGRY !

Be glad with the help you get ,

Share this post


Link to post
Share on other sites

From the help File of AutoIt

ControlSend works in a similar way to Send but it can send key strokes directly to a window/control, rather than just to the active window.

ControlSend is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rather than accepting the keystroke messages). For normal windows ControlSend should be way more reliable than a normal Send - and yes it does send shift, ctrl, alt etc.

As mention in the Send help the keyboard that send different chars when in CAPS LOCK and using the Shift Key cannot be simulated. An example is the Czech Keyboard. A good workaround is to use the ControlSetText.


Sapiente vince, rex, noli vincere ferro!

Share this post


Link to post
Share on other sites

ControlSend("Title", "Text", "ControlID", "String", 1);The (1) is just a example of a FLAG

..

dont take this personal

YOU MAKE ME VERY VERY ANGRY !

Be glad with the help you get

/agree.

Thanks.


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

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