SRL Archive - RS3 Outdated / Broken Scripts

Burthorpe Cooking


Knoot

2008-09-20 07:03:22

Im requesting a Cooking script at Burthrope below the bar. Close to warriors guild. The banker and fire is close to eachother. It can be pretty easy made with reflection if you know scripting, I've tried to make one but i failed pretty hard. So well, this is the best place for cooking..

Note: You need a members account for this.


This is how long i came: http://pastebin.com/f69880d63

Continue on that one or make a new one :)


Thanks :D

MylesMadness

2008-09-20 14:39:43

program New;
{.include srl/srl/misc/smart.scar}
{.include srl/srl.scar}
{.include srl/srl/misc/users.scar}
{.include srl/srl/reflection/reflection.scar}

Procedure Bank;
var
NPC:TNPC;
begin
If FindNPC('Emerald Benedict', NPC) then
begin
Mouse(NPC.Ms.X, NPC.Ms.X, 2, 2, False);
ChooseOption('ank');
end else
TerminateScript;
FFlag(0);
wait(5000+Random(1000));
DepositAll;
Withdraw(1, 1, 0);
CloseBank;
end;

Procedure Cookthem;
var
TP:TPoint;
Me:TMe;
begin
MouseItem(1, True);
If FindObject(Tp, 2732)then
Begin
Tp:=TileToMS(TP, 10);
Mouse(Tp.x, TP.y, 2, 2, True);
Wait(3000);
Mouse(258, 409, 3, 3, False);
ChooseOption('ook A');
repeat
FindNormalRandoms;
Me:=GetMe
until Me.animation <> 897
end;
end;

begin
Setupsrl;
SmartSetupEx(100, True, True, False);
SetTargetDc(SmartGetDC);
SRLPlayerForm(true, [], [], [], []);
LoginPlayer;
repeat
SetAngle(true);
Bank;
Cookthem;
until False
end.
I got this far, when it looked for the fire though it found thought it found it and moved somewhere random, not even near the fire.