SteeLpwnage Posted July 7, 2010 Share Posted July 7, 2010 hey guys I want to ask you if there is any way that I could test some position (part of the screen) for a certain picture and if it is false or true to execute some code Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 7, 2010 Share Posted July 7, 2010 Can I quote my quote? I'll quote myself here.Or if you want to check just 1 pixel see PixelGetColor() in the helpfile .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
SteeLpwnage Posted July 7, 2010 Author Share Posted July 7, 2010 Can I quote my quote? Or if you want to check just 1 pixel see PixelGetColor() in the helpfile lmao thx Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 7, 2010 Share Posted July 7, 2010 I can't say all of them works, but one of them must .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
SteeLpwnage Posted July 7, 2010 Author Share Posted July 7, 2010 I've just made this but it doesn't work so could you help me??? #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("www.globalinfection.com by SteeL", 269, 119, 191, 131) $Button1 = GUICtrlCreateButton("Start", 24, 24, 97, 73, $WS_GROUP) $Button2 = GUICtrlCreateButton("Stop", 152, 24, 97, 73, $WS_GROUP) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd $run = 0 Select Case $Button1 $run = 1 Case $Button2 $run = 0 EndSelect Do AutoItSetOption("MouseCoordMode", 0) Send("roflmao") MouseMove(777, 265) MouseDown("left") MouseUp("left") $checked = PixelGetColor(668, 325) If $checked = 5534858 Then MouseMove(668, 325) MouseDown("left") MouseUp("left") EndIf $checked2 = PixelGetColor(669, 435) If $checked2 = 5534858 Then MouseMove(669, 435) MouseDown("left") MouseUp("left") EndIf $gamel = PixelGetColor(224, 98) If $gamel = 7765878 Then Send("aaaaaaaaa") Else Send("dddddd") EndIf Until $run = 0 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 7, 2010 Share Posted July 7, 2010 (edited) Me? No I can't. No one is going to help you with bot-related questions.Just two things before I go:1. When using the AutoIt-tags button, just press Add on the popup, and then paste your code after that. If you paste your text on the popup your text will all be one long line, like now.2. You did read the announcement, right? We don't do bots on this website.www.globalinfection.com may not exist, but on http://www.globalinfection.net/ you have posted 1 bot created in AutoIt. Edited July 7, 2010 by AdmiralAlkex .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface 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