Omega0505 Posted July 26, 2004 Share Posted July 26, 2004 (edited) Hey guys i've been having trouble with scripting. You see lately i've been playing this game online and made a simple script to play it for me while i did something else. The company that makes this online game have a anti cheater system that moves the playing screen just a little which screws up my script, since the mouse movements run on coordinates. Is there any way i can get the mouse to move to certain colored pixels? thx for any help Edited July 26, 2004 by Omega0505 Link to comment Share on other sites More sharing options...
pekster Posted July 26, 2004 Share Posted July 26, 2004 It's all in the helpfile. A search for the world 'pixel' brings up PixelSearch and PixelGetColor. If you look those up, you'll notice the PixelChecksum (version 3.0.102 only) command as well in the "Related" section. Those let you do all the pixel testing you might want. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Omega0505 Posted July 26, 2004 Author Share Posted July 26, 2004 thx for the help but PixelGetColor only gets the color of the pixels and Pixel Search searchs a rectangle of pixels for a color as i said before im looking for a way to make the mouse to pixels by itself and not need coordinates. Is there any function that can do this? Link to comment Share on other sites More sharing options...
this-is-me Posted July 26, 2004 Share Posted July 26, 2004 duh... get the coordinates of the pixel with the color you need and move the mouse to those coords. Who else would I be? Link to comment Share on other sites More sharing options...
pekster Posted July 27, 2004 Share Posted July 27, 2004 im looking for a way to make the mouse to pixels by itself and not need coordinates. Is there any function that can do this?If you're using the mouse and pixel commands, you are dealing with coordinates. Your screen is split up into a huge grid of thousands of pixels, and the only way to find out about colors on your screen is to test these colors in some way. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
Omega0505 Posted July 27, 2004 Author Share Posted July 27, 2004 well alright thx for help guys 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