Sign in to follow this  
Followers 0
ninjo

a simple pixel bot?

4 posts in this topic

i was wondering if i could ask for a simple pixel bot that just asked for you to click on a pixel and then it searches for that pixel and everytime it comes across it, it will just click on it. so say a monster is blue and the field is green u click on the blue and then it will scan till it hits blue and then clicks on it?? i kno theres alot of different version with stuff using skills and everything but i find it difficult to use them :P

Share this post


Link to post
Share on other sites



Try search for:

  • PixelChecksum
  • PixelCoordMode (Option)
  • PixelGetColor
  • PixelSearch
  • MouseClick
  • ControlClick
In the help file.

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

i was wondering if i could ask for a simple pixel bot that just asked for you to click on a pixel and then it searches for that pixel and everytime it comes across it, it will just click on it. so say a monster is blue and the field is green u click on the blue and then it will scan till it hits blue and then clicks on it?? i kno theres alot of different version with stuff using skills and everything but i find it difficult to use them :P

Scan the whole screen for a pixel is a slow process...

What game are you playing??

There must be another way to target a mob...

For example in Lineage 2 you have the commands /nexttarget and /target "name of the mob"

Share this post


Link to post
Share on other sites

hi i made this script to work with a game called buggle heres the code maybe you could modify it to do what you want

#include <GuiConstantsEx.au3>
#include <AVIConstants.au3>
#include <TreeViewConstants.au3>
;
Global $on = 0

HotKeySet("^o", "on")

HotKeySet("^9", "get_colour")
HotKeySet("^8", "mouse_pos")
HotKeySet("^7", "cheat_buggle")

Func on()
    If $on Then
        $on = 0
    Else
        $on = 1
    EndIf
EndFunc ;==>on

func mouse_pos()
    msgbox(0, "x - y", MouseGetPos(0) & " : " & MouseGetPos(1))
EndFunc

func get_colour()
    $var = PixelGetColor( MouseGetPos(0) , MouseGetPos(1) )
    MsgBox(0,"The decmial color is", $var)
EndFunc

func cheat_buggle()
;$Buggle_Box_Green = PixelSearch ( 30, 370, 620, 760, 42495, 30, 15)
    $Buggle_Box_Blue = PixelSearch ( 30, 370, 620, 760, 42495, 30, 15)
    MouseMove ( $Buggle_Box_Blue[0], $Buggle_Box_Blue[1] , 0 )
EndFunc

while 1
    if $on then
        $Buggle_Box_Green = PixelSearch ( 30, 370, 620, 760, 13948116, 30, 15)
        If Not @error Then
            MouseMove ( $Buggle_Box_Green[0], $Buggle_Box_Green , 0 )
        EndIf
        $Buggle_Box_Blue = PixelSearch ( 30, 370, 620, 760, 42495, 30, 15)
        If Not @error Then
            MouseMove ( $Buggle_Box_Blue[0], $Buggle_Box_Blue[1] , 0 )
        EndIf
    EndIf
WEnd

; GUI MESSAGE LOOP
GuiSetState()
While GuiGetMsg() <> $GUI_EVENT_CLOSE
wend

Interpreters have great power!Although they live in the shadow of compiled programming languages an interpreter can do anything that a compiled language can do, you just have to code it right.

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