Sign in to follow this  
Followers 0
Nuffilein805

whatever-click-bot

22 posts in this topic




#2 ·  Posted (edited)

;whatever-click-bot;not safe
dim $a = "", $b = "", $coord = "", $c = 0, $d[100]

HotKeySet("!{f10}", "getcolor")
HotKeySet("!{f11}", "getmorecolor")
HotKeySet("!{f9}", "start")
HotKeySet("!{f8}", "stop")
HotKeySet("!{f7}", "defposset")

while 1
    sleep (50)
WEnd

func getcolor()
    $a = MouseGetPos ()
    $b = hex(pixelgetcolor($a[0],$a[1]),6)
    IniWrite ("color.ini", "color", "found0", "0x"&$b)
EndFunc

func getmorecolor()
    $a = MouseGetPos ()
    $b = hex(pixelgetcolor($a[0],$a[1]),6)
    $c = $c + 1
    IniWrite ("color.ini", "color", "found"&$c, "0x"&$b)
EndFunc

func start()
    $get = inireadsection ("color.ini", "color")
    if iniread("color.ini", "color", "found0", "") = "" then
        msgbox(0, "", "No color pre-selected! - Exiting programm")
        Exit
    EndIf
    for $i = 0 to $get[0][0]-1 step 1
        $d[$i] = iniread ("color.ini", "color", "found", "")
    next
    While 1
        $j = -1
        do
        $j = $j + 1
        $coord = PixelSearch(0,0,@desktopwidth,@desktopheight,$d[$j],0,2)
        until not @error
        MouseClick ("left", $coord[0],$coord[1],1,1)
        MouseMove (iniread("color.ini", "mousepos", "x", 0), iniread("color.ini", "mousepos", "y", 0))
        sleep (5000)
    WEnd
EndFunc

func stop()
    while 1
        sleep (50)
    WEnd
EndFunc

func defposset()
    $a = mousegetpos()
    iniwrite("color.ini", "mousepos", "x", $a[0])
    iniwrite("color.ini", "mousepos", "y", $a[1])
EndFunc

updated the script a bit

now it searchs for more than 1 color, moves faster, returns to defaultpos (preset 0,0)

Edited by Nuffilein805

Share this post


Link to post
Share on other sites

thx bro :o nvm if get banned la~ get banned i go play different game and get banned again i concentrate in autoit and help other people get banned :geek:

Share this post


Link to post
Share on other sites

btw is there anyway i am able to know the Color code? like 11882826 i dont even know the color just making guesses..

Share this post


Link to post
Share on other sites

erm the 1 u sent me the getting color on both f10 and f11 gets error>,<

Share this post


Link to post
Share on other sites

nvm i think i know the color

Share this post


Link to post
Share on other sites

erm where do i enter the color code in ?

Share this post


Link to post
Share on other sites

erm it just keeps on clicking my desktop which is green.. and retried clicking f10 before f9 again ... still does the same thing

Share this post


Link to post
Share on other sites

on the first bot u made me can u just add some code in so that it stays in 1 position? so when it runs around it runs back to the original position given (automatically) that would be great

Original:

hotkeyset("!{f9}", "start");alt+f9

hotkeyset("!{f8}", "stop");alt+f8

while 1

sleep (50)

wend

func start()

while 1

$coord = pixelsearch(0,0,@desktopwidth,@desktopheight,"0x"&hex(4351430,6),0,2)

if not @error then

mouseclick("left",$coord[0],$coord[1],1)

sleep(1200);sleeps 5 sec before next click

endif

wend

endfunc

func stop()

while 1

sleep (50)

wend

endfunc

Share this post


Link to post
Share on other sites

that script that u put on download doesnt work it just keeps on click the top left corner of my desktop

Share this post


Link to post
Share on other sites

just a short explanation what my program does

1. start the prog

2. select the first color to search for alt+f10

3. select all the other colors you want to search for alt+f11

4. select a defaultposition alt+f7

5. run the clickbot alt+f9

6. to stop the bot from clicking hit alt+f8

thats all you have to have in mind

the second time you start the script (if you still run the same prog) you can start by using 5. no need for something more

so far, have fun

changing the sleeptime to 50 will make it incredibly fast :o

Share this post


Link to post
Share on other sites

erm this time it has different result but.. 1 problem ~ it keeps on clicking an icon on my desktop T_T

Share this post


Link to post
Share on other sites

tried many time the result is the same still clicks on that same icon but the mouse speed is fast~ great

Share this post


Link to post
Share on other sites

erm sorry i gtg sleep right now be on tomorrow thx for the helps today :o greateful

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  
Followers 0