poparms
08-02-2012, 05:08 PM
Hello guys this is my first post on the forums, and i have a question.
I have taken this script from the forum and edited it to wait longer to fight the specific monster because my character is little weaker, and i also changed it to fight chaos druids.
My question is what is a simple way to make my character eat food eventually?
program chaosdruidkiller;
{$i SRL/SRL.simba}
var
x,y:Integer;
const
Monster = 3889026;
Flaunt = 49499;
BlueCharm = 6387344; // I edited this to shark color.
Procedure AttackYak;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, Monster, MSX1, MSY1, MSX2, MSY2, 3)) then
begin Mouse(x, y, 0, 0, True);
wait(3000)
end;
end;
Procedure Pickupdrop;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, BlueCharm, MSX1, MSY1, MSX2, MSY2, 5))then // I tried using the edited pickup script to pick eat sharks but it doesnt
begin Mouse(x, y, 0, 0, true);
wait(100)
end;
end;
procedure main;
begin
repeat
wait(1000)
AttackYak;
wait(1000)
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.
I have taken this script from the forum and edited it to wait longer to fight the specific monster because my character is little weaker, and i also changed it to fight chaos druids.
My question is what is a simple way to make my character eat food eventually?
program chaosdruidkiller;
{$i SRL/SRL.simba}
var
x,y:Integer;
const
Monster = 3889026;
Flaunt = 49499;
BlueCharm = 6387344; // I edited this to shark color.
Procedure AttackYak;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, Monster, MSX1, MSY1, MSX2, MSY2, 3)) then
begin Mouse(x, y, 0, 0, True);
wait(3000)
end;
end;
Procedure Pickupdrop;
begin
if srl_infight = false then
if(FindColorSpiralTolerance(x, y, BlueCharm, MSX1, MSY1, MSX2, MSY2, 5))then // I tried using the edited pickup script to pick eat sharks but it doesnt
begin Mouse(x, y, 0, 0, true);
wait(100)
end;
end;
procedure main;
begin
repeat
wait(1000)
AttackYak;
wait(1000)
Pickupdrop;
until(false)
end;
begin
ClearDebug;
SetUpSrl;
ActivateClient;
main;
end.