aran armath
2010-05-30 20:31:06
How Long have You Played Runescape?
4 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
Html, a bit of php, and of course scar/simba.
Are you a member of any other communities?
Don't think so
Tell us about yourself…
Please show us one (or multiple) of your scripts.
4 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
Html, a bit of php, and of course scar/simba.
Are you a member of any other communities?
Don't think so
Tell us about yourself…
From: aran armath
I am Aaron. 19 Years old. Attended college for a semester and am a member of the Fraternity Delta Upsilon. January 18th this year, I was in a bad car accident, and ever since then I have been at home healing (see sig). Due to this accident I have started playing Runescape again and scripting.
Please show us one (or multiple) of your scripts.
// * First Script here*\\
{Aran Armath's Normal/Willow Log Cutter and Banker
Instructions
1-Declare Players
2-Set Smart World
3-Set SRL Stats
4-Change Tree Colors If Desired
}
program Cutter;
{.Include SRL/SRL/Misc/Smart.Scar}
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/WoodCutting.scar}
{.include \SRL\SRL\reflection\Reflection.simba}
var
LevelsGainedTotal,Level,UpdateLevel,Willows,Normals,WillowLogs,NormalLogs,TotalLoadsDone,LoadsDone,Loads,x,y:integer;
Willow,Trees,Wielded:Boolean;
const
//Tree Color's
NormalColor = 4620403;
NormalTol = 12;
WillowColor = 2836301;
WillowTol = 5;
//Smart Stuff
SmartWorld = 15; // Which World/Server do you want to use?
SmartMembers = False; // Is it a Members World?
SmartSigned = true; // Signed/UnSigned Client?
SmartSuperDetail = False; // Use Super Detail?
//SRL Stat's
YourStatsUserID = ''; //User UID from scriptmanager.freehostia.com
YourStatsPass = ''; //Your pass from scriptmanager.
procedure DeclarePlayers;
begin
HowManyPlayers := 6;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := ''; // Your RuneScape Account Name
Pass := ''; // Your RuneScape Account Password
Nick := ''; // 3 - 4 Letters of Your Account Name
Pin := ''; // Pin
Active := True; // Use in the Script. True / False.
Loads := 5000; // Number of loads to do
Booleans[0] := true; // Cut trees?
Booleans[1] := True; // Cut willows?
Booleans[2] := False; //Axe wielded true or false
end;
with Players[1] do
begin
Name := ''; // Your RuneScape Account Name
Pass := ''; // Your RuneScape Account Password
Nick := ''; // 3 - 4 Letters of Your Account Name
Pin := ''; // Pin
Active := True; // Use in the Script. True / False.
Loads := 5000; // Number of loads to do
Booleans[0] := true; // Cut trees?
Booleans[1] := True; // Cut willows?
Booleans[2] := False; //Axe wielded true or false
end;
end;
const
Stats_Link = 'http://scriptmanager.freehostia.com/submit.php';
var
Stats_UserID, Stats_Password, Stats_ScriptID: string;
Stats_LastTime: Integer;
Stats_CustomVars: array [1..20] of Integer;
procedure Stats_CheckOutput(s: string);
var
i: Integer;
sa: TStringArray;
begin
sa := Explode(#10, s);
for i := 0 to High(sa) do
if (Trim(sa[i]) <> '') then
if StartsWith('ERROR(1)', sa[i]) then
begin
WriteLn('STATS: "' + sa[i] + '"');
Stats_UserID := '';
Stats_Password := '';
end
else if StartsWith('ERROR(2)', sa[i]) then
begin
WriteLn('STATS: "' + sa[i] + '"');
Stats_ScriptID := '';
end
else
WriteLn('STATS: "' + sa[i] + '"');
end;
function Stats_GetScriptInfo(out Version, News, Link: string; out OutDated: Boolean; out LastUpdate_HoursAgo: Integer): Boolean;
var
Client: Integer;
s: string;
sa: TStringArray;
begin
Result := False;
if (Stats_ScriptID = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'getinfo');
AddPostVariable (Client, 'sID', Stats_ScriptID);
s := PostHTTPPageEx(Client, Stats_Link);
sa := Explode(#10'GLUE'#10, s);
if (Length(sa) = 5) then
begin
Result := True;
Version := sa[0];
News := sa[1];
Link := sa[2];
OutDated := sa[3] = '1';
LastUpdate_HoursAgo := StrToIntDef(sa[4], -1);
end
else
Stats_CheckOutput(s);
FreeHTTPClient(Client );
end;
var
Stats_GlobalVars: array[1..24] of Integer;
procedure Stats_SendReport;
var
i, Client, Time: Integer;
s: string;
begin
if (Stats_UserID = '') and (Stats_Password = '') and (Stats_ScriptID = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'submit');
Time := (GetTimeRunning - Stats_LastTime) div 1000 div 60;
if (Time < 5) then
Time := 0
else
Stats_LastTime := GetTimeRunning;
AddPostVariable(Client, 'sTime', IntToStr(Time));
if (Stats_UserID <> '') and (Stats_Password <> '') then
begin
AddPostVariable(Client, 'uID', Stats_UserID);
AddPostVariable(Client, 'uPass', Stats_Password);
end
else
begin
AddPostVariable(Client, 'uID', '-1');
AddPostVariable(Client, 'uPass', '');
end;
if (Stats_ScriptID <> '') then
begin
AddPostVariable (Client, 'sID', Stats_ScriptID);
for i := Low(Stats_CustomVars) to High(Stats_CustomVars) do
begin
AddPostVariable(Client, 'rndCustom' + IntToStr(i), IntToStr(Stats_CustomVars[i]));
Stats_CustomVars[i] := 0;
end;
end
else
begin
AddPostVariable (Client, 'sID', '-1');
end;
for i := Low(Stats_GlobalVars) to High(Stats_GlobalVars) do
begin
case i of
1: s := IntToStr(SRL_Logs - Stats_GlobalVars[i]);
2: s := IntToStr(Banks - Stats_GlobalVars[i]);
3: s := IntToStr(RandSolved[rand_Death] - Stats_GlobalVars[i]);
else if ((i - 3) < Length(RandSolved) - 1 {for Death}) then
s := IntToStr(RandSolved[i - 3] - Stats_GlobalVars[i]);
end;
AddPostVariable(Client, 'rndGlobal' + IntToStr(i), s);
Stats_GlobalVars[i] := Stats_GlobalVars[i] + StrToInt(s);
end;
s := PostHTTPPageEx(Client, Stats_Link);
Stats_CheckOutput(s);
FreeHTTPClient(Client);
if (SRL_Procs[srl_OnSendStats] <> nil) then
SRL_Procs[srl_OnSendStats]();
end;
procedure Stats_SendAccountInfo;
var
i, Client: Integer;
Accounts: TStringArray;
begin
if (Stats_UserID = '') and (Stats_Password = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'setaccounts');
AddPostVariable(Client, 'uID', Stats_UserID);
AddPostVariable(Client, 'uPass', Stats_Password);
if (Stats_ScriptID <> '') then
AddPostVariable (Client, 'sID', Stats_ScriptID)
else
AddPostVariable (Client, 'sID', '-1');
SetLength(Accounts, HowManyPlayers);
for i := 0 to HowManyPlayers - 1 do
Accounts[i] := Implode('.|€stat€|.', [Players[i].Name, Players[i].Loc, IntToStr(Integer(Players[i].Active))]);
AddPostVariable(Client, 'accInfo', Implode(#10'ACC'#10, Accounts));
Stats_CheckOutput(PostHTTPPageEx(Client, Stats_Link));
FreeHTTPClient(Client);
end;
procedure Stats_ManageAccounts;
var
i, ii, Client: Integer;
s: string;
Accounts, Stats: TStringArray;
begin
if (Stats_UserID = '') and (Stats_Password = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'getaccounts');
AddPostVariable(Client, 'uPass', Stats_Password);
AddPostVariable(Client, 'uID', Stats_UserID);
s := PostHTTPPageEx(Client, Stats_Link);
Accounts := Explode(#10'ACC'#10, s);
for i := 0 to High(Accounts) do
begin
Stats := Explode('.|€stat€|.', Accounts[i]);
if (Length(Stats) = 3) then
begin
for ii := 0 to HowManyPlayers - 1 do
if (LowerCase(Players[ii].Name) = LowerCase(Stats[0])) then
begin
Players[ii].Loc := Stats[1];
Players[ii].Active := Stats[2] = '1';
Break;
end;
end
else
begin
Stats_CheckOutput(s);
Break;
end;
end;
FreeHTTPClient(Client);
stats_SendAccountInfo;
end;
procedure SetupSmart;
begin
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
end;
function LoadPath: TPointArray; //this is the walking path, both ways
begin
SetLength(Result, 3);
Result[0] := Point(3096, 3497);
Result[1] := Point(3106, 3496);
Result[2] := Point(3116, 3500);
end;
procedure AntiBan;
begin
case Random(50) of
0: RandomRClick;
1: PickUpMouse;
2: RandomMovement;
3: BoredHuman;
4: HoverSkill('Woodcutting', False);
5..20: Wait(Random(3000));
end;
end;
procedure CheckedLoggedIn;
begin
if not loggedin then
begin
LogInPlayer;
end;
if (LobbyScreen = True) then
begin
LoginPlayer;
end;
FindNormalRandoms;
end;
procedure Report;
begin
ClearDebug;
AddToReport('Aran Armaths Normal Log Banker');
AddToReport('Time Running ' + TimeRunning);
AddToReport('Total Loads Done ' + inttostr(TotalLoadsDone));
AddToReport('Normal Logs Banked ' + inttostr(NormalLogs));
AddToReport('Willow Logs Banked ' + inttostr(WillowLogs));
AddToReport('Total Levels Gained ' + inttostr(LevelsGainedTotal));
AddToReport('Total Exp ' + FloatToStr(NormalLogs*25+WillowLogs*67.5));
AddToReport('Current Player ' + Players[CurrentPlayer].Name);
AddToReport('Woodcutting Level ' + inttostr(GetSkillLevel('Woodcutting')));
AddToReport('Wc Levels Gained ' + inttostr(UpdateLevel-Level));
AddToReport('Loads Banked ' + inttostr(LoadsDone));
AddToReport('Inventory Count ' + inttostr(InvCount));
SRLRandomsReport;
Stats_SendReport;
Stats_ManageAccounts;
end;
Procedure ChopTrees;
var
w,i:Integer;
begin
CheckedLoggedIn;
if (Players[CurrentPlayer].Booleans[0] = True) then
begin
if FindObj(x,y,'Tree',NormalColor,NormalTol) then
begin
Mouse(x,y,5,5,False);
WaitOption('hop',1000)
FFlag(2);
W := 0;
i := InvCount;
repeat
begin
if (IsIdle = True) then
begin
w := 3;
end;
end;
until(w >= 3)
end else
begin
AntiBan;
end;
end;
end;
Procedure ChopWillows;
begin
CheckedLoggedIn;
if (Players[CurrentPlayer].Booleans[1] = True) then
begin
if FindObj(x,y,'Willow',WillowColor,WillowTol) then
begin
Mouse(x,y,5,5,False);
CheckedLoggedIn;
WaitOption('hop',1000);
Flag;
Wait(5000+random(2000))
repeat
if FindObj(x,y,'Willow',WillowColor,WillowTol) then
begin
if (InvFull = true) then
begin
Break;
end;
CheckedLoggedIn;
Wait(random(2000))
mouse(x,y,5,5,False);
WaitOption('hop',1000);
end else
begin
Break;
end;
until(False)
end else
begin
AntiBan;
end;
end;
end;
procedure Chopping;
var
ChopTreeTimer:Integer;
begin
MarkTime(ChopTreeTimer);
repeat
Wait(1000) //So report doesn't flash when no tree's
CheckedLoggedIn;
Report;
ChopTrees;
ChopWillows;
CheckedLoggedIn;
if (TimeFromMark(ChopTreeTimer) > 600000) then
begin
CheckedLoggedIn;
if FindSymbol(x,y,'Furnace') then
begin
Mouse(x,y,3,3,true);
FFlag(2);
RunAway('E',True,2,0);
MarkTime(ChopTreeTimer);
end else
begin
Players[CurrentPlayer].Active := False;
LogOut;
Exit;
end;
end;
until(InvFull = true)
end;
procedure NormalWalk;
var
I:integer;
TPA:TPointArray;
begin
CheckedLoggedIn;
SetRun(True);
begin
TPA := LoadPath;
for i := 1 to high(TPA) do
begin
WalkToTile(PointToTile(TPA[i].x, TPA[i].y), 1, 0);
end;
end;
end;
procedure NormalBank;
var
I:integer;
TPA:TPointArray;
begin
CheckedLoggedIn;
SetRun(True);
begin
TPA := LoadPath;
InvertTPA(TPA)
for i := 1 to high(TPA) do
begin
WalkToTile(PointToTile(TPA[i].x, TPA[i].y), 1, 0);
end;
end;
end;
procedure CheckIfInBank;
begin
CheckedLoggedIn;
if (not FindSymbol(x,y,'Bank')) then
begin
if Findsymbol(x,y,'Furnace') then
begin
Mouse(x,y,3,3,true);
Flag;
if FindSymbol(x,y,'Bank') then
begin
Mouse(x,y,3,3,true);
Flag;
end else
begin
RunAway('W',True,2,0);
if FindSymbol(x,y,'Bank') then
begin
Mouse(x,y,3,3,true);
Flag;
end else
begin
Writeln('Player Lost Trying To Bank :(')
LogOut;
Players[CurrentPlayer].Active := False;
end;
end;
end;
end;
if (not FindColor(x,y,791125,MSX1,MSY1,MSX2,MSY2)) then
begin
if (not FindSymbol(x,y,'Bank')) then
begin
if Findsymbol(x,y,'Furnace') then
begin
Mouse(x,y,3,3,true);
Flag;
if FindSymbol(x,y,'Bank') then
begin
Mouse(x,y,3,3,true);
Flag;
end else
begin
RunAway('W',True,2,0);
if FindSymbol(x,y,'Bank') then
begin
Mouse(x,y,3,3,true);
Flag;
end else
begin
Writeln('Player Lost Trying To Bank :(')
LogOut;
Players[CurrentPlayer].Active := False;
end;
end;
end;
end;
end;
end;
procedure BankLogs;
begin
CheckIfInBank;
MakeCompass('S');
OpenBankNpc;
if (PinScreen = true) then
begin
InPin(Players[CurrentPlayer].Pin);
end;
if (BankScreen = true) then
begin
WillowLogs := WillowLogs + CountItems('Color',1325377,[3]);
NormalLogs := NormalLogs + CountItems('Color',2639195,[3]);
Willows := CountItems('Color',1325377,[3]);
Normals := CountItems('Color',2639195,[3]);
Stats_CustomVars[1] := Normals;
Stats_CustomVars[2] := Willows;
Stats_CustomVars[3] := Normals*(25) + Willows*(135/2);
if (Players[CurrentPlayer].Booleans[2] = True) then
begin
Deposit(1,28,true)
end else
begin
Deposit(2,28,True)
end;
CloseBank;
Inc(Banks);
Inc(LoadsDone);
Inc(TotalLoadsDone);
end;
if (InvFull = True) then
begin
if FindSymbol(x,y,'Bank') then
Mouse(x,y,2,2,true);
Flag;
BankLogs;
end;
Report;
end;
procedure CompassNorth;
var
North:Integer;
begin
North := 355+Random(10);
MakeCompass(North);
SetAngle(True);
end;
begin
SetupSmart;
SetUpSRL;
DeclarePlayers;
TotalLoadsDone := 0;
Stats_ScriptID := '53'; //SCRIPT ID # HERE!
Stats_UserID := YourStatsUserID;
Stats_Password := YourStatsPass;
repeat
LoginPlayer;
if (SRL_Logs < 1) then
begin
SRL_Logs := 1;
end;
Level := GetSkillLevel('Woodcutting');
LoadsDone := 0;
repeat
CompassNorth;
CheckedLoggedIn;
NormalWalk;
Chopping;
NormalBank;
BankLogs;
UpdateLevel := GetSkillLevel('Woodcutting');
LevelsGainedTotal := LevelsGainedTotal + (UpdateLevel-Level);
if not LoggedIn then
begin
Break;
end;
until(Loads = LoadsDone)
NextPlayer(Players[CurrentPlayer].Active);
until(AllPlayersInactive);
end.
// * Second Script here *\\
program Superheater;
{.include SRL/SRL/Misc/SMART.scar}
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/Magic.scar}
var
i,x,y,Bars:integer;
const
SmartWorld = 15; // Which World/Server do you want to use?
SmartMembers = False; // Is it a Members World?
SmartSigned = True; // Signed/UnSigned Client?
SmartSuperDetail = False; // Use Super Detail?
YourStatsUserID = ''; //User UID from scriptmanager.freehostia.com
YourStatsPass = ''; //Your pass from scriptmanager.
Procedure DeclarePlayers;
begin
NumberOfPlayers(1);
CurrentPlayer := 0;
Players[0].Name :='';
Players[0].Pass :='';
Players[0].Nick :='';
Players[0].Active := True;
end;
//By nielsie95
const
Stats_Link = 'http://scriptmanager.freehostia.com/submit.php';
var
Stats_UserID, Stats_Password, Stats_ScriptID: string;
Stats_LastTime: Integer;
Stats_CustomVars: array [1..20] of Integer;
procedure Stats_CheckOutput(s: string);
var
i: Integer;
sa: TStringArray;
begin
sa := Explode(#10, s);
for i := 0 to High(sa) do
if (Trim(sa[i]) <> '') then
if StartsWith('ERROR(1)', sa[i]) then
begin
WriteLn('STATS: "' + sa[i] + '"');
Stats_UserID := '';
Stats_Password := '';
end
else if StartsWith('ERROR(2)', sa[i]) then
begin
WriteLn('STATS: "' + sa[i] + '"');
Stats_ScriptID := '';
end
else
WriteLn('STATS: "' + sa[i] + '"');
end;
function Stats_GetScriptInfo(out Version, News, Link: string; out OutDated: Boolean; out LastUpdate_HoursAgo: Integer): Boolean;
var
Client: Integer;
s: string;
sa: TStringArray;
begin
Result := False;
if (Stats_ScriptID = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'getinfo');
AddPostVariable (Client, 'sID', Stats_ScriptID);
s := PostHTTPPageEx(Client, Stats_Link);
sa := Explode(#10'GLUE'#10, s);
if (Length(sa) = 5) then
begin
Result := True;
Version := sa[0];
News := sa[1];
Link := sa[2];
OutDated := sa[3] = '1';
LastUpdate_HoursAgo := StrToIntDef(sa[4], -1);
end
else
Stats_CheckOutput(s);
FreeHTTPClient(Client );
end;
var
Stats_GlobalVars: array[1..24] of Integer;
procedure Stats_SendReport;
var
i, Client, Time: Integer;
s: string;
begin
if (Stats_UserID = '') and (Stats_Password = '') and (Stats_ScriptID = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'submit');
Time := (GetTimeRunning - Stats_LastTime) div 1000 div 60;
if (Time < 5) then
Time := 0
else
Stats_LastTime := GetTimeRunning;
AddPostVariable(Client, 'sTime', IntToStr(Time));
if (Stats_UserID <> '') and (Stats_Password <> '') then
begin
AddPostVariable(Client, 'uID', Stats_UserID);
AddPostVariable(Client, 'uPass', Stats_Password);
end
else
begin
AddPostVariable(Client, 'uID', '-1');
AddPostVariable(Client, 'uPass', '');
end;
if (Stats_ScriptID <> '') then
begin
AddPostVariable (Client, 'sID', Stats_ScriptID);
for i := Low(Stats_CustomVars) to High(Stats_CustomVars) do
begin
AddPostVariable(Client, 'rndCustom' + IntToStr(i), IntToStr(Stats_CustomVars[i]));
Stats_CustomVars[i] := 0;
end;
end
else
begin
AddPostVariable (Client, 'sID', '-1');
end;
for i := Low(Stats_GlobalVars) to High(Stats_GlobalVars) do
begin
case i of
1: s := IntToStr(SRL_Logs - Stats_GlobalVars[i]);
2: s := IntToStr(Banks - Stats_GlobalVars[i]);
3: s := IntToStr(RandSolved[rand_Death] - Stats_GlobalVars[i]);
else if ((i - 3) < Length(RandSolved) - 1 {for Death}) then
s := IntToStr(RandSolved[i - 3] - Stats_GlobalVars[i]);
end;
AddPostVariable(Client, 'rndGlobal' + IntToStr(i), s);
Stats_GlobalVars[i] := Stats_GlobalVars[i] + StrToInt(s);
end;
s := PostHTTPPageEx(Client, Stats_Link);
Stats_CheckOutput(s);
FreeHTTPClient(Client);
if (SRL_Procs[srl_OnSendStats] <> nil) then
SRL_Procs[srl_OnSendStats]();
end;
procedure Stats_SendAccountInfo;
var
i, Client: Integer;
Accounts: TStringArray;
begin
if (Stats_UserID = '') and (Stats_Password = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'setaccounts');
AddPostVariable(Client, 'uID', Stats_UserID);
AddPostVariable(Client, 'uPass', Stats_Password);
if (Stats_ScriptID <> '') then
AddPostVariable (Client, 'sID', Stats_ScriptID)
else
AddPostVariable (Client, 'sID', '-1');
SetLength(Accounts, HowManyPlayers);
for i := 0 to HowManyPlayers - 1 do
Accounts[i] := Implode('.|€stat€|.', [Players[i].Name, Players[i].Loc, IntToStr(Integer(Players[i].Active))]);
AddPostVariable(Client, 'accInfo', Implode(#10'ACC'#10, Accounts));
Stats_CheckOutput(PostHTTPPageEx(Client, Stats_Link));
FreeHTTPClient(Client);
end;
procedure Stats_ManageAccounts;
var
i, ii, Client: Integer;
s: string;
Accounts, Stats: TStringArray;
begin
if (Stats_UserID = '') and (Stats_Password = '') then
Exit;
Client := InitializeHTTPClient(False, False);
ClearPostData(Client);
AddPostVariable(Client, 'do', 'getaccounts');
AddPostVariable(Client, 'uPass', Stats_Password);
AddPostVariable(Client, 'uID', Stats_UserID);
s := PostHTTPPageEx(Client, Stats_Link);
Accounts := Explode(#10'ACC'#10, s);
for i := 0 to High(Accounts) do
begin
Stats := Explode('.|€stat€|.', Accounts[i]);
if (Length(Stats) = 3) then
begin
for ii := 0 to HowManyPlayers - 1 do
if (LowerCase(Players[ii].Name) = LowerCase(Stats[0])) then
begin
Players[ii].Loc := Stats[1];
Players[ii].Active := Stats[2] = '1';
Break;
end;
end
else
begin
Stats_CheckOutput(s);
Break;
end;
end;
FreeHTTPClient(Client);
stats_SendAccountInfo;
end;
procedure setmousespeed;
begin
mousespeed := 7+random(3);
end;
procedure spell;
begin
i := 0
repeat
wait(600+random(250))
Mouse(614,318,11,7,true); //origonal
wait(750+random(600))
Mouse(694,431,22,23,true); //origonal
i := 1 + i;
Bars := Bars + 1;
until(i = 9)
Stats_CustomVars[1] := Stats_CustomVars[1] + 9;
Stats_CustomVars[5] := Stats_CustomVars[5] + 9*(35/2);
Stats_CustomVars[6] := Stats_CustomVars[6] + 9*(53);
end;
procedure magictab;
begin
GetCurrentTab;
While (GetCurrentTab <> Tab_Magic) do
begin
GameTab(Tab_Magic);
end;
spell;
end;
procedure deposit1;
begin
Deposit(2,28,true)
wait(300+random(500))
end;
procedure withdrawores;
begin
withdraw(0,0,18);
wait(300+random(500))
withdraw(1,0,18);
wait(300+random(500))
end;
procedure bankopen;
begin
while (BankScreen = False) do
begin
OpenBankNpc;
while (PinScreen = true) do
begin
InPin('');
end;
end;
deposit1;
withdrawores;
while (BankScreen = true) do
begin
CloseBank;
end;
Inc(Banks);
end;
procedure Report;
var S, M, H: integer;
begin
ClearDebug;
Writeln('Aaran Armath''s Superheater');
ConvertTime(GetTimeRunning, H, M, S);
Writeln('Time ran: ' + IntToStr(H) + ':' + IntToStr(M) + ':' + IntToStr(S));
Writeln('Steel bars made: ' + IntToStr(Bars));
Writeln('Smithing XP gained: ' + IntToStr(Bars*(35/2)));
Writeln('Magic XP gained: ' + IntToStr(Bars*53));
SRLRandomsReport;
Stats_SendReport;
Stats_ManageAccounts;
end;
procedure Setupsrl1;
begin
SetUpSRL;
DeclarePlayers;
Stats_ScriptID := '49'; //SCRIPT ID # HERE!
Stats_UserID := YourStatsUserID;
Stats_Password := YourStatsPass;
end;
begin
Bars := 0
Smart_Server := SmartWorld;
Smart_Members := SmartMembers;
Smart_Signed := SmartSigned;
Smart_SuperDetail := SmartSuperDetail;
Setupsrl1;
wait(15000)
LoginPlayer;
if (SRL_Logs < 1) then
SRL_Logs := 1;
setmousespeed;
repeat
bankopen;
magictab;
report;
until(false)
end.