Hey guys,
I've been lurking on these forums for a couple months now but i finally decided to sign up because it would be dumb to not interact with such a smart community.
I'm studying compscience and figured it would be good to have a project i like to improve my coding skills on.
All my classes are java related, so i chose to build my own java bot framework(ish).
It started out as a hobby but right now im pretty obsessed with it coding like 10 hours a day.
I've got alot of functionality complete such as detecting items, levels,hp, state detection etc, but i've also got some challenges which
i would love to get some help on from u guys.
My main problem right now is object detection in the active game screen. What i currently do is take an npc, get around 10 different colors
with a range of 5 in a Set. Then i scan the entire gamescreen for all colors in that set to get its dimensions. Sometimes it works fine
but often it'll also add tons of colors outside the object im scanning for, which makes sense because these colors obviously appear on other places too.
I was thinking to just reduce the amount of colors im scanning for to 1-3 but that makes it much less reliable and i feel like it would be
possible to find the object regardless of coloramounts im searching for. I think i need a clustering algorythm or something like that but
i'm currently not competent enough to find it out myself. I feel like this is a pretty universal problem with all color bots,
and am eager to know how you guys tackled this problem! Any input is more than welcome
- Nathan


.
Reply With Quote





