Jump to content

Login for WoW (again)


nefas
 Share

Recommended Posts

Hi,

at first, sorry for my english i'm from germany :)

So, i'ff tray to write an login script for wow, but not one of these that use an sleep.

i use the pixelsearch function to check the screen. if the loginscreen is ready so i'll send the user and the pass.

in windowed every thinks works fine, but in fullscreen...

every time i get the pixel color "0"

any idea?

system is Vista

autoit vs. 3.3.0.0

Func _Login()
    $WoWUser = _GUICtrlComboBox_GetEditText($ComboAccount)
    $WoWPassword = GUICtrlRead($txtPass)
    WinWaitActive("World of Warcraft")
    $xy = WinGetPos("World of Warcraft")
    $hWnd = WinGetHandle("World of Warcraft")
    Sleep(100)
    while 1
        
        $Coordinaten = PixelSearch( $xy[0], $xy[1], $xy[2], $xy[3], 0xffc700,1,1,$hWnd)
        if Not @error Then
            
        ;Sleep(10000)
            ControlSend($hWnd, "", "",$WoWUser )
            Sleep(100)
        
            ControlSend($hWnd, "", "", "{TAB}")
            Sleep(100)

            ControlSend($hWnd, "", "", $WoWPassword)
            Sleep(100)

            ControlSend($hWnd, "", "", "{ENTER}")
            Sleep(100)

            ExitLoop
        EndIf
    WEnd
EndFunc

thx for your help

Link to comment
Share on other sites

Hi,

at first, sorry for my english i'm from germany :think:

So, i'ff tray to write an login script for wow, but not one of these that use an sleep.

i use the pixelsearch function to check the screen. if the loginscreen is ready so i'll send the user and the pass.

in windowed every thinks works fine, but in fullscreen...

every time i get the pixel color "0"

any idea?

system is Vista

autoit vs. 3.3.0.0

Func _Login()
    $WoWUser = _GUICtrlComboBox_GetEditText($ComboAccount)
    $WoWPassword = GUICtrlRead($txtPass)
    WinWaitActive("World of Warcraft")
    $xy = WinGetPos("World of Warcraft")
    $hWnd = WinGetHandle("World of Warcraft")
    Sleep(100)
    while 1
        
        $Coordinaten = PixelSearch( $xy[0], $xy[1], $xy[2], $xy[3], 0xffc700,1,1,$hWnd)
        if Not @error Then
            
;Sleep(10000)
            ControlSend($hWnd, "", "",$WoWUser )
            Sleep(100)
        
            ControlSend($hWnd, "", "", "{TAB}")
            Sleep(100)

            ControlSend($hWnd, "", "", $WoWPassword)
            Sleep(100)

            ControlSend($hWnd, "", "", "{ENTER}")
            Sleep(100)

            ExitLoop
        EndIf
    WEnd
EndFunc

thx for your help

World of warcraft was designed so that it would be very difficult to bot! ill take a look :)

Edit:

Here is what i have come up with!

$username = "User"
$Password = "pass"


Sleep(5000)
ControlClick("World of Warcraft","","GxWindowClassD3d0")
Send($username & "{tab}" & $Password & "{enter}");tab switches the boxes, enter logs you in;)

Since World of Warcraft when started up allready has the unsername box selected this does work. :lmao:

Tested

Simple Replace the username and password section with your username and password

Edited by Ashww

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Projects: Account Control Wii style gui Bingo Caller - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Want a website? Click here!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -I use my Blackberry Storm to browse the forum! Please be patient!- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Link to comment
Share on other sites

World of warcraft was designed so that it would be very difficult to bot! ill take a look :)

Edit:

Here is what i have come up with!

$username = "User"
$Password = "pass"


Sleep(5000)
ControlClick("World of Warcraft","","GxWindowClassD3d0")
Send($username & "{tab}" & $Password & "{enter}");tab switches the boxes, enter logs you in;)

Since World of Warcraft when started up allready has the unsername box selected this does work. :lmao:

Tested

Simple Replace the username and password section with your username and password

thx,

but this is exactly what i don't want to use, the sleep function.

mmmm when i use the window mode every thinks worls fine, just in fullscreen its dosen't work.

because pixelsearch or pixelgetcolor gets allways "0"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...