Jump to content

Auto Login


Recommended Posts

OK here it is but when i click go on the button it just keeps pasting the password in the password box instead of starting up flyff please help

#include <GuiConstants.au3>

GuiCreate("Login", 272, 86,(@DesktopWidth-272)/2, (@DesktopHeight-86)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$Group_1 = GuiCtrlCreateGroup("Login", 175, 3, 89, 74)

$Button_2 = GuiCtrlCreateButton("Go!", 191, 53, 58, 19)

$Input_3 = GuiCtrlCreateInput("password", 186, 25, 66, 18)

GUISetState()

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case $msg = $Button_2

GameLogin()

EndSelect

WEnd

Exit

While 1

GameLogin()

Sleep(1000)

WEnd

If FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") Then

Run(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe")

EndIf

;======================================================================================

; Func GameLogin() Hot Key = None

;======================================================================================

Func GameLogin()

If WinGetState("FLyff") = 16 Then

WinSetState("Flyff", "", @SW_MAXIMIZE)

EndIf

Send(GuiCtrlRead($Input_3) & "{Enter}");

sleep(1000)

send("{enter}")

EndFunc;==>GameLogin

Edited by thatsgreat2345
Link to comment
Share on other sites

OK i try the beta run and it says missing endif and i cant figure it out this is supposed to be an autologin for flyff i want it to have a window pop up then type in the password and then once i click go it will start up neuz_hacked.exe in the flyff folder then the password they typed in will be sent to the password input box which is automaticaly selected then have it press enter then sleep then press enter again

#include <GuiConstants.au3>

If FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") Then

Run(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe")

GuiCreate("Login", 272, 86,(@DesktopWidth-272)/2, (@DesktopHeight-86)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$Group_1 = GuiCtrlCreateGroup("Login", 175, 3, 89, 74)

$Button_2 = GuiCtrlCreateButton("Go!", 191, 53, 58, 19)

$Input_3 = GuiCtrlCreateInput("password", 186, 25, 66, 18)

GUISetState()

While 1

$msg = GuiGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

Case $msg = $Button_2

GameLogin()

Case Else

EndSelect

WEnd

Exit

While 1

GameLogin()

Sleep(1000)

WEnd

;======================================================================================

; Func GameLogin() Hot Key = None

;======================================================================================

Func GameLogin() ;;;;;;;;;;;;;; error right here says missing endif what can i do to fix it??

If WinGetState("FLyff") = 16 Then

WinSetState("Flyff", "", @SW_MAXIMIZE)

EndIf

Send(GuiCtrlRead($Input_3) & "{Enter}");

sleep(1000)

send("{enter}")

EndFunc;==>GameLogin

Link to comment
Share on other sites

#include <GuiConstants.au3>

If FileExists(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe") Then
    Run(@ProgramFilesDir & "\aeonsoft\flyffeng\neuz_hacked.exe")
    
    GUICreate("Login", 272, 86, (@DesktopWidth - 272) / 2, (@DesktopHeight - 86) / 2, $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
    
    $Group_1 = GUICtrlCreateGroup("Login", 175, 3, 89, 74)
    $Button_2 = GUICtrlCreateButton("Go!", 191, 53, 58, 19)
    $Input_3 = GUICtrlCreateInput("password", 186, 25, 66, 18)
    
    GUISetState()
    
    While 1
        $msg = GUIGetMsg()
        Select
            Case $msg = $GUI_EVENT_CLOSE
                ExitLoop
            Case $msg = $Button_2
                GameLogin()
            Case Else
                
        EndSelect
    WEnd
    Exit
    
    
    While 1
        GameLogin()
        Sleep(1000)
    WEnd
EndIf

;======================================================================================
; Func GameLogin() Hot Key = None
;======================================================================================
Func GameLogin()
    If WinGetState("FLyff") = 16 Then
        WinSetState("Flyff", "", @SW_MAXIMIZE)
    EndIf
    
    Send(GUICtrlRead($Input_3) & "{Enter}");
    Sleep(1000)
    Send("{enter}")
    
    
EndFunc  ;==>GameLogin

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

  • 2 years later...
  • 6 months later...

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...