right hers the problem in a nutshell
i am currently in the process of making a guild fisher. and i get:
SRL Compiled in 0 msec
[Runtime Error] : Out Of Range in line 323 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/Login.scar
Heres the code so far.
SCAR Code:
program Apx900GuildFisher;
{.include SRL/SRL.scar}
{.include SRL/SRL/Misc/arrayLoader.scar}
Var
x,y,Shark,harpoon,Lobster,LobsterPot:integer;
Procedure DeclarePlayers;
begin
Players[0].Name:= '************'; // Your Autoer username
Players[0].Pass:= '--------'; // Password ....
Players[0].Nick:= '-----'; // 3-4 letters of your name, no capitals
Players[0].Pin:= '7624'; // Bank pin, if any
Players[0].Integers[0]:= 300; // Max minutes one full inventory can take
Players[0].Integers[1]:= 20000; // Max milliseconds for one fish
Players[0].Integers[2]:= 10000; // Full inventories to do
Players[0].Active:= True; // No touchy, this will keep guy working
end;
{*******************************************************************************
procedure DeclareDTMs;
Description: Makes the DTMs available for use.
*******************************************************************************}
Procedure DeclareDTMs;
begin
Shark := DTMFromString('78DA6314656060106040014D15E5609A11CA6' +
'7E40512ACA86AEA2BAB51D570020961543593DB3B51D5F0010929' +
'543569B171A86AA481043FAA9AF6DA1A54352033380998230F242' +
'451D594E7E7A2AA91C374736B7515A6DF7950D5349696A2AAE102' +
'1262A86AE64C9A88A20600D1840FBF');
Harpoon := DTMFromString('78DA631464606010624001A1F65C0C3C409A1' +
'188FF0301A33490C182AA262331014C3342F98C9C40421E554D7E' +
'302FAA1A2E202185AA26DB9F07558D2890604555535D5C84AA460' +
'648B0A3AA898B08C7748F3401F780AC964355E360C08EA20600B8' +
'250C41');
Lobster := DTMFromString('78DA631461606010604001B56EF20C3C409A1' +
'188FF0301A33490C18AAAA6C841064C3342F98CA240421A554DB3' +
'9702AA1A3620214A408D189010435553EA248BAA8603480813304' +
'7024888A3AA69F090C7B48B07554DBB8F228A1A00A6790C66');
LobsterPot:= DTMFromString('78DA631464606010604001F9DEBC609A11CA6' +
'7E403122CA86A4C94D950D57000096E5435AEFA1CA86A405A4451' +
'D5781B71A2AA91C4744FA40D17AA1A21202145C0CD62408295805' +
'D20B708A1AA69282BC374B3300135FC404284801A31C2760100E4' +
'720B35');
end;
Procedure MainLoop;
begin
SetupSrl;
if not LoggedIn then LoginPlayer;
end;
Begin
mainloop;
end.