I found the banking procedure a bit detectable, so i used another one:
{-------------------------------------------------]
| Weaselforce's ubtastic BowStringer |
| |
| Only my second script, i'm not teh 1337 yet |
| |
| Big thanks to SRL community for getting me |
|excited in scar scripting and for all their help |
[_________________________________________________]
| |
| Based Heavily on "pdStringer" by philodespotos. |
| MUCH <3 |
| |
| DIRECTIONS: |
|Fill in the amount to do, sit back, and relax |
|Only my second script, i'd greatly appreciate any|
|suggestions or revisions. strings and bows (u) |
|in slots 1 and 2. |
| |
| changelog : Version Beta |
| made the script, tested it, made it work |
| |
| Veresion 1: |
| Fixed stupid mistake, standards fixed |
| somewhat, made lots of improvements |
| |
| Version 1.1 |
| Fixed bank withdraw errors and such, |
| Upgraded for SRL 2.0 |
| |
| Current Version: 1.1 |
[_________________________________________________}
program WeaselStringer;
{.include SRL/SRL.scar}
//-----------------------------------------------------//
Const
AmountToDo = 4464; // Amount of bows to make.
//-----------------------------------------------------//
var
amount,amountleft,amountdone:integer;
Procedure OpenBank4;
Var
x, y, fs, fs2 : Integer;
Begin
If not BankScreen then
Repeat
If (FindObj3(x, y, 'Use Bank', 608609, 10)) then
Mouse(x, y, 4, 4, False)
Else
If (FindObj3(x, y, 'Use Bank', 3239562, 10)) then
Mouse(x, y, 4, 4, False)
Else
If (FindObj3(x, y, 'Use Bank', 4803151, 10)) then
Mouse(x, y, 4, 4, False);
Wait(250+random(150));
If (ClickOption('quickly', 1)) then
Begin
Flag;
Repeat
Wait(100+random(100));
fs := fs + 1;
Until (BankScreen) or (fs >= 50);
End;
fs2 := fs2 + 1;
Until (BankScreen) or (fs2 > 5);
End;
Procedure BankingWithdraw;
begin
if(not (inventorycount=0))then
begin
OpenBank4;
DepositAll;
BankingWithdraw;
end else
begin
if (not (Bankscreen))
then
begin
OpenBank4;
Fixbank;
end else
Fixbank;
if (amountleft > 14)then
begin
Amount := 14;
Withdraw(1,1,14);
Withdraw(2,1,0);
CloseWindow;
Wait(random(350)+150);
DragItem(1,28);
end else
begin
Amount := AmountLeft
Withdraw(2,1,1);
Withdraw(1,1,1);
wait(100+random(100));
Withdraw(2,1,(amount-1));
Withdraw(1,1,(amount-1));
Closewindow;
Wait(random(350)+100);
wait(100 + random(50));
DragItem(1,28)
wait(500+random(100));
DragItem(2,27)
end;
end;
end;
Procedure Stringin;
var Strung : integer;
begin
MouseSpeed := 14
Strung := 0
repeat
begin
UseItem(27);
Wait(300+random(150));
UseItem(28);
Wait(300+random(150));
Strung := Strung + 1
UseItem(28);
Wait(300+random(150));
UseItem(27);
Strung := Strung + 1
Wait(300+random(150));
end;
until(Strung = Amount);
amountleft := amountleft -(Amount)
amountdone := amountdone +(Amount)
MouseSpeed := 14
wait(400+random(100));
end;
procedure BankingDeposit;
begin
if (ExistsItem(14)) then
begin
OpenBank4;
fixbank;
Wait(200+random(50));
Deposit2(1,0);
end else
OpenBank4;
fixbank;
Wait(200+random(50));
DepositAll;
wait(375 + random(30));
end;
procedure RandomEvents;
Begin
FindSandwich;
FindTalk;
FindLamp('fletching');
GambleNewBox;
FindNormalRandoms;
end;
begin
SetupSRL;
MouseSpeed := 12
BenMouse := False
CloseWindow;
amountleft := amounttodo
AmountDone := 0
RandomEvents;
repeat
Amount := 0
BenMouse := True
BankingWithdraw;
Closewindow;
RandomEvents;
BenMouse := False
Stringin;
BenMouse := True
RandomEvents;
BankingDeposit;
until(AmountDone=AmountToDo);
BankingDeposit;
SetChat('on',1)
writeln('finished Stringin all the bows')
writeln('Loggin out')
logout;
end.
Also removed the Chatsoff; …. cause its not needed, and is very strange in jagex eyes methinks.
perfect.