lazyaznricicle Posted June 18, 2013 Share Posted June 18, 2013 (edited) Hey guys i was editing this script my friend gave me and changed it to suit my needs but for some reason i get the error. I'm not sure what the problem with it is because it seems fine to me but i am new to this so any help would be greatly appreciated. It gives me Error: Unknown function name line 16 I'm not sure what is the problem there because it seems fine to me but i am new to this so any help would be greatly appreciated. Here is the script. expandcollapse popupDim $Kill, $Delay, $Delay2 HotKeySet("{F9}", "Start") ; F9 to Start HotKeySet("{F10}", "Stop") ; F10 to Stop $Delay = 1000 ; NPC Chat Delay $Delay2 = 7000 ; 10sec wait before redoing / reaccepting the quest. While 1 Sleep(200) WEnd Func Stop() $Kill = True EndFunc THE PROBLEM IS THIS LINE Func Start() $Kill = False While Not $Kill Opt("MouseCoordMode", 0) WinWaitActivate("Age of Wushu Launch-BlueDragon","") MouseClick("right",374,105,1) Sleep($Delay) MouseClick("left",289,488,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",423,106,1) Sleep($Delay) MouseClick("left",289,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",465,108,1) Sleep($Delay) MouseClick("left",291,485,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",501,110,1) Sleep($Delay) MouseClick("left",261,490,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",557,117,1) Sleep($Delay) MouseClick("left",282,481,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",599,103,1) Sleep($Delay) MouseClick("left",242,487,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",387,155,1) Sleep($Delay) MouseClick("left",278,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",422,148,1) Sleep($Delay) MouseClick("left",267,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",472,162,1) Sleep($Delay) MouseClick("left",285,482,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",508,145,1) Sleep($Delay) MouseClick("left",256,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",549,156,1) Sleep($Delay) MouseClick("left",279,494,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",595,155,1) Sleep($Delay) MouseClick("left",262,489,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",382,195,1) Sleep($Delay) MouseClick("left",301,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",424,199,1) Sleep($Delay) MouseClick("left",280,487,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",470,193,1) Sleep($Delay) MouseClick("left",303,487,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",507,197,1) Sleep($Delay) MouseClick("left",281,481,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",552,193,1) Sleep($Delay) MouseClick("left",287,484,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",590,192,1) Sleep($Delay) MouseClick("left",257,491,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",380,238,1) Sleep($Delay) MouseClick("left",295,490,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",431,238,1) Sleep($Delay) MouseClick("left",300,483,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",461,232,1) Sleep($Delay) MouseClick("left",277,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",508,238,1) Sleep($Delay) MouseClick("left",273,498,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",554,234,1) Sleep($Delay) MouseClick("left",284,486,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",598,237,1) Sleep($Delay) MouseClick("left",267,487,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",385,279,1) Sleep($Delay) MouseClick("left",282,490,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",421,289,1) Sleep($Delay) MouseClick("left",276,487,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",459,284,1) Sleep($Delay) MouseClick("left",286,492,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",513,279,1) Sleep($Delay) MouseClick("left",268,493,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",554,282,1) Sleep($Delay) MouseClick("left",281,483,1) Sleep($Delay) Sleep($Delay2) MouseClick("right",599,273,1) Sleep($Delay) MouseClick("left",274,496,1) Sleep($Delay) Sleep($Delay2) WEnd EndFunc Thanks Edited June 18, 2013 by Melba23 Added tags Link to comment Share on other sites More sharing options...
Geir1983 Posted June 18, 2013 Share Posted June 18, 2013 Dont think we are supposed to help with game bots on this forum... Link to comment Share on other sites More sharing options...
lazyaznricicle Posted June 18, 2013 Author Share Posted June 18, 2013 (edited) Dont think we are supposed to help with game bots on this forum... Lol yeah true didnt really think about it since i just started learning how to use auto it and what not and that was the first thing that came to mind was this to see if i could use it on this game and apparently it does work so :D Edited June 18, 2013 by lazyaznricicle Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 18, 2013 Moderators Share Posted June 18, 2013 lazyaznricicle, didnt really think about it Well, I suggest you do think about it in future. Please read the Forum rules (there is also a link at bottom right of each page) before you post again. Thread locked. M23 P.S. And if you want to post code please use Code tags - see here how to do it. Then you get a scrolling box and syntax colouring as you can see above now I have added the tags. 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