Well, whit the notice of Kerney Driver of Yorick still works and Gertos reopen his Combot, ill help a bit.
In all bots, the rutine of test the HP//MP sucks, or its slow or it leaks the program after few loops; and idk why but they take the whole screen of the HP//MP and not a single pixel like Autoit Bots made.
If u see the HP//MP bar of rappelz you will see somethin like this :
If u see in detail, you will see a "Line" of the same color traversing the whole hp//mp bitmap (see blue circles). (On this screens the quality its not good, so maybe you see diferents colors on the line but in rappelz its the same color)
Now you only needs to check one pixel and not whole the bar, well, changing a bit the gertos code you can emulate the GetPixelColor API function, the example of the function is for HP of mobs color.
Code:
public static bool AnalyseMob(int X, int Y)
{
Bitmap bild = Tools.GetBitmap(X, Y, 1,1);
Color c = bild.GetPixel(0,0);
if ((c.B == 34) && (c.G == 52) && (c.R == 136))
{
return true;
}
return false;
}
Whit this modification you can take a Screen of one pixel and get the color of it. Then you can check if its Red, Blue, Green or Black whit the RGB combination.
Now, and for last, i will give you a simple application who can take the position of the mouse and the color in RGB format of the pixel who u do click.
I hope this help a little and ppl can make a good bot and pls guys, this is a open proyect, share ur bot an put an option to donate, dont make it private.
And sorry for my bad english i do my best ^^