blueskyspeedy Posted April 18, 2008 Share Posted April 18, 2008 Hello, I want to do make a 9Dragons macro... , but i don't know what to do anymore.. (how i get it to activate...) -.- I want the following things: - If check "Skill 1" it will press "1" (go untill skill 5) every time when the cooldown is over. And if Check more it press the following things u check the Checkboxes... - If select that Combobox u see 1 till 5, I want to do if you select 1 it will wait 1 second, 2 = 2 seconds ... till 5 Can anyone please help me with this?? how to get it to work... ^^ Already tnx =) Here u see the things i have down CODE#NoTrayIcon #include <GUIConstants.au3> #include <Constants.au3> #include <Date.au3> #include <INet.au3> #include <GuiComboBoxEx.au3> #include <GuiImageList.au3> Opt("TrayMenuMode", 1) ; Don't show the default tray context menu Local $hGUI, $hCombo ; Create GUI $hGUI = GUICreate("NineDragons Macro", 300, 400) $hCombo = _GUICtrlComboBoxEx_Create ($hGUI, "", 205, 55, 30, 150) $hCombo2 = _GUICtrlComboBoxEx_Create ($hGUI, "", 205, 110, 30, 150) $hCombo3 = _GUICtrlComboBoxEx_Create ($hGUI, "", 205, 165, 30, 150) $hCombo4 = _GUICtrlComboBoxEx_Create ($hGUI, "", 205, 220, 30, 150) $hCombo5 = _GUICtrlComboBoxEx_Create ($hGUI, "", 205, 275, 30, 150) $checkbox1 = GUICtrlCreateCheckbox("Skill 1",10,58) $checkbox2 = GUICtrlCreateCheckbox("Skill 2",10,113) $checkbox3 = GUICtrlCreateCheckbox("Skill 3",10,168) $checkbox4 = GUICtrlCreateCheckbox("Skill 4",10,223) $checkbox5 = GUICtrlCreateCheckbox("Skill 5",10,278) GUISetState() $options = GUICtrlCreateMenu("Options") $settings = GUICtrlCreateMenuItem("Settings", $options) $find9d = GUICtrlCreateButton("Start macro", 30, 340, 100, 20) $exit1 = GUICtrlCreateButton("Exit", 175, 340, 100, 20) For $x = 0 To 0 $test1 = _GUICtrlComboBoxEx_AddString ($hCombo, StringFormat("1"), $x, $x) $test2 = _GUICtrlComboBoxEx_AddString ($hCombo, StringFormat("2"), $x, $x) $test3 = _GUICtrlComboBoxEx_AddString ($hCombo, StringFormat("3"), $x, $x) $test4 = _GUICtrlComboBoxEx_AddString ($hCombo, StringFormat("4"), $x, $x) $test5 = _GUICtrlComboBoxEx_AddString ($hCombo, StringFormat("5"), $x, $x) $test6 = _GUICtrlComboBoxEx_AddString ($hCombo2, StringFormat("1"), $x, $x) $test7 = _GUICtrlComboBoxEx_AddString ($hCombo2, StringFormat("2"), $x, $x) $test8 = _GUICtrlComboBoxEx_AddString ($hCombo2, StringFormat("3"), $x, $x) $test9 = _GUICtrlComboBoxEx_AddString ($hCombo2, StringFormat("4"), $x, $x) $test10 = _GUICtrlComboBoxEx_AddString ($hCombo2, StringFormat("5"), $x, $x) $test11 = _GUICtrlComboBoxEx_AddString ($hCombo3, StringFormat("1"), $x, $x) $test12 = _GUICtrlComboBoxEx_AddString ($hCombo3, StringFormat("2"), $x, $x) $test13 = _GUICtrlComboBoxEx_AddString ($hCombo3, StringFormat("3"), $x, $x) $test14 = _GUICtrlComboBoxEx_AddString ($hCombo3, StringFormat("4"), $x, $x) $test15 = _GUICtrlComboBoxEx_AddString ($hCombo3, StringFormat("5"), $x, $x) $test16 = _GUICtrlComboBoxEx_AddString ($hCombo4, StringFormat("1"), $x, $x) $test17 = _GUICtrlComboBoxEx_AddString ($hCombo4, StringFormat("2"), $x, $x) $test18 = _GUICtrlComboBoxEx_AddString ($hCombo4, StringFormat("3"), $x, $x) $test19 = _GUICtrlComboBoxEx_AddString ($hCombo4, StringFormat("4"), $x, $x) $test20 = _GUICtrlComboBoxEx_AddString ($hCombo4, StringFormat("5"), $x, $x) $test21 = _GUICtrlComboBoxEx_AddString ($hCombo5, StringFormat("1"), $x, $x) $test22 = _GUICtrlComboBoxEx_AddString ($hCombo5, StringFormat("2"), $x, $x) $test23 = _GUICtrlComboBoxEx_AddString ($hCombo5, StringFormat("3"), $x, $x) $test24 = _GUICtrlComboBoxEx_AddString ($hCombo5, StringFormat("4"), $x, $x) $test25 = _GUICtrlComboBoxEx_AddString ($hCombo5, StringFormat("5"), $x, $x) Next Global $active = 1 Global $activeoff = 0 Global $activewin = 0 #EndRegion #Region Other GUISetState() While 1 $msg = GUIGetMsg() Select Case $msg = $test2 MsgBox(0,"","lol") Case $msg = $exit1 MsgBox(0,"exit","exit",2) Exit Case $msg = $checkbox1 Case $msg = $checkbox2 Case $msg = $checkbox3 Case $msg = $checkbox4 Case $msg = $checkbox5 Case $msg = $GUI_EVENT_CLOSE $answer = MsgBox(4, "", "Are you sure you want to Exit?", 15) If $answer = 7 Then Else Exit EndIf Case $msg = $find9d If Not WinExists("9Dragons") Then MsgBox(0,"Error","9Dragons not found.",1) Else MsgBox(0,"","9Dragons founded.",1) WinActivate("9Dragons") Sleep(1100) MsgBox(0,"","Macro Starting...",1) WinActivate("9Dragons") EndIf EndSelect WEnd GUIDelete() Exit Link to comment Share on other sites More sharing options...
martin Posted April 18, 2008 Share Posted April 18, 2008 (edited) Welcome to AutoIt forums Can you explain what you want in a little more detail? I think you might be assuming that we know something we don't actually know. For example, I don't know what the cooldown is, and you want to wait 1 or 2 seconds, but wait for what, or what has to happen after the 1 or 2 seconds? I assume 9Dragons is a game. Edited April 18, 2008 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Swift Posted April 18, 2008 Share Posted April 18, 2008 We don't really like supporting game bots, as why the 'BOT' section of the forums are now closed. If you do what help, please reply with as much detail as possible. Link to comment Share on other sites More sharing options...
martin Posted April 18, 2008 Share Posted April 18, 2008 We don't really like supporting game bots, as why the 'BOT' section of the forums are now closed.If you do what help, please reply with as much detail as possible.@SwiftA bit off subject but can you tell me how you made your Avatar? I made a similar thing to represent a spinning circular saw blade on a machine I control, but there are parts of your animation when it appears to be spinning fast that are better than my effort. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Swift Posted April 18, 2008 Share Posted April 18, 2008 I didn't make it GEOSoft, my lovely friend: Tomb616, was bored and decided to make it. PM him . 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