WhiteShadow
2006-06-11 16:24:30
Jagex_Fagex told me that the current log burner in SRL wasn't working so I made this.
If you want autocolors then do something like
*As a side note, yes I've tried just using a for to do statement with ExistsItem it didn't work properly.
Post feedback, please.
{ By WhiteShadow
Param : LogColor - LogColor, Seconds - Time it takes for char to make a fire
Make sure player is in a area where a long line of fire can be made, tinderbox
in first inventory slot
}
procedure BurnLogs3(LogColor, Seconds : Integer);
var
Spee : Integer;
begin
Spee:= MouseSpeed;
MouseSpeed:= 8 + random(5);
repeat
if(FindColorSpiralTolerance(x, y, LogColor, mix1, miy1, mix2, miy2, 5))then
begin
Wait(500 + random(300));
Status('Click TinderBox');
UseItem(1);
Wait(500 + random(300));
Status('Click Log');
Wait(100);
Mouse(x, y, 0, 0, true);
Wait(Seconds * 1000);
end;
until(not(FindColorSpiralTolerance(x, y, LogColor, mix1, miy1, mix2, miy2, 5)))
MouseSpeed:= Spee;
end;If you want autocolors then do something like
procedure Example;
begin
LColor := GetColor(x, y); //x, y begin 2nd inv slot or something
BurnLogs3(LColor, 4);
end;*As a side note, yes I've tried just using a for to do statement with ExistsItem it didn't work properly.
Post feedback, please.