falven
2007-06-19 14:54:07
<!– BEGIN TEMPLATE: formanswers –>
falven - SRL Member Application Form
falven
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
PHP, C#
Other Communitys
Specialistsmod.net
How Long have You Played Runescape
10 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I registered here in the SRL forums awhile back, and have made some pretty decent scripts since then, until school got very competitive, so i stopped for a while.
now i'm back, the scripts i had made are outdated [A smither, powerminer, east varrock miner banker]
I'm trying to get more involved again and get back into scarscripting, i'm going to carnegie mellon university on june 23rd to take some programming classes, and am hoping to be a proud member of this community and involvement once again.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
//As i said, outdated, and one of my simpler ones.
——————————————————
<!– END TEMPLATE: formanswers –>
falven - SRL Member Application Form
falven
What is the meaning to life?
Where you Referred to SRL? If yes, by whom?
no
Programming Knowledge
PHP, C#
Other Communitys
Specialistsmod.net
How Long have You Played Runescape
10 years
Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.
I registered here in the SRL forums awhile back, and have made some pretty decent scripts since then, until school got very competitive, so i stopped for a while.
now i'm back, the scripts i had made are outdated [A smither, powerminer, east varrock miner banker]
I'm trying to get more involved again and get back into scarscripting, i'm going to carnegie mellon university on june 23rd to take some programming classes, and am hoping to be a proud member of this community and involvement once again.
——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted
//As i said, outdated, and one of my simpler ones.
{.Script Info:
# ScriptName = FalvensEastVarrockArmorSeller
# Author = Falven
# Description = Sells most type of armors to Horvik in Varrock
# Version = 1.0
# Date = 12/29/06
# Comments = [email]Falven2000@hotmail.com[/email]
/Script Info}
{Instructions:}
{I. Start in any part of varrock east bank.}
{II. Fill in the info under "const" below.}
{III. Specify the Client window}
{IV. Hit Play}
{V. Go get a girlfriend.}
program FalvensEastVarrockArmorSeller;
{.include SRL/SRL.scar}
var xx, yy: integer; logoutsp: integer; logoutsw: integer; logoutsps: integer; bx, by: Integer; findingh: integer; logoutsb: integer; bnkx, bnky: integer; hsold: integer; bnktries: integer;
const
usname = ''; //Your Username.
pass = ''; //your Password.
retries = 7; //how many times to try find a symbol before ending the script altogheder...
sets = 3; //How many sets of items you want to sell(1 set is 27 of whatever item you are selling)...
punchbagsymbol = 54321; //punchbag symbol color on minimap..
Watersymbol = 65432; //watersymbol color on minimap..
PSsymbol = 76543; //Platebody shop color on minimap...
Banksymbol = 87654; //Bank symbol color on minimap...
{-------Do-Not-Edit-Below-This-Line-Unless-You-Know-What-You're-Doing---------------------------}
procedure loginuser;
begin
mouse(455, 292, 20, 0, true)
TypeSend(usname)
mouse(440, 277, 20, 0, true)
TypeSend(pass)
mouse(300, 316, 20, 0, true)
wait(1500 + random(1000))
mouse(300, 316, 20, 20, true)
wait2(1000 + random(1000), true)
end;
procedure ToPunchbag;
begin
if (FindSymbol(xx, yy, 'training dummy')) then
mouseflag(xx, yy, 0, 0)
if (not (FindSymbol(xx, yy, 'training dummy'))) then
findmmcolor(xx, yy, Watersymbol)
ClickMMColor(xx, yy, Watersymbol)
if (not (findmmcolor(xx, yy, Watersymbol))) then
logout;
repeat
logout;
logoutsp := logoutsp + 1
loginuser;
wait2(1000 + random(1000), true)
FindSymbol(xx, yy, 'training dummy')
until (FindSymbol(xx, yy, 'training dummy')) or (logoutsp = retries)
if (logoutsp = retries) then
logout;
end
end;
procedure ToWater;
begin
if (FindSymbol(xx, yy, 'water source')) then
mouseflag(xx, yy, 0, 0)
if (not (FindSymbol(xx, yy, 'water source'))) then
findmmcolor(xx, yy, Watersymbol)
ClickMMColor(xx, yy, Watersymbol)
if (not (findmmcolor(xx, yy, Watersymbol))) then
repeat
logout;
logoutsp := logoutsp + 1
loginuser;
wait2(1000 + random(1000), true)
FindSymbol(xx, yy, 'water source')
until (FindSymbol(xx, yy, 'water source')) or (logoutsp = retries)
if (logoutsp = retries) then
logout;
end;
procedure ToPlatebodyShop;
begin
if (FindSymbol(xx, yy, 'platebody shop')) then
mouseflag(xx, yy, 0, 0)
if (not (FindSymbol(xx, yy, 'platebody shop'))) then
findmmcolor(xx, yy, PSsymbol)
ClickMMColor(xx, yy, PSsymbol)
if (not (findmmcolor(xx, yy, PSsymbol))) then
repeat
logout;
logoutsp := logoutsp + 1
loginuser;
wait2(1000 + random(1000), true)
FindSymbol(xx, yy, 'platebody shop')
until (FindSymbol(xx, yy, 'platebody shop')) or (logoutsp = retries)
if (logoutsp = retries) then
logout;
end;
procedure SellPBS;
begin
if (FindObj(bx, by, 'Talk-to Horvik', 5288932, 40)) then
mouse(bx, by, 0, 0, false)
PopUp('Trade')
flag;
MouseItem(2, false)
PopUp('10')
flag;
MouseItem(13, false)
PopUp('10')
flag;
MouseItem(25, false)
PopUp('10')
flag;
end;
procedure ToBank;
begin
if (FindSymbol(xx, yy, 'bank')) then
mouseflag(xx, yy, 0, 0)
if (not (FindSymbol(xx, yy, 'bank'))) then
findmmcolor(xx, yy, Banksymbol)
ClickMMColor(xx, yy, Banksymbol)
if (not (findmmcolor(xx, yy, Banksymbol))) then
repeat
logout;
logoutsp := logoutsp + 1
loginuser;
wait2(1000 + random(1000), true)
FindSymbol(xx, yy, 'bank')
until (FindSymbol(xx, yy, 'bank')) or (logoutsp = retries)
if (logoutsp = retries) then
logout;
end;
procedure BankItems;
begin
openbank3;
Fixbank;
Deposit(1, 28, 2)
Withdraw(5, 5, 0)
CloseBank;
end;
procedure BankitemsContd;
begin
InvFull;
if (InvFull = false) then
begin
repeat
bnktries := bnktries + 1
FindBank('feb')
Fixbank;
Deposit(1, 28, 2)
Withdraw(5, 5, 0)
CloseBank;
until (FindBank('feb')) or (bnktries = retries)
end
if (bnktries = retries) then
logout;
if (InvFull = true) then
end;
begin
SetupSRL;
repeat
MakeCompass('n');
ChatsOff;
Gametab(4)
BankItems;
BankitemsContd;
ToBank;
antiban;
setrun(true)
ToPunchbag;
findnormalrandoms;
ToWater;
findnormalrandoms;
ToPlatebodyShop;
findnormalrandoms;
SellPBS;
antiban;
flag;
ToPlatebodyShop;
setrun(false)
findnormalrandoms;
ToWater;
findnormalrandoms;
ToPunchbag;
antiban;
findnormalrandoms;
ToBank;
findnormalrandoms;
BankItems;
BankitemsContd;
findnormalrandoms;
until (hsold = sets)
if (hsold = sets) then
logout;
end.
——————————————————
<!– END TEMPLATE: formanswers –>