godsibig Posted September 7, 2007 Share Posted September 7, 2007 (edited) #include <Constants.au3>#include <GUIConstants.au3>$GUI = GUICreate("CB Project (Auto Key) Beta 0.1", 400, 200);~LabelGUICtrlCreateLabel ("..........", 10, 20)GUICtrlCreateLabel ("................", 10, 40)GUICtrlCreateLabel ("...................", 10, 60)GUICtrlCreateLabel (".........................", 10, 60)GUICtrlCreateLabel ("...........................", 10, 80)GUICtrlCreateLabel ("...............................", 10, 120)GUICtrlCreateLabel (".................................", 10, 140);~menuSwitch$filemenu = GUICtrlCreateMenu ("&File")$exititem = GUICtrlCreateMenuitem ("Exit",$filemenu)$infomenu = GUICtrlCreateMenu ("www.mod2play.com")#NoTrayIconOpt("TrayOnEventMode",1)Opt("TrayMenuMode",1)TraySetOnEvent($TRAY_EVENT_PRIMARYUP, "Minimize")Opt("WinTitleMatchMode", 2)$CabalTitle = WinGetTitle("CABAL", "")WinActivate($CabalTitle)GUISetState(@SW_SHOW);~AutokeyHotkeyset("{ESC}","ExitProgram")AdLibEnable("Spammer",500);~ MainWhile 1 $iMsg = GUIGetMsg() ;~menuFunc If $iMsg = $GUI_EVENT_CLOSE Or $iMsg = $exititem Then ExitLoop Select Case $iMsg = $GUI_EVENT_CLOSE Exit Case $iMsg = $GUI_EVENT_MINIMIZE GuiSetState(@SW_HIDE) TraySetState(1) EndSelectWEnd;FunctionFunc Minimize() TraySetState(2) GuiSetState(@SW_SHOW)EndFuncFunc ExitProgram()ExitEndFuncFunc Spammer() If ProcessWait("cabalmain.exe")= 1 Then Send("{1}") EndIfEndFuncIt not send key {1} in GameClient.Help me, Thx Edited September 7, 2007 by godsibig Link to comment Share on other sites More sharing options...
Generator Posted September 7, 2007 Share Posted September 7, 2007 Cabal got gameguard... Link to comment Share on other sites More sharing options...
godsibig Posted September 7, 2007 Author Share Posted September 7, 2007 It is misfire gameguard. It doesn't inform reach game has usual. It not sendkey in game but if Alt+Tab depart game already reach go to Game it will send once only. Thx.. I play CabalOnline in thailand 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