Jump to content
Sign in to follow this  
TheScripter

Need Help With Pixel Searching

Recommended Posts

TheScripter

I've been looking up autoit pixelsearch tutorials but I can't seem to find the the set of coords. I understand how Pixel Searching works I believe from a game I used to bot on called Diablo. It would created a box around a monster (Which I believe you create with the 4 Coords) and inside the box it searches for the pixel that you put into the script say "brown".

Au3Info only gives 2 Coords and of course the 0x###### color. How do I get the other set?

If anyone could give me links to help me that would be cool, if they can walk me through it real fast via Vent, xfire, aim or msn that would be awesome. I tried on my own before coming here but can't seem to get it too work :)

Example : 1361,459. I understand how it works, my resolution is 1680, so 1361 is more then half of my screen to the right which is x, and 459 is the y coordinate going from up to down. I don't understand the actual box part, how to make it.

Edited by TheScripter

Share this post


Link to post
Share on other sites
TheScripter

Yep it gives me the color and x and Y, which are the first 2 out of the 4, how do I go about and getting the last 2?

Share this post


Link to post
Share on other sites
TheScripter

Could anyone help me? I would like to get this pixelsearch down :)

Share this post


Link to post
Share on other sites
qazwsx

u choose the last two. How big do you want your box to be? pick a point somewhere down and to the right of your first one. That will give you 4 cords to search in.

Share this post


Link to post
Share on other sites
TheScripter

Alright I'm going to try some more and get this, simple question that is probably stupid, am I able to test this on my desktop? I'm installing Diablo2 right now to practice, but can it work on the desktop? Another question, what color is the box?

Share this post


Link to post
Share on other sites
qazwsx

yes you can search for colors on the desktop. There is no actual box made. It simply looks for pixels in that area. There is nothing drawn on the screen.

Share this post


Link to post
Share on other sites
TheScripter

yes you can search for colors on the desktop. There is no actual box made. It simply looks for pixels in that area. There is nothing drawn on the screen.

Oh really? Alright thanks, I'm about to try this out.

But here is a question, http://www.youtube.com/watch?v=t2V3bDCCYnk What is this called? He has boxes in the game which then allows the bot to move to that spot. You don't have to waste ton of time telling me how, just give me a brief detail so I can look it up :)

Share this post


Link to post
Share on other sites
qazwsx

he edited the game resources. Im not totally sure how to do that. Im pretty sure thats not part of his script, but how the game renders.

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  

×