Currently I am creating a script on a private server so i can get a feel for simba so then I can move on to runescape. Right now I am making a auto fighter, and before i go any further i want the bot to click on part of a picture(aka looting). I did a bitmap conversion and got this:
How would i make the bot click on that picture. Btw here is what i have so farCode:Bmp := BitmapFromString(14, 12, 'meJyTUdd2mPAfGcmoa+NCEAUMYI' +
'BfMVwlGptylXAEcQamFB53oonjsR2NTVOVxPgIiBhQAXLIYBXEjwD' +
'OzpG+');
Code:program autofighterfortards;
Const
NPC=7984046;
tleft= 93;
tright = 139;
bleft=630;
bright=447;
tolorence=15;
time=12; // in seconds
rwait=1000
var
X,Y: Integer;
procedure getbanned;
begin
// fighting method
FindColorTolerance(X,Y,NPC,tleft,tright,bleft,bright,tolerence)
movemouse(x, y);
Wait(120 + Random(80));
ClickMouse(x, y, Mouse_Left);
Wait((time*1000) + Random(rwait));
end;
begin
repeat
getbanned;
until False;
end.

