Hey ill like to have a crack at this to willelet you know
Here's what ive got so far set up lines [7..17]
ive still got alot to do will use my friends members account 2morrow to have the urns working
program Untitled;
{$I SRL/SRL.scar}
var x,y,BarsMade,BarCount,Bars,SupaHeatDTM,i:Integer;
Skill: array [1..2] of string;
const BarType = 'mith'; // mith,steel,iron
Bars2Do = 999; // how many bars to make
UrnName = '';
procedure SetupPlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer:= 0;
Players[0].Name :='USERNAME';
Players[0].Pass :='PASSWORD';
Players[0].Active:=True;
ActivateClient;
SupaHeatDTM := DTMFromString('mWAAAAHicY2FgYOAAYk4g5gViFiDmB2JuIBaAsk85sDO8rmZm+P37N8O/HzoM6IARDYMAAGb/B/E=');
case BarType of
'mith' : BarCount:= 5;
'steel' : BarCount:= 9;
'iron': BarCount:= 25;
end;
end;
procedure GetOres(Fnum,Snum:integer);
begin
if BarType = 'mith' then
WithdrawEx(1,0,1,['mi','th']); //mith
WithdrawEx(0,0,Fnum,['oal']); //coal
WithdrawEx(3,0,2,[UrnName]); //urns
if BarType = 'iron' then
WithdrawEx(0,0,Snum,['ron','or']); //iron
WithdrawEx(3,0,2,['something','urn']); //urns
if BarType = 'steel' then
WithdrawEx(1,0,Snum,['ron','or']); //iron
WithdrawEx(0,0,Fnum,['oal']); //coal
WithdrawEx(3,0,2,['something','urn']); //urns
if BarType = 'addy' then
WithdrawEx(0,0,Fnum,['oal']); //coal
WithdrawEx(0,0,1,['mant']); //Addy
WithdrawEx(3,0,2,['something','urn']); //urns
if BarType = 'rune' then
WithdrawEx(0,0,Fnum,['oal']); //coal
WithdrawEx(0,0,1,['une']); //Rune
WithdrawEx(3,0,2,['something','urn']); //urns
end;
procedure Bnk;
begin
OpenBankNPC;
if BankScreen then
case BarType of
'Mith': GetOres(20,5); //.20 coal 1 mith
'steel': GetOres(16,8); //16 coal 8 iron
'iron': GetOres(28,2); //25 iron
end;
CloseBank;
end;
procedure CheckUrnFull;
begin
end;
Procedure AntiRandoms;
Begin
end;
procedure AntiBan;
begin
CheckUrnFull;
i:=RandomRange(0,1);
case Random(20) of
1: RandomMovement;
3: PickUpMouse;
4: HoverSkill ((Skill[i]), False);
5: RandomMovement;
end;
end;
Procedure Smelt;
begin
Mouse(744,186,2,2,true);
wait(4000);
repeat
Bars:=Bars+1;
if FindDTM(SupaHeatDTM,x,y,556,211,708,424)then
Mouse(x,y,2,2,true);
MouseItem(28,true);
Wait(700+RandomRange(550,700));
BarsMade:=BarsMade+1;
AntiBan;
Until(Bars=BarCount);
Bnk
end;
procedure proggy;
begin
cleardebug;
writeln('||----------------------------------------||');
writeln('||----------- AIO Smelter --------------||');
writeln('||----------------------------------------||');
writeln('||---------Ran for '+TimeRunning+'--------------||');
writeln('||-----Bars made : '+IntToStr(BarsMade)+'----------------------||');
writeln('||-----GOT '+IntToStr((BarsMade*52))+' MageXp------------------||');
writeln('||-----GOT '+IntToStr((BarsMade*18))+' SmithXp-----------------||');
writeln('||----------------------------------------||');
end;
begin
SetupSRL;
SetupPlayers;
LoginPlayer;
repeat
smelt;
for i := 1 to 2 do
FreeDTM(i);
proggy;
Until(Bars=Bars2Do);
end.