EtherFreak
2011-11-17 20:48:58
How Long have You Played Runescape?
10 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
N/A
What is your general programming knowledge?
Basic, Matlab, HTML.
Are you a member of any other communities?
no
Tell us about yourself…
Please show us one (or multiple) of your scripts.
10 Year(s)
Are you affilated in anyway with Jagex LTD?
No
Were you Referred to SRL?
N/A
What is your general programming knowledge?
Basic, Matlab, HTML.
Are you a member of any other communities?
no
Tell us about yourself…
From: EtherFreak
I am a recent college grad, and took up fooling with botting when the game became boring. It now has turned into a game of finding out if I can make a computer play a game for me. I suppose I could do this with other games, but I went with runescape due to the hours I spent (wasted? you decide) playing the game.
I like fooling with electronics prototyping, computer software, wasting my time with video games and tinkering with my vehicles.
I am currently unemployed with the college degree, so fooling with the coding to play the game is, well, relaxing for me. I may not be one of the best script writers, and I know my standards still need work, but I try. In the end, I always have something that works, even if marginaly. I sometimes may bite off too large of a project, but whats the fun if you dont try?
Please show us one (or multiple) of your scripts.
I am linking to my older Bow maker and newer log burner scripts. It seems they have gotten quite popular as of recent time.
Bow Maker Link:
[url]http://villavu.com/forum/showthread.php?t=59042[/url]
Log Burner Link:
[url]http://villavu.com/forum/showthread.php?t=67846[/url]// script by EtherFreak
program cutnstring1;
//{.Include SRL\SRL\Misc\SMART.SCAR}
//remove the(//) if you want smart
{.include SRL/SRL.scar}
const
// ----------------SETUP-----------------------------
// must be in any bank that has a NPC
//kife in first invintory slot for bow cutting
loadcount= 20 ; //how many cycles you need (14 to a cycle)
sorc=1 ; //0 for stringing, 1 for cutting
colb= 5 ; //unstrung bow row
rowb= 2 ; //unstrung bow col
cols= 3 ; //bowstring col
rows= 2 ; //bowstring row
col= 2 ; //log row
row= 0 ; //log col
bankty= 1 ; //0 for any npc bank, 1 for specific bank
specific='fwb' ; //some valed inputs are: 'veb', 'vwb' 'feb'
var
x, y: integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
Name := ''; //set username
Pass := ''; //set password
Nick := ''; //set nick 3-4 char
Active := True;
// ---------------END SETUP----------------------------------------
end;
end;
Procedure initrun;
begin
Smart_Members := True;
Smart_Server := 77;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
LoginPlayer;
wait(3000);
SetAngle(true);
mousespeed:=(7+random(3));
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));
WithdrawEx(colb,rowb,14,[]);
wait(500+random(500));
withdraw(cols,rows,0);
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 mini break');
wait(random(20000));
end;
writeln('14 more bows strung');
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 //untested, replaces static time
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
stringing;
if sorc=1 then //Cutting
cutting;
writeln(loadcount-counter);
writeln('loads to go');
until counter=loadcount
writeln('Another set, problem free');
end;
begin
mainloop;
end. // script by EtherFreak
program LogBurner;
//Remove // for smart
{.Include SRL\SRL\Misc\SMART.SCAR}
{.include SRL/SRL.scar}
Const
// ----------------SETUP-----------------------------
// Have tinderbox in first inv slot. Start in Verock East Bank
loadcount= 10 ; //how many cycles you need (27 logs per cycle)
BankCol=3 ; //log col in bank
BankRow= 2 ; //log row in bank
colorroad= 8752779 ; //grey road color to have RoadColorChecker; work
threelet='' ;//2-4th letters of name. I.E. Johntrucker='ohn' (optional)
BankLoc='feb'; //some valid locations are 'veb' and 'feb'
// ---------------END SETUP----------------------------------------
var
x, y: integer;
counter, count, kill: Integer;
procedure DeclarePlayers;
begin
HowManyPlayers := 1;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
with Players[0] do
begin
// ----------------SETUP-----------------------------
Name := '';
Pass := '';
Nick := '';
Active := True;
end;
end;
// ---------------END SETUP----------------------------------------
Procedure initrun;
begin
Smart_Members := False;
Smart_Server := 1;
Smart_Signed := True;
Smart_SuperDetail := False;
SetupSRL;
DeclarePlayers;
LoginPlayer;
counter:=2;
count:=0;
kill:=0;
wait(4000);
findnormalrandoms;
roadcolor:=colorroad;
RoadColorChecker;
if findsymbol(x,y,'bank') then
writeln('initrun complete. You are at the bank. The roadcolor is:'+inttostr(roadcolor)+'.')
else
begin
writeln('cant tell if your at the bank. try a different world?');
ExitToLobby;
TerminateScript;
end;
setangle(true);
end;
Procedure Burn;
Begin
counter:=2;
kill:=0;
repeat
findnormalrandoms;
invmouse(1,1); //clicking tinderbox
Wait(RandomRange(850,1000));
invmouse(counter,1); //clicking log
if IsChatBoxTextAnyLine ('ere',clBlack) then //fire on fire detection
begin
inc(kill);
RadialRoadWalk(RoadColor,260,280,70,-2,0);
writeln('Cant light a fire here, trying a different spot');
if kill=2 then
begin
Writeln('Issue making fire, logging out...');
logout;
TerminateScript;
end;
end;
if IsChatBoxTextAnyLine (threelet,clBlue) then //name detection
begin
writeln('Someone said your name, logging out to be safe');
logout;
TerminateScript;
end;
inc(counter);
Wait(RandomRange(1000,1500));
if counter=29 then
exit;
invmouse(counter,1); //clicking log
Wait(RandomRange(850,1800));
invmouse(1,1); //clicking tinderbox
Wait(RandomRange(850,1300));
inc(counter);
until counter>28
counter:=2;
End;
Procedure Bank;
Begin
mousespeed:=(7+random(3));
inc(kill);
findnormalrandoms;
Wait(RandomRange(850,1000));
openbankfast(BankLoc);
Wait(RandomRange(2000,2500));
withdraw(BankCol,BankRow,0);
Wait(RandomRange(2000,2500));
if invcount=28 then
writeln('Banked corectly')
else
bank;
if kill=3 then
Begin
closewindow;
writeln('Banking failed, logging out...');
logout;
TerminateScript;
end;
kill:=0;
End;
Procedure toburn;
Begin
findnormalrandoms;
writeln('Walking to burn. The roadcolor is:'+inttostr(roadcolor)+'.');
RadialRoadWalk(RoadColor,0,75,60,-2,0);
Wait(RandomRange(1000,1500));
End;
Procedure tobank;
Begin
GetNewRoadColor(mmx1,mmy1,mmx2,mmy2,6);
repeat
findnormalrandoms;
RadialRoadWalk(RoadColor,80,110,70,-2,0);
writeln('Walking to bank. The roadcolor is:'+inttostr(roadcolor)+'.');
if kill=3 then
begin
writeln('Walking to bank failed, logging out...');
logout;
TerminateScript;
end;
inc(kill);
until findsymbol(x,y,'bank')
kill:=0;
mouse(x,y,5,5,true);
wait(RandomRange(8000,9000));
End;
begin
initrun;
repeat
bank;
toburn;
burn;
tobank;
inc(count);
writeln('There are '+IntToStr(loadcount-count)+' loads to go.');
until (count=loadcount)
writeln('Completed without error!');
end.