NoUserName
2012-04-12 07:52:20
Hey,
i have used the search button for this but still with no luck in fixing so heres my post to try n find out what my problem is.
ive been just playing really getting used to the code and what not and came across the error in the pic

cant seam to find what causing this or a fix anyone know one?
its problem my coding as i am only learning atm
any help is much appreciated.
i have used the search button for this but still with no luck in fixing so heres my post to try n find out what my problem is.
ive been just playing really getting used to the code and what not and came across the error in the pic
cant seam to find what causing this or a fix anyone know one?
its problem my coding as i am only learning atm
any help is much appreciated.
[SIMBA]
program New;
{$DEFINE SMART}
{$i srl/srl.simba}
{$i sps/sps.simba}
Var
MyPath:TPointArray;
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(2453+Random(432));
end;
1: PickUpMouse;
2:
begin
MakeCompass('N');
wait(100+random(133));
MakeCompass('S');
wait(50+random(133));
MakeCompass('N');
FindNormalRandoms;
end;
end;
end;
procedure walkto;
begin
SPS_Areas := ['0_0','1_0'];
MyPath := [Point(243, 58), Point(243, 58), Point(258, 86), Point(258, 86),
Point(307, 99), Point(307, 99), Point(357, 111), Point(357, 111),
Point(367, 93), Point(367, 93), Point(399, 82), Point(399, 82)];
end;
procedure ChopTree;
var x, y: integer;
begin
repeat
FindNormalRandoms;
if FindObj(x, y, 'hop', 4150111, 35) then
begin
Mouse(x, y, 0, 0, false);
ChooseOption('Tree');
end;
repeat
wait(400+random(250));
AntiBan;
Until not IsUpText('ew') or (InvFull);
until(InvFull);
end;
begin
Cleardebug;
Smart_Server := 11;
Smart_Members := false;
Smart_Signed := false;
Smart_SuperDetail := false;
SetupSRL;
DeclarePlayers;
LoginPlayer;
SPS_Areas := ['10_9']
SPS_Setup(RUNESCAPE_SURFACE, SPS_Areas);
MouseSpeed := RandomRange(17, 22);
SetUpSRL;
ActivateClient;
DeclarePlayers;
LoginPlayer;
SPS_WalkPath(MyPath);
ChopTree;
end.
[/SIMBA]
Tubs