CO2 Monster Location

04/20/2007 18:38 sh-pack#1
Hi All!

I have created several bots/macroses using VB.NET and user32 library functions. Most of them just move and click mouse at certain coordinates.

In order to make my programs "smart" I need to find a way to determine object locations on screen (mobs, items etc) by object names. For example, I want to find all "Hawks" on screen. The function should return me an array of coordinates of all hawks.

I have tried to do this by using GetChildWindow function of user32 but it returns me some crap.

Is it possible at all? If yes, please share ideas!


Thanks in advance.