From: grats
What tutorial was specific to eoc? There shouldn't be much of a difference scripting wise.
You'll have different functions from the eoc include vs the 07 include, that should be all.
i used the thread: Script down your first rs tree (
http://villavu.com/forum/showthread.php?t=44942)
but when i see some 07 scripts it all has codes with P07 in front of it? don't you have to use that if you want to make a script for 07 scape?
this is what i made so far:
program new;
{$i srl/srl.simba}
{$DEFINE SMART8}
Procedure DeclarePlayers;
Begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active:=True;
End;
procedure Antiban;
begin
if(not(Loggedin))then
Exit;
FindNormalRandoms;
case Random(8) of
0:
begin
HoverSkill('Woodcutting', false);
wait(1800+Random(350));
end;
1: PickUpMouse;
2:
begin
MakeCompass('N');
wait(100+random(133));
MakeCompass('S');
wait(50+random(133));
MakeCompass('N');
FindNormalRandoms;
end;
end;
end;
procedure Choptree;
var x, y: integer;
begin
repeat
FindNormalRandoms;
if Findobj(x, y, 'hop', 3037523, 35) then
begin
Mouse(x, y, 2, 2, false);
ChooseOption('hop');
end;
repeat
wait(400+random(250));
Antiban;
Until not IsUpText('ak') or (InvFull);
until(InvFull);
end;
begin
SetUpSRL;
ActivateClient;
Declareplayers;
Loginplayer;
Choptree;
end.