Sign in to follow this  
Followers 0
sliwek

PixelChecksum in PixelSearch with multi founds points

6 posts in this topic

hi

i trying to find constant PixelChecksum (area 18x18) at 1600x900 resolution

first i trying to find 1 pixel from pixelChecksum and then check my checksum.

So its look like ...

$area = 321839012 ;(my PixelChecksum 18x18)
$test = PixelSearch(1, 1, 1600,900, '1513605')
If not $error then
If $found = PixelChecksum($test[0], $test[1], $test[0]+17, $test[1]+17) Then
MsgBox(0,"info1", "got it!!")
EndIf
EndIf

and what is a problem? this pixel color can be found more then ones, but my pixelcecksum can be just one.

how to make loop to find exact pixel with my pixelchecksum?

I fighting with this from few hour...

Share this post


Link to post
Share on other sites



Looks like an aimbot

Share this post


Link to post
Share on other sites

John404,

But we give the OP the benefit of the doubt unless it becomes clear that this is the case. While we are grateful that you all try to keep this forum the kind of place we want it to be, please do not be too aggressive, particularly to new members. :)

If there is some doubt as to the legality of a post (and there is nothing in this thread at present that breaks any of the rules as far as I can see) then report the thread so that a Mod can take a look - that is why we are here. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

not an aimbot. its just search a button 18x18 to click it.

ehh im so stupid...

i thought pixelsearch to search go Left-to-Right, Right-to-Left, Top-to-Bottom, Bottom-to-Top (4 lines) in one time :)

didnt think about its depend of write in walue.

im just a hobbi AutoIt programer from a 2 years.

can close this topic

btw Melba23 i used ur toast.. ;)

Edited by sliwek

Share this post


Link to post
Share on other sites

sliwek,

Welcome to the AutoIt forum. ;)

There are lots of ways to click a button - why are you looking for it in such a strange way? Does the Window Info tool not give you any identification parameters for the button? :)

Also search the forum for "+image +search" - there are lots of threads dealing with finding images within other images. :D

M23

P.S. Glad you liked Toast - look out for new version coming out soon. :)


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

There are lots of ways to click a button - why are you looking for it in such a strange way? Does the Window Info tool not give you any identification parameters for the button? :)

No its a button in movable panel in program.

I did it but without PixelCheckSum -its buged for me. I sum all pixels in loop... take little time but i need it just ones at during my program.

Edited by sliwek

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