Grr Ive basically finished my Gnome Agility Course Runner that.. was the easy part..
Now I'm having a seriously hard time trying to read ChatText,
For example I want to read this,
I tried using all the right variables with them
GetChatBoxText();
FindChatBoxText();
etc etc
So then I tried making a bitmap for it
a bit map of the ...
In experience bitmaps have worked for me like when I made my own p server bot's
So I made a function to read it and everything:
Simba Code:function WaitBitmapInTol(Name, x1, y1, x2, y2, Tol, WaitPerLoop, MaxTime: Integer): Boolean;
var
T: Integer;
begin
T := GetSystemTime + MaxTime;
while (GetSystemTime < T) do
begin
if(Findbitmaptolerancein(Name,x,y,x1,y1,x2,y2,Tol))then
begin
Result := True;
Exit;
end;
Wait(WaitPerLoop);
end;
end;
I need help with this majorly
Also another question?
Simba ignores the black when reading the bitmaps right, is making the text white and the back ground black and using it as a bitmapmask sopost to work?






Reply With Quote





