xX4m4zingXx
2014-03-16 15:17:09
I want to create a fighter bot that checks if npc is dead and attacks new npc
how can i make that?
how can i make that?
2014-03-16 15:17:09
2014-03-16 15:27:10
2014-03-16 15:34:41
2014-03-16 15:37:07
From: xX4m4zingXx
Yep
2014-03-16 15:39:04
2014-03-16 15:48:05
From: xX4m4zingXx
read my edit. and no. it's an pi. aggroth i believe
2014-03-16 16:02:29
2014-03-16 16:11:11
From: xX4m4zingXx
yes it does but it's glitchy but it does
function differentCount(time:integer): Boolean;
var
_white_count:integer;
begin
_white_count := countColorTolerance(16777215, 410, 110, 508, 123, 5);
wait(time);
result := (_white_count <> countColorTolerance(16777215, 410, 110, 508, 123, 5));
end;
function inCombat:boolean;
begin
result := differentCount(3300);
end;
2014-03-16 16:23:57
2014-03-17 12:02:21
2014-03-22 13:18:01
Program AttachMonster;
{$I RSPS/srlRSPS.Simba}
function differentCount(time:integer): Boolean;
var
_white_count:integer;
begin
_white_count := countColorTolerance(16646143, 429, 80, 516, 95, 5);
Wait(time);
result := (_white_count <> countColorTolerance(16646143, 429, 80, 516, 95, 5));
end;
function inCombat:boolean;
begin
result := differentCount(3300);
end;
Procedure AttackMonster
var
X,Y:Integer;
begin
if FindColorTolerance (X, Y, 10337744, 44, 91, 556, 425, 2) then
begin
MouseSpeed := 15;
Mouse(x, y);
end
else
begin
writeln('Couldnt find any monsters')
end;
end;
begin
AttackMonster;
end.