Bolshoi Booze
2011-12-08 18:14:44
How Long have You Played Runescape?
6 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
I took a high school java class. I would rate myself an intermediate java programmer. I also self taught myself C.
Are you a member of any other communities?
Yes, MmoExchange. Ex scripter on powerbot.
Tell us about yourself…
Please show us one (or multiple) of your scripts.
6 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
What is your general programming knowledge?
I took a high school java class. I would rate myself an intermediate java programmer. I also self taught myself C.
Are you a member of any other communities?
Yes, MmoExchange. Ex scripter on powerbot.
Tell us about yourself…
From: Bolshoi Booze
My name is Alex, I'm 16 years old. I enjoy skiing and archery. I live in America. I hope to become a SRL member to expand my programming knowledge and get to know people in this community.
Please show us one (or multiple) of your scripts.
This is my logcutting script. This is its latest version.
// script by Bolshoi Booze
program Logcutter;
{.Include SRL\SRL\Misc\SMART.SCAR}
{.include SRL/SRL.scar}
const
// ------SETUP-------
// Recommended start in Varrock west bank
// Put your knife in your first inventory slot
// put logs in first bank slot in your first tab
loadcount= 20 ; //how many cycles you need
sorc=1 ; //0 for stringing, 1 for cutting
col= 1 ; //log row
row= 1 ; //log column
bankty= 1 ; //0 for any npc bank, 1 for a specific bank
specific='vwb' ; //vwb=varrock west bank, veb= varrock east bank
var
x, y: integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := 'USERNAME HERE'; //username
Pass := 'PASSWORD HERE'; //password
Nick := 'NICKNAME HERE'; //nickname
Active := True;
// ----END SETUP---
end;
end;
Procedure initrun;
begin
Smart_Members := True;
Smart_Server := 91;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
LoginPlayer;
wait(3000);
SetAngle(true);
mousespeed:=(6+random(4));
end;
Procedure stringing;
begin
mousespeed:=(7+random(3));
wait(200);
if bankty=0 then
openbanknpc;
if bankty=1 then
openbankfast(specific);
wait(500+random(600))
depositall;
wait(800+random(300));
wait(500+random(500));
wait(500+random(1000));
closebank;
wait(1800+random(500));
invmouse((random(13)+1),1);
wait(700+random(300));
Invmouse((15+random(14)),1)
wait(1000+random(1000));
mmouse(359,408,200,200);
mmouse(259,408,30,30);
wait(100+random(200));
getmousepos(x,y);
begin
if ( WaitUpTextMulti(['Mak', 'tions'], 200) ) then
Mouse(x,y,1,1,true)else
exit;
end;
repeat
wait(1000);
until invcount=14
wait(random(5000));
if random(2)=1 then
begin
writeln('taking break');
wait(random(20000));
end;
writeln('cut');
end;
Procedure Cutting;
var
IT:TInvenItem;
begin
mousespeed:=(7+random(3));
wait(200);
if bankty=0 then
openbanknpc;
if bankty=1 then
openbankfast(specific);
wait(500+random(1000))
invmouse((random(8)+2),2);
wait(400);
FindText(x, y, 'All', UpChars, msx1, msy1, mix2, miy2);
wait(200);
mouse((18+x),(y+2),16,2,true);
wait(800+random(300));
withdraw(col,row,0);
wait(500+random(1000));
closebank;
wait(500+random(1000));
if invfull then
begin
Invmouse((2+random(1)),1)
wait(200+random(300));
invmouse(1,1);
wait(2000+random(1000));
mmouse(359,408,200,200);
mmouse(259,408,30,30);
wait(100+random(200));
getmousepos(x,y);
begin
if ( WaitUpTextMulti(['Mak', 'tions'], 200) ) then
Mouse(x,y,1,1,true)else
exit;
end;
writeln('Started Cutting');
wait(5000);
IT:=GetInven(28);
repeat
wait(1000)
until IT<>GetInven(28)
writeln('Done Cutting');
wait(random(5000));
if random(2)=1 then
begin
wait(random(10000));
writeln('taking min break');
end;
if invfull then
writeln('27 more unstrung bows')else
begin
writeln('I think you lost your knife');
writeln('Logging out...');
logout;
exit;
end;
end else
begin
writeln('Inv not full, banking issue, or out of logs, logging out');
logout;
exit;
end;
end;
Procedure mainloop;
var
counter:integer;
begin
initrun;
counter:=0;
repeat
counter:=1+counter;
if sorc=0 then
stringing;
if sorc=1 then
cutting;
writeln(loadcount-counter);
writeln('loads to go');
until counter=loadcount
writeln('Another set, problem free');
end;
begin
mainloop;
end.