Jump to content

Recommended Posts

Posted

So what is does is clicks sevral pixels of 0x996A43, what it is supposed to do is click one and wait until it changes colour and switch, please help me!

HotKeySet("{f4},","GetOut")

sleep (3000)

While 1


Do
$pix = PixelSearch (0,0,@DesktopWidth,@DesktopHeight,0x996A43)
MouseClick ("left",$pix[0],$pix[1],1,0)
Sleep(200)
Until $pix = @error



WEnd

Func GetOut()
Exit
EndFunc
Posted

could you copy my script and add the PixelGetColor to it because I don't understand how to use it, also if this makes a difference the game screen moves back and forth disallowing the use of X,Y for most things. :/

Posted

PixelSearch ( left, top, right, bottom, color [, shade-variation [, step [, hwnd]]] )

Look to shade-variation( [optional] A number between 0 and 255 to indicate the allowed number of shades of variation of the red, green, and blue components of the colour. Default is 0 (exact match). )

I think this is it, but i dont know how bug value of shades you must set

Posted

JohnOne "Mate, you will have problems trying to get someone to write a bot for you

Sounds like a bot anyway, and also sounds like they dont want bots, lol

Search the forums for "Aimbot" "

Don't know how to quote so this will do, anyways, in a way I am sort of getting people to do stuff for me, but in a way I am doing it too. I get bits and pieces of info and throw them together, although I didn't understand my other asks for help so I needed someone to fix up my script, I am learning this way, getting small info piece and putting them together, more then I've ever learned with tutorials.

PixelColorGet confused me so I asked if he could just put it in to the script I've done myself, I don't have problems with people doing it for me. :/

Posted

Mate, you will have problems trying to get someone to write a bot for you

Sounds like a bot anyway, and also sounds like they dont want bots, lol

Search the forums for "Aimbot"

Bots are fine here, as long as no one gets hurt :)

Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

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
  • Recently Browsing   0 members

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