Jump to content
Sign in to follow this  
Canasian

My first bot. Simple Pixel Search Click Bot.

Recommended Posts

Canasian

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

Share this post


Link to post
Share on other sites
Canasian

37 downloads so far yay :D No comments or anything hm. Has this helped anyone at all or has anyone found any way to improve it or anything? Or what to add to it? Thanks.

Share this post


Link to post
Share on other sites
w333d

very nice . i have one similar but hey i like it yours better ! thx dude ... i`ll try to adapt it to muonline ^_^ to do autograp on specific items ... ;)

Share this post


Link to post
Share on other sites
Canasian

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

Share this post


Link to post
Share on other sites
Valuater

Actually, you should always update post #1 with the best script. That way they don't have to search through all the pages to find it...

8)

Look forward to great stuff from you canadian-asian.. ^_^

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
Canasian

Actually, you should always update post #1 with the best script. That way they don't have to search through all the pages to find it...

8)

Look forward to great stuff from you canadian-asian.. ;)

Thanks ^_^ Fixed it.

Share this post


Link to post
Share on other sites
AlmarM

Nice for your first click bot ^_^

AlmarM


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites
TECH

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

Share this post


Link to post
Share on other sites
seletchi gabriel

nice

i modified this line and it's funnier now ;)

$coordinates = PixelSearch(320, 30, 530, 350, 0xFFFF00, "", "", $wgh)

Have fun and be nice !Can't wait for autoit v8.0!

Share this post


Link to post
Share on other sites
TECH

nice

i modified this line and it's funnier now ;)

$coordinates = PixelSearch(320, 30, 530, 350, 0xFFFF00, "", "", $wgh)

what will it do too lazy to get the game now

Share this post


Link to post
Share on other sites
seletchi gabriel

what will it do too lazy to get the game now

just increased pixelsearch width

Have fun and be nice !Can't wait for autoit v8.0!

Share this post


Link to post
Share on other sites
TECH

lol remember my first bot xD.... ur better ^^ but good job it will make a perfect base script for bots ;)

u talking to me or Canasian???

if me than thnx if not than

uhh...

Share this post


Link to post
Share on other sites
TECH

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.