Mumms Posted July 7, 2009 Posted July 7, 2009 Would This Be Possible To Write In Autoit: You are playing an online game, with your autoit program running in the bg. If An Online user types @check Then if you are running the script you say (send) <---Running Anti Hack Im pretty sure that responding would be easy, but idk about if another online player does @check.. Any Help?
Info Posted July 8, 2009 Posted July 8, 2009 (edited) Maybe there's a specific pixel that appears when someone "talks" in that game? If yes, try PixelSearch() Edited July 8, 2009 by Info
Mumms Posted July 8, 2009 Author Posted July 8, 2009 Look these up:ControlGetText()Send()Thanks Very Helpful....@Info, Where Are You Going with This, what are you suppose to do after you fine the pixel?
Hypertrophy Posted July 8, 2009 Posted July 8, 2009 Mumms: If you simply need to read text out of a control like an edit that is in the game window there is no need for pixel reading. Use Window Spy to get some info on this game window.
Mumms Posted July 8, 2009 Author Posted July 8, 2009 This Is What I Want To Do: You Are Playing the game, and when someone types @dinks You Automaticly respond: @ Dinks Clan [!] Here Is My Code, Im Kind Of n00b so don't laught at my script $test = 1 Run("SoF2MP-Test.exe") WinWaitActive("SoF2 MP Test") While $test = 1 $text = WinGetText("SoF2 MP Test", "") If $text = "@dinks" Then Send("t") Send("@Dinks Clan [!]") Send("{ENTER}") EndIf WEnd *t is default button to type something, Enter is to send it* Any Help?
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