Jooshxp Posted January 24, 2017 Share Posted January 24, 2017 Hello, i wanna to ask somethings, i have a code like this : expandcollapse popupHotKeySet ("{F1}", "start") HotKeySet ("{F2}", "stop") while 1 WEnd Func start () HotKeySet ("{1}", "aoj") HotKeySet ("{2}", "seal") HotKeySet ("{3}", "fiber") EndFunc Func aoj () while 1 = 1 MouseClick ( "Left", 314, 89 ) Sleep (300) Send("^a") sleep (300) Send ("Aura of Jackpot") Sleep (300) MouseClick ( "Left", 235, 123 ) Sleep (300) Send ("{ENTER}") Sleep (500) Send ("{ENTER}") Sleep (300) MouseClick ( "Left", 556, 138 ) Sleep (750) MouseClick ( "Left", 614, 410 ) Sleep (750) Send ("{ENTER}") Sleep (750) Send ("{ENTER}") Sleep (5500) WEnd EndFunc Func fiber () while 1 = 1 MouseClick ( "Left", 314, 89 ) Sleep (300) Send("^a") sleep (300) Send ("Synchro Fiber") Sleep (300) MouseClick ( "Left", 235, 123 ) Sleep (300) Send ("{ENTER}") Sleep (500) Send ("{ENTER}") Sleep (300) MouseClick ( "Left", 556, 138 ) Sleep (750) MouseClick ( "Left", 614, 410 ) Sleep (750) Send ("{ENTER}") Sleep (750) Send ("{ENTER}") Sleep (5500) WEnd EndFunc Func seal () while 1 = 1 MouseClick ( "Left", 314, 89 ) Sleep (300) Send("^a") sleep (300) Send ("Warranty Seal") Sleep (300) MouseClick ( "Left", 235, 123 ) Sleep (300) Send ("{ENTER}") Sleep (500) Send ("{ENTER}") Sleep (300) MouseClick ( "Left", 556, 138 ) Sleep (750) MouseClick ( "Left", 614, 410 ) Sleep (750) Send ("{ENTER}") Sleep (750) Send ("{ENTER}") Sleep (5500) WEnd EndFunc Func stop () Exit EndFunc I wanna to run once from MouseClick ( "Left", 314, 89 ) Sleep (300) Send("^a") sleep (300) Send ("Aura of Jackpot") Sleep (300) MouseClick ( "Left", 235, 123 ) Sleep (300) and the other script will run repeatly, how to do that ? can i ? and how to run func 1 while func 2 running, ? thank's Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 24, 2017 Moderators Share Posted January 24, 2017 (edited) Jooshxp, I see "Aura of Jackpot" in that code - which Google tells me is a casino game. Are you trying to bot a game, because if so I suggest you read the Forum rules where it is made quite clear that we do not support such requests. M23 Edited January 24, 2017 by Melba23 Fixed link Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Jooshxp Posted January 25, 2017 Author Share Posted January 25, 2017 (edited) @Melba23 No, it's not a Casino Game for Sure, i just want to create a macros for game and it's not a full bot, it just macro to buy some items on the market, it is a violate the rules ? if so, i'm sorry Edited January 25, 2017 by Jooshxp Link to comment Share on other sites More sharing options...
InunoTaishou Posted January 25, 2017 Share Posted January 25, 2017 Should add something to the forum so that before a user can make their first post they have to read the forum rules and answer the question "Can you ask for help automating games on the AutoIt forums?" Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 25, 2017 Moderators Share Posted January 25, 2017 Jooshxp, It still counts as "game interaction" - and so not allowed. Thread locked. InunoTaishou, People still argue after we point them at the rules - as is the case here - so what makes you think they would pay any attention to a registration question? Botters always claim that they are a "special case" - with which classification I entirely agree, although not quite in the sense they mean it. M23 JLogan3o13 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts