O2Freak Posted April 11, 2006 Share Posted April 11, 2006 Hi, Im a new AutoIt user and I have been doing a few experiments. I play an online music game (pic example below) which is something similar to the dacing games in arcades but is played with fingers and has 7 keys to be press at a correct timing. Here are the controls of the game... S=1st Note (white) D=2nd Note (blue) F=3rd note (white) SPACE=4th Note (orange) J=5th Note (white) K=6th Note (blue) L=Last Note (white) When a note reaches the red line below, u have to press the correct key. So i was wondering if autoit can press the correct key when it reaches the red line......something like a bot Thx in advance Joash Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 11, 2006 Moderators Share Posted April 11, 2006 So i was wondering if autoit can press the correct key when it reaches the red line......something like a bot Thx in advance JoashAutoIt can be "coded" to do those options. You'll need to read on PixelCoordMode / MouseCoordMode / PixelSearch() / PixelGetColor() / (maybe PixelCheckSum) / MouseClick() in the help file. 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. Link to comment Share on other sites More sharing options...
Infinitex0 Posted April 11, 2006 Share Posted April 11, 2006 Why would he need mouseclick? The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 11, 2006 Moderators Share Posted April 11, 2006 Why would he need mouseclick? Hell if I know, I woke up after being asleep for 2 hours, so I was a bit groggy I guess, Kind of like gary if he hasn't had his second cup of coffee . Thanks for pointing it out... O2Freak... you would look at Send() / ControlSend() 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. Link to comment Share on other sites More sharing options...
O2Freak Posted April 11, 2006 Author Share Posted April 11, 2006 I have tried most of those u all suggested but im still not sure how to make autoit press the correct button when a colour appears on the red line =( ......can anybody teach or help me >.< ? I kept on looking into the whole list of commands autoit can do but still failed to get it right . Thx again =D Link to comment Share on other sites More sharing options...
Infinitex0 Posted April 11, 2006 Share Posted April 11, 2006 (edited) really simple (probably needs a little upgrade $search = Pixelsearch(fill this in) if $search = (the red color) then send (KEY) a lesson I learned from Greenmachine, give a man a code and he'll use it for a day. Teach a man to code and he'll and use it for the rest of his life. Edited April 11, 2006 by Infinitex0 The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center] Link to comment Share on other sites More sharing options...
GaryFrost Posted April 11, 2006 Share Posted April 11, 2006 Hell if I know, I woke up after being asleep for 2 hours, so I was a bit groggy I guess, Kind of like gary if he hasn't had his second cup of coffee . Thanks for pointing it out... O2Freak... you would look at Send() / ControlSend()careful now SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
viking Posted April 11, 2006 Share Posted April 11, 2006 Give me a link to the game and i'll make a "bot" Link to comment Share on other sites More sharing options...
Mario Posted April 11, 2006 Share Posted April 11, 2006 Give me a link to the game and i'll make a "bot" maybe its this ? 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