Jump to content

My first bot. Simple Pixel Search Click Bot.


Canasian
 Share

Recommended Posts

Lots of younger people seem to pick up autoit for it's capability of being able to make a bot quite easily. And there's a million topics on bot making and stuff.. This is a very simple bot but maybe some really new people can get some understanding out of it like I did :D Haha trial and error.

It clicked too slow before because i made the mistake of trying to get it to search the entire area of the flash game.. but with the help of herewasplato i fixed it to search a smaller area and now the bot is like a machine gun :o this is how he helped me. He said this is where you want your Pixelsearch to search.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<X<<<<<<<<<<<<<<<<<<<<<<<<<<<

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

...The Xs are where you want to PixelSearch/click.

Improved_Clickbot.zip

Edited by Canasian
Link to comment
Share on other sites

  • 2 weeks later...

Uploaded improved version that is faster and made into a GUI with exit button and start bot button. This was fun to make and helped me learn to make my first GUI and add it to my first bot script. Hope someone can learn from it how I did! ^_^

Script made by me and fixed by Valuater.

Edited by Canasian
Link to comment
Share on other sites

  • 7 months later...

While 1

WinWaitActive("Soldier of Fortune 2 : Double Helix")

$coord = PixelSearch(3, 29, 642, 508, 0x171A1C, 5)

If $coord = 1 Then MouseClick("left", "", "", 3, 1)

WEnd

i fixed this since my last post but now a msgbox comes up and gives me coords of my mouse

how can i make it move to then click

i want to make it move to the color/person and shoot him

Edited by TECH
Link to comment
Share on other sites

Since my last post i have erased it and fixed it so now it does shoot, but it now shoots at the ground only and the color as far as i know isnt the same

here is the script

Func exitthescript()

Exit

EndFunc ;==>exitthescript

HotKeySet("{Q}", "exitthescript")

Dim $enemy

$enemy = 0x343229

WinWaitActive("Soldier of Fortune 2 : Double Helix", "", 10)

While 1

PixelSearch(3, 29, 642, 508, $enemy, 5, 2)

If Not @error Then

MouseClick("left", $enemy, $enemy, 5, 1)

EndIf

WEnd

Edited by TECH
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...