tang Posted November 13, 2005 Posted November 13, 2005 I have made a autoclicker for this game http://www.kingsofchaos.com/recruit.php?uniqid=4gv77477 but i have had now sucess with regognising the image i have heard though that there can be a way of detcting it by image pixels if anyone could help or point me in the direction it would be help full the link is php btw. thanx, Tang #comments-start MsgBox(10000, "", "This won't be executed") MsgBox(10000, "", "Or this") #comments-end ;;; #cs MsgBox(4096, "", "Autoclicker 1.0 will now start!") #ce Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") While 1 MouseClick("left", 130, 234, 5) Wend Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc
Moderators SmOke_N Posted November 13, 2005 Moderators Posted November 13, 2005 I've seen this code before...?? You're while loop is gonna eat your cpu up. Per your question look in help under: PixelSearch() / PixelGetColor() / PixelCheckSum() / WinActivate() / WinActive() / Sleep() / Opt("PixelCoordMode") / Opt("MouseCoordMode") / Opt("WinTitleMatchMode") That should get you in the right direction. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
lopolop Posted November 13, 2005 Posted November 13, 2005 i see one person can only click once per day.... i was making a program i posted here but know one looked at :/... expandcollapse popup; =+=+=+=+=+=+=+ 'Start' +=+=+=+=+=+=+= Global $QuitIt = HotKeySet ( "9", "QuitIt" ) ; ---------- 'ProxyList.txt Setup' ---------- Global $ProxyFile = FileOpen ( "ProxyList.txt", 0 ) If $ProxyFile = -1 Then MsgBox ( 0, "Error", "Unable to open ProxyList.txt." ) Exit EndIf ; ---------- 'Browser Setup' ---------- $Url = InputBox ( "Url Address", "Input Exact Http:// Address", "" ) If @ERROR = 1 Then Exit Run ("C:\Program Files\Internet Explorer\iexplore.exe") Sleep(7000) MouseMove ( 114, 100, 1 ) MouseClick("Left", 114, 100, 1) Send($Url , 0) Send("{ENTER}") ; ---------- 'ClickIt' ---------- MouseMove ( 740, 200, 1 ) MouseClick("Left", 740, 200, 1) MouseWheel ("down", 4) ;---------- 'QuitIt' ---------- Func QuitIt () FileClose ( $ProxyFile ) Exit Return EndFunc ; ---------- 'ClickIt Part 2' ---------- ReadProxyList () Func ReadProxyList () While 1 $Proxy = FileReadLine ( $ProxyFile ) If @ERROR = -1 Then ExitLoop HttpSetProxy( 2, $Proxy ) Sleep(600) MouseMove( 292,169, 1 ) sleep(200) MouseClick( "Left" ) Sleep(2000) MouseMove( 495, 293, 1 ) sleep(200) MouseClick( "left" ) MouseMove( 40, 70) Sleep(3000) MouseClick( "Left", 40, 70) Wend FileClose ( $ProxyFile ) EndFunc what it does is click a link then changes proxy from a list(proxylist.txt) wasnt sure if it everworked lol
tang Posted November 13, 2005 Author Posted November 13, 2005 Use full information that proxy script will be usefull to me but this game already has a recruiter u open it and u get loads of links to click and then ppl click your link bk so that y i need a image regoniser something that actually cant match 2 pictuers alike and then do something about it it dosent have to match it the same but still match it simarly. I would love more replys to help me out. Thanx guys, tang
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