Jump to content

Mouse Movement Help


Recommended Posts

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? :ph34r: thx for any help

Edited by Omega0505
Link to comment
Share on other sites

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

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? :ph34r:

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...