Thatsgreat2345 Posted August 4, 2005 Share Posted August 4, 2005 (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 August 4, 2005 by thatsgreat2345 Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted August 4, 2005 Author Share Posted August 4, 2005 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 More sharing options...
GaryFrost Posted August 4, 2005 Share Posted August 4, 2005 (edited) expandcollapse popup#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 August 4, 2005 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 More sharing options...
Crashoveride Posted August 8, 2007 Share Posted August 8, 2007 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] Link to comment Share on other sites More sharing options...
avure Posted February 28, 2008 Share Posted February 28, 2008 OMG ._. I ONLY MENT TO COPY THE FIRST 5 LINES T_T THAT SUCKS Link to comment Share on other sites More sharing options...
avure Posted February 28, 2008 Share Posted February 28, 2008 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now