Sign in to follow this  
Followers 0
Thatsgreat2345

Auto Login

6 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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

 

Share this post


Link to post
Share on other sites

thnx big help.


[CENTER][/CENTER][CENTER][/CENTER][CENTER][/CENTER][CENTER][/CENTER][CENTER]Like The Creator Of The Flyff Resource Manager Says"An Eye For An Eye As Soon The Whole World Will Be Blind"[/CENTER][CENTER][/CENTER][center][/center]

Share this post


Link to post
Share on other sites

OMG ._. I ONLY MENT TO COPY THE FIRST 5 LINES T_T THAT SUCKS

Share this post


Link to post
Share on other sites
:) here is a rly good question wat do u do with these code thing x.x ppl like me dont just magicly know how to use them if u can explain it would help alot ;)

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