Sign in to follow this  
Followers 0
WhOOt

Hard to explain

2 posts in this topic

Oke...

I wanna make a 'healbot' for a game called KalOnline.

I want the bot to check if it has lost HP.

It has to scan for red colors, but i really cant figure out to make it search for the color and calculate how many % i've got left.

The HP bar looks like this Posted Image]Picture

Thanks, guys!

WhOOt

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

1

use au3info.exe... location

on your computer > start > programs > autoit3 > au3info.exe

this will give you the color and info x and y for location

2

find pixelsearch in the help file..... like this

help has very good demo's at the bottom of each page

on your computer press the following

Start > All Programs > Autoit v3 > Autoit Help File

when that loads then press the "search" tab

then type in "?your search?" and press "List Topics"

**** you can do this with any word you want

thats what i do all the time

3

i suggest you think in reverse utilizing pixel search

at a certain position on that red bar ( thinking it deminishes )

If NOT "color red" then

; do something

endif

8)

Edited by Valuater

NEWHeader1.png

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